BCPressure Class Reference

Kynema-SGF API: kynema_sgf::BCPressure Class Reference
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
kynema_sgf::BCPressure Class Reference

#include <BCInterface.H>

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

Public Member Functions

 BCPressure (Field &field)
Public Member Functions inherited from kynema_sgf::BCScalar
 BCScalar (Field &field)
Public Member Functions inherited from kynema_sgf::BCIface
 BCIface (Field &field)
virtual ~BCIface ()=default
virtual void operator() (amrex::Real value=0.0_rt)
 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 kynema_sgf::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 kynema_sgf::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 (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 kynema_sgf::BCIface
using IncfloBC = amrex::GpuArray<BC, AMREX_SPACEDIM * 2>
Protected Attributes inherited from kynema_sgf::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()

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

Member Function Documentation

◆ read_values()

void kynema_sgf::BCPressure::read_values ( )
overrideprotectedvirtual

Read input data for specific fields based on BC types.

Implements kynema_sgf::BCIface.


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