diff --git a/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp b/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp index 55f771045d..a2b48693a0 100644 --- a/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp +++ b/src/Mod/Fem/App/FemConstraintFluidBoundary.cpp @@ -103,7 +103,7 @@ ConstraintFluidBoundary::ConstraintFluidBoundary() Points.setValues(std::vector()); ADD_PROPERTY_TYPE(DirectionVector,(Base::Vector3d(0,0,1)),"FluidBoundary",App::PropertyType(App::Prop_ReadOnly|App::Prop_Output), "Direction of arrows"); - naturalDirectionVector = Base::Vector3d(0,0,0); // by default use the null vector to indication an invalid value + naturalDirectionVector = Base::Vector3d(0,0,0); // by default use the null vector to indicate an invalid value // property from: FemConstraintFixed object ADD_PROPERTY_TYPE(Normals,(Base::Vector3d()),"FluidBoundary",App::PropertyType(App::Prop_ReadOnly|App::Prop_Output), "Normals where symbols are drawn"); diff --git a/src/Mod/Fem/App/FemConstraintForce.cpp b/src/Mod/Fem/App/FemConstraintForce.cpp index 47e92db563..6f07bf4275 100644 --- a/src/Mod/Fem/App/FemConstraintForce.cpp +++ b/src/Mod/Fem/App/FemConstraintForce.cpp @@ -52,7 +52,7 @@ ConstraintForce::ConstraintForce() "Points where arrows are drawn"); ADD_PROPERTY_TYPE(DirectionVector,(Base::Vector3d(0,0,1)),"ConstraintForce",App::PropertyType(App::Prop_ReadOnly|App::Prop_Output), "Direction of arrows"); - naturalDirectionVector = Base::Vector3d(0,0,0); // by default use the null vector to indication an invalid value + naturalDirectionVector = Base::Vector3d(0,0,0); // by default use the null vector to indicate an invalid value Points.setValues(std::vector()); } diff --git a/src/Mod/Fem/App/FemMesh.cpp b/src/Mod/Fem/App/FemMesh.cpp index f521c95072..f4f76cbbe4 100644 --- a/src/Mod/Fem/App/FemMesh.cpp +++ b/src/Mod/Fem/App/FemMesh.cpp @@ -1347,7 +1347,6 @@ void FemMesh::writeABAQUS(const std::string &Filename, int elemParam, bool group for (std::vector::const_iterator jt = order.begin(); jt != order.end(); ++jt) apair.second.push_back(aFace->GetNode(*jt)->GetID()); elementsMapFac[it->second].insert(apair); - } } } @@ -1446,7 +1445,7 @@ void FemMesh::writeABAQUS(const std::string &Filename, int elemParam, bool group anABAQUS_Output << "*Element, TYPE=" << it->first << ", ELSET=Evolumes" << std::endl; for (NodesMap::iterator jt = it->second.begin(); jt != it->second.end(); ++jt) { anABAQUS_Output << jt->first; - // Calculix allows max 16 enntries in one line, an hexa20 has more ! + // Calculix allows max 16 entries in one line, a hexa20 has more ! int ct = 0; // counter bool first_line = true; for (std::vector::iterator kt = jt->second.begin(); kt != jt->second.end(); ++kt, ++ct) { diff --git a/src/Mod/Fem/App/FemMeshPy.xml b/src/Mod/Fem/App/FemMeshPy.xml index 92ffe42d20..93e1ade7aa 100755 --- a/src/Mod/Fem/App/FemMeshPy.xml +++ b/src/Mod/Fem/App/FemMeshPy.xml @@ -16,7 +16,7 @@ - set the Part shape to mesh + Set the Part shape to mesh @@ -61,17 +61,17 @@ - Read in an DAT, UNV, MED or STL file. + Read in a DAT, UNV, MED or STL file. - write out an DAT, UNV, MED or STL file. + Write out a DAT, UNV, MED or STL file. - write out as ABAQUS inp + Write out as ABAQUS inp writeABAQUS(file, int elemParam, bool groupParam) elemParam: 0 = all elements, 1 = highest elements only, 2 = FEM elements only (only edges not belonging to faces and faces not belonging to volumes) groupParam: true = write group data, false = do not write group data @@ -105,7 +105,7 @@ - Get the node position vector by an Node-ID + Get the node position vector by a Node-ID diff --git a/src/Mod/Fem/femsolver/calculix/writer.py b/src/Mod/Fem/femsolver/calculix/writer.py index 74a4f9c7a4..845613ca0c 100644 --- a/src/Mod/Fem/femsolver/calculix/writer.py +++ b/src/Mod/Fem/femsolver/calculix/writer.py @@ -463,8 +463,8 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter): f.write('** written by {} function\n'.format(sys._getframe().f_code.co_name)) # info about self.constraint_conflict_nodes: # is used to check if MPC and constraint fixed and constraint displacement share same nodes, - # because MPC's and constriants fixed an constraints displacement can't share same nodes. - # thus call write_node_sets_constraints_planerotation has to be after constraint fixed and constraint displacement + # because MPC's and constriants fixed and constraints displacement can't share same nodes. + # Thus call write_node_sets_constraints_planerotation has to be after constraint fixed and constraint displacement for femobj in self.planerotation_objects: # femobj --> dict, FreeCAD document object is femobj['Object'] l_nodes = femobj['Nodes'] fric_obj = femobj['Object']