ABLAnelastic Class Reference

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

#include <ABLAnelastic.H>

Collaboration diagram for kynema_sgf::ABLAnelastic:
[legend]

Public Member Functions

 ABLAnelastic (CFDSim &)
void post_init_actions ()
void post_regrid_actions ()
void initialize_data ()
bool is_anelastic () const

Private Member Functions

void initialize_isentropic_hse ()
 Function to calculate the hydrostatic density and pressure.

Private Attributes

const CFDSimm_sim
bool m_is_anelastic {false}
amrex::Vector< amrex::Real > m_gravity {0.0_rt, 0.0_rt, -9.81_rt}
amrex::Real m_reference_density_constant {1.0_rt}
amrex::Real m_bottom_reference_pressure {1.0e5_rt}
const int m_axis {2}
MultiLevelVector m_density {FieldLoc::CELL}
MultiLevelVector m_pressure {FieldLoc::NODE}
MultiLevelVector m_theta {FieldLoc::CELL}

Detailed Description

Interface for ABL anelastic

This class performs the necessary operations for anelastic ABL

Constructor & Destructor Documentation

◆ ABLAnelastic()

kynema_sgf::ABLAnelastic::ABLAnelastic ( CFDSim & sim)
explicit

Member Function Documentation

◆ initialize_data()

void kynema_sgf::ABLAnelastic::initialize_data ( )

◆ initialize_isentropic_hse()

void kynema_sgf::ABLAnelastic::initialize_isentropic_hse ( )
private

Function to calculate the hydrostatic density and pressure.

◆ is_anelastic()

bool kynema_sgf::ABLAnelastic::is_anelastic ( ) const
inlinenodiscard

◆ post_init_actions()

void kynema_sgf::ABLAnelastic::post_init_actions ( )

◆ post_regrid_actions()

void kynema_sgf::ABLAnelastic::post_regrid_actions ( )

Member Data Documentation

◆ m_axis

const int kynema_sgf::ABLAnelastic::m_axis {2}
private

◆ m_bottom_reference_pressure

amrex::Real kynema_sgf::ABLAnelastic::m_bottom_reference_pressure {1.0e5_rt}
private

◆ m_density

MultiLevelVector kynema_sgf::ABLAnelastic::m_density {FieldLoc::CELL}
private

◆ m_gravity

amrex::Vector<amrex::Real> kynema_sgf::ABLAnelastic::m_gravity {0.0_rt, 0.0_rt, -9.81_rt}
private

◆ m_is_anelastic

bool kynema_sgf::ABLAnelastic::m_is_anelastic {false}
private

◆ m_pressure

MultiLevelVector kynema_sgf::ABLAnelastic::m_pressure {FieldLoc::NODE}
private

◆ m_reference_density_constant

amrex::Real kynema_sgf::ABLAnelastic::m_reference_density_constant {1.0_rt}
private

◆ m_sim

const CFDSim& kynema_sgf::ABLAnelastic::m_sim
private

◆ m_theta

MultiLevelVector kynema_sgf::ABLAnelastic::m_theta {FieldLoc::CELL}
private

The documentation for this class was generated from the following files: