BCPressure Class Reference

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

#include <BCInterface.H>

Inheritance diagram for amr_wind::BCPressure:
[legend]
Collaboration diagram for amr_wind::BCPressure:
[legend]

Public Member Functions

 BCPressure (Field &field)
 
- Public Member Functions inherited from amr_wind::BCScalar
 BCScalar (Field &field)
 
- Public Member Functions inherited from amr_wind::BCIface
 BCIface (Field &field)
 
virtual ~BCIface ()=default
 
virtual void operator() (const amrex::Real value=0.0)
 Operator that performs init actions and syncs the BC data to device.
 
amrex::Array< const std::string, 3 > get_dirichlet_udfs ()
 User-defined functions for Dirichlet-type boundaries.
 

Protected Member Functions

void read_values () override
 Read input data for specific fields based on BC types.
 
- Protected Member Functions inherited from amr_wind::BCScalar
void set_bcrec () override
 Setup AMReX mathematical BC types.
 
void read_values () override
 Read input data for specific fields based on BC types.
 
- Protected Member Functions inherited from amr_wind::BCIface
virtual void read_bctype ()
 Parse custom BCs specified for this field.
 
virtual void set_bcfuncs ()
 BC functions for Neumann type boundaries.
 
void set_default_value (const amrex::Real value)
 Set default BC values for the field.
 
void set_bcrec_lo (int dir, amrex::BCType::mathematicalBndryTypes bcrec)
 Set AMReX mathematical boundary types for the lower boundaries.
 
void set_bcrec_hi (int dir, amrex::BCType::mathematicalBndryTypes bcrec)
 Set AMReX mathematical boundary types for the upper boundaries.
 

Additional Inherited Members

- Public Types inherited from amr_wind::BCIface
using IncfloBC = amrex::GpuArray<BC, AMREX_SPACEDIM * 2>
 
- Protected Attributes inherited from amr_wind::BCIface
Fieldm_field
 Field instance where BC is being set.
 

Detailed Description

Specialization of BC initialization for pressure

For pressure there is no user value read from file. The values are assumed to be zero.

Constructor & Destructor Documentation

◆ BCPressure()

amr_wind::BCPressure::BCPressure ( Field & field)
inlineexplicit

Member Function Documentation

◆ read_values()

void amr_wind::BCPressure::read_values ( )
overrideprotectedvirtual

Read input data for specific fields based on BC types.

Implements amr_wind::BCIface.


The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/boundary_conditions/BCInterface.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/boundary_conditions/BCInterface.cpp