Bernd Hahnebach
546c02a71e
FEM: unit tests, add some comments
2017-06-07 23:32:36 -03:00
Bernd Hahnebach
bf45cb16ee
FEM: unit tests, use FreeCADs native Python API to create the meshes
2017-06-07 23:32:36 -03:00
Bernd Hahnebach
c06cbdee70
FEM: unit tests, use better file name for unv read write test
2017-06-07 23:32:36 -03:00
Bernd Hahnebach
cb90f46a05
FEM: unit tests, use the lately commited dev in Test to run unit tests of FEM
2017-06-07 23:32:36 -03:00
Bernd Hahnebach
c26671c094
FEM: unittest, move mesh creation at end of test object creation
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
85702031d3
FEM: unittest, get rid of not useful self.
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
413c7ede90
FEM: unittest, move all CCX analysis tests in one test case class
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
661fdbd307
FEM: unittest, get rid of duplicates and move them to helpers
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
288406dc23
FEM: unittest, move unv test out of analysis test case
2017-05-27 19:57:27 -03:00
wmayer
0c0b2126ec
add unit test to check for order of nodes of quadratic mesh elements
2017-04-07 20:51:02 +02:00
Bernd Hahnebach
de9b534366
FEM: material object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
4f0f3aa4fa
FEM: solver calculix object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
c63f1e7753
FEM: analysis object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
529e1418f4
FEM: unit tests, get rid of duplicate defs
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
94ddfdb01f
FEM: unit tests, make all FEM unit test in one directory in tmp directory
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
227beac03f
FEM: unit tests, fix def to update results
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
cfa97b0163
FEM: unit tests, reorder paths
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
4360c0b8b3
FEM: unit tests, fix some issues and save FreeCAD files of the unit tests
2017-01-14 10:44:20 +01:00
Bernd Hahnebach
6ab6603f2e
FEM: fix unit tests in the regard of new material module name
2017-01-02 18:03:24 -02:00
wmayer
546656867b
fix FemMesh::copyMeshData
2016-12-12 12:43:05 +01:00
wmayer
0ff231c0d4
temporarily disable failing unit test
2016-12-10 12:31:16 +01:00
Bernd Hahnebach
6e05fb0d29
FEM: change ccx solver property name
...
from IterationsMaximum to IterationsThermoMechMaximum and
only write if set > 0
2016-09-27 13:04:47 -03:00
Bernd Hahnebach
33b8593438
FEM: change ccx solver property name from SteadyState to TheromMechSteadyState
2016-09-27 13:04:46 -03:00
Bernd Hahnebach
c476bcfeb0
FEM: solver object is used to write the eigenmode params to input file
2016-08-08 08:03:26 +02:00
Bernd Hahnebach
f0bbbc1cef
FEM: unit test: add max iterations count to thermomech solver obj
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
a3d9390cc0
FEM: fix thermomech unit test analysis
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
4d778390d4
FEM: code formating: trailing whitespaces, tabs at line start and flake8
2016-08-04 17:45:04 +02:00
vdwalts
5a2a73b55e
FEM: Adding the FEM tests for the thermo-mechanical test problem to the TestFem.py file. To-do: Add the frd file test and the compare stats test.
2016-08-04 17:45:04 +02:00
vdwalts
140af42f9b
FEM: Setting up the geometry and constraints for the cooling spine model for the thermo-mechanical test.
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
2fb6d51f9f
FEM: calculix solver: better handling of iterations control parameter and
...
add them to FEM unit test
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
81e9e8b3be
FEM: solver object CalculiX: add new attributes and use defaults from prefs
...
and fix FEM unit tests
2016-08-04 17:45:04 +02:00
Bernd Hahnebach
30baceeb61
FEM: python code formating flake8: add white space to start comment block, where missing
2016-07-21 18:40:51 -03:00
Bernd Hahnebach
251a8d4bac
FEM: trailing whitespaces
2016-07-11 15:27:20 +02:00
Jean-Marie Verdun
47f21309dd
FEM: Make FEM compatible with SMESH7
2016-06-15 22:34:10 +02:00
Bernd Hahnebach
f1858cfdbf
FEM: multiple solver are possible in one analysis, use the selected for calculation run
2016-06-03 07:29:29 +02:00
Bernd Hahnebach
fca5cd99bb
FEM: add preference setting to keep results on rerun an analysis
2016-05-29 12:02:29 -03:00
Bernd Hahnebach
610b4b2bba
FEM: add module FemToolsCcx.py and make use of it
...
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
eca76c3781
FEM: unit test, add some helper to create result files
2016-03-14 20:38:41 +01:00
Bernd Hahnebach
0ffb412aaf
FEM: unit test, change load and pressure to some more reasonable values
2016-03-14 20:38:40 +01:00
Bernd Hahnebach
592e26fc41
FEM: replace Calculix with CalculiX in strings
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
9d2d92336e
FEM: rename modul MechanicalAnalysis to FemAnalysis
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
42913ca0cf
FEM: fix test frame work
2015-11-28 20:04:22 -02:00
Przemo Firszt
fe522bc66b
FEM, Tests: Fix line end problem in compare_inp_files
...
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-11-19 10:26:24 +01:00
Przemo Firszt
dee8809454
FEM, Tests: Force unix line ends for comparing calculation stats
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-11-16 19:15:44 -02:00
Przemo Firszt
b0fbd60835
FEM: Use format to avoid error is the message is not pure string
...
Traceback (most recent call last):
File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
229, in test_new_analysis
ret = self.compare_stats(fea, static_expected_values)
File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
147, in compare_stats
fcc_print(sf_content)
File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
55, in fcc_print
FreeCAD.Console.PrintMessage(message + '\n')
TypeError: can only concatenate list (not "str") to list
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-11-14 14:53:36 +01:00
Bernd Hahnebach
c542a88e5e
FEM: move CalculiX test files to test_files/ccx directory
2015-11-07 17:23:31 +01:00
Przemo Firszt
6ab7a434ac
FEM, Tests: Make sure eigenmode parameters are always the same.
...
The parameters were taken from FEM prefs, so the test could fail.
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-25 12:46:23 +01:00
Przemo Firszt
26d18db2d3
FEM: Make sure ccx working dir is set
...
Also TestFem and check_prerequisities are corrected
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:28:04 +02:00
Przemo Firszt
ac0f3a650d
FEM: Test ccx binary before use
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:54 +02:00
Przemo Firszt
a0d8042bff
FEM, Tests: Add setting static analysis
...
The tests from GUI were failing if FEM prefs were set to frequency analysis
Debugged by: sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-17 12:20:48 -03:00