diff --git a/src/Mod/Fem/TestFem.py b/src/Mod/Fem/TestFem.py index afda108a6..42f639141 100644 --- a/src/Mod/Fem/TestFem.py +++ b/src/Mod/Fem/TestFem.py @@ -338,6 +338,10 @@ class TherMechFemTest(unittest.TestCase): def create_new_solver(self): self.solver_object = FemSolverCalculix.makeFemSolverCalculix('CalculiX') + self.solver_object.GeometricalNonlinearity = 'linear' + self.solver_object.SteadyState = True + self.solver_object.MatrixSolverType = 'default' + self.solver_object.IterationsControlParameterTimeUse = True self.active_doc.recompute() def create_new_mesh(self): diff --git a/src/Mod/Fem/test_files/ccx/spine_thermomech.inp b/src/Mod/Fem/test_files/ccx/spine_thermomech.inp index d976ff00b..346f2b08c 100644 --- a/src/Mod/Fem/test_files/ccx/spine_thermomech.inp +++ b/src/Mod/Fem/test_files/ccx/spine_thermomech.inp @@ -126,18 +126,17 @@ Nall,300.0 *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** -** One step is needed to calculate the mechanical analysis of FreeCAD -** loads are applied quasi-static, means without involving the time dimension +** One step is needed to run the thermomechanical analysis of FreeCAD ** written by write_step_begin_thermomech function -*STEP,INC=2000 -*CONTROLS,PARAMETERS=TIME INCREMENTATION -4,8,9,200,10,400,,200, +*STEP, INC=2000 +*CONTROLS, PARAMETERS=TIME INCREMENTATION +4,8,9,200,10,400,,200,, 0.25,0.5,0.75,0.85,,,1.5, *********************************************************** ** Coupled temperature displacement analysis ** written by write_analysis_thermomech function -*COUPLED TEMPERATURE-DISPLACEMENT,STEADY STATE +*COUPLED TEMPERATURE-DISPLACEMENT, STEADY STATE 1.0,1.0 ***********************************************************