- builderThe SurfaceMeshBySubdomainBuilder providing SurfaceElementSets by subdomain_id.
C++ Type:UserObjectName
Controllable:No
Description:The SurfaceMeshBySubdomainBuilder providing SurfaceElementSets by subdomain_id.
PointInSubdomainCheckUO
PointInSubdomainCheckUO performs point-in-polyhedron (in-out) tests for several closed surfaces at once and identifies which subdomain a point belongs to. It builds one ray-casting in-out test per subdomain from the subdomain-grouped boundary elements supplied by a SurfaceMeshBySubdomainBuilder. In addition to a plain inside/outside query, it exposes whichSubdomain, which returns the ID of the first subdomain whose surface contains the point (or the invalid subdomain ID when the point lies outside every surface).
This object is the in-out tester consumed by SubdomainElementModifier to assign background-mesh elements to subdomains.
Usage
Set the builder parameter to the name of a SurfaceMeshBySubdomainBuilder user object. The tolerance parameter controls how close to a surface a point is treated as on it, and leaf_max_size tunes the per-subdomain KDTree. Because the in-out test requires closed, replicated surface meshes, run these tests with mesh_mode = REPLICATED.
In-Out test with subdomain_id identification based on SurfaceMeshBySubdomainBuilder.
Input Parameters
- leaf_max_size10Maximum number of elements in a leaf node of the KD-tree.
Default:10
C++ Type:int
Controllable:No
Description:Maximum number of elements in a leaf node of the KD-tree.
- obb_file_nameOriented Bounding Box (OBB) debug file name.
C++ Type:FileName
Controllable:No
Description:Oriented Bounding Box (OBB) debug file name.
- point_containment_methodpca_rayAlgorithm used for point-containment queries. 'pca_ray' (default) uses the ray-casting engine with a PCA-selected ray; 'user_selected_ray' uses the ray-casting engine with the 'ray_direction' parameter; 'fixed_x_ray' uses the TriangleManifold engine (fixed +x ray, TRI3 surfaces only).
Default:pca_ray
C++ Type:MooseEnum
Controllable:No
Description:Algorithm used for point-containment queries. 'pca_ray' (default) uses the ray-casting engine with a PCA-selected ray; 'user_selected_ray' uses the ray-casting engine with the 'ray_direction' parameter; 'fixed_x_ray' uses the TriangleManifold engine (fixed +x ray, TRI3 surfaces only).
- ray_direction0 0 0Ray direction for the 'user_selected_ray' method, used exactly as given (no auto-selection). Any finite non-zero direction is allowed, including oblique; for a 2D surface it must lie in the mesh plane (zero z component). The user is responsible for avoiding directions that graze vertices/edges or are tangent to the surface. Other methods ignore this parameter.
Default:0 0 0
C++ Type:libMesh::Point
Controllable:No
Description:Ray direction for the 'user_selected_ray' method, used exactly as given (no auto-selection). Any finite non-zero direction is allowed, including oblique; for a 2D surface it must lie in the mesh plane (zero z component). The user is responsible for avoiding directions that graze vertices/edges or are tangent to the surface. Other methods ignore this parameter.
- ray_file_nameRay debug file name.
C++ Type:FileName
Controllable:No
Description:Ray debug file name.
- tolerance1e-06Tolerance used for intersection or surface-proximity checks. Determines whether a point is considered on the surface.
Default:1e-06
C++ Type:Real
Unit:(no unit assumed)
Controllable:No
Description:Tolerance used for intersection or surface-proximity checks. Determines whether a point is considered on the surface.
Optional Parameters
- allow_duplicate_execution_on_initialFalseIn the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
Default:False
C++ Type:bool
Controllable:No
Description:In the case where this UserObject is depended upon by an initial condition, allow it to be executed twice during the initial setup (once before the IC and again after mesh adaptivity (if applicable).
- execute_onTIMESTEP_ENDThe list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
Default:TIMESTEP_END
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.
- execution_order_group0Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.
Default:0
C++ Type:int
Controllable:No
Description:Execution order groups are executed in increasing order (e.g., the lowest number is executed first). Note that negative group numbers may be used to execute groups before the default (0) group. Please refer to the user object documentation for ordering of user object execution within a group.
- force_postauxFalseForces the UserObject to be executed in POSTAUX
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in POSTAUX
- force_preauxFalseForces the UserObject to be executed in PREAUX
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in PREAUX
- force_preicFalseForces the UserObject to be executed in PREIC during initial setup
Default:False
C++ Type:bool
Controllable:No
Description:Forces the UserObject to be executed in PREIC during initial setup
Execution Scheduling Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:Yes
Description:Set the enabled status of the MooseObject.
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Controllable:No
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Advanced Parameters
- prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
C++ Type:MaterialPropertyName
Unit:(no unit assumed)
Controllable:No
Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.
- use_interpolated_stateFalseFor the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.
Default:False
C++ Type:bool
Controllable:No
Description:For the old and older state use projected material properties interpolated at the quadrature points. To set up projection use the ProjectedStatefulMaterialStorageAction.