Commit Graph

261 Commits

Author SHA1 Message Date
FEA-eng
e69976ebbb Merge branch 'FreeCAD:main' into fem_ccx_incrementation 2024-03-25 10:45:23 +01:00
FEA-eng
edf639b4b4 FEM: Update solver.py 2024-03-21 12:30:01 +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
FEA-eng
e606104a02 FEM: Update solver.py 2024-03-14 22:13:56 -05:00
marioalexis
9633214238 Fem: Format force constraint in CalculiX writer - fixes #12805 2024-03-13 14:50:24 -03: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
8056b2dec1 FEM CalculiX isotropic and kinematic hardening (#12666)
* Update material_mechanicalnonlinear.py

* Update write_femelement_material.py

* Update material_mechanicalnonlinear.py
2024-03-04 11:11:48 -06:00
FEA-eng
3f59036439 FEM CalculiX 2D mechanical analyses (plane stress, plane strain and axisymmetric) (#12562) 2024-03-02 11:46:18 -06:00
FEA-eng
f06a067445 Update write_step_equation.py 2024-02-28 23:17:34 +01:00
FEA-eng
ad99f6f737 Update solver.py 2024-02-28 23:13:45 +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
FEA-eng
7d40503bc9 FEM new matrix solver types (PaStiX and Pardiso) (#12478)
* Update solver.py
* Update write_step_equation.py
* Update DlgSettingsFemCcx.ui
2024-02-17 20:14:32 -06:00
marioalexis
86794b0378 Fem: Add support for cyclic symmetry - fixes #12155 2024-02-08 16:08:59 -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
Uwe
af684644ab Fem: Change ConstraintPressure::Force property to App::PropertyForce 2023-10-04 17:03:28 -03:00
Uwe
d115018b94 Fem: Change ConstraintPressure::Pressure property to App::PropertyPressure 2023-10-03 17:44:31 -03:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Bernd Hahnebach
688fe0d2fb FEM: pep8, more code formatting 2023-04-06 08:13:42 +02:00
Uwe
cc6c98c1d4 [FEM] Temperature constraints overhaul
- fix bug that changing constraint type in dialog lost flux value
- accept and not immediately save any changed value
- make the temperatures a PropertyTemperature to get rid of hacks
- also fix some too long code lines
2023-03-28 01:23:47 +02:00
Pesc0
1c093e8729 remove remaining six dependencies 2023-03-26 23:39:00 +02:00
Uwe
45743d4fbd [FEM] improve displacement constraint
- use a Distance and Angle property to get the unit handling right
2023-03-23 00:50:40 +01:00
luz paz
e9b624df36 [FEM] Substitute underscore for whitespace in CalculiX solver output
Fixes #7360  
Forum thread: forum.freecadweb.org/viewtopic.php?p=617376#p617376
2022-08-13 16:41:59 +02:00
Uwe
e76fbe6998 [FEM] fix CCX (new framework) binary handling
- when the binary was not found, the function called the non-existing binary
- also push error message to the status info so that user gets feedback also when report view console is not shown
2022-07-17 01:28:54 +02:00
Bernd Hahnebach
41a8ed83af FEM: python code formatting 2022-07-12 15:04:26 +02:00
luz paz
d877ee4d47 Make source code comments use gender neutral pronouns
The changes also include some grammatical fixes as well.
2021-12-02 16:18:04 -05:00
Ajinkya Dahale
16a82d1eb7 [FEM] Add tools for more yield points in simple hardening materials
String List instead of String should allow for arbitrarily many entries,
theoretically.

Note the defaults previously in `YieldPoint1` an `YieldPoint2` were arbitrary.
Now the list is kept empty by default.

Fixes issue #4720.
2021-09-17 11:07:16 +02:00
Bernd Hahnebach
79fe953c60 FEM: pep8 code formating 2021-08-18 21:21:33 +02:00
Ajinkya Dahale
0a91d2e731 [FEM] Change reference files to avoid failed tests
Fixes two errors introduced in/due to 7621382272ae712ebf4493d996d1a1a918e95df7.

First one is a typo. The writer used "translations" where the reference file for
the test used "translation". Went with "translation" since that was mentioned in
the comment just above.

Second one is some missed out new lines in the reference file
`.../constraint_transform_beam_hinged.inp`. These lines were added in
`.../frequency_beamsimple.inp` but not here.
2021-08-18 17:19:24 +02:00
fandaL
df215f4fce FEM:request for reaction forces on Constraint displacement 2021-08-11 10:02:40 +02:00
Bernd Hahnebach
b1febc8930 FEM: tasks module for z88, mystran and calculix, code improvements 2021-08-06 21:35:11 +02:00
Bernd Hahnebach
7af6e21b05 FEM: calculix writer, beam cross section angle, improvements and fixes 2021-08-04 15:52:00 +02:00
Bernd Hahnebach
523d5eb672 FEM: calculix writer, femelement geometry, code formating 2021-08-04 15:51:55 +02:00
Bernd Hahnebach
177405810d FEM: calculix writer, delete formatting comment, no longer needed as alle calculix input values are formatted the time being 2021-08-03 22:28:58 +02:00
Bernd Hahnebach
d1d9b633b9 FEM: calculix writer, reaction forces, add some comment 2021-08-03 16:59:15 +02:00
Bernd Hahnebach
2c37bc6b98 FEM: calcuix writer, fix circular beam section 2021-08-02 18:29:25 +02:00
Bernd Hahnebach
00a6821903 FEM: calculix writer, force constraint, do not write zero loads 2021-08-02 11:14:11 +02:00
Bernd Hahnebach
25220fd6a9 FEM: calculix framework solver, do not rais a exception on problems 2021-07-28 23:22:37 +02:00
Bernd Hahnebach
5b05a0baed FEM: solver, improve analysis member tests 2021-07-27 23:42:09 +02:00
Bernd Hahnebach
33679f34b4 FEM: solver run, improve output 2021-07-27 21:57:23 +02:00
Bernd Hahnebach
c0c1979a0a FEM: calculix writer, constraint force, code formating 2021-07-25 19:19:41 +02:00
Bernd Hahnebach
0c00f5e85c FEM: solver tasks, use same result reading method name in all solver 2021-07-25 19:18:13 +02:00
Bernd Hahnebach
73d819a1e1 FEM: calculix writer, use generic elset variable names 2021-07-20 09:54:49 +02:00
Bernd Hahnebach
2aeba3674a FEM: tasks and writer, use generic solver input writing method name 2021-07-18 14:47:50 +02:00
Bernd Hahnebach
e172c07534 FEM: calculix writer, fix time output 2021-07-17 20:46:42 +02:00
Bernd Hahnebach
fcb91f36af FEM: make use of mesh data getter class for calculix solver and ccxtools 2021-07-17 20:46:36 +02:00
Bernd Hahnebach
895c817f56 FEM: calculix writer, use mat geo sets instead of ccx elsets 2021-07-17 20:46:29 +02:00
Bernd Hahnebach
666ce64959 FEM: calculix writer, make use of the member objs everywhere 2021-07-16 08:11:21 +02:00