Skip to content

Commit

Permalink
FEM: ccx constraint section print, add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Jun 24, 2020
1 parent 5f928b7 commit f5dea7e
Show file tree
Hide file tree
Showing 4 changed files with 3,516 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Fem/CMakeLists.txt
Expand Up @@ -220,6 +220,7 @@ SET(FemTestsCcx_SRCS
femtest/data/ccx/constraint_contact_shell_shell.inp
femtest/data/ccx/constraint_contact_solid_solid.FCStd
femtest/data/ccx/constraint_contact_solid_solid.inp
femtest/data/ccx/constraint_sectionprint.inp
femtest/data/ccx/constraint_tie.inp
femtest/data/ccx/cube_frequency.inp
femtest/data/ccx/cube_frequency.dat
Expand Down
21 changes: 21 additions & 0 deletions src/Mod/Fem/femtest/app/test_ccxtools.py
Expand Up @@ -210,6 +210,27 @@ def test_static_constraint_contact_solid_solid(
analysis_dir=analysis_dir,
)

# ********************************************************************************************
def test_static_constraint_sectionprint(
self
):
# set up
from femexamples.constraint_section_print import setup
setup(self.document, "ccxtools")
test_name = "constraint sectionprint"
base_name = "constraint_sectionprint"
analysis_dir = testtools.get_unit_test_tmp_dir(
self.temp_dir,
"FEM_ccx_constraint_sectionprint",
)

# test input file writing
self.input_file_writing_test(
test_name=test_name,
base_name=base_name,
analysis_dir=analysis_dir,
)

# ********************************************************************************************
def test_static_constraint_tie(
self
Expand Down

0 comments on commit f5dea7e

Please sign in to comment.