FEM: typos
This commit is contained in:
@@ -103,7 +103,7 @@ ConstraintFluidBoundary::ConstraintFluidBoundary()
|
||||
Points.setValues(std::vector<Base::Vector3d>());
|
||||
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");
|
||||
|
||||
@@ -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<Base::Vector3d>());
|
||||
}
|
||||
|
||||
|
||||
@@ -1347,7 +1347,6 @@ void FemMesh::writeABAQUS(const std::string &Filename, int elemParam, bool group
|
||||
for (std::vector<int>::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<int>::iterator kt = jt->second.begin(); kt != jt->second.end(); ++kt, ++ct) {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</Documentation>
|
||||
<Methode Name="setShape">
|
||||
<Documentation>
|
||||
<UserDocu>set the Part shape to mesh</UserDocu>
|
||||
<UserDocu>Set the Part shape to mesh</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="compute">
|
||||
@@ -61,17 +61,17 @@
|
||||
</Methode>
|
||||
<Methode Name="read">
|
||||
<Documentation>
|
||||
<UserDocu>Read in an DAT, UNV, MED or STL file.</UserDocu>
|
||||
<UserDocu>Read in a DAT, UNV, MED or STL file.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="write" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>write out an DAT, UNV, MED or STL file.</UserDocu>
|
||||
<UserDocu>Write out a DAT, UNV, MED or STL file.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="writeABAQUS" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>write out as ABAQUS inp
|
||||
<UserDocu>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 @@
|
||||
</Methode>
|
||||
<Methode Name="getNodeById" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>Get the node position vector by an Node-ID</UserDocu>
|
||||
<UserDocu>Get the node position vector by a Node-ID</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="getNodesBySolid" Const="true">
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user