FEM: Change thermo mechanical to coupled analysis and add control parameters for convergence
This commit is contained in:
parent
55d2884658
commit
1c4bd96e34
|
@ -365,6 +365,9 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
|||
elif self.solver_obj.GeometricalNonlinearity == "nonlinear" and self.analysis_type == 'frequency':
|
||||
print('Analysis type frequency and geometrical nonlinear analyis are not allowed together, linear is used instead!')
|
||||
f.write(static_frequency_step + '\n')
|
||||
f.write('*CONTROLS,PARAMETERS=TIME INCREMENTATION\n')
|
||||
f.write('4,8,9,200,10,400,,200,\n')
|
||||
f.write('0.25,0.5,0.75,0.85,,,1.5,\n')
|
||||
f.write('*STATIC')
|
||||
if self.solver_obj.MatrixSolverType == "default":
|
||||
pass
|
||||
|
@ -385,6 +388,10 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
|||
thermomech_step += ', NLGEOM'
|
||||
thermomech_step += ', INC=' + str(self.solver_obj.IterationsMaximum)
|
||||
f.write(thermomech_step + '\n')
|
||||
f.write(step)
|
||||
f.write('*CONTROLS,PARAMETERS=TIME INCREMENTATION\n')
|
||||
f.write('4,8,9,200,10,400,,200,\n')
|
||||
f.write('0.25,0.5,0.75,0.85,,,1.5,\n')
|
||||
|
||||
def write_constraints_fixed(self, f):
|
||||
f.write('\n***********************************************************\n')
|
||||
|
@ -562,7 +569,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
|||
|
||||
def write_analysis_thermomech(self, f):
|
||||
f.write('\n***********************************************************\n')
|
||||
f.write('** Un-Coupled temperature displacement analysis\n')
|
||||
f.write('** Coupled temperature displacement analysis\n')
|
||||
f.write('** written by {} function\n'.format(sys._getframe().f_code.co_name))
|
||||
thermomech_analysis = '*COUPLED TEMPERATURE-DISPLACEMENT'
|
||||
if self.solver_obj.MatrixSolverType == "default":
|
||||
|
|
Loading…
Reference in New Issue
Block a user