ForestDrag Class Reference

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

#include <ForestDrag.H>

Inheritance diagram for amr_wind::forestdrag::ForestDrag:
[legend]
Collaboration diagram for amr_wind::forestdrag::ForestDrag:
[legend]

Public Member Functions

 ForestDrag (CFDSim &sim)
 
 ~ForestDrag () override=default
 
void initialize_fields (int, const amrex::Geometry &) override
 
void pre_init_actions () override
 
void post_init_actions () override
 
void post_regrid_actions () override
 
void pre_advance_work () override
 
void post_advance_work () override
 
amrex::Vector< Forestread_forest (const int level) const
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

CFDSimm_sim
 
Fieldm_forest_drag
 
Fieldm_forest_id
 
std::string m_forest_file {"forest.amrwind"}
 

Detailed Description

Forestdrag Flow physics

Constructor & Destructor Documentation

◆ ForestDrag()

amr_wind::forestdrag::ForestDrag::ForestDrag ( CFDSim & sim)
explicit

◆ ~ForestDrag()

amr_wind::forestdrag::ForestDrag::~ForestDrag ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::forestdrag::ForestDrag::identifier ( )
inlinestatic

◆ initialize_fields()

void amr_wind::forestdrag::ForestDrag::initialize_fields ( int level,
const amrex::Geometry & geom )
override

◆ post_advance_work()

void amr_wind::forestdrag::ForestDrag::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::forestdrag::ForestDrag::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::forestdrag::ForestDrag::post_regrid_actions ( )
override

◆ pre_advance_work()

void amr_wind::forestdrag::ForestDrag::pre_advance_work ( )
inlineoverride

◆ pre_init_actions()

void amr_wind::forestdrag::ForestDrag::pre_init_actions ( )
inlineoverride

◆ read_forest()

amrex::Vector< Forest > amr_wind::forestdrag::ForestDrag::read_forest ( const int level) const

Member Data Documentation

◆ m_forest_drag

Field& amr_wind::forestdrag::ForestDrag::m_forest_drag
private

◆ m_forest_file

std::string amr_wind::forestdrag::ForestDrag::m_forest_file {"forest.amrwind"}
private

◆ m_forest_id

Field& amr_wind::forestdrag::ForestDrag::m_forest_id
private

◆ m_sim

CFDSim& amr_wind::forestdrag::ForestDrag::m_sim
private

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