Blocked 2-D boundary condition solver for grids. More...
#include <Core/Solver/Grid/GridBlockedBoundaryConditionSolver2.hpp>
Protected Member Functions | |
| void | OnColliderUpdated (const Vector2UZ &gridSize, const Vector2D &gridSpacing, const Vector2D &gridOrigin) override |
| Invoked when a new collider is set. | |
Protected Member Functions inherited from CubbyFlow::GridFractionalBoundaryConditionSolver2 | |
| void | OnColliderUpdated (const Vector2UZ &gridSize, const Vector2D &gridSpacing, const Vector2D &gridOrigin) override |
| Invoked when a new collider is set. | |
Protected Member Functions inherited from CubbyFlow::GridBoundaryConditionSolver2 | |
| const Vector2UZ & | GetGridSize () const |
| Returns the size of the velocity grid to be constrained. | |
| const Vector2D & | GetGridSpacing () const |
| Returns the spacing of the velocity grid to be constrained. | |
| const Vector2D & | GetGridOrigin () const |
| Returns the origin of the velocity grid to be constrained. | |
Detailed Description
Blocked 2-D boundary condition solver for grids.
This class constrains the velocity field by projecting the flow to the blocked representation of the collider. A collider is rasterized into voxels and each face of the collider voxels projects the velocity field onto its face. This implementation should pair up with GridSinglePhasePressureSolver3 since the pressure solver assumes blocked boundary representation as well.
Constructor & Destructor Documentation
◆ GridBlockedBoundaryConditionSolver2() [1/3]
|
default |
Default constructor.
◆ GridBlockedBoundaryConditionSolver2() [2/3]
|
delete |
Deleted copy constructor.
◆ GridBlockedBoundaryConditionSolver2() [3/3]
|
deletenoexcept |
Deleted move constructor.
◆ ~GridBlockedBoundaryConditionSolver2()
|
overridedefault |
Default virtual destructor.
Member Function Documentation
◆ ConstrainVelocity()
|
overridevirtual |
Constrains the velocity field to conform the collider boundary.
- Parameters
-
velocity Input and output velocity grid. extrapolationDepth Number of inner-collider grid cells that velocity will get extrapolated.
Implements CubbyFlow::GridBoundaryConditionSolver2.
◆ GetMarker()
Returns the marker which is 1 if occupied by the collider.
◆ OnColliderUpdated()
|
overrideprotectedvirtual |
Invoked when a new collider is set.
Implements CubbyFlow::GridBoundaryConditionSolver2.
◆ operator=() [1/2]
|
delete |
Deleted copy assignment operator.
◆ operator=() [2/2]
|
deletenoexcept |
Deleted move assignment operator.
The documentation for this class was generated from the following file:
- Core/Solver/Grid/GridBlockedBoundaryConditionSolver2.hpp
Public Member Functions inherited from
1.9.8