Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- move test files to a separate directory - use real life model to generate .inp files (model included) - change format of csv node/volume files to allow direct copy&paste from .inp files - use pre prepared real-life .dat & .frd files to test analysis results loading functions - much more fine grained error reporting - remove empty lines for output - add helper function to print to console Example run of the FEM test: --------------- Start of FEM tests --------------- Checking FEM new analysis... Checking FEM new mesh... sh: SMDS_MemoryLimit: command not found Checking FEM new material... Checking FEM new fixed constraint... Checking FEM new force constraint... Checking FEM new pressure constraint... Checking FEM inp file prerequisites... Checking FEM inp file write... Setting up working directory /tmp/FEM_static Writing /tmp/FEM_static/Mesh.inp for static analysis Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_static.inp to /tmp/FEM_static/Mesh.inp Setting up working directory to /home/przemo/software/FreeCAD/build/Mod/Fem/test_files in order to read simulated calculations Setting base name to read test cube_static.frd file... Checking FEM frd file read from static analysis... Result object created as "Results" Reading stats from result object for static analysis... Setting analysis type to 'frequency" Setting up working directory /tmp/FEM_frequency Writing /tmp/FEM_frequency/Mesh.inp for frequency analysis Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_frequency.inp to /tmp/FEM_frequency/Mesh.inp Setting working directory to read simulated calculations... Setting base name to read test cube_frequency.frd file... Checking FEM frd file read from frequency analysis... Last result object created as "Mode_10_results" Reading stats from result object for frequency analysis... --------------- End of FEM tests --------------- Signed-off-by: Przemo Firszt <przemo@firszt.eu>
- Loading branch information
1 parent
14b15ac
commit b25d2cd
Showing
19 changed files
with
21,423 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.