FEM: example multimaterial, move mesh from unit tests to fem examples

This commit is contained in:
Bernd Hahnebach
2019-09-25 20:34:26 +02:00
parent e7bd900a94
commit 6fdd0685ac
3 changed files with 2 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ SET(FemExampleMeshes_SRCS
femexamples/meshes/__init__.py
femexamples/meshes/mesh_canticcx_tetra10.py
femexamples/meshes/mesh_rc_wall_2d_tria6.py
femexamples/meshes/mesh_multimaterial_twoboxes.py
femexamples/meshes/mesh_thermomech_spine.py
)
@@ -167,7 +168,6 @@ SET(FemTestsCcx_SRCS
femtest/data/ccx/cube_static.FCStd
femtest/data/ccx/cube.FCStd
femtest/data/ccx/multimat.inp
femtest/data/ccx/multimat_mesh.py
femtest/data/ccx/spine_thermomech.inp
femtest/data/ccx/spine_thermomech.dat
femtest/data/ccx/spine_thermomech.frd

View File

@@ -144,7 +144,7 @@ def setup(doc=None, solver="ccxtools"):
# mesh
# from femexamples.meshes.mesh_thermomech_spine import create_nodes, create_elements
from femtest.data.ccx.multimat_mesh import create_nodes, create_elements
from femexamples.meshes.mesh_multimaterial_twoboxes import create_nodes, create_elements
fem_mesh = Fem.FemMesh()
control = create_nodes(fem_mesh)
if not control: