Skip to content

Commit

Permalink
FEM: examples, set input splitted input file writing to False
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Jan 16, 2020
1 parent 0b2b1e3 commit 2f0d34e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/boxanalysis.py
Expand Up @@ -105,6 +105,7 @@ def setup_static(doc=None, solvertype="ccxtools"):
elif solvertype == "z88":
analysis.addObject(ObjectsFem.makeSolverZ88(doc, "SolverZ88"))
if solvertype == "calculix" or solvertype == "ccxtools":
solver_object.SplitInputWriter = False
solver_object.AnalysisType = "static"
solver_object.GeometricalNonlinearity = "linear"
solver_object.ThermoMechSteadyState = False
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/ccx_cantilever_std.py
Expand Up @@ -70,6 +70,7 @@ def setup_cantileverbase(doc=None, solvertype="ccxtools"):
elif solvertype == "z88":
analysis.addObject(ObjectsFem.makeSolverZ88(doc, "SolverZ88"))
if solvertype == "calculix" or solvertype == "ccxtools":
solver_object.SplitInputWriter = False
solver_object.AnalysisType = "static"
solver_object.GeometricalNonlinearity = "linear"
solver_object.ThermoMechSteadyState = False
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/material_multiple_twoboxes.py
Expand Up @@ -89,6 +89,7 @@ def setup(doc=None, solvertype="ccxtools"):
)[0]
solver_object.WorkingDir = u""
if solvertype == "calculix" or solvertype == "ccxtools":
solver_object.SplitInputWriter = False
solver_object.AnalysisType = "static"
solver_object.GeometricalNonlinearity = "linear"
solver_object.ThermoMechSteadyState = False
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/material_nl_platewithhole.py
Expand Up @@ -96,6 +96,7 @@ def setup(doc=None, solvertype="ccxtools"):
)[0]
solver.WorkingDir = u""
if solvertype == "calculix" or solvertype == "ccxtools":
solver.SplitInputWriter = False
solver.AnalysisType = "static"
solver.GeometricalNonlinearity = "linear"
solver.ThermoMechSteadyState = False
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/rc_wall_2d.py
Expand Up @@ -85,6 +85,7 @@ def setup(doc=None, solvertype="ccxtools"):
)[0]
solver.WorkingDir = u""
if solvertype == "calculix" or solvertype == "ccxtools":
solver.SplitInputWriter = False
solver.AnalysisType = "static"
solver.GeometricalNonlinearity = "linear"
solver.ThermoMechSteadyState = False
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/thermomech_flow1d.py
Expand Up @@ -101,6 +101,7 @@ def setup(doc=None, solvertype="ccxtools"):
)[0]
solver_object.WorkingDir = u""
if solvertype == "calculix" or solvertype == "ccxtools":
solver_object.SplitInputWriter = False
solver_object.AnalysisType = "thermomech"
solver_object.GeometricalNonlinearity = "linear"
solver_object.ThermoMechSteadyState = True
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Fem/femexamples/thermomech_spine.py
Expand Up @@ -70,6 +70,7 @@ def setup(doc=None, solvertype="ccxtools"):
# elif solvertype == "elmer":
# analysis.addObject(ObjectsFem.makeSolverElmer(doc, "SolverElmer"))
if solvertype == "calculix" or solvertype == "ccxtools":
solver_object.SplitInputWriter = False
solver_object.AnalysisType = "thermomech"
solver_object.GeometricalNonlinearity = "linear"
solver_object.ThermoMechSteadyState = True
Expand Down

0 comments on commit 2f0d34e

Please sign in to comment.