/home/runner/work/amr-wind/amr-wind/amr-wind/overset/overset_ops_routines.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/overset/overset_ops_routines.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
overset_ops_routines.H
Go to the documentation of this file.
1#ifndef OVERSET_OPS_ROUTINES_H
2#define OVERSET_OPS_ROUTINES_H
3
4#include "AMReX_iMultiFab.H"
5#include "AMReX_MultiFab.H"
8
9namespace amr_wind::overset_ops {
10
11void iblank_to_mask(const IntField& iblank, IntField& maskf);
12
14 const IntField& iblank, const Field& vof, IntField& maskf);
15
16void prepare_mask_cell_for_mac(FieldRepo& repo);
17
18void revert_mask_cell_after_mac(FieldRepo& repo);
19
20// Swap pressure gradient values in overset region
21void replace_gradp(
22 amrex::MultiFab& mf_gp,
23 const amrex::MultiFab& mf_gp0,
24 const amrex::iMultiFab& mf_iblank);
25
26// Apply pressure gradient to velocity field
28 amrex::MultiFab& mf_vel,
29 const amrex::MultiFab& mf_density,
30 const amrex::MultiFab& mf_gp,
31 amrex::Real scaling_factor);
32
33} // namespace amr_wind::overset_ops
34
35#endif
Definition overset_ops_routines.cpp:6
void prepare_mask_cell_for_mac(FieldRepo &repo)
Definition overset_ops_routines.cpp:102
void iblank_to_mask(const IntField &iblank, IntField &maskf)
Definition overset_ops_routines.cpp:17
void apply_pressure_gradient(amrex::MultiFab &mf_vel, const amrex::MultiFab &mf_density, const amrex::MultiFab &mf_gp, const amrex::Real scaling_factor)
Definition overset_ops_routines.cpp:197
void iblank_node_to_mask_vof(const IntField &iblank, const Field &voff, IntField &maskf)
Definition overset_ops_routines.cpp:41
void replace_gradp(amrex::MultiFab &mf_gp, const amrex::MultiFab &mf_gp0, const amrex::iMultiFab &mf_iblank)
Definition overset_ops_routines.cpp:177
void revert_mask_cell_after_mac(FieldRepo &repo)
Definition overset_ops_routines.cpp:164