pw:: UnstructuredSolver

The unstructured solver mode type

Derives From

pw::Object pw::Mode pw::Solver

Summary
The unstructured solver mode type
This attribute controls whether the pw::Solver.run command will stop when the requested number of full layers is not met by the solver.
This attribute controls whether the pw::Solver.run command will perform refinement based on overset assembly length scales.
This action gets the current stage of the unstructured solver.
This action gets the current entity of the unstructured solver.
This action gets the number of completed T-Rex layers of the current entity of the unstructured solver.
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver.
This action clears any overrides previously set for the current solver.
This action projects the domains in the solver to the databases.

Instance Attributes

StopWhenFullLayersNotMet

$solver get/setStopWhenFullLayersNotMet value

This attribute controls whether the pw::Solver.run command will stop when the requested number of full layers is not met by the solver.

Type

This attribute is a boolean value.

Default

The default for this attribute is False, which means the <run> command will not stop if the requested number of full alyers is not met.

OversetAdaptation

$solver get/setOversetAdaptation value

This attribute controls whether the pw::Solver.run command will perform refinement based on overset assembly length scales.

Type

This attribute is a boolean value.

Default

The default for this attribute is False, which means the <run> command will perform standard refinement (no overset assembly contribution).

Instance Actions

getCurrentStage

$solver getCurrentStage

This action gets the current stage of the unstructured solver.

Parameters

This action has no parameters.

Returns

This action returns the current stage; None | PushAttributes | TRex | Isotropic

getCurrentEntity

$solver getCurrentEntity

This action gets the current entity of the unstructured solver.

Parameters

This action has no parameters.

Returns

This action returns a pw::Entity object that is currently being solved on.  It is only valid if the current stage is TRex or Isotropic.

getCompletedTRexLayers

$solver getCompletedTRexLayers

This action gets the number of completed T-Rex layers of the current entity of the unstructured solver.

Parameters

This action has no parameters.

Returns

This action returns the integer number of completed T-Rex layers of the current entity.  It is only valid if the current stage is TRex or Isotropic.

overrideTRexMaximumLayers

$solver overrideTRexMaximumLayers entity layers

This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver.

Parameters

entityThis parameter is a pw::Entity object that should have it’s <TRexMaximumLayers> attribute overridden with the given number of T-Rex layers.
layersThis parameter is an integer with the range [0, infinity), where 0 means that there should be no T-Rex layers.

Returns

This action returns nothing.

clearOverrides

$solver clearOverrides

This action clears any overrides previously set for the current solver.

Parameters

This action has no parameters.

Returns

This action returns nothing.

project

$solver project

This action projects the domains in the solver to the databases.

Parameters

This action has no parameters.

Returns

This action returns nothing.

$solver get/setStopWhenFullLayersNotMet value
This attribute controls whether the pw::Solver.run command will stop when the requested number of full layers is not met by the solver.
$solver run ?-entities ents? ?< method | steps >?
This action runs the solver.
$solver get/setOversetAdaptation value
This attribute controls whether the pw::Solver.run command will perform refinement based on overset assembly length scales.
$solver getCurrentStage
This action gets the current stage of the unstructured solver.
$solver getCurrentEntity
This action gets the current entity of the unstructured solver.
$solver getCompletedTRexLayers
This action gets the number of completed T-Rex layers of the current entity of the unstructured solver.
$solver overrideTRexMaximumLayers entity layers
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver.
$solver clearOverrides
This action clears any overrides previously set for the current solver.
$solver project
This action projects the domains in the solver to the databases.
Base type for all glyph types
The mode base type
The solver mode type
A boolean is represented as a 0 or 1, with 0 being false and 1 being true.
Entity type
An integer is a whole number.