FEM: fix thermomech unit test analysis

This commit is contained in:
Bernd Hahnebach 2016-08-02 09:05:50 +02:00 committed by wmayer
parent 4c8d5b592c
commit a3d9390cc0
2 changed files with 9 additions and 6 deletions

View File

@ -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):

View File

@ -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
***********************************************************