FEM: examples, small improvements
This commit is contained in:
@@ -38,7 +38,7 @@ def get_information():
|
||||
"meshtype": "solid",
|
||||
"meshelement": "Hexa20",
|
||||
"constraints": ["fixed", "force"],
|
||||
"solvers": ["calculix", "z88", "elmer"],
|
||||
"solvers": ["calculix", "elmer", "z88"],
|
||||
"material": "solid",
|
||||
"equation": "mechanical"
|
||||
}
|
||||
|
||||
@@ -67,6 +67,11 @@ def setup(doc=None, solvertype="ccxtools"):
|
||||
# just keep the following line and change text string in get_explanation method
|
||||
manager.add_explanation_obj(doc, get_explanation(manager.get_header(get_information())))
|
||||
|
||||
# delete explanation object wrongly added with setup faceload
|
||||
if hasattr(doc, "Explanation_Report001"):
|
||||
doc.removeObject("Explanation_Report001")
|
||||
doc.recompute()
|
||||
|
||||
# setup cantilever faceload and exchange the mesh
|
||||
doc = setup_with_faceload(doc, solvertype)
|
||||
femmesh_obj = doc.getObject(get_meshname())
|
||||
|
||||
@@ -35,7 +35,7 @@ def get_information():
|
||||
"meshtype": "solid",
|
||||
"meshelement": "Tet10",
|
||||
"constraints": ["fixed", "force"],
|
||||
"solvers": ["calculix", "z88", "elmer"],
|
||||
"solvers": ["calculix", "elmer", "z88"],
|
||||
"material": "solid",
|
||||
"equation": "mechanical"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user