AMR-Wind
v0.1.0
CFD solver for wind plant simulations
|
Field management infrastructure. More...
Modules | |
Boundary conditions management | |
Boundary conditions management. | |
Field operations | |
Operators for manipulating fields and computing derived quantities. | |
Fillpatch operators | |
Field fillpatch operators. | |
Classes | |
struct | amr_wind::FieldInfo |
Information common to a field that has multiple states. More... | |
class | amr_wind::Field |
Computational field. More... | |
class | amr_wind::FieldRepo |
Field Repository. More... | |
class | amr_wind::IntField |
An integer computational field. More... | |
class | amr_wind::ScratchField |
A temporary computational field. More... | |
class | amr_wind::ViewField< T > |
Subview of a Field or a ScratchField. More... | |
Enumerations | |
enum class | amr_wind::FieldState : int { amr_wind::NP1 = 0 , amr_wind::N , amr_wind::NM1 , amr_wind::NPH , amr_wind::NMH , amr_wind::New = NP1 , amr_wind::Old = N } |
Possible time states for a given Field instance. More... | |
enum class | amr_wind::FieldLoc : int { amr_wind::CELL , amr_wind::NODE , amr_wind::XFACE , amr_wind::YFACE , amr_wind::ZFACE } |
Possible locations for a field in a structured mesh. More... | |
enum class | amr_wind::FieldInterpolator : int { amr_wind::PiecewiseConstant , amr_wind::CellConsLinear , amr_wind::NodeBilinear , amr_wind::FaceDivFree , amr_wind::FaceLinear } |
Coarse-to-fine field interpolation options. More... | |
Field management infrastructure.
Field is at the core of AMR-Wind implementation that handles all the data used during the simulation. FieldRepo manages a collection of fields and is responsible for all memory allocation and reinitialization during regrid process. Field provides a higher-level interface than MultiFabs and also provides a unified interface to manage boundary conditions and states.
|
strong |
|
strong |
|
strong |
Possible time states for a given Field instance.
All defined fields have at least one state, New
, as their default state. For state variables, there are currently two states New
and Old
. Old
. indicates the latest solution and New
indicates the solution at the next timestep the solution will advance to.
Enumerator | |
---|---|
NP1 | Latest state, also aliased to |
N | Previous state, also aliased to |
NM1 | State at |
NPH | State at |
NMH | State at |
New | Same as FieldState::NP1. |
Old | Same as FieldState::N. |