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
7b8b1c06fd
FEM: unit tests, use better file name for unv read write test
2017-06-07 23:32:36 -03:00
Bernd Hahnebach
cb9265c492
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
fbc2ffad6b
FEM: unittest, move mesh creation at end of test object creation
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
d5731d3147
FEM: unittest, get rid of not useful self.
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
31966c577c
FEM: unittest, move all CCX analysis tests in one test case class
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
3392b7268e
FEM: unittest, get rid of duplicates and move them to helpers
2017-05-27 19:57:27 -03:00
Bernd Hahnebach
2fbe2d715f
FEM: unittest, move unv test out of analysis test case
2017-05-27 19:57:27 -03:00
wmayer
2a22e06a5c
add unit test to check for order of nodes of quadratic mesh elements
2017-04-07 20:51:02 +02:00
Bernd Hahnebach
a1b9c6db15
FEM: material object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
e72516aafd
FEM: solver calculix object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
f4bb2a0624
FEM: analysis object, move make def into make objects FEM module
2017-02-21 14:09:27 +01:00
Bernd Hahnebach
c15ffae406
FEM: unit tests, get rid of duplicate defs
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
5c8a493e2a
FEM: unit tests, make all FEM unit test in one directory in tmp directory
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
24c21e0b12
FEM: unit tests, fix def to update results
2017-01-22 17:31:08 +01:00
Bernd Hahnebach
8ff74d9867
FEM: unit tests, reorder paths
2017-01-22 17:31:08 +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
43a15a2083
FEM: fix unit tests in the regard of new material module name
2017-01-02 18:03:24 -02:00
wmayer
a035045f4d
fix FemMesh::copyMeshData
2016-12-12 12:43:05 +01:00
wmayer
b1d099d712
temporarily disable failing unit test
2016-12-10 12:31:16 +01:00
Bernd Hahnebach
5217f0aa8c
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
d004a1190a
FEM: change ccx solver property name from SteadyState to TheromMechSteadyState
2016-09-27 13:04:46 -03:00
Bernd Hahnebach
bf5a0604eb
FEM: solver object is used to write the eigenmode params to input file
2016-08-08 08:03:26 +02:00
Bernd Hahnebach
85b4eb0038
FEM: unit test: add max iterations count to thermomech solver obj
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
Bernd Hahnebach
c93ef9365e
FEM: code formating: trailing whitespaces, tabs at line start and flake8
2016-08-04 17:45:04 +02:00
vdwalts
5898c189d2
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
4c8de6e05e
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
ae1730c957
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
3e7d1efa05
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
999e3d9ce7
FEM: python code formating flake8: add white space to start comment block, where missing
2016-07-21 18:40:51 -03:00
Bernd Hahnebach
399bd80cd7
FEM: trailing whitespaces
2016-07-11 15:27:20 +02:00
Jean-Marie Verdun
f7c77a446a
FEM: Make FEM compatible with SMESH7
2016-06-15 22:34:10 +02:00
Bernd Hahnebach
23d57a5d54
FEM: multiple solver are possible in one analysis, use the selected for calculation run
2016-06-03 07:29:29 +02:00
Bernd Hahnebach
cfe0821f67
FEM: add preference setting to keep results on rerun an analysis
2016-05-29 12:02:29 -03:00
Bernd Hahnebach
a9793c2084
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
a9a785f431
FEM: unit test, add some helper to create result files
2016-03-14 20:38:41 +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
6cfac737fb
FEM: replace Calculix with CalculiX in strings
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
988c0af766
FEM: rename modul MechanicalAnalysis to FemAnalysis
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
08e4e0a87b
FEM: fix test frame work
2015-11-28 20:04:22 -02:00
Przemo Firszt
f0689be4d7
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
3fdd98d4c1
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
f5c03c222d
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
89ed512859
FEM: move CalculiX test files to test_files/ccx directory
2015-11-07 17:23:31 +01:00
Przemo Firszt
39747dd9bb
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
aee61f871e
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
969ae6e60a
FEM: Test ccx binary before use
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-19 21:27:54 +02:00
Przemo Firszt
f2b1b97748
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
Przemo Firszt
6a04948235
FEM, Tests: Include detailed information in test report after failure
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-10-17 12:20:48 -03:00