FieldBCIface Class Reference

AMR-Wind API: amr_wind::FieldBCIface Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <FieldBCOps.H>

Inheritance diagram for amr_wind::FieldBCIface:
[legend]

Public Member Functions

virtual ~FieldBCIface ()=default
 
virtual void operator() (Field &field, const FieldState rho_state)=0
 

Detailed Description

Interface to setup up boundary conditions on a field

This is the base class for all non-standard operations that need to be performed at a domain boundary. Examples include using a wall-function to specify shear-stress at domain boundary for viscous flows, and setting an inhomogeneous Neumann (e.g., non-zero gradient) BC for temperature above capping inversion.

Customized BC operators are registered on a field using Field::register_custom_bc and then called during the linear system solve in Equation Systems by calling Field::apply_bc_funcs This operation happens after the Field::fillphysbc is called and the default BC values have been populated in ghost cells.

Constructor & Destructor Documentation

◆ ~FieldBCIface()

virtual amr_wind::FieldBCIface::~FieldBCIface ( )
virtualdefault

Member Function Documentation

◆ operator()()

virtual void amr_wind::FieldBCIface::operator() ( Field & field,
const FieldState rho_state )
pure virtual

The documentation for this class was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/core/FieldBCOps.H