Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Additional Hypotheses

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...
 

Detailed Description

Function Documentation

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)

Parameters
thicknesstotal thickness of layers of prisms
numberOfLayersnumber of layers of prisms
stretchFactorfactor (>1.0) of growth of layer thickness towards inside of mesh
faceslist of geometrical faces (or their ids). Viscous layers are either generated on these faces or not, depending on the value of isFacesToIgnore parameter.
isFacesToIgnoreif True, the Viscous layers are not generated on the faces specified by the previous parameter (faces).
extrMethodextrusion 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:
  • StdMeshers.SURF_OFFSET_SMOOTH (default) method extrudes nodes along normal to underlying geometrical surface. Smoothing of internal surface of element layers can be used to avoid creation of invalid prisms.
  • StdMeshers.FACE_OFFSET method extrudes nodes along average normal of surrounding mesh faces till intersection with a neighbor mesh face translated along its own normal by the layers thickness. Thickness of layers can be limited to avoid creation of invalid prisms.
  • StdMeshers.NODE_OFFSET method extrudes nodes along average normal of surrounding mesh faces by the layers thickness. Thickness of layers can be limited to avoid creation of invalid prisms.

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

Parameters
thicknesstotal thickness of layers of quadrilaterals
numberOfLayersnumber of layers
stretchFactorfactor (>1.0) of growth of layer thickness towards inside of mesh
edgeslist of geometrical edges (or their ids). Viscous layers are either generated on these edges or not, depending on the value of isEdgesToIgnore parameter.
isEdgesToIgnoreif 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().