Commit Graph

182 Commits

Author SHA1 Message Date
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
Uwe
e5953204bd [FEM] simplify Magnetodynamics 2D example
- thanks to the forum: https://forum.freecad.org/viewtopic.php?p=662830#p662830
2023-02-23 12:37:46 +01:00
Uwe
9440ad90a5 [FEM] add example for magnetodynamic 2D equation 2023-02-23 03:48:31 +01:00
luzpaz
72166fed46 Fix misc. typos and whitespace 2023-02-22 23:46:18 +01:00
Uwe
5d48f2bff1 [FEM] add example for magnetodynamic equation
- also fix description of other recently added examples
2023-02-22 03:51:28 +01:00
Uwe
efdbccd0b2 [FEM] add example for flux equation
- also fine-tune flow example
2023-02-21 13:01:14 +01:00
Uwe
41a20d4934 [FEM] add new example file for flow and heat
- also extend examples libraries for (more to come) examples with multiphysics (multiple equations)
2023-02-20 02:06:48 +01:00
Uwe
c46809c4c2 [FEM] update Elmer examples
- active already the analysis
- generate the mesh preferably directly, also if this fails, load the rough meshes
- use value for Air is they are in our Air material card
- apply material to the body (not necessary but good practice, the examples are there to teach people and for more complex models setting the material to a body is important)
2023-02-19 00:45:57 +01:00
Uwe
7d815e78d6 [FEM] Elmer example: remove wrong permittivity
- a permittivity of 1 F/m is not physical, also not for testing. In fact overwriting a constant is not good practice for an example
2022-08-14 17:54:15 +02:00
Uwe
cd1991f4ea [FEM] fix bimetall example
- add missing density
- set a second temperature to make the heat solver actually working
- adapt to new defaults
2022-08-10 02:27:27 +02:00
Uwe
f8769643cd [FEM] Elmer: fix broken example
- (a regression to FC 0.20.0), use new settings ("direct" is already the default, iterative solving takes here about 5 times longer, DisplaceMesh must be False)
2022-08-09 05:38:02 +02:00
Uwe
bff25dfdd1 [FEM] adapt electrostatic examples to changed unit handling
- also a coding improvement
2022-03-26 04:54:36 +01:00
Uwe
f2def75852 [FEM] Elmer examples: use better names for constraints
fixes a ToDo and the unit tests work fine nevertheless
2022-03-26 01:46:54 +01:00
Uwe
31645fc5bc [FEM] change example to fit with Elmer's tutorial
- this example is the Elmer tutorial number 13: https://www.nic.funet.fi/pub/sci/physics/elmer/doc/ElmerTutorials.pdf and they use a potential of 1.0, since Elmer uses SI units, it is 1.0 V
2022-03-19 15:29:55 +01: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
luzpaz
eec971d87a Draft: Fix LGTM 'test for equality' warning (#4969)
* Draft: Fix LGTM 'test for equality' warning

ref: https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=7900090

* FEM: source comment typo fixes
2021-08-16 22:52:13 -05:00
Bernd Hahnebach
4d56e7d1e6 FEM: examples, use correct constraint in information for mystran plate example 2021-08-10 22:12:19 +02:00
Bernd Hahnebach
15d1446650 FEM: examples, displacement constraint needs to set Free and Fix 2021-08-09 22:16:33 +02:00
Bernd Hahnebach
d8dd29c196 FEM: examples, delete not needed material values 2021-08-09 21:29:59 +02:00
Bernd Hahnebach
17d16130e7 FEM: examples, add ccxtools solver 2021-08-09 21:29:52 +02:00
Bernd Hahnebach
64f4984a22 FEM: examples, truss seg2, fix solver typ 2021-08-05 15:35:51 +02:00
Bernd Hahnebach
2d68431642 FEM: examples, add 3D truss for z88 and calculix 2021-08-05 15:33:29 +02:00
Bernd Hahnebach
0ff4cde3ff FEM: CalxuliX cantlever beam examples for pipe, circle and rectangle cross section 2021-08-03 20:02:52 +02:00
Bernd Hahnebach
095cbd28d0 FEM: examles, add missing geom obj links in meshes 2021-08-01 11:42:49 +02:00
Bernd Hahnebach
e4b15dd336 FEM: calculix prechecks, beamsections and mesh without geometry link is not allowed 2021-08-01 11:42:29 +02:00
Bernd Hahnebach
7f92c9acdc FEM: Mystran solver, add examples and writer unit tests 2021-07-31 16:57:01 +02:00
Bernd Hahnebach
d578041b25 FEM: examples, small improvements 2021-07-29 22:26:13 +02:00
Bernd Hahnebach
ebc8f8c857 FEM: ccx canti quad4 example and unit test, improve mesh 2021-07-29 22:25:38 +02:00
Bernd Hahnebach
d6568c8303 FEM: examples and unit tests calculix solver, add ccx cantilever with quad8 elements 2021-07-29 13:10:30 +02:00
Bernd Hahnebach
1ea0d9a9e0 FEM: examples and unit tests calculix solver, add ccx cantilever with quad4 elements 2021-07-29 13:10:22 +02:00
Bernd Hahnebach
7f8b42af97 FEM: z88 solver, tria6 example and unit test as well as small writer improvements 2021-07-28 23:22:26 +02:00
Bernd Hahnebach
ad9a44e690 FEM: examples, ccx cantilever add face and edgemesh 2021-07-25 21:33:04 +02:00
Bernd Hahnebach
a2413094f6 FEM: examples, canti hexa20, delete wrongly added exaplanation object 2021-07-25 21:32:58 +02:00
Bernd Hahnebach
c2d13b02eb FEM: examples, ccx canti hexa20, fix comment 2021-07-25 20:30:55 +02:00
Bernd Hahnebach
616ee70e34 FEM: examples and unit tests, some heavy file renaming 2021-07-25 19:20:39 +02:00
Bernd Hahnebach
f71dd0c689 FEM: examples, code formating, use double quotes whenever it is possible 2021-07-25 19:19:59 +02:00
Bernd Hahnebach
51e05eac08 FEM: constraint centrif, add example 2021-07-09 22:04:05 +02:00
Bernd Hahnebach
e2f7f56d89 FEM: examples, constraint transform beam hinged, fix material 2021-07-09 13:45:19 +02:00
Bernd Hahnebach
9602e3aac3 FEM: constraint transform torque example, code improvement and unit test fix 2021-07-09 13:17:58 +02:00
Sudhanshu Dubey
e8c573e782 FEM: examples, add constraint transform torque example 2021-07-09 13:17:44 +02:00
Bernd Hahnebach
5512e41d06 FEM: examples, fix material information for some multi material ones 2021-06-23 11:02:31 +02:00
Bernd Hahnebach
a149cfc609 FEM: examples manager, code formating 2021-06-18 11:20:10 +02:00
Bernd Hahnebach
1d3e7fa8f6 FEM: examples, add explanation text object to all the rest examples 2021-06-17 12:42:17 +02:00
Bernd Hahnebach
4b892338bc FEM: examples, update manager 2021-06-17 12:41:25 +02:00
Bernd Hahnebach
d390eb8168 FEM: examples, improve import code formating 2021-06-17 11:20:55 +02:00
Bernd Hahnebach
f7439e7eb1 FEM: examples, fix material information in material nonlinear example 2021-06-17 11:00:51 +02:00
Bernd Hahnebach
1730df54c2 FEM: examples, add text explanation object to more examples 2021-06-17 10:40:29 +02:00
Bernd Hahnebach
1d760a979b FEM: examples, improve explanation text object 2021-06-17 10:39:28 +02:00