overset_ops Namespace Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::overset_ops Namespace Reference
Functions | |
| void | iblank_to_mask (const IntField &iblank, IntField &maskf) |
| void | iblank_node_to_mask_vof (const IntField &iblank, const Field &voff, IntField &maskf) |
| void | prepare_mask_cell_for_mac (FieldRepo &repo) |
| void | revert_mask_cell_after_mac (FieldRepo &repo) |
| void | replace_gradp (amrex::MultiFab &mf_gp, const amrex::MultiFab &mf_gp0, const amrex::iMultiFab &mf_iblank) |
| void | apply_pressure_gradient (amrex::MultiFab &mf_vel, const amrex::MultiFab &mf_density, const amrex::MultiFab &mf_gp, const amrex::Real scaling_factor) |
Function Documentation
◆ apply_pressure_gradient()
| void amr_wind::overset_ops::apply_pressure_gradient | ( | amrex::MultiFab & | mf_vel, |
| const amrex::MultiFab & | mf_density, | ||
| const amrex::MultiFab & | mf_gp, | ||
| const amrex::Real | scaling_factor ) |
◆ iblank_node_to_mask_vof()
| void amr_wind::overset_ops::iblank_node_to_mask_vof | ( | const IntField & | iblank, |
| const Field & | voff, | ||
| IntField & | maskf ) |
VOF-sensitive conversion of iblank to mask at nodes
Masks most of the domain, including a layer around solid bodies, but avoids masking cells near the interface
◆ iblank_to_mask()
Convert iblanks to AMReX mask
\begin{align}\mathrm{mask}_{i,j,k} = \begin{cases} 1 & \mathrm{IBLANK}_{i, j, k} = 1 \\ 0 & \mathrm{IBLANK}_{i, j, k} \leq 0 \end{cases} \end{align}
◆ prepare_mask_cell_for_mac()
| void amr_wind::overset_ops::prepare_mask_cell_for_mac | ( | FieldRepo & | repo | ) |
VOF-sensitive conversion of iblank to mask at cells
Same concept as iblank_node_to_mask_vof, but for MAC projection
◆ replace_gradp()
| void amr_wind::overset_ops::replace_gradp | ( | amrex::MultiFab & | mf_gp, |
| const amrex::MultiFab & | mf_gp0, | ||
| const amrex::iMultiFab & | mf_iblank ) |
◆ revert_mask_cell_after_mac()
| void amr_wind::overset_ops::revert_mask_cell_after_mac | ( | FieldRepo & | repo | ) |
Convert iblank to mask using ordinary method
Intended to return mask_cell back to original values following prepare_mask_cell_for_mac because mask_cell is used in other parts of the flow solver, not just the MAC projection
Generated by