Commit Graph

676 Commits

Author SHA1 Message Date
Bernd Hahnebach
08e4e0a87b FEM: fix test frame work 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
Author qingfengxia
8e0bd8e9e8 FEM: new solver object icon 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
55ba5b0745 FEM: fix some line endings 2015-11-28 20:04:22 -02:00
wmayer
330fb12588 FEM: Rename Display Modes 2015-11-23 18:17:10 +01:00
Bernd Hahnebach
0b39f9a9e6 FEM: add nodes of quad8, hexa20, penta6, penta15, pyra5, pyra13 to ViewProvider nodes are displayed 2015-11-19 19:01:23 +01:00
Bernd Hahnebach
f91389d07d FEM: FemMesh VP throw exception instead of assert(0) 2015-11-19 19:01:07 +01:00
Bernd Hahnebach
329cf56adf FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
Przemo Firszt
f0689be4d7 FEM, Tests: Fix line end problem in compare_inp_files
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-19 10:26:24 +01:00
Przemo Firszt
d40cbdec01 FEM: Use exisitng mesh property as link to mesh in result objects
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:22:02 +00:00
Przemo Firszt
985f476a73 FEM: Tidy up long lines and spacing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:21:27 +00:00
Bernd Hahnebach
2943188610 FEM: fix mixed line endings in VP FemMesh 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
72a0060cfb FEM: Mesh VP fix FreeCAD crash if not supported face is added to VP 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
63189bd854 FEM: add some documentation to FemTools 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
90a9c387c4 FEM: substitute some camel style variable names in frdReader 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
5df389f57a FEM: use proper command to create a Mechanical Anaylsis with all properties 2015-11-16 19:19:01 -02:00
fandaL
5b10de8d05 FEM: frd import mesh 2015-11-16 19:18:11 -02:00
Przemo Firszt
3fdd98d4c1 FEM, Tests: Force unix line ends for comparing calculation stats
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-16 19:15:44 -02:00
Przemo Firszt
bdb45f1e9f FEM: Fix Von Mises calculation formula and update FEM test results
Reported-by: fandaL
Fixed-by: fandaL
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:37 +01:00
Przemo Firszt
f5c03c222d FEM: Use format to avoid error is the message is not pure string
Traceback (most recent call last):
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
229, in test_new_analysis
    ret = self.compare_stats(fea, static_expected_values)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
147, in compare_stats
    fcc_print(sf_content)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
55, in fcc_print
    FreeCAD.Console.PrintMessage(message + '\n')
TypeError: can only concatenate list (not "str") to list

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:36 +01:00
wmayer
2a2b40e50e + fix memory leaks 2015-11-13 16:06:43 +01:00
wmayer
1e1fc10748 + Code cleanup:
+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
2015-11-13 15:47:03 +01:00
Bernd Hahnebach
8226b3a529 FEM: allow to make a mesh from shape without an analysis 2015-11-12 13:39:51 +01:00
Bernd Hahnebach
c12676bde9 FEM: fromShape not needed modul loading deleted 2015-11-12 13:37:11 +01:00
Przemo Firszt
a83b6243bd FEM: Update except catch to python3
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:41:12 +00:00
Przemo Firszt
81c24f611f 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
b6c51af3c3 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
Przemo Firszt
cc2f7c7291 FEM: Cheange margins in TaskPanelMechanicalAnalysis for Analysis Type
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 21:47:36 +00: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
8c8b134a15 FEM: use ConsolePrints instead off print in beamsection and shellthickness 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
c115dd74a4 FEM: use new selection observer class for material reference shape selection 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
025eac1e3d FEM: separate selection observer class from _TaskPanel shellthickness and beamsection 2015-11-11 09:14:49 +01:00
wmayer
6a3d7fac55 + fix documentation of task dialog 2015-11-09 19:22:19 +01:00
Bernd Hahnebach
e11a95a3b8 FEM: use addItem to add list items in shellthickness, beamsection and multimat ref shape list 2015-11-08 13:44:37 +01:00
Bernd Hahnebach
74d86a456f FEM: rename uis of python task panels to TaskPanelName 2015-11-08 09:32:01 +01:00
Bernd Hahnebach
0c52be2f78 FEM: delet unused import FreeCAD 2015-11-07 20:04:10 +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
1e328c6f85 FEM: make Init.py flake8 compatiple 2015-11-07 16:41:31 +01:00
Bernd Hahnebach
edbaf9a04f FEM: use unix linefeeds in Init.py 2015-11-07 16:41:22 +01:00
Bernd Hahnebach
623683d870 FEM: rename ObjectsTaskPanel into TaskPanelObjects 2015-11-07 16:41:11 +01:00
Bernd Hahnebach
372d2c6b23 FEM: print console message if a task dialog is open already for beamsection and shellthickness 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
08eca9dad4 FEM: add author to material files 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
21995724b0 FEM: unused imports deleted 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
91afe97ad5 FEM: split MechanicalMaterial into separate modules 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
cd3d26e7e5 FEM: use ConsolePrints instead of prints for MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
dba05b14f5 FEM: shape typte test in selection of multiple material reference shapes 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
95a1f6836e FEM: put prints in brackets in MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
cadb7ba130 FEM: multiple materials, support for solids 2015-11-07 13:24:45 -02:00