Commit Graph

186 Commits

Author SHA1 Message Date
Bernd Hahnebach
c1d180eba3 FEM: make result stats read only in property editor 2016-01-06 11:13:38 -02:00
wmayer
750897c20e + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
a6f03db1e7 + implement property editor item for FEM mesh 2015-12-23 15:44:11 +01:00
wmayer
cd8d93d248 + make properties of FEM result object read-only for property editor 2015-12-13 19:19:38 +01:00
wmayer
20ed4aa2e2 + fix typo in FEM 2015-12-09 13:19:13 +01:00
Bernd Hahnebach
f6803a9f8e FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Bernd Hahnebach
c68ffa6bb6 FEM: delete FemExample since there is no example inside 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
988c0af766 FEM: rename modul MechanicalAnalysis to FemAnalysis 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
78e775183c FEM: rename command MechanicalJobControl to SolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
e00412b779 FEM: rename TaskPanelJobControl to TaskPanelFemSolverCalculix 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
784a7f0e70 FEM: add CalculiX solver object 2015-11-28 20:04:22 -02:00
Author qingfengxia
ac9400e493 FEM: new solver object implementation of the object 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
329cf56adf FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
wmayer
f45d02c912 + support of linear b-spline/bezier curves and planar b-spline/bezier surfaces to get direction 2015-11-11 18:27:26 +01:00
Bernd Hahnebach
025eac1e3d FEM: separate selection observer class from _TaskPanel shellthickness and beamsection 2015-11-11 09:14:49 +01:00
Bernd Hahnebach
74d86a456f FEM: rename uis of python task panels to TaskPanelName 2015-11-08 09:32:01 +01:00
Bernd Hahnebach
0a6fbec789 FEM: sort modules in CMakefiles 2015-11-07 18:36:28 +01:00
Bernd Hahnebach
89ed512859 FEM: move CalculiX test files to test_files/ccx directory 2015-11-07 17:23:31 +01:00
Bernd Hahnebach
623683d870 FEM: rename ObjectsTaskPanel into TaskPanelObjects 2015-11-07 16:41:11 +01:00
Bernd Hahnebach
91afe97ad5 FEM: split MechanicalMaterial into separate modules 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
accb05c502 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
Bernd Hahnebach
dc105b569b FEM: split FemBeamSection into separate modules 2015-11-05 17:31:02 +01:00
Bernd Hahnebach
393d04697e FEM: split FemShellThickness into separate modules 2015-11-05 17:31:02 +01:00
Przemo Firszt
79d4591b58 FEM: Fix typos in property definitions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
80a6842bcc FEM: Replace invalid ElementNumbers with NodeNumbers
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
ed6533a568 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
7922106965 FEM: Add Eigenmode property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
7dea41b87c FEM: Add simple dat file reader
It's a simple CalculiX dat file reader used to extract eigenmode
frequencies after freqyency analysis.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
wmayer
cbbf6a16c5 + use right namespace for template instantiation to fix linker errors on Windows 2015-10-25 23:06:21 +01:00
wmayer
c7e5ef5bc1 + need dummy class for FeaturePython class to work 2015-10-25 22:42:50 +01:00
Przemo Firszt
b883063b4f FEM: Remove Frequency Analysis from GUI
Separate Frequency analysis button is no longer required.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-19 21:28:06 +02:00
wmayer
19aa17cd27 + make FEM beam section and shell thickness ready for drag and drop 2015-10-19 14:48:07 +02:00
wmayer
e6c2edb8af + write out nodes sorted by id to abaqus file 2015-10-18 12:32:09 +02:00
Przemo Firszt
5928a70ac2 FEM: Add FemCommand class and use it in _CommandFrequencyAnalysis
FemCommand class will gather all common functions/propertied od FEM gui
commands. That should allow to reduce some common code.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-13 21:41:01 +02:00
Przemo Firszt
5d455e2137 FEM: Move _CommandNewMechanicalAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt
f185b77fb0 FEM: Move _CommandFemFromShape class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:41 +02:00
Przemo Firszt
8f9a4d5c6b FEM: Move _CommandMechanicalJobControl class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:40 +02:00
Przemo Firszt
9b65099128 FEM: Move _CommandPurgeFemResults class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt
d6b81b9888 FEM: Move _CommandQuickAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:39 +02:00
Przemo Firszt
a412106130 FEM: Move _CommandFrequencyAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:38 +02:00
Przemo Firszt
6da92fd572 FEM: Move _CommandMechanicalShowResult class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:37 +02:00
Przemo Firszt
64021f66c5 FEM: Move _FemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt
20416cebf2 FEM: Move _ViewProviderFemAnalysis class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:36 +02:00
Przemo Firszt
e115a1e994 FEM: Move _JobControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
Przemo Firszt
f96f6acd80 FEM: Move _ResultControlTaskPanel class to separate file
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-11 09:36:35 +02:00
Bernd Hahnebach
63ec2c1c93 FEM: added object FemShellThickness and FemBeamSection to enable shell and beam analysises 2015-09-23 20:11:11 -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
wmayer
582b5fb321 + fix warnings in Fem 2015-09-11 15:11:55 +02:00