FEM: constraint centrif, add unit test
This commit is contained in:
@@ -268,6 +268,7 @@ SET(FemTestsCcx_SRCS
|
||||
femtest/data/calculix/ccxcantilever_hexa20.inp
|
||||
femtest/data/calculix/ccxcantilever_nodeload.inp
|
||||
femtest/data/calculix/ccxcantilever_prescribeddisplacement.inp
|
||||
femtest/data/calculix/constraint_centrif.inp
|
||||
femtest/data/calculix/constraint_contact_shell_shell.FCStd
|
||||
femtest/data/calculix/constraint_contact_shell_shell.inp
|
||||
femtest/data/calculix/constraint_contact_solid_solid.FCStd
|
||||
|
||||
@@ -135,6 +135,14 @@ class TestSolverCalculix(unittest.TestCase):
|
||||
setup(self.document, "calculix")
|
||||
self.input_file_writing_test(get_namefromdef("test_"))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_constraint_centrif(
|
||||
self
|
||||
):
|
||||
from femexamples.constraint_centrif import setup
|
||||
setup(self.document, "calculix")
|
||||
self.input_file_writing_test(get_namefromdef("test_"))
|
||||
|
||||
# ********************************************************************************************
|
||||
def test_constraint_contact_shell_shell(
|
||||
self
|
||||
|
||||
18826
src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp
Normal file
18826
src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -82,6 +82,7 @@ make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalc
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_ccxcantilever_hexa20
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_ccxcantilever_nodeload
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_ccxcantilever_prescribeddisplacement
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_centrif
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_contact_shell_shell
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_contact_solid_solid
|
||||
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_sectionprint
|
||||
@@ -326,6 +327,11 @@ unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName(
|
||||
'femtest.app.test_solver_calculix.TestSolverCalculix.test_ccxcantilever_prescribeddisplacement'
|
||||
))
|
||||
|
||||
import unittest
|
||||
unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName(
|
||||
'femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_centrif'
|
||||
))
|
||||
|
||||
import unittest
|
||||
unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName(
|
||||
'femtest.app.test_solver_calculix.TestSolverCalculix.test_constraint_contact_shell_shell'
|
||||
|
||||
Reference in New Issue
Block a user