Commit Graph

45 Commits

Author SHA1 Message Date
Peter Lama
bc7d4eb2f4 Fem: py3 fixes
Needed for unit tests to pass
2017-06-18 16:45:55 +02:00
Bernd Hahnebach
41757e4b29 FEM: ccx input writer, use variables for elementset names instead of hardecoded values 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
634987bc0f FEM: abaqus writer, use better names for elementsets 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
564c30a471 FEM: abaqus writer, some comments 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
f7c0f2fee4 FEM: unit tests, use FreeCADs native Python API to create the meshes 2017-06-07 23:32:36 -03:00
Bernd Hahnebach
3029f85008 FEM: unittest, update result files and FreeCAD files 2017-05-27 19:57:27 -03:00
Bernd Hahnebach
260f2760e3 FEM: ccx input writer, write object labels as comments 2017-02-28 17:35:26 +01:00
Bernd Hahnebach
633b759186 FEM: 1DFlow, fix unit tests 2017-02-28 17:35:26 +01:00
Bernd Hahnebach
93ce4263bd FEM: ccx writer, better handling of different analysis types 2017-02-16 14:00:40 +01:00
Bernd Hahnebach
af88f18507 FEM: unit tests, update result files to start with element numbering with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
f923a67b30 FEM: unit tests, start element numbers of the unit test FEM meshes with 1 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
4ce04dfdc9 FEM: unit tests, convert result stat file from win to unix line ending 2017-01-22 17:31:08 +01:00
Bernd Hahnebach
12abd9a955 FEM: unit tests, update FreeCAD files of FEM unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach
b9c0ad2c72 FEM: unit tests, fix some issues and save FreeCAD files of the unit tests 2017-01-14 10:44:20 +01:00
Bernd Hahnebach
db933128f6 FEM: fix unit test after activating new pressure face search 2016-11-22 19:50:49 +01:00
Bernd Hahnebach
c9175cacc0 FEM: constraint pressure, move geting the faces from FemInputwriterCcx to FemInputWriter and FemMeshTools module 2016-10-17 11:23:07 +02:00
Bernd Hahnebach
88e0255209 FEM: ccx input file, remove trailing whitspaces and not needed comma 2016-09-27 13:04:47 -03:00
Bernd Hahnebach
b70f0d09e3 FEM: ccx input writer: reorder defs and def calls and
- fix presure and force are written for thermomech too
- change some comments
- fix FEM unit tests
2016-08-10 12:53:55 +02:00
Bernd Hahnebach
69c4bac5a5 FEM: materials: simplify input writing and add pre checks for material value keys 2016-08-08 08:03:27 +02:00
Bernd Hahnebach
e9350d5679 FEM: ccx writer: explicit format diggits of material values for passing unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
43bafe3bde FEM: fix thermomech unit test analysis 2016-08-04 17:45:04 +02:00
vdwalts
31e410337a FEM: Adding the reference input file for calculix and the results files for the thermo-mechanical test case 2016-08-04 17:45:04 +02:00
vdwalts
328f048a00 FEM: Adding the meshing points and volumes files necessary to create mesh of test model to the test folder 2016-08-04 17:45:04 +02:00
vdwalts
0517170e7d FEM: Adding Freecad model to the test folder for thermo-mechanical test of cooling spine 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
2a1cbf9c78 FEM: constraint thermomech: add implementation for solver CalculiX and fix FEM unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
465c0d7869 FEM: ccx writer: change some wrong ccx input file comments and fix FEM unit tests 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
598e42092c FEM: input writer ccx: better def name and comments 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
e76fa5191c FEM: do not write empty constraints to ccx input file 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
8645a0456a FEM: typo in input writer ccx 2016-07-21 18:40:51 -03:00
Bernd Hahnebach
972af61bd3 FEM: add module FemMeshTools and move methods in there 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
2ff7ca50fa FEM: fix unit test after small changes in writeAbaqus 2016-05-16 13:22:54 +02:00
Bernd Hahnebach
0081b2f970 FEM: unit test, update test result files and expected result files 2016-03-14 20:38:42 +01:00
Bernd Hahnebach
8a66697056 FEM: unit test, update FreeCAD file with objects from module TestFem 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
87dbeed028 FEM: unit test, change load and pressure to some more reasonable values 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
ef9d943272 FEM: unit test, remove not used files 2016-03-14 20:38:39 +01:00
Bernd Hahnebach
d69600e46f FEM: make method names in ccxwriter consisten 2016-03-02 22:23:27 +01:00
Bernd Hahnebach
dab3b7eb69 FEM: fix unit test cases 2016-02-17 19:36:16 +01:00
Bernd Hahnebach
e434c2749e FEM: fix, use uniqe names for materials in CalculiX input file 2016-02-02 07:18:46 +01:00
Przemo Firszt
bdb45f1e9f FEM: Fix Von Mises calculation formula and update FEM test results
Reported-by: fandaL
Fixed-by: fandaL
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:37 +01:00
Bernd Hahnebach
89ed512859 FEM: move CalculiX test files to test_files/ccx directory 2015-11-07 17:23:31 +01:00
Przemo Firszt
ba658c5866 FEM, Tests: Fix FEM tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 18:35:43 +00:00
Bernd Hahnebach
1fdcef9996 FEM: cload in ccxwriter, some changes in preparation for adding better edge load calculation 2015-10-26 13:13:54 +01:00
Bernd Hahnebach
682c22701d FEM: CalculiX writer, rename elset for solid meshes 2015-10-05 18:33:33 +02:00
Bernd Hahnebach
63ec2c1c93 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -03:00
Przemo Firszt
6f1f34ff80 FEM: FemTest rework
- move test files to a separate directory
- use real life model to generate .inp files (model included)
- change format of csv node/volume files to allow direct copy&paste from .inp files
- use pre prepared real-life .dat & .frd files to test analysis results loading functions
- much more fine grained error reporting
- remove empty lines for output
- add helper function to print to console

Example run of the FEM test:

--------------- Start of FEM tests ---------------
Checking FEM new analysis...
Checking FEM new mesh...
sh: SMDS_MemoryLimit: command not found
Checking FEM new material...
Checking FEM new fixed constraint...
Checking FEM new force constraint...
Checking FEM new pressure constraint...
Checking FEM inp file prerequisites...
Checking FEM inp file write...
Setting up working directory /tmp/FEM_static
Writing /tmp/FEM_static/Mesh.inp for static analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_static.inp to /tmp/FEM_static/Mesh.inp
Setting up working directory to /home/przemo/software/FreeCAD/build/Mod/Fem/test_files in order to read simulated calculations
Setting base name to read test cube_static.frd file...
Checking FEM frd file read from static analysis...
Result object created as "Results"
Reading stats from result object for static analysis...
Setting analysis type to 'frequency"
Setting up working directory /tmp/FEM_frequency
Writing /tmp/FEM_frequency/Mesh.inp for frequency analysis
Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_frequency.inp to /tmp/FEM_frequency/Mesh.inp
Setting working directory to read simulated calculations...
Setting base name to read test cube_frequency.frd file...
Checking FEM frd file read from frequency analysis...
Last result object created as "Mode_10_results"
Reading stats from result object for frequency analysis...
--------------- End of FEM tests ---------------

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-21 11:16:03 -03:00