Skip to content

Commit

Permalink
FEM: infile fix, youngs modulus and poisons ratio
Browse files Browse the repository at this point in the history
have to be in one line for ccx 2.9
  • Loading branch information
berndhahnebach authored and wwmayer committed Feb 17, 2016
1 parent 69c241b commit 2f2e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Fem/ccxInpWriter.py
Expand Up @@ -227,7 +227,7 @@ def write_materials(self, f):
f.write('**FreeCAD material name: ' + mat_info_name + '\n')
f.write('*MATERIAL, NAME=' + mat_name + '\n')
f.write('*ELASTIC \n')
f.write('{}, \n'.format(YM_in_MPa))
f.write('{}, '.format(YM_in_MPa))
f.write('{0:.3f}\n'.format(PR))
density = FreeCAD.Units.Quantity(mat_obj.Material['Density'])
density_in_tone_per_mm3 = float(density.getValueAs('t/mm^3'))
Expand Down

0 comments on commit 2f2e6e8

Please sign in to comment.