Skip to content

Commit

Permalink
FEM: example multimaterial two boxes, add it to the example manager
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Sep 25, 2019
1 parent b1765cf commit f33aa0c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Mod/Fem/femexamples/manager.py
Expand Up @@ -123,6 +123,20 @@ def run_ccx_cantileverprescribeddisplacement(solver=None, base_name=None):
return doc


def run_multimaterial_twoboxes(solver=None, base_name=None):

from femexamples.multimaterial_twoboxes import setup
doc = setup()

if base_name is None:
base_name = "Multimaterial_Two-Boxes"
if solver is not None:
base_name += "_" + solver
run_analysis(doc, base_name)

return doc


def run_rcwall2d(solver=None, base_name=None):

from femexamples.rc_wall_2d import setup_rcwall2d as setup
Expand Down Expand Up @@ -164,6 +178,8 @@ def run_thermomech_spine(solver=None, base_name=None):
doc = run_ccx_cantilevernodeload("ccxtools")
doc = run_ccx_cantilevernodeload("z88")
doc = run_multimaterial_twoboxes()
doc = run_rcwall2d()
doc = run_thermomech_spine()
Expand Down

0 comments on commit f33aa0c

Please sign in to comment.