Commit Graph

435 Commits

Author SHA1 Message Date
lyphrowny
725d70ff55 FEM: add tests directory for function tests; add tests for parse_diff 2024-04-08 18:06:17 +02:00
lyphrowny
4e54d436fc FEM: add floating point comparison for tests 2024-04-08 18:06:17 +02:00
lyphrowny
d2e355c836 FEM: migrate calculix tests to ccxtools tests 2024-04-08 18:02:33 +02:00
lyphrowny
e99ee08514 FEM: Fix cxx typo and remove calculix from solvers tab in examples (#12876)
* FEM: remove calculix from solvers

* FEM: remove calculix from joint with ccxtools if branches

* FEM: remove calculix from its if

* FEM: fix cxx typo in translations

* FEM: fix cxx typo in classes name

* FEM: fix ccx typo in shortcuts

* FEM: convert FEM_*CcxTools to CamelCase

* FEM: remove tests related to calculix

* FEM: remove test_solver_calculix.py from Fem/CMakeLists.txt

* FEM: convert all 'CalculiXccxTools' to 'CalculiXCcxTools'

* FEM: revert changes in all *_*.ts files

* FEM: convert 'SolverCcxtools' to 'SolverCcxTools'

* FEM: convert remaining 'Ccxtools' to 'CcxTools'
2024-04-01 10:51:23 -05:00
FEA-eng
e69976ebbb Merge branch 'FreeCAD:main' into fem_ccx_incrementation 2024-03-25 10:45:23 +01:00
lyphrowny
be14bde507 FEA: fix 1d beam cross section orientation (#12833)
* FEA: fix 1d beam cross section orientation

* FEM: revert 1,2-directions to FreeCAD way; fix normal direction for z<0

* FEM: change 1-direction to +y axis

Previous commit changes the 1-direction to -y axis, however originally it was directed at +y axis. This commit makes the 1-direction face +y axis

* FEM: update cantilever tests

* FEM: relax math.isclose by adding abs tolerance
2024-03-18 18:16:10 +01:00
Chris Hennes
5e1adf3755 Merge pull request #12932 from marioalexis84/fem-ccx_force_format
Fem: Format force constraint in CalculiX writer - fixes #12805
2024-03-13 18:17:11 -05:00
marioalexis
a02b561af2 Fem: Update force constraint .inp files 2024-03-13 17:26:13 -03:00
marioalexis
001487b933 Fem: Export/import mesh elements to Vtk using proper order 2024-03-13 05:50:17 -03:00
marioalexis
d8012f74ba Fem: Add partial support for hexahedral elements - fixes #12526 2024-03-11 12:03:15 -05:00
FEA-eng
0aa2f283fa FEM CalculiX output frequency setting (#12672)
* Update solver.py

* Update write_step_output.py

* Update box_frequency.inp

* Update box_static.inp

* Update ccx_buckling_flexuralbuckling.inp

* Update ccx_cantilever_beam_circle.inp

* Update ccx_cantilever_beam_pipe.inp

* Update ccx_cantilever_beam_rect.inp

* Update ccx_cantilever_ele_hexa20.inp

* Update ccx_cantilever_ele_quad4.inp

* Update ccx_cantilever_ele_quad8.inp

* Update ccx_cantilever_ele_seg2.inp

* Update ccx_cantilever_ele_seg3.inp

* Update ccx_cantilever_ele_tria3.inp

* Update ccx_cantilever_ele_tria6.inp

* Update ccx_cantilever_faceload.inp

* Update ccx_cantilever_nodeload.inp

* Update ccx_cantilever_prescribeddisplacement.inp

* Update constraint_contact_shell_shell.inp

* Update constraint_sectionprint.inp

* Update constraint_selfweight_cantilever.inp

* Update constraint_tie.inp

* Update constraint_transform_beam_hinged.inp

* Update constraint_transform_torque.inp

* Update frequency_beamsimple.inp

* Update material_multiple_bendingbeam_fiveboxes.inp

* Update material_multiple_bendingbeam_fivefaces.inp

* Update material_multiple_tensionrod_twoboxes.inp

* Update material_nonlinear.inp

* Update square_pipe_end_twisted_edgeforces.inp

* Update square_pipe_end_twisted_nodeforces.inp

* Update thermomech_bimetall.inp

* Update box_frequency.inp
2024-03-11 12:02:41 -05:00
FEA-eng
eb97e9412f Update thermomech_bimetall.inp 2024-02-29 13:47:18 +01:00
FEA-eng
75f7065304 Update thermomech_bimetall.inp 2024-02-29 13:32:18 +01:00
FEA-eng
c03441e425 Update square_pipe_end_twisted_nodeforces.inp 2024-02-29 09:52:41 +01:00
FEA-eng
690c8921a6 Update square_pipe_end_twisted_edgeforces.inp 2024-02-29 09:50:52 +01:00
FEA-eng
8b8b6f9144 Update material_nonlinear.inp 2024-02-29 09:50:33 +01:00
FEA-eng
025bd97f13 Update material_multiple_tensionrod_twoboxes.inp 2024-02-29 09:50:11 +01:00
FEA-eng
5db33d6521 Update material_multiple_bendingbeam_fivefaces.inp 2024-02-29 09:49:51 +01:00
FEA-eng
a03a1646e5 Update material_multiple_bendingbeam_fiveboxes.inp 2024-02-29 09:49:32 +01:00
FEA-eng
b4791ea17b Update constraint_transform_torque.inp 2024-02-29 09:49:08 +01:00
FEA-eng
d94f73acf6 Update constraint_transform_beam_hinged.inp 2024-02-29 09:48:42 +01:00
FEA-eng
e8fd1dc704 Update constraint_tie.inp 2024-02-29 09:48:17 +01:00
FEA-eng
c458c0b8a6 Update constraint_selfweight_cantilever.inp 2024-02-29 09:47:54 +01:00
FEA-eng
45dadb2ecb Update constraint_sectionprint.inp 2024-02-29 09:47:37 +01:00
FEA-eng
3e978ba684 Update constraint_contact_shell_shell.inp 2024-02-29 09:47:19 +01:00
FEA-eng
732aa1d717 Update ccx_cantilever_prescribeddisplacement.inp 2024-02-29 09:46:39 +01:00
FEA-eng
c0cfde12cb Update ccx_cantilever_nodeload.inp 2024-02-29 09:46:19 +01:00
FEA-eng
03331a0c92 Update ccx_cantilever_faceload.inp 2024-02-29 09:46:02 +01:00
FEA-eng
63ef0f3695 Update ccx_cantilever_ele_tria6.inp 2024-02-29 09:45:41 +01:00
FEA-eng
9346466543 Update ccx_cantilever_ele_tria3.inp 2024-02-29 09:45:24 +01:00
FEA-eng
b0b32cfcaa Update ccx_cantilever_ele_seg3.inp 2024-02-29 09:45:01 +01:00
FEA-eng
caadcd9be6 Update ccx_cantilever_ele_seg2.inp 2024-02-29 09:44:44 +01:00
FEA-eng
5af89d2164 Update ccx_cantilever_ele_quad8.inp 2024-02-29 09:44:26 +01:00
FEA-eng
ceae29ff58 Update ccx_cantilever_ele_quad4.inp 2024-02-29 09:44:07 +01:00
FEA-eng
762482f2c9 Update ccx_cantilever_ele_hexa20.inp 2024-02-29 09:43:49 +01:00
FEA-eng
c000aef3f2 Update ccx_cantilever_beam_rect.inp 2024-02-29 09:43:27 +01:00
FEA-eng
d726e340c9 Update ccx_cantilever_beam_pipe.inp 2024-02-29 09:43:08 +01:00
FEA-eng
1b1aa39452 Update ccx_cantilever_beam_circle.inp 2024-02-29 09:42:41 +01:00
FEA-eng
3c67d563d4 Update box_static.inp 2024-02-29 09:42:08 +01:00
FEA-eng
6339973390 Update square_pipe_end_twisted_nodeforces.inp 2024-02-29 09:38:57 +01:00
FEA-eng
1f6440b86e FEM Beam Shell Result Output 3D true by default (#12493) 2024-02-26 11:01:05 -06:00
FEA-eng
968859c542 FEM: Beam reduced integration (#12513) 2024-02-22 15:30:47 -06:00
marioalexis
3dbb4b3dd3 Fem: Improve constraint tie - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
7e5bb7361a Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
56d4214317 Fem: Improve self weight constraint - fixes #11652 2024-01-20 08:57:46 -07:00
Adrian Insaurralde Avalos
f571e1b125 FEM: remove unused file 2024-01-08 11:34:56 -03:00
Uwe
edf3367346 Fem: Update force values in test .inp files 2023-10-04 17:06:47 -03:00
Uwe
e932134c1f Fem: Update pressure values in test .inp files 2023-10-03 17:45:46 -03:00
Jed Brown
f26c8d02ab FEM: fix gmsh relative paths
Relative paths appearing in Gmsh .geo files are relative to the .geo
file, not relative to the cwd when the gmsh executable was invoked. This
is okay when using absolute paths with the default "Temporary
directories" mode, but if one selects (in Preferences -> FEM) "Beside
.FCStd file", then relative paths are written to the .geo file. This
causes a (suppressed in FreeCAD output) warning from Gmsh that the brep
file is missing as well as the error:

Unexpected error when creating mesh: File to load not existing or not readable: partname/FEMMeshGmsh/BaseFeature_Mesh.unv

In this commit we just use relative paths, which is also convenient if
users move these files elsewhere (e.g., to work directly with advanced
features in Gmsh).
2023-07-20 10:46:49 -05:00
Petter Reinholdtsen
747f07bbdd Skip open_de9b3fb438 s390x to avoid OOM.
The load of the current file in test_open_head is fine, but
open_de9b3fb438 goes into an OOM even in huge (e.g. 10GB) systemd.
This probably needs a proper fix by upstream in regard to the migration
modules that load the old code, but until then (since the rest works on s390x)
this unblocks the package self-test in Debian & Ubuntu.

Patch by Christian Ehrhardt <christian.ehrhardt@canonical.com>.

This is Debian bug https://bugs.debian.org/984952 and Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/freecad/+bug/1918474.

Been part of the Debian edition of FreeCAD since 2021.
2023-07-10 09:53:20 -05:00