TerrainDrag Class Reference

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

#include <TerrainDrag.H>

Inheritance diagram for amr_wind::terraindrag::TerrainDrag:
[legend]
Collaboration diagram for amr_wind::terraindrag::TerrainDrag:
[legend]

Public Member Functions

 TerrainDrag (CFDSim &sim)
 
 ~TerrainDrag () override=default
 
void initialize_fields (int level, const amrex::Geometry &geom) 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
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

CFDSimm_sim
 
const FieldRepom_repo
 
const amrex::AmrCore & m_mesh
 
IntFieldm_terrain_blank
 Blanking Field for Terrain or Buildings.
 
IntFieldm_terrain_drag
 Terrain Drag Force Term.
 
amrex::Vector< amrex::Real > m_xterrain
 Reading the Terrain Coordinates from file.
 
amrex::Vector< amrex::Real > m_yterrain
 
amrex::Vector< amrex::Real > m_zterrain
 
Fieldm_terrainz0
 Roughness Field.
 
Fieldm_terrain_height
 
amrex::Vector< amrex::Real > m_xrough
 
amrex::Vector< amrex::Real > m_yrough
 
amrex::Vector< amrex::Real > m_z0rough
 

Detailed Description

Terraindrag Flow physics

Constructor & Destructor Documentation

◆ TerrainDrag()

amr_wind::terraindrag::TerrainDrag::TerrainDrag ( CFDSim & sim)
explicit

◆ ~TerrainDrag()

amr_wind::terraindrag::TerrainDrag::~TerrainDrag ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::terraindrag::TerrainDrag::identifier ( )
inlinestatic

◆ initialize_fields()

void amr_wind::terraindrag::TerrainDrag::initialize_fields ( int level,
const amrex::Geometry & geom )
override

◆ post_advance_work()

void amr_wind::terraindrag::TerrainDrag::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::terraindrag::TerrainDrag::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::terraindrag::TerrainDrag::post_regrid_actions ( )
override

◆ pre_advance_work()

void amr_wind::terraindrag::TerrainDrag::pre_advance_work ( )
inlineoverride

◆ pre_init_actions()

void amr_wind::terraindrag::TerrainDrag::pre_init_actions ( )
inlineoverride

Member Data Documentation

◆ m_mesh

const amrex::AmrCore& amr_wind::terraindrag::TerrainDrag::m_mesh
private

◆ m_repo

const FieldRepo& amr_wind::terraindrag::TerrainDrag::m_repo
private

◆ m_sim

CFDSim& amr_wind::terraindrag::TerrainDrag::m_sim
private

◆ m_terrain_blank

IntField& amr_wind::terraindrag::TerrainDrag::m_terrain_blank
private

Blanking Field for Terrain or Buildings.

◆ m_terrain_drag

IntField& amr_wind::terraindrag::TerrainDrag::m_terrain_drag
private

Terrain Drag Force Term.

◆ m_terrain_height

Field& amr_wind::terraindrag::TerrainDrag::m_terrain_height
private

◆ m_terrainz0

Field& amr_wind::terraindrag::TerrainDrag::m_terrainz0
private

Roughness Field.

◆ m_xrough

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_xrough
private

Reading the Roughness Coordinates from file - Not Fully there yet Need updates to ABLWallFunction in future

◆ m_xterrain

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_xterrain
private

Reading the Terrain Coordinates from file.

◆ m_yrough

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_yrough
private

◆ m_yterrain

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_yterrain
private

◆ m_z0rough

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_z0rough
private

◆ m_zterrain

amrex::Vector<amrex::Real> amr_wind::terraindrag::TerrainDrag::m_zterrain
private

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