A structured block is a computationally orthogonal volume grid, bounded by exactly six pw::FaceStructured faces, any of which can be degenerate in one (line) or zero (pole) dimensions.
pw::Object pw::Entity pw::GridEntity pw::Block
pw:: | A structured block is a computationally orthogonal volume grid, bounded by exactly six pw::FaceStructured faces, any of which can be degenerate in one (line) or zero (pole) dimensions. |
Static Actions | |
create | This action creates a new structured block object. |
createFromDomains | This action creates new structured block objects from the given domains. |
createFromPoints | This action, given a list of lists of lists of xyz values, creates a new structured block from those xyz values. |
join | This action joins as many of the given structured blocks together as possible. |
Static Defaults | |
FaceControl (Default) | This gets/sets the default boundary control function of all faces of a structured block when it is created. |
SolverEngine (Default) | This gets/sets the default elliptic solver engine employed when smoothing a structured block. |
Instance Actions | |
getPoint | This action gets the position of a block grid point. |
setPoint | This action sets the position of a block interior grid point. |
isInteriorIndex | This action checks to see if an index corresponds to a point in the interior of the block. |
getAdjacentIndices | This action returns the indices that are directly connected to the specified index. |
getCellsUsingIndex | This action returns the indices that are directly connected to the specified index. |
getLinearIndex | This converts a block’s ijk index to a linear index. |
getPosition | This action gets the position in the defining space of the block at the given index. |
getXYZ | This action gets the position of the block in model space at the given index. |
getCell | This action gets the indices of the given cell. |
getXYZsAtIndex | This action gets a grid of points in the given direction at the given index. |
canReExtrude | This action returns true if the entity can be re-extruded. |
createSubGrid | This action creates a subgrid on this block. |
getSubGridCount | This action gets the number of subgrids in this block. |
getSubGrid | This action gets the subgrid at the given index. |
getSubGrids | This action gets the subgrid list. |
removeSubGrid | This action removes the subgrid from the block. |
getEllipticSolverResidual | This action gets the last elliptic solver residual info for the block/subgrid at the given index. |
getFace | This action gets the face at the given index or computational boundary. |
addFace | This action adds a face to the block. |
split | This action splits this block in the given direction at the given indices. |
join | This action joins the given block to this block. |
setOrientation | This action sets the IJK orientation of this block. |
alignOrientation | This action aligns the IJK orientation of the given blocks with this block. |
lockInterior | This action locks the interior points from being automatically freed. |
unlockInterior | This action unlocks the interior points and free if there are no more locks on the block. |
getHandedness | This actioin gets whether a block is left- or right-handed. |
getEllipticSolverAttribute | This action gets the named elliptic solver attribute. |
setEllipticSolverAttribute | This action sets the named elliptic solver attribute. |
setExtrusionSolverAttribute | This sets the named extrusion solver attribute. |
getExtrusionBoundaryCondition | This gets the boundary condition at a given connector region. |
setExtrusionBoundaryCondition | This sets the boundary condition at a given connector region. |
Elliptic Solver Attributes | |
SolverEngine | This attribute is the elliptic solver engine employed when smoothing a structured block. |
MultiGridRelaxationFactor | This attribute is the relaxation factor of the multi-grid algorithm. |
MultiGridProlongationFactor | This attribute is the Prolongation factor of the multi-grid algorithm. |
RelaxationFactor | This attribute is the relaxation factor of the succesive over- relaxtion algorithm. |
InteriorControl | This attribute is the interior control function of a structured block. |
FaceControl | This attribute is the boundary control function of a structured block face. |
FaceSpacingCalculation | This attribute is the boundary control function spacing calculation method. |
FaceSpacingBlend | This attribute is the boundary control function spacing blend method. |
FaceAngleCalculation | This attribute is the boundary control function angle calculation method. |
FaceAngleBlend | This attribute is the boundary control function angle blend method. |
FaceConstraint | This attribute is the boundary constraints of the structured block. |
Generic Extrusion Solver Attributes | |
Mode | This gets/sets the extrusion mode of this block. |
StopAtHeight | This gets/sets the current state of the height stop condition. |
StopAtAspectRatio | This gets/sets or disables the max aspect ratio stop condition. |
StopAtSkewAngle | This gets/sets or disables the min skew angle stop condition. |
StopAtPositiveSkewJacobian | This gets/sets the state of the positive skew Jacobian stop condition. |
StopAtZeroJacobian | This gets/sets the state of the zero Jacobian stop condition. |
StopAtNegativeSkewJacobian | This gets/sets the state of the negative skew Jacobian stop condition. |
StopAtNegativeJacobian | This gets/sets the state of the negative Jacobian stop condition. |
DirectionFlipped | This gets/sets the extrusion direction. |
PlaneAngleTolerance | This specifies the angle tolerance for determining when an arbitrary plane BC is considered equal to a Cartesian plane BC. |
PlaneDeviationTolerance | This specifies the deviation tolerance for determining when an arbitrary plane BC is considered to be planar. |
Translational Extrusion Solver Attributes | |
TranslateDirection | This gets/sets the direction vector for translate extrusion. |
TranslateDistance | This gets/sets the distance for translate extrusion. |
Path Extrusion Solver Attributes | |
PathConnectors | This gets/sets the list of connectors for a path extrusion. |
PathMaximumSteps | This gets the maximum number of steps available as the path extrusion is configured |
PathUseTangent | This gets/sets the flag indicating if the path extrusion should be rotated tangentially to the path connector. |
Rotational Extrusion Solver Attributes | |
RotateAxisStart | This gets/sets the axis start location for rotate extrusion. |
RotateAxisEnd | This gets/sets the axis end location for rotate extrusion. |
RotateAngle | This gets/sets the rotational extrusion angle in degrees. |
Normal Extrusion Solver Attributes | |
NormalExplicitSmoothing | This gets/sets the explicit smoothing coefficient for the transverse direction. |
NormalImplicitSmoothing | This gets/sets the implicit smoothing coefficient for the transverse direction. |
NormalKinseyBarthSmoothing | This gets/sets the Kinsey-Barth coefficient to control smoothing in the marching direction. |
NormalVolumeSmoothing | This determines how rapidly grid point clustering along the initial grid will be relaxed as the grid is extruded. |
NormalInitialStepSize | This gets/sets the size of the first marching step to value. |
NormalMaximumStepSize | This gets/sets a upper limit for the marching step size. |
NormalMinimumStepSize | This gets/sets a upper limit for the marching step size. |
NormalCornerFactor | This gets/sets a scale factor for reducing the local marching step in convex regions and increasing the marching step size in concave regions. |
NormalDirectionRelaxation | This gets/sets the normals in the marching direction are smoothed locally using a LaPlace filter. |
NormalDirectionRelaxationIterations | The gets/sets the normals in the marching direction are smoothed locally using a Lalace filter. |
NormalStepSizeRelaxation | This gets/sets the marching step size is smoothed locally using a LaPlace filter. |
NormalStepSizeRelaxationIterations | This gets/sets the marching step size is smoothed locally using a LaPlace filter. |
NormalQualitySmoothing | This enables/disables normal smoothing based on a quality metric. |
NormalInteriorOnlySmoothing | This enables/disables interior-only quality-based smoothing. |
NormalMaximumIterationsSmoothing | This specifies/retrieves the maximum number of smoothing iterations. |
NormalBlendExponentSmoothing | This specifies/retrieves the blend exponent for smoothing. |
Spacing Extrusion Solver Attributes | |
SpacingMode | This gets/sets the spacing configuration for the extrusion. |
SpacingGrowthFactor | This gets/sets how the marching step size will grow from its initial value. |
SpacingConnectors | This gets/sets the collection of connector-object and subconnector- index pairs that specify how the marching step size will grow from its initial value. |
pw::BlockStructured create
This action creates a new structured block object.
There are no parameters for this action.
This action returns a new pw::BlockStructured object, with no faces or interior cells.
pw::BlockStructured createFromDomains ?-poleDomains poleDomainsVar? ?-reject rejectVar? domains
This action creates new structured block objects from the given domains.
-poleDomains poleDomainsVar | This optional parameter is the name string of the variable that receives a list of new pw::DomainStructured objects that were automatically created as pole domains in order to complete the blocks created. |
-reject rejectVar | This optional parameter is the name string of the variable that receives a list of pw::DomainStructured objects that were not used in creating the blocks. |
domains | This required parameter is a list of pw::DomainStructured objects. |
This action returns a list of new pw::BlockStructured objects.
This command supports progress updates.
While this command will produce identical results when run with the exact same input, it may produce different results for slight variations in the input domains. The blocks may be created in a different order or may be created with different orientations. Use the explicit block building routines (pw::FaceStructured.create, pw::BlockStructured.create, pw::Face.addDomain, and pw::Block.addFace commands) to build the block in a controlled manner.
If this command is run inside of a Create pw::Mode, it will only be able to assemble blocks from entities that were created within the same pw::Mode. If entities created outside of the pw::Mode are also included, the assembly will fail. Instead, use explicit assembly by creating the pw::FaceStructured objects directly.
pw::BlockStructured createFromPoints points
This action, given a list of lists of lists of xyz values, creates a new structured block from those xyz values. The dimensions of the block are determined by the length of the list (k-direction) of lists (j-direction) of lists of xyz values (i-direction).
points | This required parameter is a list of lists of lists of xyz vector values to be used to define the structured block. |
This action returns the newly defined structured block.
This example creates a list of lists of lists of xyz values to create a structured block.
Code
package require PWI_Glyph 3.18.3 set idim 5 set jdim 7 set kdim 9 set origin {10 10 10} set ivec {4 0 0} set jvec {0 6 0} set kvec {0 0 8} set p000 $origin set p001 [pwu::Vector3 add $p000 $ivec] set p010 [pwu::Vector3 add $p000 $jvec] set p011 [pwu::Vector3 add $p001 $jvec] set p100 [pwu::Vector3 add $p000 $kvec] set p101 [pwu::Vector3 add $p100 $ivec] set p110 [pwu::Vector3 add $p100 $jvec] set p111 [pwu::Vector3 add $p101 $jvec] # Generate GgVec3Array3 set pts [list] for {set k 1} {$k <= $kdim} {incr k} { set z [ expr { [lindex $p000 2] + $kdim - [ expr {[lindex $kvec 2] * $k / $kdim} ] } ] set jList [list] for {set j 1} {$j <= $jdim} {incr j} { set y [ expr { [lindex $p000 1] + $jdim - [ expr {[lindex $jvec 1] * $j / $jdim} ] } ] set iList [list] for {set i 1} {$i <= $idim} {incr i} { set x [ expr { [lindex $p000 0] + $idim - [ expr {[lindex $ivec 0] *$i / $idim} ] } ] set pt [pwu::Vector3 set $x $y $z] lappend iList $pt } lappend jList $iList } lappend pts $jList } set blk [pw::BlockStructured createFromPoints $pts] puts "Dimensions [$blk getDimensions]"
Output
Dimensions [5 7 9]
pw::BlockStructured join ?-reject rejectVar? blocks
This action joins as many of the given structured blocks together as possible.
-reject rejectVar | This optional parameter is name string of the variable that receives a list of pw::BlockStructured objects that were not used in joining. |
blocks | This required parameter is a list of pw::BlockStructured objects to join. |
This action returns a list of the pw::BlockStructured objects that were joined. The blocks will contain sub grids that match the sub grids that were in the original blocks, as well as a sub grid for each of the original blocks. These sub grids will be ordered by their minimum index in I, J, and then K order.
This command supports progress updates.
pw::BlockStructured get/setDefault FaceControl < HilgenstockWhite | StegerSorenson | None >
This gets/sets the default boundary control function of all faces of a structured block when it is created.
A string with options < HilgenstockWhite | StegerSorenson | None >.
The default for this is HilgenstockWhite.
pw::BlockStructured get/setDefault SolverEngine < MultiGrid | SuccessiveOverRelaxation >
This gets/sets the default elliptic solver engine employed when smoothing a structured block.
A string with options < MultiGrid | SuccessiveOverRelaxation >.
The default for this is MultiGrid.
$block getPoint ?-constrained constrainedVar? < index | ijk_index >
This action gets the position of a block grid point.
index | This optional parameter is the integer linear index of the grid point to get in the range [1, number of points]. |
ijk_index | This optional parameter is the ijk index of the grid point to get. |
-constrained constrainedVar | This optional parameter is the string name of a variable. If the grid point is database constrained, this variable is set to true. If not constrained, it is set to false. |
This action returns a point giving the grid point position (may be in the form “u v dbentity”).
Either index or ijk_index must be specified.
$block setPoint < index | ijk_index > point
This action sets the position of a block interior grid point.
index | This optional parameter is the integer linear index of the target grid point to set in the range [1, number of points]. The index must be for an interior grid point. |
ijk_index | This optional parameter is the interior ijk index of the grid point to set. |
point | This required parameter is the new point value of the grid point. |
This action returns nothing.
Block points are not currently db-constrained, so any database information in the point argument is converted to pure XYZ data before being stored.
$block isInteriorIndex < index | ijk_index >
This action checks to see if an index corresponds to a point in the interior of the block.
index | This optional parameter is the integer linear index of the grid point in the range [1, number of points]. |
ijk_index | This optional parameter is the ijk index of the point to get. |
Either index or ijk_index must be specified.
This action returns true if the index is an interior point.
$block getAdjacentIndices ?-linear? < index | ijk_index >
This action returns the indices that are directly connected to the specified index.
-linear | If this optional flag is specified, the results will be a list of integer linear indices regardless of the input form. |
index | This optional parameter is the integer linear index of the grid point in the range [1, number of points]. |
ijk_index | This optional parameter is the ijk index of the point to get. |
Either index or ijk_index must be specified.
This action returns a list of indices representing the adjacent coordinates. The form of each index will be the same as the input form. If index is used or -linear is specified, the result will be a list of integer linear indices. If ijk_index is used and -linear is not specified, the result will be a list of ijk indices.
$block getCellsUsingIndex ?-linear? < index | ijk_index >
This action returns the indices that are directly connected to the specified index.
-linear | If this optional flag is specified, the results will be a list of integer linear indices regardless of the input form. This is the default option and is present to maintain consistency with the form of the command used for pw::BlockStructured and pw::BlockExtruded objects. |
index | This optional parameter is the integer linear index of the grid point in the range [1, number of points]. |
ijk_index | This optional parameter is the ijk index of the point to get. |
Either index or ijk_index must be specified.
This action returns a list of cell entries using the specified point. Each cell entry will be a list of point indices comprising the cell. The form of each point index will be the same as the input form. If index is used or -linear is specified, each cell entry will be a list of integer linear indices. If ijk_index is used and -linear is not specified, each cell entry will be a list of ijk indices.
$block getPosition ?-grid? < index | ijk_index >
This action gets the position in the defining space of the block at the given index.
-grid | This optional flag is a notification to get the position at a grid point which is the default. |
index | This optional parameter is the integer linear index of the point to get. |
ijk_index | This optional parameter is the ijk index of the point to get. |
This action returns a point giving the position on the block (may be in the form “u v dbentity”).
Either index or ijk_index must be specified.
Even though it is not needed, the -grid switch is included here to be consistent with the other grid entity getPosition methods. The following calls are equivalent:
$strblk1 getPosition -grid [list 1 2 3] $strblk1 getPosition [list 1 2 3]
pw::Block.getPosition, pw::BlockExtruded.getPosition, pw::Connector.getPosition, pw::Domain.getPosition, pw::DomainStructured.getPosition
$block getXYZ ?-grid? < index | ijk_index >
This action gets the position of the block in model space at the given index.
-grid | This optional flag is the notification to get the position at a grid point which is the default. |
index | This optional parameter is the integer linear index of the point to get. |
ijk_index | This optional parameter is the ijk index of the point to get. |
This action returns an XYZ vector.
Even though it is not needed, the -grid switch is included here to be consistent with the other grid entity getPosition methods. The following calls are equivalent:
$strblk1 getXYZ -grid 22 $strblk1 getXYZ 22
pw::Block.getXYZ, pw::BlockExtruded.getXYZ, pw::Connector.getXYZ, pw::Domain.getXYZ, pw::DomainStructured.getXYZ
$block getCell ?-uncollapsed? < index | ijk_index >
This action gets the indices of the given cell.
-uncollapsed | If this optional flag is specified, degenerate hex cells are returned without coincident grid points collapsed. By default, degenerate hex cells are collapsed before they are returned (see Notes). If a hex cell does NOT contain any coincident grid points, this option is ignored and a normal hex cell is returned. |
index | This optional parameter is the integer linear index of the cell to get. |
ijk_index | This optional parameter is the ijk index of the cell to get. |
Either index or ijk_index must be specified.
This action returns a list of integer linear point indicies if index is used, or a list of ijk integer point indicies if ijk_index is used.
Collaped (degenerate) hex cells are possible if a block contains one or more poles.
Only cells that collapse to a tetrahedral, prism, or pyramid are returned. Other collapsed cell topologies are returned as-is without collapsing (an 8-point, degenerate hex).
$block getXYZsAtIndex ?< -I | -J | -K >? index
This action gets a grid of points in the given direction at the given index.
-I | This optional flag is a notification to use a constant I index which is the default. |
-J | This optional flag is a notification to use a constant J index |
-K | This optional flag is a notification to use a constant K index |
index | This required parameter is the integer index to get the grid at in the range [1, i j or k dimension]. |
This action returns a list of XYZ vectors.
$entity canReExtrude
This action returns true if the entity can be re-extruded.
none
This action returns a boolean value indicating if the entity can be re-extruded.
This example shows how to get a list of all entities that can be re-extruded.
Code
puts "Entities valid for re-extrusion:" set reExtEnts [list] foreach ent [pw::Grid getAll] { if {[$ent canReExtrude]} { lappend reExtEnts $ent puts " [$ent getName]" } }
$block createSubGrid min_ijk max_ijk
This action creates a subgrid on this block.
min_ijk | This required parameter is the minimum ijk index. |
max_ijk | This required parameter is the maximum ijk index. |
This action returns a new pw::BlockSubGrid object.
$block getSubGridCount
This action gets the number of subgrids in this block.
This action has no parameters.
This action returns the integer number of subgrids.
$block getSubGrid index
This action gets the subgrid at the given index.
index | This required parameter is the integer index of the subgrid to get in the range [1, number of subgrids]. |
This action returns a pw::BlockSubGrid object.
$block getSubGrids
This action gets the subgrid list.
This action has no parameters.
This action returns a pw::DomainSubGrid object list.
$block removeSubGrid < index | subgrid >
This action removes the subgrid from the block.
index | This optional parameter is the integer index of the subgrid to remove in the range [1, number of subgrids]. |
subgrid | This optional parameter is a pw::BlockSubGrid object to remove. |
Either index or subgrid must be specified.
This action returns nothing.
$block getEllipticSolverResidual ?-subgrid index? dataVar
This action gets the last elliptic solver residual info for the block/subgrid at the given index.
-subgrid index | This optional parameter is the integer index of the subgrid in the range [1, number of subgrids]. If not specified, the residual for the entire block will be returned. |
dataVar | the required string name of an array variable to receive residual information. The array will be cleared prior to setting any new values. |
This action returns nothing.
The data array variable will contain the following elements:
TotalResidual | The root mean square of the point residuals. |
MaximumResidual | The maximum point residual. |
MaximumIndex | The index of the maximum point residual. |
This example shows how to get the last elliptic solver residual info for a block refenced by $block.
Code
$block getEllipticSolverResidual residInfo puts "Total residual: $residInfo(TotalResidual)" puts "Max. residual: $residInfo(MaximumResidual)" puts "Max. residual index: $residInfo(MaximumIndex)"
$block getFace < index | KMinimum | KMaximum | IMinimum | IMaximum | JMinimum | JMaximum >
This action gets the face at the given index or computational boundary.
index | This optional parameter is the integer index of the face to get in the range [1, number of faces]. |
boundary | This optional parameter is the computational boundary string with options < KMinimum | KMaximum | IMinimum | IMaximum | JMinimum | JMaximum >. |
Either index or computational boundary must be specified.
This action returns a pw::FaceStructured object.
$block addFace face
This action adds a face to the block.
face | This required parameter is the pw::FaceStructured to add. |
Faces can be added in any order. After the sixth face is added, the code reassembles the faces in order to optimize the corner Jacobians and to make sure the block is right-handed. Use setOrientation after the block is created if a particular orientation is required.
This action returns nothing.
$block split ?< -I | -J | -K >? indices
This action splits this block in the given direction at the given indices.
-I | This optional flag is a notification to split at a constant I index which is the default. |
-J | This optional flag is a notification to split at a constant J index. |
-K | This optional flag is a notification to split at a constant K index. |
indices | This required parameter is the integer list of indices to split at in the range [1, i j or k dimension]. |
This action returns a list of pw::BlockStructured objects.
$block join block ?side?
This action joins the given block to this block.
block | This required parameter is the pw::BlockStructured object to join with. |
side | This optional parameter is the string side of this block to join the given block with options < Any | KMinimum | KMaximum | IMinimum | IMaximum | JMinimum | JMaximum >. |
This action returns nothing.
The joined block will contain sub grids that match the sub grids that were in the original blocks, as well as a sub grid for each of the original blocks. These sub grids will be ordered by their minimum index in I, J, and then K order.
$block setOrientation < i_face j_face k_face | i_edge j_edge >
This action sets the IJK orientation of this block.
i_face j_face k_face | This optional set of parameters are the integer face indices or string computational boundaries with options <IMinimum | IMaximum | JMinimum | JMaximum | KMinimum | KMaximum > to be used as the Imin, Jmin and Kmin faces. |
i_edge j_edge | This optional set of parameters are the integer face indices or string computational boundaries with options <IMinimum | IMaximum | JMinimum | JMaximum> to be used as the Imin and Jmin edges (for 2D). |
This action returns nothing.
Either i_face j_face k_face or i_edge j_edge must be specified.
$block alignOrientation blocks
This action aligns the IJK orientation of the given blocks with this block. If any blocks in the given list are not topologically connected to this block, they will be ignored.
blocks | This required parameter is a list of pw::BlockStructured objects to align with. |
This action returns nothing.
$block getHandedness
This actioin gets whether a block is left- or right-handed.
There are no parameters for this action.
This action returns a string with options < Left | Right >.
$block getEllipticSolverAttribute ?-face index? att_name ?value_type?
This action gets the named elliptic solver attribute.
-face < index | boundary > | This optional parameter is the integer index of the face or the string computational boundary with options <IMinimum | IMaximum | JMinimum | JMaximum | KMinimum | KMaximum > to get the attribute from. If not given and the attribute applies to faces, a list of attributes will be returned for all faces. |
att_name | This required parameter is the string name of the attribute to get. |
value_type | This optional parameter is the type string of value to get with options < Actual | Default >. If not specified the Actual value will be returned. |
This action returns the actual or default string, integer or float value of the attribute.
$block setEllipticSolverAttribute ?-face <index | boundary>? att_name att_value
This action sets the named elliptic solver attribute.
-face < index | boundary > | This optional parameter is the integer index of the face or the string computational boundary with options <IMinimum | IMaximum | JMinimum | JMaximum | KMinimum | KMaximum > to set the attribute. If not given the attribute will be applied to all faces. |
att_name | This required parameter is the string name of the attribute to set. |
att_value | This required parameter is the string, integer or float value of the attribute to set. |
This action returns nothing.
See Also getEllipticSolverAttribute
$block setExtrusionSolverAttribute att_name att_value
This sets the named extrusion solver attribute.
att_name | This required parameter is the name string of the attribute to set. |
att_value | This required parameter is the new string, integer or float attribute value. |
This action returns nothing.
<getExtrusionSolverAttribute>
$block getExtrusionBoundaryCondition edge_con_pair
This gets the boundary condition at a given connector region.
edge_con_pair | This required parameter is a two element list consisting of the integer edge index and the integer connector index within the edge. |
This action returns the string name of the boundary condition, except in the case of Splay, DatabaseConstrained and AdjacentGrid. In those cases, this action returns a list containing the string name of the boundary condition and the float splay factor (for Splay) or the pertinent entities (pw::DatabaseEntity for DatabaseConstrained or pw::DomainStructured for AdjacentGrid).
Splay | Grid boundaries move outward according to the splay factor. |
ConstantX | Grid points on the front maintain a constant X coordinate value. |
ConstantY | Grid points on the front maintain a constant Y coordinate value. |
ConstantZ | Grid points on the front maintain a constant Z coordinate value. |
SymmetryX | Grid symmetry is maintained in the X direction. |
SymmetryY | Grid symmetry is maintained in the Y direction. |
SymmetryZ | Grid symmetry is maintained in the Z direction. |
FloatingX | Grid points on the front maintain a constant Y and Z coordinate value (only X floats). |
FloatingY | Grid points on the front maintain a constant Z and X coordinate value (only Y floats). |
FloatingZ | Grid points on the front maintain a constant X and Y coordinate value (only Z floats). |
ArbitraryPlane | Determines the plane in which the connector lies and constrains the grid points to that plane as the front advances. |
DatabaseConstrained | Grid points in the front are projected to one or more database surfaces using closest point projection method. |
AdjacentGrid | Grid points in the front are constrained to match the grid points in an existing domain. |
Connection | Grid points are constrained through an internal grid connection within the front. This condition is set automatically and cannot be set explicitly. A Connection boundary cannot be changed to another condition type. |
$block setExtrusionBoundaryCondition edge_con_pair boundary_condition ?splay_factor | entity_list?
This sets the boundary condition at a given connector region.
edge_con_pair | This required parameter is a two element list consisting of the integer edge index and the integer connector index. |
boundary_condition | This required parameter is a boundary condition name string with options < Splay | ConstantX | ConstantY | ConstantZ | SymmetryX | SymmetryY | SymmetryZ | FloatingX | FloatingY | FloatingZ | ArbitraryPlane | DatabaseConstrained | AdjacentGrid | Connection>. |
splay_factor | This optional parameter is alid only for the Splay condition, this parameter is a float in the range [0.0, 1.0]. 0.0 indicates no splay while 1.0 is full splay. |
entity_list | This optional parameter is a list of pw::DatabaseEntity or pw::DomainStructured for the DatabaseConstrained and AdjacentGrid conditions, respectively. |
This returns nothing.
getExtrusionBoundaryCondition for full description of boundary conditions.
$block get/setEllipticSolverAttribute SolverEngine function
This attribute is the elliptic solver engine employed when smoothing a structured block.
A string with options < MultiGrid | SuccessiveOverRelaxation >.
The default for this attribute is set using the current value of the default SolverEngine (Default) when the block was created.
setEllipticSolverAttribute, getEllipticSolverAttribute, SolverEngine (Default)
$block get/setEllipticSolverAttribute RelaxationFactor < Optimal | Nominal | value >
This attribute is the relaxation factor of the succesive over- relaxtion algorithm.
A string with options < Optimal | Nominal | Default > or a float in the range (0.0, 2.0].
The default for this attribute is Optimal.
$block get/setEllipticSolverAttribute InteriorControl < ThomasMiddlecoff | Laplace | Fixed >
This attribute is the interior control function of a structured block.
A string with options < ThomasMiddlecoff | Laplace | Fixed >.
The default for this attribute is the value in the <InteriorControl (Default)> default when the block was created.
setEllipticSolverAttribute, getEllipticSolverAttribute, <InteriorControl (Default)>
$block get/setEllipticSolverAttribute ?-face index? FaceControl < HilgenstockWhite | StegerSorenson | None >
This attribute is the boundary control function of a structured block face.
A string with options < HilgenstockWhite | StegerSorenson | None >.
The default for this attribute is the value in the FaceControl (Default) default when the block was created.
setEllipticSolverAttribute, getEllipticSolverAttribute, FaceControl (Default)
$block get/setEllipticSolverAttribute ?-face index? FaceSpacingCalculation < Interpolate | Current | Adjacent | value >
This attribute is the boundary control function spacing calculation method.
A string with options < Interpolate | Current | Adjacent > or an explicit float spacing value in the range (0.0, infinity).
The default for this attribute is Interpolate.
$block get/setEllipticSolverAttribute ?-face index? FaceSpacingBlend < Exponential | Linear | value >
This attribute is the boundary control function spacing blend method.
A string with options < Exponential | Linear > or an explicit float decay value in the range [1, infinity).
The default for this attribute is Exponential.
$block get/setEllipticSolverAttribute ?-face index? FaceAngleCalculation < Orthogonal | Interpolate | Current | Adjacent >
This attribute is the boundary control function angle calculation method.
A string with options < Orthogonal | Interpolate | Current | Adjacent >.
The default for this attribute is Orthogonal.
$block get/setEllipticSolverAttribute ?-face index? FaceAngleBlend < Exponential | Linear | value >
This attribute is the boundary control function angle blend method.
A string with options < Exponential | Linear > or an explicit float decay value in the range [1, infinity).
The default for this attribute is Exponential.
$block get/setEllipticSolverAttribute ?-face index? FaceConstraint < Fixed | Floating | Adapt >
This attribute is the boundary constraints of the structured block.
This attribute is a string wth options < Fixed | Floating | Adapt >.
The default for this attribute is Fixed.
$block get/setExtrusionSolverAttribute Mode < NormalHyperbolic | NormalAlgebraic | Path | Rotate | Translate >
This gets/sets the extrusion mode of this block.
A string with options < NormalHyperbolic | NormalAlgebraic | Path | Rotate | Translate >.
The default for this attribute is NormalHyperbolic.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtHeight < height | Off | Default >
This gets/sets the current state of the height stop condition.
A string with options < Off | Default > or a float in the range (0, inf), where Off disables the total height stop condition.
The default for this attribute is Off.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtAspectRatio < height | Off | Default >
This gets/sets or disables the max aspect ratio stop condition.
A string with options < Off | Default > or a float in the range [1.0, inf], where Off disables the aspect ratio stop condition.
The default for this attribute is Off.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtSkewAngle < height | Off | Default >
This gets/sets or disables the min skew angle stop condition.
A string with options < Off | Default > or a float in the range (0, inf], where Off disables the minimum skew angle stop condition.
The default for this attribute is Off.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtPositiveSkewJacobian < Default | Off | bool_value >
This gets/sets the state of the positive skew Jacobian stop condition.
A string with options < Default | Off > or a boolean, where Off or false disables the positive skew Jacobian stop condition.
The default of this attribute is true.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtZeroJacobian < Default | Off | bool_value >
This gets/sets the state of the zero Jacobian stop condition.
A string with options < Default | Off > or a boolean, where Off or false disables the zero Jacobian stop condition.
The default for this attribute is true.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtNegativeSkewJacobian < Default | Off | bool_value >
This gets/sets the state of the negative skew Jacobian stop condition.
A string with options < Default | Off > or a boolean, where Off or false disables the negative skew Jacobian stop condition.
The default for this attribute is true.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute StopAtNegativeJacobian < Default | Off | bool_value >
This gets/sets the state of the negative Jacobian stop condition.
A string with options < Default | Off > or a boolean, where Off or false disables the negative Jacobian stop condition.
The default of this attribute is true.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute DirectionFlipped flipped
This gets/sets the extrusion direction.
A boolean where true indicates that the extrusion direction is reversed.
The default for this attribute is false.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute PlaneAngleTolerance tolerance
This specifies the angle tolerance for determining when an arbitrary plane BC is considered equal to a Cartesian plane BC.
A float in the range [0.0, 90.0).
The default for this attriute is 10.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute PlaneDeviationTolerance tolerance
This specifies the deviation tolerance for determining when an arbitrary plane BC is considered to be planar.
A float in the range [0.0, inf).
The default for this attribute is 0.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute TranslateDirection direction
This gets/sets the direction vector for translate extrusion.
A direction vector.
The default for this attribute is (1, 0, 0).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute TranslateDistance distance
This gets/sets the distance for translate extrusion.
A float indicating the total extrusion translation distance. The valid range is any value greater than 0.0.
The default for this attribute is 1.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute PathConnectors <con_list>
This gets/sets the list of connectors for a path extrusion.
A list of pw::Connector objects, with an optional string as the first entry to specify the direction of the chain of connectors. The direction is specified using ‘Forward’ or ‘Reverse’. When querying, the direction is always the first entry in the list.
The default for this attribute is an empty list.
$block getExtrusionSolverAttribute PathMaximumSteps
This gets the maximum number of steps available as the path extrusion is configured
An integer indicating the computed maximum number of steps for a path extrusion.
This attribute is read only.
<getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute PathUseTangent use_tangent
This gets/sets the flag indicating if the path extrusion should be rotated tangentially to the path connector.
A boolean indicating whether to rotate the path extrusion.
The default for this attribute is true.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute RotateAxisStart xyz
This gets/sets the axis start location for rotate extrusion.
An xyz vector indicating the start point of the rotation axis.
The default for this attribute is (0, 0, 0).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute RotateAxisEnd xyz
This gets/sets the axis end location for rotate extrusion.
An xyz vector indicating the end point of the rotation axis.
The default for this attribute is (1, 0, 0).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute RotateAngle degrees
This gets/sets the rotational extrusion angle in degrees.
A float in the range [0.0, 360].
The default for this attribute is 90.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalExplicitSmoothing < Default | ij_vector >
This gets/sets the explicit smoothing coefficient for the transverse direction.
A string with the value < Default > or a 2D vector with values in the range [0.0, 10.0].
The default for this attribute is (0.5, 0.5).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalImplicitSmoothing < Default | ij_vector >
This gets/sets the implicit smoothing coefficient for the transverse direction.
A string with the value < Default > or a 2D vector in the range [0.0, 20.0]. The value should be greater than twice the NormalExplicitSmoothing value.
The default for this attribute is (1.0, 1.0).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalKinseyBarthSmoothing < Default | ij_vector >
This gets/sets the Kinsey-Barth coefficient to control smoothing in the marching direction.
A string with the value < Default > or a 2D vector in the range [0.0, 20.0]. Values greater than 1 help to prevent crossing of grid lines in the marching direction. A value of 3.0 or more is recommended if the initial grid contains severe concavities.
The default for this attribute is (0.0, 0.0).
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalVolumeSmoothing < Default | value >
This determines how rapidly grid point clustering along the initial grid will be relaxed as the grid is extruded.
A string with the value < Default > or a float in the range [0.0, 1.0]. A value of 0.0 retains the clustering out to the outer boundary. The default value of 0.5 rapidly relaxes the clustering.
The default for this attribute is 0.5.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalInitialStepSize < Default | size >
This gets/sets the size of the first marching step to value.
A string with the value < Default > or a float in the range (0.0, infinity).
The default for this attribute is the default connector distribution begin spacing if non-zero, or 0.01.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalMaximumStepSize < Default | size >
This gets/sets a upper limit for the marching step size.
A string with the value < Default > or a float in the range [0, infinity). 0.0 disables the limit.
The default for this attribute is 0.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalMinimumStepSize < Default | size >
This gets/sets a upper limit for the marching step size.
A string with the value < Default > or a float in the range [0, infinity). A value of 0.0 disables the limit.
The default for this attribute is 0.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalCornerFactor < Default | factor >
This gets/sets a scale factor for reducing the local marching step in convex regions and increasing the marching step size in concave regions.
A string with the value < Default > or a float in the range [1, 100.0). The value of 1.0 will disable this feature.
The default for this attribute is 5.0.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalDirectionRelaxation < Default | factor >
This gets/sets the normals in the marching direction are smoothed locally using a LaPlace filter. This option sets the relaxation factor for the filter.
A string with the value < Default > or a float in the range [0.0, 1.0].
The default for this attribute is 0.5.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalDirectionRelaxationIterations < Default | iterations >
The gets/sets the normals in the marching direction are smoothed locally using a Lalace filter. This option sets the number of marching iterations for the filter.
A string with the value < Default > or an integer in the range [0, infinity).
The default for this attribute is 5.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalStepSizeRelaxation < Default | factor >
This gets/sets the marching step size is smoothed locally using a LaPlace filter. This option sets the relaxation factor for the filter.
A string with the value < Default > or a float in the range [0.0, 1.0].
The default for this attribute is 0.7.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalStepSizeRelaxationIterations < Default | iterations >
This gets/sets the marching step size is smoothed locally using a LaPlace filter. This option sets the number of marching iterations for the filter.
A string with the value < Default > or an integer in the range [0, infinity).
The default for this attribute is 3.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute NormalInteriorOnlySmoothing < Default | bool_value >
This enables/disables interior-only quality-based smoothing.
A string with the value < Default > or a boolean where true enables interior quality-based smoothing.
The default for this attribute is false.
$block get/setExtrusionSolverAttribute NormalBlendExponentSmoothing < Default | blendExp >
This specifies/retrieves the blend exponent for smoothing. A value of zero uses the local minimum cell quality metric at the node normal. A value of 2 uses the average cell quality metric at the node normal. A value in between is a blending of the two approaches.
A string with the value < Default > or a float in the range (0.0, 2.0).
The default for this attribute is 2.0.
$block get/setExtrusionSolverAttribute SpacingMode < Algebraic | Connector | Default >
This gets/sets the spacing configuration for the extrusion.
A string with options < Algebraic | Connector | Default >.
The default for this attribute is Algebraic.
The Algebraic mode uses a linear spacing for translational, rotational and path extrusions. For normal extrusions, Algebraic mode spaces the grid by applying a geometric growth controlled by SpacingGrowthFactor.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute SpacingGrowthFactor < Default | factor >
This gets/sets how the marching step size will grow from its initial value.
A string with the value < Default > or a float in the range (0.0, infinity).
The default for this attribute is 1.10.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
$block get/setExtrusionSolverAttribute SpacingConnectors subcon_list
This gets/sets the collection of connector-object and subconnector- index pairs that specify how the marching step size will grow from its initial value.
A list of subconnectors, each specified as a list of a pw::Connector object and subconnector index. If the pw::Connector only has one subconnector, the index can be omitted. The direction of the chain of subconnectors can be specified by using either the literal string Forward or the literal string Reverse as the very first entry. This is only necessary when the list of subconnectors is comprised of a single subconnector. Otherwise, the direction can be determined from the order of the subconnectors.
The default for this attribute is an empty list.
setExtrusionSolverAttribute, <getExtrusionSolverAttribute>
This action creates a new structured block object.
pw::BlockStructured create
This action creates new structured block objects from the given domains.
pw::BlockStructured createFromDomains ?-poleDomains poleDomainsVar? ?-reject rejectVar? domains
This action, given a list of lists of lists of xyz values, creates a new structured block from those xyz values.
pw::BlockStructured createFromPoints points
This action joins as many of the given structured blocks together as possible.
pw::BlockStructured join ?-reject rejectVar? blocks
This gets/sets the default boundary control function of all faces of a structured block when it is created.
pw::BlockStructured get/setDefault FaceControl < HilgenstockWhite | StegerSorenson | None >
This gets/sets the default elliptic solver engine employed when smoothing a structured block.
pw::BlockStructured get/setDefault SolverEngine < MultiGrid | SuccessiveOverRelaxation >
This action gets the position of a block grid point.
$block getPoint ?-constrained constrainedVar? < index | ijk_index >
This action sets the position of a block interior grid point.
$block setPoint < index | ijk_index > point
This action checks to see if an index corresponds to a point in the interior of the block.
$block isInteriorIndex < index | ijk_index >
This action returns the indices that are directly connected to the specified index.
$block getAdjacentIndices ?-linear? < index | ijk_index >
This action returns the indices that are directly connected to the specified index.
$block getCellsUsingIndex ?-linear? < index | ijk_index >
This converts a block’s ijk index to a linear index.
$blk getLinearIndex ijk_index
This action gets the position in the defining space of the block at the given index.
$block getPosition ?-grid? < index | ijk_index >
This action gets the position of the block in model space at the given index.
$block getXYZ ?-grid? < index | ijk_index >
This action gets the indices of the given cell.
$block getCell ?-uncollapsed? < index | ijk_index >
This action gets a grid of points in the given direction at the given index.
$block getXYZsAtIndex ?< -I | -J | -K >? index
This action returns true if the entity can be re-extruded.
$entity canReExtrude
This action creates a subgrid on this block.
$block createSubGrid min_ijk max_ijk
This action gets the number of subgrids in this block.
$block getSubGridCount
This action gets the subgrid at the given index.
$block getSubGrid index
This action gets the subgrid list.
$block getSubGrids
This action removes the subgrid from the block.
$block removeSubGrid < index | subgrid >
This action gets the last elliptic solver residual info for the block/subgrid at the given index.
$block getEllipticSolverResidual ?-subgrid index? dataVar
This action gets the face at the given index or computational boundary.
$block getFace < index | KMinimum | KMaximum | IMinimum | IMaximum | JMinimum | JMaximum >
This action adds a face to the block.
$block addFace face
This action splits this block in the given direction at the given indices.
$block split ?< -I | -J | -K >? indices
This action sets the IJK orientation of this block.
$block setOrientation < i_face j_face k_face | i_edge j_edge >
This action aligns the IJK orientation of the given blocks with this block.
$block alignOrientation blocks
This action locks the interior points from being automatically freed.
$block lockInterior
This action unlocks the interior points and free if there are no more locks on the block.
$block unlockInterior
This actioin gets whether a block is left- or right-handed.
$block getHandedness
This action gets the named elliptic solver attribute.
$block getEllipticSolverAttribute ?-face index? att_name ?value_type?
This action sets the named elliptic solver attribute.
$block setEllipticSolverAttribute ?-face <index | boundary>? att_name att_value
This sets the named extrusion solver attribute.
$block setExtrusionSolverAttribute att_name att_value
This gets the boundary condition at a given connector region.
$block getExtrusionBoundaryCondition edge_con_pair
This sets the boundary condition at a given connector region.
$block setExtrusionBoundaryCondition edge_con_pair boundary_condition ?splay_factor | entity_list?
This attribute is the elliptic solver engine employed when smoothing a structured block.
$block get/setEllipticSolverAttribute SolverEngine function
This attribute is the relaxation factor of the multi-grid algorithm.
$block get/setEllipticSolverAttribute MultiGridRelaxationFactor < Default | value >
This attribute is the Prolongation factor of the multi-grid algorithm.
$block get/setEllipticSolverAttribute MultiGridProlongationFactor < Default | value >
This attribute is the relaxation factor of the succesive over- relaxtion algorithm.
$block get/setEllipticSolverAttribute RelaxationFactor < Optimal | Nominal | value >
This attribute is the interior control function of a structured block.
$block get/setEllipticSolverAttribute InteriorControl < ThomasMiddlecoff | Laplace | Fixed >
This attribute is the boundary control function of a structured block face.
$block get/setEllipticSolverAttribute ?-face index? FaceControl < HilgenstockWhite | StegerSorenson | None >
This attribute is the boundary control function spacing calculation method.
$block get/setEllipticSolverAttribute ?-face index? FaceSpacingCalculation < Interpolate | Current | Adjacent | value >
This attribute is the boundary control function spacing blend method.
$block get/setEllipticSolverAttribute ?-face index? FaceSpacingBlend < Exponential | Linear | value >
This attribute is the boundary control function angle calculation method.
$block get/setEllipticSolverAttribute ?-face index? FaceAngleCalculation < Orthogonal | Interpolate | Current | Adjacent >
This attribute is the boundary control function angle blend method.
$block get/setEllipticSolverAttribute ?-face index? FaceAngleBlend < Exponential | Linear | value >
This attribute is the boundary constraints of the structured block.
$block get/setEllipticSolverAttribute ?-face index? FaceConstraint < Fixed | Floating | Adapt >
This gets/sets the extrusion mode of this block.
$block get/setExtrusionSolverAttribute Mode < NormalHyperbolic | NormalAlgebraic | Path | Rotate | Translate >
This gets/sets the current state of the height stop condition.
$block get/setExtrusionSolverAttribute StopAtHeight < height | Off | Default >
This gets/sets or disables the max aspect ratio stop condition.
$block get/setExtrusionSolverAttribute StopAtAspectRatio < height | Off | Default >
This gets/sets or disables the min skew angle stop condition.
$block get/setExtrusionSolverAttribute StopAtSkewAngle < height | Off | Default >
This gets/sets the state of the positive skew Jacobian stop condition.
$block get/setExtrusionSolverAttribute StopAtPositiveSkewJacobian < Default | Off | bool_value >
This gets/sets the state of the zero Jacobian stop condition.
$block get/setExtrusionSolverAttribute StopAtZeroJacobian < Default | Off | bool_value >
This gets/sets the state of the negative skew Jacobian stop condition.
$block get/setExtrusionSolverAttribute StopAtNegativeSkewJacobian < Default | Off | bool_value >
This gets/sets the state of the negative Jacobian stop condition.
$block get/setExtrusionSolverAttribute StopAtNegativeJacobian < Default | Off | bool_value >
This gets/sets the extrusion direction.
$block get/setExtrusionSolverAttribute DirectionFlipped flipped
This specifies the angle tolerance for determining when an arbitrary plane BC is considered equal to a Cartesian plane BC.
$block get/setExtrusionSolverAttribute PlaneAngleTolerance tolerance
This specifies the deviation tolerance for determining when an arbitrary plane BC is considered to be planar.
$block get/setExtrusionSolverAttribute PlaneDeviationTolerance tolerance
This gets/sets the direction vector for translate extrusion.
$block get/setExtrusionSolverAttribute TranslateDirection direction
This gets/sets the distance for translate extrusion.
$block get/setExtrusionSolverAttribute TranslateDistance distance
This gets/sets the list of connectors for a path extrusion.
$block get/setExtrusionSolverAttribute PathConnectors <con_list>
This gets the maximum number of steps available as the path extrusion is configured
$block getExtrusionSolverAttribute PathMaximumSteps
This gets/sets the flag indicating if the path extrusion should be rotated tangentially to the path connector.
$block get/setExtrusionSolverAttribute PathUseTangent use_tangent
This gets/sets the axis start location for rotate extrusion.
$block get/setExtrusionSolverAttribute RotateAxisStart xyz
This gets/sets the axis end location for rotate extrusion.
$block get/setExtrusionSolverAttribute RotateAxisEnd xyz
This gets/sets the rotational extrusion angle in degrees.
$block get/setExtrusionSolverAttribute RotateAngle degrees
This gets/sets the explicit smoothing coefficient for the transverse direction.
$block get/setExtrusionSolverAttribute NormalExplicitSmoothing < Default | ij_vector >
This gets/sets the implicit smoothing coefficient for the transverse direction.
$block get/setExtrusionSolverAttribute NormalImplicitSmoothing < Default | ij_vector >
This gets/sets the Kinsey-Barth coefficient to control smoothing in the marching direction.
$block get/setExtrusionSolverAttribute NormalKinseyBarthSmoothing < Default | ij_vector >
This determines how rapidly grid point clustering along the initial grid will be relaxed as the grid is extruded.
$block get/setExtrusionSolverAttribute NormalVolumeSmoothing < Default | value >
This gets/sets the size of the first marching step to value.
$block get/setExtrusionSolverAttribute NormalInitialStepSize < Default | size >
This gets/sets a upper limit for the marching step size.
$block get/setExtrusionSolverAttribute NormalMaximumStepSize < Default | size >
This gets/sets a upper limit for the marching step size.
$block get/setExtrusionSolverAttribute NormalMinimumStepSize < Default | size >
This gets/sets a scale factor for reducing the local marching step in convex regions and increasing the marching step size in concave regions.
$block get/setExtrusionSolverAttribute NormalCornerFactor < Default | factor >
This gets/sets the normals in the marching direction are smoothed locally using a LaPlace filter.
$block get/setExtrusionSolverAttribute NormalDirectionRelaxation < Default | factor >
The gets/sets the normals in the marching direction are smoothed locally using a Lalace filter.
$block get/setExtrusionSolverAttribute NormalDirectionRelaxationIterations < Default | iterations >
This gets/sets the marching step size is smoothed locally using a LaPlace filter.
$block get/setExtrusionSolverAttribute NormalStepSizeRelaxation < Default | factor >
This gets/sets the marching step size is smoothed locally using a LaPlace filter.
$block get/setExtrusionSolverAttribute NormalStepSizeRelaxationIterations < Default | iterations >
This enables/disables normal smoothing based on a quality metric.
$block get/setExtrusionSolverAttribute NormalQualitySmoothing < Default | bool_value >
This enables/disables interior-only quality-based smoothing.
$block get/setExtrusionSolverAttribute NormalInteriorOnlySmoothing < Default | bool_value >
This specifies/retrieves the maximum number of smoothing iterations.
$block get/setExtrusionSolverAttribute NormalMaximumIterationsSmoothing < Default | maxIters >
This specifies/retrieves the blend exponent for smoothing.
$block get/setExtrusionSolverAttribute NormalBlendExponentSmoothing < Default | blendExp >
This gets/sets the spacing configuration for the extrusion.
$block get/setExtrusionSolverAttribute SpacingMode < Algebraic | Connector | Default >
This gets/sets how the marching step size will grow from its initial value.
$block get/setExtrusionSolverAttribute SpacingGrowthFactor < Default | factor >
This gets/sets the collection of connector-object and subconnector- index pairs that specify how the marching step size will grow from its initial value.
$block get/setExtrusionSolverAttribute SpacingConnectors subcon_list
This action creates a new structured face object.
pw::FaceStructured create
This action adds a domain to this face.
$face addDomain ?-linkage linkage? domain
This action adds a face to the block.
$block addFace face
This action gets the position in the defining space of the block at the given index.
$block getPosition ?-grid? index
This action gets the position in the defining space of the block at the given index.
$block getPosition ?-grid? < index | ijk_index >
This action gets a position on a connector in the defining space of the connector.
$con getPosition ?< -grid | -control | -parameter | -arc | -X | -Y | -Z | -closest >? value
This action gets a position in the defining space of the domain.
$dom getPosition ?-grid? value
This action gets the position in the defining space of the domain at the given index.
$dom getPosition ?-grid? value
This action gets the position of the block in model space at the given index.
$block getXYZ ?-grid? index
This action gets the position of the block in model space at the given index.
$block getXYZ ?-grid? < index | ijk_index >
This action gets the model space position on a connector.
$con getXYZ ?< -grid | -control | -parameter | -arc | -X | -Y | -Z | -closest >? value
This action gets a position of the domain in model space.
$dom getXYZ ?-grid? value
This action gets the position of the domain in model space at the given index.
$dom getXYZ ?-grid? value