Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables
Hexotic_Algorithm Class Reference

Defines a hexahedron 3D algorithm. More...

Inheritance diagram for Hexotic_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def SetMinMaxHexes
 Defines "SetMinMaxHexes" hypothesis to give two MG-Hexa parameters. More...
 
def SetMinMaxSize
 Defines "SetMinMaxSize" hypothesis to give two MG-Hexa parameters. More...
 
def SetSizeMap
 Sets a size map. More...
 
def UnsetSizeMap
 Unsets a size map : this is meant to be used only by the dump. More...
 
def SetAdvancedOption
 Set values of advanced options. More...
 
def GetAdvancedOption
 
def MinMaxQuad
 (OBSOLETE) Defines "MinMaxQuad" hypothesis to give three MG-Hexa parameters More...
 
def SetViscousLayers
 Defines "ViscousLayers" hypothesis to give MG-Hexa parameters. More...
 
def Parameters
 Defines hypothesis having several parameters. More...
 

Data Fields

 params
 

Static Public Attributes

string meshMethod = "Hexahedron"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = MG_Hexa
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates hexahedron 3D algorithm for volumes"
 doc string of the method in smeshBuilder.Mesh class More...
 

Detailed Description

Defines a hexahedron 3D algorithm.

It is created by calling smeshBuilder.Mesh.Hexahedron( smeshBuilder.MG_Hexa, geom=0 )

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

References Mesh_Algorithm.Create().

Member Function Documentation

def SetMinMaxHexes (   self,
  min = 3,
  max = 8 
)

Defines "SetMinMaxHexes" hypothesis to give two MG-Hexa parameters.

Parameters
minminimal level of recursive partitioning on the initial octree cube
maxmaximal 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
minminimal element's size
maxmaximal element's size
Returns
hypothesis object

References Hexotic_Algorithm.Parameters().

def SetSizeMap (   self,
  theObject,
  theSize 
)

Sets a size map.

Parameters
theObjectgeometrical object to assign local size to
theSizelocal size on the given object
Returns
hypothesis object

References Mesh_Algorithm.mesh, and Hexotic_Algorithm.Parameters().

def UnsetSizeMap (   self,
  theObject 
)

Unsets a size map : this is meant to be used only by the dump.

Parameters
theObjectgeometrical object to unassign local size
Returns
hypothesis object

References Mesh_Algorithm.mesh, and Hexotic_Algorithm.Parameters().

def SetAdvancedOption (   self,
  theOptions 
)

Set values of advanced options.

Parameters
theOptionsstring in a form "option_1 v1 option_2 v2"

References Hexotic_Algorithm.Parameters().

def GetAdvancedOption (   self)
def MinMaxQuad (   self,
  min = 3,
  max = 8,
  quad = True 
)

(OBSOLETE) Defines "MinMaxQuad" hypothesis to give three MG-Hexa parameters

Parameters
minminimal level of recursive partitioning on the initial octree cube
maxmaximal level of recursive partitioning on the initial octree cube
quadnot 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
numberOfLayersnumber of boundary layers
firstLayerSizeheight of the first layer
growthgeometric progression for the boundary layer growth
directiondescribes whether the layers grow inwards or outwards. Possible values are:
  • smeshBuilder.Inward : means the layers grow inwards,
  • smeshBuilder.Outward : means the layers grow outwards
facesWithLayerslist of surfaces from which the boundary layers should be grown
imprintedFaceslist of surfaces that can be imprinted by boundary layers
Returns
hypothesis object

References Hexotic_Algorithm.Parameters().

def Parameters (   self)

Defines hypothesis having several parameters.

Returns
hypothesis object

References Mesh_Algorithm.Hypothesis(), and Hexotic_Algorithm.params.

Field Documentation

string meshMethod = "Hexahedron"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = MG_Hexa
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates hexahedron 3D algorithm for volumes"
static

doc string of the method in smeshBuilder.Mesh class

params