Commit Graph

348 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
2bf2c7d546 FEM: calculix writer, improve floats writing for femelement material 2021-07-14 10:15:18 +02:00
Bernd Hahnebach
3f45205ea6 FEM: calculix writer, improve floats writing for femelement geometry 2021-07-14 09:16:47 +02:00
Bernd Hahnebach
a58cd00e5a FEM: calculix writer, continue improve floating point writing for constraints 2021-07-14 09:16:39 +02:00
Bernd Hahnebach
138144d88e FEM: calculix writer, improve floating point writing 2021-07-13 22:27:31 +02:00
Bernd Hahnebach
290b5cc322 FEM: code conventions, update 2021-07-12 20:36:46 +02:00
Bernd Hahnebach
9715034bc9 FEM: calculix writer, move constraint initialtemperature in separate module, use generic constraint writer and fix unit tests 2021-07-12 01:03:20 +02:00
Bernd Hahnebach
671b408751 FEM: calculix writer, do no longer write method names into input file, fix all unit test files 2021-07-12 01:02:46 +02:00
Bernd Hahnebach
f0b543ed81 FEM: constraint centrif, add unit test 2021-07-09 22:04:14 +02:00
UR-0
974f41e0cc FEM: constraint centrif, App objects and methods:
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
Sudhanshu Dubey
65f84827e5 FEM: constraint transform beam hinged, add unit test 2021-07-09 17:40:36 +02:00
Bernd Hahnebach
0a388722a7 FEM: constraint transform torque example, code improvement and unit test fix 2021-07-09 13:17:58 +02:00
Sudhanshu Dubey
bda6ad109f FEM: contraint transform example, add unit test 2021-07-09 13:17:50 +02:00
Bernd Hahnebach
8d445f38e4 FEM: calculix writer, move heatflux suface faces getter in separate method (like other constraints do) 2021-07-07 11:40:46 +02:00
Bernd Hahnebach
3fcdef5ca0 FEM: calculix writer, use obj name as unique identifier for constraint section print 2021-07-06 14:55:38 +02:00
Bernd Hahnebach
809a4ff153 FEM: fix failing unit test due to wrong result name, related: 79b41f7393 2021-07-05 23:58:35 +02:00
Bernd Hahnebach
db9850008f FEM: temporary deactivate two FEM tests to get master back on travis 2021-07-04 21:10:18 +02:00
luz paz
56ce278abf Fix typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-06-17 08:02:57 +02:00
Bernd Hahnebach
ce9f92b42b FEM: examples, typo in flexural buckling 2021-06-15 20:38:28 +02:00
Tobias Vaara
0ad5a0f735 FEM: unit tests, add calculix flexural buckling 2021-06-09 08:23:14 +02:00
Bernd Hahnebach
09f441c93e FEM: unit test, add simple calculix frequency example 2021-06-09 08:23:14 +02:00
donovaly
cc0af9b4dd [FEM] proper support for Gmsh HighOrder optimization
There are 4 optimizers available while we only supported 1. This PR adds support for all.
2021-04-08 13:29:50 +02:00
donovaly
75371bb238 [FEM] add mesh algorithms
- Gmsh has since a while 2 new mesh algorithms
- on the other hand the two algorithms ""Frontal Delaunay" and "Frontal Hex" are deprecated and not listed anymore in the docs: https://gmsh.info/doc/texinfo/gmsh.html#index-Mesh_002eAlgorithm3D
and indeed all attempts with these 2 algorithms fail
2021-03-24 17:01:47 +01:00
Bernd Hahnebach
71141d0964 FEM: fix unit test because of denisty writing. See 3e1b16b198. This reverts 8ec3766b00 2021-03-17 09:33:21 +01:00