/home/runner/work/amr-wind/amr-wind/amr-wind/fvm/stencils.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
stencils.H File Reference
Second-order finite volume discretization stencil coefficients. More...
#include "AMReX_REAL.H"
#include "AMReX_Box.H"
#include "AMReX_Orientation.H"
#include "AMReX_Geometry.H"
Include dependency graph for stencils.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | amr_wind |
namespace | amr_wind::fvm |
namespace | amr_wind::fvm::stencil |
namespace | amr_wind::fvm::stencil::impl |
Functions | |
amrex::Box | amr_wind::fvm::stencil::impl::box_lo (const amrex::Box &bx, const amrex::Geometry &geom, const int idir) |
amrex::Box | amr_wind::fvm::stencil::impl::box_hi (const amrex::Box &bx, const amrex::Geometry &geom, const int idir) |
Detailed Description
Second-order finite volume discretization stencil coefficients.
The stencils are defined using 9 coefficients corresponding to i+1
, i
and i-1
respectively in each of the three directions (see table below).
Coefficients for the first derivative
| | +1 | 0 | -1 |
|---+-----+-----+-----|
| i | c00 | c01 | c02 |
| j | c10 | c11 | c12 |
| k | c20 | c21 | c22 |
Coefficients for the second derivative
| | +1 | 0 | -1 |
|---+-----+-----+-----|
| i | s00 | s01 | s02 |
| j | s10 | s11 | s12 |
| k | s20 | s21 | s22 |
Coefficients for the filter
| | +1 | 0 | -1 |
|---+-----+-----+-----|
| i | f00 | f01 | f02 |
| j | f10 | f11 | f12 |
| k | f20 | f21 | f22 |
Generated by 1.12.0