FEM: visual output for beam and shellelements added
This commit is contained in:
parent
b4d99aa570
commit
b2262058c8
|
@ -665,7 +665,7 @@ class _ResultControlTaskPanel:
|
|||
else:
|
||||
self.suitable_results = False
|
||||
if not self.MeshObject.FemMesh.VolumeCount:
|
||||
FreeCAD.Console.PrintError('Graphical output for beam or shell FEM Meshes not yet supported!\n')
|
||||
FreeCAD.Console.PrintError('Graphical bending stress output for beam or shell FEM Meshes not yet supported!\n')
|
||||
else:
|
||||
FreeCAD.Console.PrintError('Result node numbers are not equal to FEM Mesh NodeCount!\n')
|
||||
|
||||
|
|
|
@ -485,7 +485,10 @@ class inp_writer:
|
|||
f.write('\n***********************************************************\n')
|
||||
f.write('** Outputs --> frd file\n')
|
||||
f.write('** written by {} function\n'.format(sys._getframe().f_code.co_name))
|
||||
f.write('*NODE FILE\n')
|
||||
if self.beamsection_objects or self.shellthickness_objects:
|
||||
f.write('*NODE FILE, OUTPUT=2d\n')
|
||||
else:
|
||||
f.write('*NODE FILE\n')
|
||||
f.write('U\n')
|
||||
f.write('*EL FILE\n')
|
||||
f.write('S, E\n')
|
||||
|
|
Loading…
Reference in New Issue
Block a user