FEM: typos

This commit is contained in:
Bernd Hahnebach
2019-09-12 21:02:44 +02:00
parent 866010f6d2
commit 5e939be9dd
4 changed files with 6 additions and 6 deletions

View File

@@ -93,8 +93,8 @@ class _FemSolverCalculix():
"Fem",
"Number of modes for frequency calculations"
)
noe = ccx_prefs.GetInt("EigenmodesCount", 10)
obj.EigenmodesCount = (noe, 1, 100, 1)
noem = ccx_prefs.GetInt("EigenmodesCount", 10)
obj.EigenmodesCount = (noem, 1, 100, 1)
obj.addProperty(
"App::PropertyFloatConstraint",

View File

@@ -102,8 +102,8 @@ class Proxy(solverbase.Proxy):
"Fem",
"Number of modes for frequency calculations"
)
noe = ccx_prefs.GetInt("EigenmodesCount", 10)
obj.EigenmodesCount = (noe, 1, 100, 1)
noem = ccx_prefs.GetInt("EigenmodesCount", 10)
obj.EigenmodesCount = (noem, 1, 100, 1)
obj.addProperty(
"App::PropertyFloatConstraint",

View File

@@ -108,7 +108,7 @@ class FemInputWriter():
self.femmesh = self.mesh_object.FemMesh
else:
FreeCAD.Console.PrintError(
"No finite elemente mesh object was given to the writer class. "
"No finite element mesh object was given to the writer class. "
"In rare cases this might not be an error.\n")
self.femnodes_mesh = {}
self.femelement_table = {}

View File

@@ -124,7 +124,7 @@ class FemInputWriterZ88(FemInputWriter.FemInputWriter):
z8801 = {"INTORD": "2", "INTOS": "2", "IHFLAG": "0", "ISFLAG": "1"} # hexa8 --> volume1
z8810 = {"INTORD": "3", "INTOS": "0", "IHFLAG": "0", "ISFLAG": "0"} # hexa20 --> volume10
param = {4: z8804, 24: z8824, 23: z8823, 17: z8817, 16: z8816, 1: z8801, 10: z8810}
# elemente 17, 16, 10, INTORD etc ... testen !!!
# TODO: test elements 17, 16, 10, INTORD etc
self.z88_element_type = importZ88Mesh.get_z88_element_type(
self.femmesh,
self.femelement_table