Skip to content

Commit

Permalink
FEM: unit tests, add calculix test for ccx_cantilever_selfweight example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudhanshu-Dubey14 authored and berndhahnebach committed Jul 14, 2020
1 parent ca0f9b4 commit 0a43abc
Show file tree
Hide file tree
Showing 4 changed files with 2,247 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Mod/Fem/CMakeLists.txt
Expand Up @@ -245,6 +245,7 @@ SET(FemTestsCcx_SRCS
femtest/data/calculix/constraint_contact_solid_solid.FCStd
femtest/data/calculix/constraint_contact_solid_solid.inp
femtest/data/calculix/constraint_sectionprint.inp
femtest/data/calculix/constraint_selfweight_cantilever.inp
femtest/data/calculix/constraint_tie.inp
femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp
femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp
Expand Down
8 changes: 8 additions & 0 deletions src/Mod/Fem/femtest/app/test_solver_calculix.py
Expand Up @@ -154,6 +154,14 @@ def test_constraint_sectionprint(
setup(self.document, "calculix")
self.input_file_writing_test(get_namefromdef("test_"))

# ********************************************************************************************
def test_constraint_selfweight_cantilever(
self
):
from femexamples.constraint_selfweight_cantilever import setup
setup(self.document, "calculix")
self.input_file_writing_test(get_namefromdef("test_"))

# ********************************************************************************************
def test_constraint_tie(
self
Expand Down

0 comments on commit 0a43abc

Please sign in to comment.