Commit Graph

657 Commits

Author SHA1 Message Date
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
Bernd Hahnebach
accb05c502 FEM: add getNodesBySolid()
Conflicts:
	src/Mod/Fem/App/FemMesh.cpp
2015-11-07 13:24:45 -02:00
Bernd Hahnebach
3724748d06 FEM: selection of Faces and Edges as References for multiple MechanicalMaterial 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
784667bde9 FEM: add Reference selection to Mechanicalmaterial ui 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
162a0421d9 FEM: multiple materials for shell and beam meshes 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
f5d557ffb4 FEM: add spaces to FemTools license 2015-11-07 13:24:45 -02:00
Bernd Hahnebach
8d105e3218 FEM: use super class FemCommands for ShellThickness and BeamSection Commands 2015-11-05 17:31:03 +01: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
Bernd Hahnebach
41786331f3 FEM: use unix linefeeds in InitGui.py 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
Przemo Firszt
d679498d70 FEM: Remove redundant base_name variable
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
f070e179a4 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
ba658c5866 FEM, Tests: Fix FEM tests
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 18:35:43 +00:00
Przemo Firszt
6f7706dac1 FEM: Move writing inp section headers to front of function
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-10-26 17:17:23 +00:00
Bernd Hahnebach
777cc2521b FEM: print in brackets 2015-10-26 13:13:57 +01:00