Commit Graph

371 Commits

Author SHA1 Message Date
luzpaz
5c6ec58709 [Fem] fix grammar 2023-02-25 09:59:24 +01:00
Uwe
fa780e8b5b [FEM] add new filter to display iso contours
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
95a6d1e208 [FEM] Elmer: add support for 3D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 14)
2023-02-10 19:48:31 +01:00
Uwe
04915b694b [FEM] add new constraint for magnetization 2023-02-09 14:41:25 +01:00
Uwe
d5ac0758cf [FEM] Elmer: add support for 2D magnetodynamics
- adds the corresponding Elmer equation (it is now possible to do Elmer's tutorial example no. 16)
2023-02-07 11:06:22 +01:00
Uwe
82b6e03625 [FEM] add current density constraint
- also add corresponding App::PropertyCurrentDensity

- also fix a typo in test_object.py
2023-02-05 21:10:15 +01:00
Uwe
d2ec8a85cc [FEM] Elmer output material name
- when looking at the Elmer input file 'case.sif' it is extremely helpful to thee also the name of the material
  Since the name is only form info, this does not change the actual simulation
2023-02-04 22:11:30 +01:00
luz paz
7310ff4bb8 FEM: remove trailing whitespace 2022-11-30 16:24:06 +01:00
Uwe
27f50ad131 [FEM] add initial pressure constraint (#7364)
* [FEM] add initial pressure constraint

- this is needed for fluids
2022-08-14 20:00:36 +02:00
Uwe
7910bd14e6 [FEM] update a bimetal testfile 2022-08-10 04:26:19 +02:00
Uwe
b52967d52a [FEM] update Elmer test files 2022-08-07 06:54:16 +02:00
Uwe
3818534cd6 [FEM] Elmer: fixes for the simulation parameters
- output equation-specific values only if this equation is used
- use Elmer's default for BDF order as default for FC too and allow to change it
- don't hardcode to Steady State. Transient must be possible too, this way add parameters to run a transient analysis
2022-08-06 04:32:18 +02:00
Uwe
550ef7ca80 [FEM] Elmer: update test files 2022-08-06 04:22:08 +02:00
Uwe
96ba47e80f [Fem] Elmer: add missing settings for the stress solver
- the usually mandatory setting DisplaceMesh was missing leading to imprecise results. Now the calculated faceload is almost the exact same as with CCX
- also add most of the other settings Elmer 9 provides
- also add tooltips
2022-08-05 04:17:39 +02:00
Uwe
bd42524548 [Fem] Elmer: update test files 2022-08-05 02:39:55 +02:00
Uwe
3db79c907c [FEM] Elmer: update test files 2022-08-04 04:50:00 +02:00
Uwe
ba858175fe [FEM] Elmer: use direct solving as default for stresses
- direct solving is sometimes even 10 times faster (as fast as CCX) and as accurate as CCX
2022-08-04 03:22:07 +02:00
Uwe
db3e28418d [FEM] Elmer: update .sif files
- because of solver default settings change
2022-08-03 04:29:27 +02:00
Uwe
59b4726698 [FEM] Elmer: update .sif files
- because of solver default settings change
2022-08-01 04:27:38 +02:00
Bernd Hahnebach
ffd51eda61 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Uwe
a035d650b6 [FEM] remove checks for Python 2 2022-07-27 14:09:23 +02:00
Uwe
b7b82489ab [FEM] update Elmer tests after commit bc69cfd1 2022-07-27 02:33:42 +02:00
Bernd Hahnebach
e49abfb350 FEM: python code formatting 2022-07-12 15:04:26 +02:00
Uwe
cc4578e9ae [FEM] fix broken Z88 part 4: don't hardcode memory for iterative solvers
- we must not hardcode the number of coincidence vector places
The user must have a chance to change this setting for the iterative solvers according to the Z88 docs.
We use as default the number Z88 uses in its distributed example.
2022-03-25 19:28:24 +01:00
Uwe
b4befd14b3 [FEM] update Z88 tests
(I doubt that it is sensible to check if a hardcoded memory value is written. The test will fail if you use a non-default memory setting on your FreeCAD. The CI uses of course the default)
2022-03-25 19:04:21 +01:00
Uwe
389ae0ab39 [FEM] SI unit fixes for Elmer
- since we use consistently SI units (as recommended my the Elmer forum), we need to scale the input mesh (we use ElmerGrid that has an option fur this purpose)
- Since the result will be in the scaled mesh, we need to scale it back

With this PR, one gets now correct result independent of
- the used unit scheme
- the simulation type (electrical or thermo-mechanical)
2022-03-23 05:00:40 +01:00
Uwe
8ccc661379 [FEM] adapt a test to previous commit
(I run of course all tests using the Test Framework WB but did not get an error.)
2022-03-19 18:09:14 +01:00
Uwe
aba3d40b2f [FEM] forgot this test case in previous commit 2022-03-19 03:51:06 +01:00
Uwe
258bce7261 [FEM] update test files to previous Elmer fixes 2022-03-19 03:34:18 +01:00
Anders Torger
65718f0e51 Add General.NumThreads = CPU core count setting to Gmsh
settings file to enable multi-threaded meshing (much faster
for larger models)
2022-03-12 23:26:55 +01:00
luz paz
0042f58e4c 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
Preslav
1ceaa09d17 Added spring boundary condition 2021-09-17 11:08:08 +02:00
Ajinkya Dahale
6c977d8511 [FEM] Change reference files to avoid failed tests
Fixes two errors introduced in/due to c6697bbc78.

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
c6697bbc78 FEM:request for reaction forces on Constraint displacement 2021-08-11 10:02:40 +02:00
Bernd Hahnebach
0942f4f55e FEM: calculix unit tests, add beam cross section tests 2021-08-04 22:26:07 +02:00
Bernd Hahnebach
0090cf64a9 FEM: unit tests calculix and cmake, move a method and a file 2021-08-04 22:26:02 +02:00
Bernd Hahnebach
f8d040f9fd FEM: calculix writer, force constraint, do not write zero loads 2021-08-02 11:14:11 +02:00
Bernd Hahnebach
117d928d5d FEM: unit test command file, add command for all FEM App tests 2021-08-01 11:42:43 +02:00
Bernd Hahnebach
130ef93d83 FEM: unit test information, remove duplicate lines, they are in unit test commands file available 2021-08-01 11:42:38 +02:00
Bernd Hahnebach
005c66f4ec FEM: Mystran solver, add examples and writer unit tests 2021-07-31 16:57:01 +02:00
Bernd Hahnebach
cdcd271b4c FEM: Mystran solver, add solver, writer, tasks and constraint force and
fixed writing
2021-07-31 16:57:01 +02:00
Bernd Hahnebach
0816e30cba FEM: ccx canti quad4 example and unit test, improve mesh 2021-07-29 22:25:38 +02:00
Bernd Hahnebach
e6a6ac3725 FEM: unit tests, temporary deactivate 2 unit tests as they fail on ci 2021-07-29 13:23:43 +02:00
Bernd Hahnebach
551e6e9675 FEM: examples and unit tests calculix solver, add ccx cantilever with quad8 elements 2021-07-29 13:10:30 +02:00
Bernd Hahnebach
74b6276c20 FEM: examples and unit tests calculix solver, add ccx cantilever with quad4 elements 2021-07-29 13:10:22 +02:00
Bernd Hahnebach
bcb17be94a FEM: z88 unit test, move a method 2021-07-28 23:36:57 +02:00
Bernd Hahnebach
26c2d6540f FEM: z88 solver, tria6 example and unit test as well as small writer improvements 2021-07-28 23:22:26 +02:00
Bernd Hahnebach
ac7caebb59 FEM: calculix unit tests, add ccx cantilever with seg2, seg3, tria3 and tria6 mesh elements 2021-07-28 17:24:13 +02:00
Bernd Hahnebach
83c8cc30e8 FEM: examples and unit tests, some heavy file renaming 2021-07-25 19:20:39 +02:00
Bernd Hahnebach
def2df9253 FEM: calculix writer, improve information about units in input file 2021-07-14 10:46:43 +02:00