Glyph Version 7.22.2 Domain Support Types - DomainSubGrid |
pw:: DomainSubGridA domain sub-grid is a computationally orthogonal, continuous subset of a pw::DomainStructured domain. Its purpose is to provide finer control of grid quality in specific regions. Derives FromSummary
getDomain
This action gets the domain in which this is a subgrid. Parametersnone ReturnsThis action returns a pw::DomainStructured object. getMinimum
This action gets the minimum ij limits of this subgrid. Parametersnone ReturnsThis action returns the minimum ij index. See AlsosetMinimum
This action sets the minimum ij limits of this subgrid. Parameters
ReturnsThis action returns nothing. See AlsogetMaximum
This action gets the maximum ij limits of this subgrid. Parametersnone ReturnsThis action returns the maximum ij index. See AlsosetMaximum
This action sets the maximum ij limits of this subgrid. Parameters
ReturnsThis action returns nothing. See AlsogetInitializeMethod
This action gets the initialization method for this subgrid. Parameters
ReturnsThis action returns the string initialization method with options < Standard | Linear | Polar | Orthogonal | Parametric | Fit >. See AlsosetInitializeMethod
This action sets the initialization method for this subgrid. Parameters
ReturnsThis action returns nothing. See AlsogetDefaultProjectDirection
This action gets the default projection direction for this subgrid. ParametersThis action has no parameters. ReturnsThis action returns a direction vector. ExampleThis example shows how to get the default projection direction for the given subgrid. $subgrid is referencing an existing domain subgrid. Code puts [$subgrid getDefaultProjectDirection] Output 0.0 0.0 1.0 getDatabaseEntities
This action gets all database entities the subgrid entity is using. Parameters
ReturnsThis action returns a list of pw::DatabaseEntity objects. ExampleThis example shows how to get the number of database entities the given grid entity is using. $dom(1) is referencing an existing domain. Code puts [llength [[$dom(1) getSubGrid 1] getDatabaseEntities]] Output 2 getEllipticSolverAttribute
This action gets the named elliptic solver attribute. Parameters
ReturnsThis action returns the actual or default value of the attribute. See AlsosetEllipticSolverAttribute
This action sets the named elliptic solver attribute. Parameters
ReturnsThis action returns nothing. See AlsoShapeConstraint
This attribute is the shape constraint of the structured domain. TypeA string with options < Free | Fixed | Database > or an explicit list of pw::DatabaseEntity objects. DefaultThe default for this attribute is Free. See AlsoShapeProjection
This attribute is the shape projection method when constrained to database entities. TypeA string with options < Closest | Linear > or an explicit normal vector for linear projection. When Linear is specified the projection uses the domain’s default projection direction which can be queried with pw::DomainSubGrid.getDefaultProjectDirection. DefaultThe default for this attribute is Closest. See AlsoSolverEngine
This attribute is the elliptic solver engine employed when smoothing a structured domain. TypeA string with options < MultiGrid | SuccessiveOverRelaxation >. DefaultThe defult for this attribute is the value in the pw::DomainStructured.SolverEngine (Default) when the subgrid was created. See AlsoMultiGridRelaxationFactorMultiGridProlongationFactorRelaxationFactor
This attribute is the relaxation factor of the succesive over- relaxtion algorithm. TypeA string with options < Optimal | Nominal > or a float in the range (0.0, 2.0]. DefaultThe default for this attribute is Optimal. See AlsoInteriorControl
This attribute is the interior control function of a structured domain. TypeThis attribute is a string with options < ThomasMiddlecoff | Laplace | Fixed >. DefaultThe default for this attribute is the value in the pw::DomainStructured.InteriorControl (Default) default when the domain was created. See AlsoEdgeControl
This attribute is the boundary control function of a structured subgrid edge. TypeA string with options < HilgenstockWhite | StegerSorenson | None >. DefaultThe default for this attribute is the value in the pw::DomainStructured.EdgeControl (Default) default when the domain was created. See AlsoEdgeSpacingCalculation
This attribute is the boundary control function spacing calculation method. TypeA string with options < Interpolate | Current | Adjacent > or an explicit spacing value in the range (0.0, infinity). DefaultThe default for this attribute is Interpolate. See AlsoEdgeSpacingBlend
This attribute is the boundary control function spacing blend method. TypeA string with options < Exponential | Linear > or an explicit float decay value in the range [1, infinity). DefaultThe default for this attribute is Exponential. See AlsoEdgeAngleCalculation
This attribute is the boundary control function angle calculation method. TypeA string with options < Orthogonal | Interpolate | Current | Adjacent >. DefaultThe default for this attribute is Orthogonal. See AlsoEdgeAngleBlend
This attribute is the boundary control function angle blend method. TypeA string with options < Exponential | Linear > or an explicit float decay value in the range [1, infinity). DefaultThe default for this attribute is Exponential. See AlsoEdgeConstraint
This attribute is the boundary constraints of the structured domain. TypeA string wth options < Fixed | Floating | Orthogonal >. DefaultThe default for this attribute is Fixed. See Also |
This action gets the domain in which this is a subgrid.
$subgrid getDomain
This action gets the minimum ij limits of this subgrid.
$subgrid getMinimum
This action sets the minimum ij limits of this subgrid.
$subgrid setMinimum ij
This action gets the maximum ij limits of this subgrid.
$subgrid getMaximum
This action sets the maximum ij limits of this subgrid.
$subgrid setMaximum ij
This action gets the initialization method for this subgrid.
$subgrid getInitializeMethod ?-axis pointVar normalVar?
This action sets the initialization method for this subgrid.
$subgrid setInitializeMethod ?-axis point normal? method
This action gets the default projection direction for this subgrid.
$subgrid getDefaultProjectDirection
This action gets all database entities the subgrid entity is using.
$subgrid getDatabaseEntities
This action gets the named elliptic solver attribute.
$subgrid getEllipticSolverAttribute ?-edge index? att_name ?value_type?
This action sets the named elliptic solver attribute.
$subgrid setEllipticSolverAttribute ?-edge index? att_name att_value
This attribute is the shape constraint of the structured domain.
$subgrid get/setEllipticSolverAttribute ShapeConstraint < constraint | db_list >
This attribute is the shape projection method when constrained to database entities.
$subgrid get/setEllipticSolverAttribute ShapeProjection < method | normal >
This attribute is the elliptic solver engine employed when smoothing a structured domain.
$subgrid get/setEllipticSolverAttribute SolverEngine function
This attribute is the relaxation factor of the multi-grid algorithm.
$subgrid get/setEllipticSolverAttribute MultiGridRelaxationFactor < Default | value >
This attribute is the Prolongation factor of the multi-grid algorithm.
$subgrid get/setEllipticSolverAttribute MultiGridProlongationFactor < Default | value >
This attribute is the relaxation factor of the succesive over- relaxtion algorithm.
$subgrid get/setEllipticSolverAttribute RelaxationFactor < Optimal | Nominal | value >
This attribute is the interior control function of a structured domain.
$subgrid get/setEllipticSolverAttribute InteriorControl < ThomasMiddlecoff | Laplace | Fixed >
This attribute is the boundary control function of a structured subgrid edge.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeControl < HilgenstockWhite | StegerSorenson | None >
This attribute is the boundary control function spacing calculation method.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeSpacingCalculation < Interpolate | Current | Adjacent | value >
This attribute is the boundary control function spacing blend method.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeSpacingBlend < Exponential | Linear | value >
This attribute is the boundary control function angle calculation method.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeAngleCalculation < Orthogonal | Interpolate | Current | Adjacent >
This attribute is the boundary control function angle blend method.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeAngleBlend < Exponential | Linear | value >
This attribute is the boundary constraints of the structured domain.
$subgrid get/setEllipticSolverAttribute ?-edge index? EdgeConstraint < Fixed | Floating | Orthogonal >
This default is the elliptic solver engine employed when smoothing a structured domain.
pw::DomainStructured get/setDefault SolverEngine < MulitGrid | SuccessiveOverRelaxation >
This default is the interior control function of a structured domain when it is created.
pw::DomainStructured get/setDefault InteriorControl < ThomasMiddlecoff | Laplace | Fixed >
This default is the boundary control function of all edges of a structured domain when it is created.
pw::DomainStructured get/setDefault EdgeControl < HilgenstockWhite | StegerSorenson | None >