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.
 
std::string m_terrain_file {"terrain.amrwind"}
 Terrain file.
 
std::string m_roughness_file {"terrain.roughness"}
 Roughness file.
 
Fieldm_terrainz0
 Roughness fields.
 
Fieldm_terrain_height
 

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_roughness_file

std::string amr_wind::terraindrag::TerrainDrag::m_roughness_file {"terrain.roughness"}
private

Roughness file.

◆ 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_file

std::string amr_wind::terraindrag::TerrainDrag::m_terrain_file {"terrain.amrwind"}
private

Terrain file.

◆ m_terrain_height

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

◆ m_terrainz0

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

Roughness fields.


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