FEM: TestFem, use no space in materialname
This commit is contained in:
parent
c7ab1fd98b
commit
b553d9895d
|
@ -78,7 +78,7 @@ class FemTest(unittest.TestCase):
|
|||
def create_new_material(self):
|
||||
self.new_material_object = self.active_doc.addObject("App::MaterialObjectPython", 'MechanicalMaterial')
|
||||
mat = self.new_material_object.Material
|
||||
mat['Name'] = "Test Material"
|
||||
mat['Name'] = "TestMaterial"
|
||||
mat['YoungsModulus'] = "20000 MPa"
|
||||
mat['PoissonRatio'] = "0.36"
|
||||
mat['Density'] = "1000 kg/m^3"
|
||||
|
|
|
@ -449,13 +449,13 @@ Eall
|
|||
** Materials
|
||||
** written by write_materials function
|
||||
** Young's modulus unit is MPa = N/mm2
|
||||
*MATERIAL, NAME=Test Material
|
||||
*MATERIAL, NAME=TestMaterial
|
||||
*ELASTIC
|
||||
20000 ,
|
||||
0.360
|
||||
*DENSITY
|
||||
1.000e-09,
|
||||
*SOLID SECTION, ELSET=MaterialSolidElements, MATERIAL=Test Material
|
||||
*SOLID SECTION, ELSET=MaterialSolidElements, MATERIAL=TestMaterial
|
||||
|
||||
***********************************************************
|
||||
** One step is needed to calculate the mechanical analysis of FreeCAD
|
||||
|
|
|
@ -449,13 +449,13 @@ Eall
|
|||
** Materials
|
||||
** written by write_materials function
|
||||
** Young's modulus unit is MPa = N/mm2
|
||||
*MATERIAL, NAME=Test Material
|
||||
*MATERIAL, NAME=TestMaterial
|
||||
*ELASTIC
|
||||
20000 ,
|
||||
0.360
|
||||
*DENSITY
|
||||
1.000e-09,
|
||||
*SOLID SECTION, ELSET=MaterialSolidElements, MATERIAL=Test Material
|
||||
*SOLID SECTION, ELSET=MaterialSolidElements, MATERIAL=TestMaterial
|
||||
|
||||
***********************************************************
|
||||
** One step is needed to calculate the mechanical analysis of FreeCAD
|
||||
|
|
Loading…
Reference in New Issue
Block a user