BodyForce Class Reference

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

#include <BodyForce.H>

Inheritance diagram for amr_wind::pde::temperature::BodyForce:
[legend]
Collaboration diagram for amr_wind::pde::temperature::BodyForce:
[legend]

Public Member Functions

 BodyForce (const CFDSim &)
 
 ~BodyForce () override
 
void operator() (const int lev, const amrex::MFIter &, const amrex::Box &bx, const FieldState, const amrex::Array4< amrex::Real > &src_term) const override
 
void read_bforce_profile (const std::string &filename)
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

const SimTimem_time
 
const amrex::AmrCore & m_mesh
 
std::string m_type {"height_varying"}
 
std::string m_bforce_file
 
size_t m_bforce_profile_nhts
 
amrex::Gpu::DeviceVector< amrex::Real > m_prof_theta
 
amrex::Gpu::DeviceVector< amrex::Real > m_ht
 

Constructor & Destructor Documentation

◆ BodyForce()

amr_wind::pde::temperature::BodyForce::BodyForce ( const CFDSim & sim)
explicit

◆ ~BodyForce()

amr_wind::pde::temperature::BodyForce::~BodyForce ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::pde::temperature::BodyForce::identifier ( )
inlinestatic

◆ operator()()

void amr_wind::pde::temperature::BodyForce::operator() ( const int lev,
const amrex::MFIter & ,
const amrex::Box & bx,
const FieldState ,
const amrex::Array4< amrex::Real > & src_term ) const
override

◆ read_bforce_profile()

void amr_wind::pde::temperature::BodyForce::read_bforce_profile ( const std::string & filename)

Member Data Documentation

◆ m_bforce_file

std::string amr_wind::pde::temperature::BodyForce::m_bforce_file
private

◆ m_bforce_profile_nhts

size_t amr_wind::pde::temperature::BodyForce::m_bforce_profile_nhts
private

◆ m_ht

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::pde::temperature::BodyForce::m_ht
private

◆ m_mesh

const amrex::AmrCore& amr_wind::pde::temperature::BodyForce::m_mesh
private

◆ m_prof_theta

amrex::Gpu::DeviceVector<amrex::Real> amr_wind::pde::temperature::BodyForce::m_prof_theta
private

◆ m_time

const SimTime& amr_wind::pde::temperature::BodyForce::m_time
private

◆ m_type

std::string amr_wind::pde::temperature::BodyForce::m_type {"height_varying"}
private

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/temperature/source_terms/BodyForce.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/temperature/source_terms/BodyForce.cpp