Bernd Hahnebach
f1858cfdbf
FEM: multiple solver are possible in one analysis, use the selected for calculation run
2016-06-03 07:29:29 +02:00
Bernd Hahnebach
fca5cd99bb
FEM: add preference setting to keep results on rerun an analysis
2016-05-29 12:02:29 -03:00
Bernd Hahnebach
a440262126
FEM: allow frequency analysis without constraint fix and change some error messages
2016-05-23 21:13:42 +02:00
Bernd Hahnebach
9db47b5941
FEM: fix title in FemTools module
2016-05-16 20:46:53 +02:00
Bernd Hahnebach
610b4b2bba
FEM: add module FemToolsCcx.py and make use of it
...
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
57c783e5b0
FEM: make python modules again flake8 compatible
2016-03-02 22:23:27 +01:00
vginkeo
b1dc2cbf94
FEM: Implement constraint displacement in C++
2016-02-12 11:09:58 +02:00
Bernd Hahnebach
c60c70eb7b
FEM: delete no longer needed EditorMode Setting
...
the properties are set to read only in the C++ constructor allready.
See commit 1a8c643d50
2016-01-06 11:13:38 -02:00
Bernd Hahnebach
f3a1ef31db
FEM: raise exception if multiple solver or mesh are in an analysis, they are not yet supported
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
6865e35fd9
FEM: add CalculiX solver object
2015-11-28 20:04:22 -02:00
Bernd Hahnebach
eec2b56629
FEM: add some documentation to FemTools
2015-11-16 19:19:01 -02:00
Przemo Firszt
391cdf816d
FEM: Update except catch to python3
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:41:12 +00:00
Przemo Firszt
1e8e0877f3
FEM: Windows workaround to avoid blinking terminal window
...
Reported-by: wmayer
Tested-by: wamyer, sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:21:21 +00:00
Przemo Firszt
f74e016f30
FEM: Fix unexpected error with ccx_* unset if Popoen fails
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:20:34 +00:00
Bernd Hahnebach
8cb6ed7d6a
FEM: multiple materials for shell and beam meshes
2015-11-07 13:24:45 -02:00
Bernd Hahnebach
f02ba31d02
FEM: add spaces to FemTools license
2015-11-07 13:24:45 -02:00
Przemo Firszt
d025f1e109
FEM: Replace invalid ElementNumbers with NodeNumbers
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
a85c68aa65
FEM: Add EigenmodeFrequency property to result object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
d2469cac6e
FEM: Replace GetString with GetFloat/GetIntiger for eigenmode parameters
...
Reported-By: bernd
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 10:50:15 +01:00
Przemo Firszt
d58ccf7fd3
FEM: Use brackets for print
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:30 +01:00
Przemo Firszt
bba3543efe
FEM: Initialise result_object to None to fix crash on empty results
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:25 +01:00
Przemo Firszt
068ba4793d
FEM: Add EigenmodeHighLimit property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt
042ded01e0
FEM: Add EigenmodeLowLimit property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:22 +01:00
Przemo Firszt
fcf19ff8ec
FEM: Add NumberOfEigenmode property to analysis object
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:21 +01:00
Przemo Firszt
26cd01e346
FEM: Add WorkingDir property
...
that allows to set individual directory to be used for each analysis
object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:20 +01:00
Przemo Firszt
8055b189be
FEM: Use AnalysisType in FemTools by default
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-25 12:46:19 +01:00
Przemo Firszt
ffdc7a45df
FEM: change purge_results to operate on analysis document
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:08 +02:00
Przemo Firszt
f33f573199
FEM: Change the way set_analysis_type works - use FEM prefs
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt
26d18db2d3
FEM: Make sure ccx working dir is set
...
Also TestFem and check_prerequisities are corrected
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:04 +02:00
Przemo Firszt
d5cf69b646
FEM: Make sure it's clear what failed when ccx is not set and cannot be found
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:02 +02:00
Przemo Firszt
cf7f82c48a
FEM: Move known_analysis_type definition to class definition
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:57 +02:00
Przemo Firszt
cfc2a4d1f2
FEM: Fix invalid exception raise call
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:55 +02:00
Przemo Firszt
ac0f3a650d
FEM: Test ccx binary before use
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Przemo Firszt
554f4f5fc9
FEM: Add documentation to FemTools
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:27:54 +02:00
Bernd Hahnebach
705c339f21
FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises
2015-09-23 20:11:11 -03:00
Przemo Firszt
d29f3fa276
FEM: FemTools - add function documentation
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
8cd0939fff
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
ee7beea983
FEM: Fix file paths + tidy up naming
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-22 20:09:53 -03:00
Przemo Firszt
b25d2cd54d
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
Przemo Firszt
25b501e215
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
0ba28a5ba6
FEM: Add function documentation
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-09-09 13:57:49 +02:00
Przemo Firszt
89d795ff90
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
b516e35b19
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
d52ad7e4bf
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
Przemo Firszt
b85c4430bd
FEM: Fix invalid stdout/stderr variable names
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:13 -03:00
Przemo Firszt
f5ad8ca415
FEM: Don't import FemGui when it's not required
...
This is part of preparation to create automated FEM wb tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-27 14:03:44 +01:00
Przemo Firszt
bf1accec06
FEM: get noisy if ccx produces something in stderr
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:51 +02:00
Przemo Firszt
f6bf3f3055
FEM: show ccx exit code if the code is not 0
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:51 +02:00
Przemo Firszt
c87c15946c
FEM: raise exception is no analysis is specified or found in __init__
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:50 +02:00
Przemo Firszt
9a7151863c
FEM: reset results_present on purge_results
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-06 19:21:49 +02:00