Plotting of Concrete Reinforcement Ratio

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
HarryvL
Posts: 1052
Joined: Sat Jan 06, 2018 7:38 pm

Re: Plotting of Concrete Reinforcement Ratio

Postby HarryvL » Wed Mar 27, 2019 4:00 am

I have to admit that I am not entirely sure how to make a”unit test”
User avatar
bernd
Posts: 8443
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Plotting of Concrete Reinforcement Ratio

Postby bernd » Wed Mar 27, 2019 4:41 am

HarryvL wrote:
Wed Mar 27, 2019 4:00 am
I have to admit that I am not entirely sure how to make a”unit test”
https://github.com/berndhahnebach/FreeC ... #L245-L266 and the comments in https://github.com/FreeCAD/FreeCAD/blob ... TestFem.py

if you only would like to run the pricipal stress unit test just do a

Code: Select all

./bin/FreeCAD --run-test "femtest.testresult.TestResult.test_stress_principal"
I usually combine with make ...

Code: Select all

make -j4 && ./bin/FreeCAD --run-test "femtest.testresult.TestResult.test_stress_principal"
Just play a bit. If you have question do not hesitate ...