Glyph Version 7.22.2 Mode Types - - - UnstructuredSolver |
pw:: UnstructuredSolverThe unstructured solver mode type Derives Frompw::Object pw::Mode pw::Solver NotesTo create a mode of this type, use the pw::Application.begin command with the mode UnstructuredSolver specified, like this: set solver [pw::Application begin UnstructuredSolver $entities] Summary
StopWhenFullLayersNotMet
This attribute controls whether the pw::Solver.run command will stop when the requested number of full layers is not met by the solver. TypeThis attribute is a boolean value. DefaultThe default for this attribute is False, which means the run command will not stop if the requested number of full alyers is not met. AllowIncomplete
This attribute controls whether the pw::Solver.run command will throw an error if initialization produces an incomplete grid. This can occur during T-Rex initialization when the isotropic tet generation failed, but the T-Rex cells were retained. TypeThis attribute is a boolean value. DefaultThe default for this attribute is False, which means the pw::Solver.run command will throw an error if an incomplete block is created. OversetAdaptation
This attribute controls whether the pw::Solver.run command will perform refinement based on overset assembly length scales. TypeThis attribute is a boolean value. DefaultThe default for this attribute is False, which means the pw::Solver.run command will perform standard refinement (no overset assembly contribution). run
This action runs the solver. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. Unlike most commands that support progress updates, if the user aborts this command, instead of reverting to the previous state the entities being solved will be left as is. MethodArgs
ExampleCode proc putsBlkStats { solverBlks } { Output Original block stats: getCurrentEntity
This action gets the current entity of the unstructured solver. ParametersThis action has no parameters. ReturnsThis 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
This action gets the number of completed T-Rex layers of the current entity of the unstructured solver. ParametersThis action has no parameters. ReturnsThis 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
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver. Parameters
ReturnsThis action returns nothing. |
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 get/setStopWhenFullLayersNotMet value
This action runs the solver.
$solver run ?-entities ents? ?steps | method ?method_args??
This attribute controls whether the pw::Solver.run command will throw an error if initialization produces an incomplete grid.
$solver get/setAllowIncomplete value
This attribute controls whether the pw::Solver.run command will perform refinement based on overset assembly length scales.
$solver get/setOversetAdaptation value
This action runs the solver.
$solver run ?-entities ents? ?steps | method ?method_args??
This action gets the current stage of the unstructured solver.
$solver getCurrentStage
This action gets the current entity of the unstructured solver.
$solver getCurrentEntity
This action gets the number of completed T-Rex layers of the current entity of the unstructured solver.
$solver getCompletedTRexLayers
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver.
$solver overrideTRexMaximumLayers entity layers
This action clears any overrides previously set for the current solver.
$solver clearOverrides
This action projects the domains in the solver to the databases.
$solver project
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?