Commit Graph

229 Commits

Author SHA1 Message Date
luzpaz
2d40efd555 Fix various typos
Found with codespell
2024-12-04 23:18:00 -05:00
marioalexis
0fb57dc7f0 Fem: Fix examples affected by Part workbench preference parameter 2024-10-14 08:51:50 -05:00
FEA-eng
dfeb96ef08 FEM: Remove obsolete "Fix" property from a few examples to repair them (#15698)
* FEM: Update rc_wall_2d.py

* FEM: Update buckling_platebuckling.py

* FEM: Update equation_deformation_spring_elmer.py

* FEM: Update buckling_lateraltorsionalbuckling.py
2024-08-05 10:54:32 -05:00
marioalexis
91bf8a6c1f Fem: Update test and examples 2024-07-28 16:27:20 -03:00
marioalexis
fc5d57035f Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
FEA-eng
e036ef0164 FEM: Update manager.py 2024-07-14 15:21:00 +02:00
FEA-eng
38f64c36b7 FEM: Rename mesh_thermomech_bimetall_tetra10.py to mesh_thermomech_bimetal_tetra10.py 2024-07-14 15:21:00 +02:00
FEA-eng
ff2c376051 FEM: Update and rename thermomech_bimetall.py to thermomech_bimetal.py 2024-07-14 15:21:00 +02:00
lyphrowny
359c1ae2bb FEM: reformat codebase 2024-06-23 16:26:36 +03:00
marioalexis
d228d50755 Fem: Update constraint transform 2024-06-05 13:12:25 -03:00
marioalexis
e8f161a792 Fem: Set license for Python generated examples 2024-06-04 11:38:29 -03:00
FEA-eng
d459a9cb40 FEM: Update constraint_contact_solid_solid.py 2024-04-03 18:48:45 +02:00
FEA-eng
09e9bc4168 FEM: Update ccx_cantilever_beam_rect.py 2024-04-03 18:48:45 +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
FEA-eng
835d23d09f Elmer FEM 2D flow examples fix (#12777)
* Update equation_flow_elmer_2D.py

* Update equation_flow_initial_elmer_2D.py

* Update equation_flow_turbulent_elmer_2D.py
2024-03-11 12:21:46 -05:00
Josh Coalson
fbd8767242 Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
FEA-eng
20e57f7196 Elmer FEM 2D electromagnetic examples fix (#12646)
* Update equation_magnetodynamics_2D_elmer.py

* Update equation_magnetostatics_2D_elmer.py
2024-03-04 11:08:07 -06:00
FEA-eng
d83070503e Update thermomech_bimetall.py 2024-02-29 09:41:23 +01:00
marioalexis
d0d501a34d Fem: Run option in examples open and run analysis - fixes #11056 2024-02-16 21:01:23 -06:00
marioalexis
7e5bb7361a Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
5b7cca7703 Fem: Set PotentialEnabled to False in capacitance_two_balls example - fixes #9707 2024-01-21 16:23:29 -07:00
marioalexis
56d4214317 Fem: Improve self weight constraint - fixes #11652 2024-01-20 08:57:46 -07:00
DeflateAwning
1e3179e9bc Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Uwe
a4bf3ef80a Fem: Fix force values in examples 2023-10-04 17:03:28 -03:00
Uwe
be34b52d30 Fem: Fix pressure values in examples 2023-10-03 17:45:17 -03:00
luzpaz
5b698e6b68 Fix various typos 2023-08-13 08:17:01 -07:00
Chris Hennes
7187cdc811 FEM: Remove improperly licensed files
The original authors of these files could not be contacted to correct the licensing mistake in the FCStd files, so the test cases are removed.
2023-06-19 17:47:22 -05: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
Bernd Hahnebach
9f99a46379 FEM: code formatting, pep8, E225 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
3f7eaac7a0 FEM: code formatting, pep8, 261 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
c05c2f4535 FEM: code formatting, pep8, 211 2023-04-06 08:13:42 +02:00
Bernd Hahnebach
5c1fa3c24e FEM: code formatting, pep8, 302 2023-04-06 08:13:42 +02:00
luzpaz
6bd40b5dcd Fem: fix trailing whitespace 2023-04-01 08:39:05 +02:00
Uwe
b0eec67163 [FEM] change example file
- make mesh more coarse to save calculation time
- since it is the example for transient solving, get one more result
2023-03-26 09:52:32 +02:00
Uwe
831f001026 [FEM] update transient analysis example file
- get outputs every 25 % and the last one is the final time
2023-03-25 05:48:14 +01:00
Uwe
4c9afb4546 [FEM] activate spring constraint
- the spring constraint is currently unused but it can be used for Elmer mechanical analyses
This PR does so and also overhaul the dialog UI.
- use the spring constraint also in an example file
2023-03-23 15:14:50 +01:00
Uwe
3bced92364 [FEM] add example file for deformation 2023-03-23 06:17:09 +01:00
Uwe
f1799f27b0 [FEM] fine-tune flow examples
- use a more sensible velocity distribution
- change inlet temperature for 2 examples

- also change step size for nonlinear iterations for more convenience for practical usage
2023-03-20 07:17:11 +01:00
Uwe
866ea2551d [FEM] rewrite initial velocity constraint
- same as #8963 but for initial velocity

- add an example file that demonstrates the influence of the initial velocity
- some fine-tuning for the existing flow example
2023-03-20 04:58:24 +01:00
Uwe
b496a41cd1 [FEM] rewrite velocity constraint
- complete revision of the constraint.

This is a breaking change, meaning existing constraints won't work.

This is possible because since 2 days ago the whole flow equation did not work at all. Also the existing constraint implementation if buggy and cannot be used to do the Elmer tutorial. Also, the constraint is only used by Elmer and only be the flow equation.

Since nobody complained about the obvious wrong results, we can assume the flow equation was not yet in practical usage (and for FC 0.20 we known that it does not work at all, first with FC 0.20.1).

It is necessary since it must be possible to either input a velocity or an equation. With an equation, a velocity profile can be specified.

- update the flow examples accordingly:
-- simplify them since an initial and and output velocity is not necessary to specify
-- use a formula as input velocity for the non-turbulent example
2023-03-20 01:57:09 +01:00
Uwe
cf29318063 [FEM] add an example for a turbulent flow 2023-03-17 17:57:09 +01:00
Uwe
619e909202 [FEM] fix 1D thermomech example
- the heat capacity of water was wrong
- also specify just thermal expansion, this make that water is recognized as material and then all water parameters will be available

(that the analysis fail despite CalculiX reports everything went well s is another issue, I will investigate later)
2023-03-17 17:55:50 +01:00
luzpaz
f2e77a903b Fix misc. grammar and whitespace 2023-03-13 15:01:05 +01:00
Uwe
dfa7766b5b [FEM] [skip ci] fixes for flow example
- the heat solver settings were wrong so that the heat was actually not calculated for convection
- also set more realistic temperatures
2023-02-27 15:03:34 +01:00
luzpaz
fcac4def8e [Fem] fix grammar 2023-02-25 09:59:24 +01:00
Uwe
8e4745658c [FEM] fixes for flow and electrodynamics examples
- define materials so that they are recognized by material handling as existing card
- use "electrodynamics" as equation because this is the common name for the physics of these examples
- fix typos
2023-02-24 16:50:42 +01:00
Uwe
d4eb6ed0a2 [FEM] fix for electrostatics examples
- define Air so that it is recognized by material handling as existing card
2023-02-24 16:44:49 +01:00
Uwe
5853b065c7 [FEM] add example for magnetostatics 2023-02-24 16:32:11 +01:00