/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/vof/SplitAdvection.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/vof/SplitAdvection.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
SplitAdvection.H
Go to the documentation of this file.
1#ifndef SplitAdvection_H
2#define SplitAdvection_H
3
5
6namespace amr_wind::multiphase {
7
9 int isweep,
10 int iorder,
11 int nlevels,
12 Field& dof_field,
13 amrex::Vector<amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>> const& fluxes,
14 ScratchField& fluxC,
15 amrex::Vector<amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>> const& advas,
16 Field const& u_mac,
17 Field const& v_mac,
18 Field const& w_mac,
19 amrex::GpuArray<BC, AMREX_SPACEDIM * 2> BCs,
20 amrex::Vector<amrex::Geometry> geom,
21 amrex::Real dt,
22 bool rm_debris);
23
25 const int lev,
26 amrex::Box const& bx,
27 const int isweep,
28 amrex::Array4<amrex::Real const> const& volfrac,
29 amrex::Array4<amrex::Real const> const& umac,
30 amrex::Array4<amrex::Real const> const& vmac,
31 amrex::Array4<amrex::Real const> const& wmac,
32 amrex::Array4<amrex::Real> const& aax,
33 amrex::Array4<amrex::Real> const& aay,
34 amrex::Array4<amrex::Real> const& aaz,
35 amrex::Array4<amrex::Real> const& fx,
36 amrex::Array4<amrex::Real> const& fy,
37 amrex::Array4<amrex::Real> const& fz,
38 amrex::GpuArray<BC, AMREX_SPACEDIM * 2> BCs,
39 amrex::Real* p,
40 amrex::Vector<amrex::Geometry> geom,
41 const amrex::Real dt);
42
44 int lev,
45 amrex::Box const& bx,
46 int isweep,
47 amrex::Array4<amrex::Real> const& volfrac,
48 amrex::Array4<amrex::Real const> const& fluxC,
49 amrex::Array4<amrex::Real const> const& umac,
50 amrex::Array4<amrex::Real const> const& vmac,
51 amrex::Array4<amrex::Real const> const& wmac,
52 amrex::Array4<amrex::Real const> const& fx,
53 amrex::Array4<amrex::Real const> const& fy,
54 amrex::Array4<amrex::Real const> const& fz,
55 amrex::Vector<amrex::Geometry> geom,
56 amrex::Real dt);
57
58void cmask_loop(
59 amrex::Box const& bx,
60 amrex::Array4<amrex::Real> const& volfrac,
61 amrex::Array4<amrex::Real> const& fluxC);
62
63void debris_loop(
64 amrex::Box const& bx, amrex::Array4<amrex::Real> const& volfrac);
65
66void sweep_fluxes(
67 const int dir,
68 amrex::Box const& bx,
69 const amrex::Real dtdx,
70 amrex::Array4<amrex::Real const> const& vel_mac,
71 amrex::Array4<amrex::Real const> const& volfrac,
72 amrex::Array4<amrex::Real> const& vofL,
73 amrex::Array4<amrex::Real> const& vofR);
74
75void sweep_balance(
76 const int dir,
77 const amrex::Real dt,
78 const amrex::Real dxi,
79 amrex::Box const& bx,
80 amrex::Array4<amrex::Real const> const& vel_mac,
81 amrex::Array4<amrex::Real> const& volfrac,
82 amrex::Array4<amrex::Real const> const& fluxF,
83 amrex::Array4<amrex::Real const> const& fluxC);
84
85} // namespace amr_wind::multiphase
86#endif /* SplitAdvection_H */
Definition height_functions.H:8
void split_compute_sum(int lev, amrex::Box const &bx, int isweep, amrex::Array4< amrex::Real > const &volfrac, amrex::Array4< amrex::Real const > const &fluxC, amrex::Array4< amrex::Real const > const &umac, amrex::Array4< amrex::Real const > const &vmac, amrex::Array4< amrex::Real const > const &wmac, amrex::Array4< amrex::Real const > const &fx, amrex::Array4< amrex::Real const > const &fy, amrex::Array4< amrex::Real const > const &fz, amrex::Vector< amrex::Geometry > geom, amrex::Real dt)
Definition SplitAdvection.cpp:172
void debris_loop(amrex::Box const &bx, amrex::Array4< amrex::Real > const &volfrac)
Definition SplitAdvection.cpp:210
void split_compute_fluxes(const int lev, amrex::Box const &bx, const int isweep, amrex::Array4< amrex::Real const > const &volfrac, amrex::Array4< amrex::Real const > const &umac, amrex::Array4< amrex::Real const > const &vmac, amrex::Array4< amrex::Real const > const &wmac, amrex::Array4< amrex::Real > const &aax, amrex::Array4< amrex::Real > const &aay, amrex::Array4< amrex::Real > const &aaz, amrex::Array4< amrex::Real > const &fx, amrex::Array4< amrex::Real > const &fy, amrex::Array4< amrex::Real > const &fz, amrex::GpuArray< BC, AMREX_SPACEDIM *2 > BCs, amrex::Real *p, amrex::Vector< amrex::Geometry > geom, const amrex::Real dt)
Definition SplitAdvection.cpp:105
void sweep_balance(const int dir, const amrex::Real dt, const amrex::Real dxi, amrex::Box const &bx, amrex::Array4< amrex::Real const > const &vel_mac, amrex::Array4< amrex::Real > const &volfrac, amrex::Array4< amrex::Real const > const &fluxF, amrex::Array4< amrex::Real const > const &fluxC)
Definition SplitAdvection.cpp:246
void split_advection_step(int isweep, int iorder, int nlevels, Field &dof_field, amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > const &fluxes, ScratchField &fluxC, amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > const &advas, Field const &u_mac, Field const &v_mac, Field const &w_mac, amrex::GpuArray< BC, AMREX_SPACEDIM *2 > BCs, amrex::Vector< amrex::Geometry > geom, amrex::Real dt, bool rm_debris)
Definition SplitAdvection.cpp:11
void sweep_fluxes(const int dir, amrex::Box const &bx, const amrex::Real dtdx, amrex::Array4< amrex::Real const > const &vel_mac, amrex::Array4< amrex::Real const > const &volfrac, amrex::Array4< amrex::Real > const &vofL, amrex::Array4< amrex::Real > const &vofR)
Definition SplitAdvection.cpp:219
void cmask_loop(amrex::Box const &bx, amrex::Array4< amrex::Real > const &volfrac, amrex::Array4< amrex::Real > const &fluxC)
Definition SplitAdvection.cpp:200