Skip to content

Commit

Permalink
FEM: fix thermomech unit test analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach authored and wwmayer committed Aug 4, 2016
1 parent 4c8d5b5 commit a3d9390
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/Mod/Fem/TestFem.py
Expand Up @@ -338,6 +338,10 @@ def create_new_analysis(self):

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):
Expand Down
11 changes: 5 additions & 6 deletions src/Mod/Fem/test_files/ccx/spine_thermomech.inp
Expand Up @@ -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

***********************************************************
Expand Down

0 comments on commit a3d9390

Please sign in to comment.