Defines a hexahedron 3D algorithm.
More...
Defines a hexahedron 3D algorithm.
It is created by calling smeshBuilder.Mesh.Hexahedron( smeshBuilder.MG_Hexa, geom=0 )
def __init__ |
( |
|
self, |
|
|
|
mesh, |
|
|
|
geom = 0 |
|
) |
| |
Private constructor.
- Parameters
-
mesh | parent mesh object algorithm is assigned to |
geom | geometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape |
References Mesh_Algorithm.Create().
def SetMinMaxHexes |
( |
|
self, |
|
|
|
min = 3 , |
|
|
|
max = 8 |
|
) |
| |
Defines "SetMinMaxHexes" hypothesis to give two MG-Hexa parameters.
- Parameters
-
min | minimal level of recursive partitioning on the initial octree cube |
max | maximal level of recursive partitioning on the initial octree cube |
- Returns
- hypothesis object
References Hexotic_Algorithm.Parameters().
def SetMinMaxSize |
( |
|
self, |
|
|
|
min, |
|
|
|
max |
|
) |
| |
Defines "SetMinMaxSize" hypothesis to give two MG-Hexa parameters.
- Parameters
-
min | minimal element's size |
max | maximal element's size |
- Returns
- hypothesis object
References Hexotic_Algorithm.Parameters().
def SetSizeMap |
( |
|
self, |
|
|
|
theObject, |
|
|
|
theSize |
|
) |
| |
def UnsetSizeMap |
( |
|
self, |
|
|
|
theObject |
|
) |
| |
def SetAdvancedOption |
( |
|
self, |
|
|
|
theOptions |
|
) |
| |
def GetAdvancedOption |
( |
|
self | ) |
|
def MinMaxQuad |
( |
|
self, |
|
|
|
min = 3 , |
|
|
|
max = 8 , |
|
|
|
quad = True |
|
) |
| |
(OBSOLETE) Defines "MinMaxQuad" hypothesis to give three MG-Hexa parameters
- Parameters
-
min | minimal level of recursive partitioning on the initial octree cube |
max | maximal level of recursive partitioning on the initial octree cube |
quad | not documented |
- Returns
- hypothesis object
References Hexotic_Algorithm.SetMinMaxHexes(), and Hexotic_Algorithm.SetViscousLayers().
def SetViscousLayers |
( |
|
self, |
|
|
|
numberOfLayers, |
|
|
|
firstLayerSize, |
|
|
|
growth, |
|
|
|
facesWithLayers, |
|
|
|
imprintedFaces = [] , |
|
|
|
direction = Inward |
|
) |
| |
Defines "ViscousLayers" hypothesis to give MG-Hexa parameters.
- Parameters
-
numberOfLayers | number of boundary layers |
firstLayerSize | height of the first layer |
growth | geometric progression for the boundary layer growth |
direction | describes whether the layers grow inwards or outwards. Possible values are:
smeshBuilder.Inward : means the layers grow inwards,
smeshBuilder.Outward : means the layers grow outwards
|
facesWithLayers | list of surfaces from which the boundary layers should be grown |
imprintedFaces | list of surfaces that can be imprinted by boundary layers |
- Returns
- hypothesis object
References Hexotic_Algorithm.Parameters().
string meshMethod = "Hexahedron" |
|
static |
string docHelper = "Creates hexahedron 3D algorithm for volumes" |
|
static |