FEM: code formating: trailing whitespaces, tabs at line start and flake8

This commit is contained in:
Bernd Hahnebach 2016-08-02 08:44:07 +02:00 committed by wmayer
parent 5a2a73b55e
commit 4d778390d4
3 changed files with 28 additions and 28 deletions

View File

@ -111,7 +111,6 @@ INSTALL(
test_files/ccx/spine_thermomech.frd
test_files/ccx/spine_thermomech_expected_values
test_files/ccx/spine_thermomech.fcstd
DESTINATION
Mod/Fem/test_files/ccx
)

View File

@ -365,9 +365,9 @@ class TherMechFemTest(unittest.TestCase):
mat['YoungsModulus'] = "200000 MPa"
mat['PoissonRatio'] = "0.30"
mat['Density'] = "7900 kg/m^3"
mat['ThermalConductivity'] = "43.27 W/m/K" #SvdW: Change to Ansys model values
mat['ThermalConductivity'] = "43.27 W/m/K" # SvdW: Change to Ansys model values
mat['ThermalExpansionCoefficient'] = "12 um/m/K"
mat['SpecificHeat'] = "500 J/kg/K" #SvdW: Change to Ansys model values
mat['SpecificHeat'] = "500 J/kg/K" # SvdW: Change to Ansys model values
self.new_material_object.Material = mat
def create_fixed_constraint(self):
@ -385,7 +385,7 @@ class TherMechFemTest(unittest.TestCase):
def create_heatflux_constraint(self):
self.heatflux_constraint = self.active_doc.addObject("Fem::ConstraintHeatflux", "FemConstraintHeatflux")
self.heatflux_constraint.References = [(self.box, "Face3"),(self.box, "Face4"),(self.box, "Face5"),(self.box, "Face6")]
self.heatflux_constraint.References = [(self.box, "Face3"), (self.box, "Face4"), (self.box, "Face5"), (self.box, "Face6")]
self.heatflux_constraint.AmbientTemp = 255.3722
self.heatflux_constraint.FilmCoef = 5.678
@ -519,6 +519,7 @@ class TherMechFemTest(unittest.TestCase):
FreeCAD.closeDocument("TherMechFemTest")
pass
# helpers
def open_cube_test():
cube_file = test_file_dir + '/cube.fcstd'