Functions | |
def | ViscousLayers |
Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary. More... | |
def | ViscousLayers2D |
Defines "ViscousLayers2D" hypothesis to give parameters of layers of quadrilateral elements to build near mesh boundary. More... | |
def | Propagation |
Defines "Propagation" hypothesis that propagates 1D hypotheses from an edge where this hypothesis is assigned to on all other edges that are at the opposite side in case of quadrangular faces This hypothesis should be assigned to an edge to propagate a hypothesis from. More... | |
def | PropagationOfDistribution |
Defines "Propagation of Node Distribution" hypothesis that propagates distribution of nodes from an edge where this hypothesis is assigned to, to opposite edges of quadrangular faces, so that number of segments on all these edges will be the same, as well as relations between segment lengths. More... | |
def | QuadraticMesh |
Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges. More... | |
def ViscousLayers | ( | self, | |
thickness, | |||
numberOfLayers, | |||
stretchFactor, | |||
faces = [] , |
|||
isFacesToIgnore = True , |
|||
extrMethod = StdMeshers.SURF_OFFSET_SMOOTH |
|||
) |
Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary.
This hypothesis can be used by several 3D algorithms: NETGEN 3D, MG-Tetra, Hexahedron(i,j,k)
thickness | total thickness of layers of prisms |
numberOfLayers | number of layers of prisms |
stretchFactor | factor (>1.0) of growth of layer thickness towards inside of mesh |
faces | list of geometrical faces (or their ids). Viscous layers are either generated on these faces or not, depending on the value of isFacesToIgnore parameter. |
isFacesToIgnore | if True , the Viscous layers are not generated on the faces specified by the previous parameter (faces). |
extrMethod | extrusion method defines how position of new nodes are found during prism construction and how creation of distorted and intersecting prisms is prevented. Possible values are:
|
References Mesh_Algorithm.algo, Mesh_Algorithm.geom, Mesh.geom, Mesh_Algorithm.GetCompatibleHypothesis(), Mesh_Algorithm.Hypothesis(), and Mesh_Algorithm.ViscousLayers2D().
def ViscousLayers2D | ( | self, | |
thickness, | |||
numberOfLayers, | |||
stretchFactor, | |||
edges = [] , |
|||
isEdgesToIgnore = True |
|||
) |
Defines "ViscousLayers2D" hypothesis to give parameters of layers of quadrilateral elements to build near mesh boundary.
This hypothesis can be used by several 2D algorithms: NETGEN 2D, NETGEN 1D-2D, Quadrangle (mapping), MEFISTO, MG-CADSurf
thickness | total thickness of layers of quadrilaterals |
numberOfLayers | number of layers |
stretchFactor | factor (>1.0) of growth of layer thickness towards inside of mesh |
edges | list of geometrical edges (or their ids). Viscous layers are either generated on these edges or not, depending on the value of isEdgesToIgnore parameter. |
isEdgesToIgnore | if True , the Viscous layers are not generated on the edges specified by the previous parameter (edges). |
References Mesh_Algorithm.algo, Mesh_Algorithm.geom, Mesh.geom, Mesh_Algorithm.GetCompatibleHypothesis(), and Mesh_Algorithm.Hypothesis().
def Propagation | ( | self | ) |
Defines "Propagation" hypothesis that propagates 1D hypotheses from an edge where this hypothesis is assigned to on all other edges that are at the opposite side in case of quadrangular faces This hypothesis should be assigned to an edge to propagate a hypothesis from.
References Mesh_Algorithm.CompareEqualHyp(), and Mesh_Algorithm.Hypothesis().
def PropagationOfDistribution | ( | self | ) |
Defines "Propagation of Node Distribution" hypothesis that propagates distribution of nodes from an edge where this hypothesis is assigned to, to opposite edges of quadrangular faces, so that number of segments on all these edges will be the same, as well as relations between segment lengths.
References Mesh_Algorithm.CompareEqualHyp(), and Mesh_Algorithm.Hypothesis().
def QuadraticMesh | ( | self | ) |
Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
If the 2D mesher sees that all boundary edges are quadratic, it generates quadratic faces, else it generates linear faces using medium nodes as if they are vertices. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic, else it fails.
References Mesh_Algorithm.CompareEqualHyp(), and Mesh_Algorithm.Hypothesis().