Commit Graph

528 Commits

Author SHA1 Message Date
Bernd Hahnebach
9fbcf6aabd FEM: use MechanicalMaterial instead App::MaterialObjectPython in TestFem 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
3056cf7ff4 FEM: only change MechanicalMaterial object if taskd is accepted 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
9b3e6ab84f FEM: add space to licence according flake8 2015-10-09 08:19:24 +02:00
Bernd Hahnebach
d9603d0467 FEM: typo in GUI 2015-10-09 08:19:23 +02:00
Bernd Hahnebach
0e88050cf6 FEM: use generic get_elset methods in CalculiX file writer 2015-10-09 08:19:23 +02:00
Bernd Hahnebach
abe32132e1 FEM: add brackets to print statements in CalculiX file writer 2015-10-05 18:34:07 +02:00
Bernd Hahnebach
07d733c5f8 FEM: rewriting some defs in CalculiX input file writer 2015-10-05 18:33:52 +02:00
Bernd Hahnebach
682c22701d FEM: CalculiX writer, rename elset for solid meshes 2015-10-05 18:33:33 +02:00
Bernd Hahnebach
3c6e0c83d7 FEM: add licence information to CalculiX inpwriter 2015-10-05 18:33:16 +02:00
Bernd Hahnebach
8d13a8d53f FEM: add calculiX input file comment lines to FemTest input file diff 2015-10-05 18:33:01 +02:00
Bernd Hahnebach
7f835752be FEM: visual output for beam and shellelements added 2015-10-05 18:32:38 +02:00
Bernd Hahnebach
dc045c6880 FEM: fix in ShellThicness and BeamSection 2015-10-05 18:32:18 +02:00
Bernd Hahnebach
7602c46882 Fem: fix in ShellThickness selectionobserver 2015-10-05 18:25:57 +02:00
Bernd Hahnebach
35327386e7 FEM: icons for FemShellThickness and FemBeamSection 2015-09-23 20:11:11 -03:00
Bernd Hahnebach
63ec2c1c93 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -03:00
Przemo Firszt
8c8118dba1 FEM: Fix file names in MechanicalAnalysis.py
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
7115f7b480 FEM: FemTools - add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
b65454ef1c FEM: Update inp_file_name after base_name or working_directory change
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
e08bafd43b FEM: Fix icon names
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
e13bcdd161 FEM: Fix white spaces
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
41abe3bf36 FEM: Fix file paths + tidy up naming
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Przemo Firszt
6f1f34ff80 FEM: FemTest rework
- 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>
2015-09-21 11:16:03 -03:00
wmayer
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
Bernd Hahnebach
255bba18db FEM: CalculiX writer comments regarding load calculation algorithm 2015-09-15 15:30:15 +02:00
Bernd Hahnebach
2260fdf68e FEM: ccxInpWriter formating according flake8 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
4265871fc0 FEM: update FemAnalysis class description 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
36a4721875 FEM: use more obvious method names in ccxInpWriter 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
9e695519b1 FEM: make MechanicalMaterial less noisy 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
a4c07b51f6 FEM: fix typo in class type definition in MechanicalMaterial 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
fdccdec430 FEM: delete Debug prints in ccxInpWriter 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
5a6ae10fe4 FEM: add to ccxInpWriter: CLOAD for shell meshes and solid meshes without face data 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
8c363f270f FEM: TestFem, use no space in materialname 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
6b3cc51889 FEM: add FEM Mesh Type to the CalculiX elementset up to date only solid is supported 2015-09-15 15:13:27 +02:00
Bernd Hahnebach
11dd902174 FEM: CalculiX file writer move getTriangleArea to helpers 2015-09-15 15:13:27 +02:00
Yorik van Havre
f79d0d8ed2 Updated ts files 2015-09-14 14:31:47 -03:00
wmayer
582b5fb321 + fix warnings in Fem 2015-09-11 15:11:55 +02:00
Eivind Kvedalen
dfcf659afa Mod/Fem: Removed -Wunused-variable warnings. 2015-09-11 14:52:32 +02:00
Przemo Firszt
5fbd2e8b36 FEM: Fix invalid update_displacement reset call
Reset parameter is not an option, empty parameters list call does the resetting.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-10 14:04:38 +01:00
Przemo Firszt
9a0579bb82 Tests, FEM: Add test for frequency analysis
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 12:17:12 -03:00
Przemo Firszt
850abd6683 FEM: Add reset_all funcion to FemTools
reset_all groups purge_results, reset_mesh_color and reset_mesh_deformation

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:50 +02:00
Przemo Firszt
6756038812 FEM: Add function documentation
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:49 +02:00
Przemo Firszt
f897e35293 FEM: Add option to limit max value of result being used to color FEM mesh
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:48 +02:00
Przemo Firszt
495b711b92 FEM: Add frequency analysis to FEM wb
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:47 +02:00
Przemo Firszt
7b95d99b1e FEM: Add get_results_object function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:46 +02:00
Przemo Firszt
cd9cafb587 FEM: Raise exception on use or load of non existing results
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:46 +02:00
Alexander Golubev
c30aeb06c1 App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly 2015-09-02 13:54:44 +02:00
wmayer
756a9c8130 + fix various warnings with gcc 2015-09-01 19:29:39 +02:00
Przemo Firszt
15d11c67c8 FEM: Force consistent DENSITY formatting
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00
Przemo Firszt
d74600191e Tests, FEM: Fix inp file writing test
It's a compare line-by-line without comment lines now instead of
previously used md5 sum comparison.

inp pre filtering method suggested by Far-Zer
File location fixes by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-18 13:44:28 +01:00