WallFunction Class Reference

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

#include <WallFunction.H>

Collaboration diagram for amr_wind::WallFunction:
[legend]

Public Member Functions

 WallFunction (CFDSim &sim)
 
amrex::Real utau () const
 
LogLaw log_law () const
 
MOSD mosd () const
 
void update_umean ()
 Update the mean velocity at a given timestep.
 
void update_utau_mean ()
 
void update_time ()
 
 ~WallFunction ()=default
 

Private Attributes

const CFDSimm_sim
 
const amrex::AmrCore & m_mesh
 
LogLaw m_log_law
 LogLaw instance.
 
int m_direction {2}
 Direction normal to wall, hardcoded to z.
 
VelPlaneAveragingFine m_pa_vel
 
MOSD m_mosd
 

Detailed Description

Wall-function computations for LES simulations

This class performs the necessary computations at the beginning of predictor/corrector steps. The actual BC population in ghost cells is performed by VelWallFunc BC interface class.

Constructor & Destructor Documentation

◆ WallFunction()

amr_wind::WallFunction::WallFunction ( CFDSim & sim)
explicit

◆ ~WallFunction()

amr_wind::WallFunction::~WallFunction ( )
default

Member Function Documentation

◆ log_law()

LogLaw amr_wind::WallFunction::log_law ( ) const
inline

◆ mosd()

MOSD amr_wind::WallFunction::mosd ( ) const
inline

◆ update_time()

void amr_wind::WallFunction::update_time ( )

◆ update_umean()

void amr_wind::WallFunction::update_umean ( )

Update the mean velocity at a given timestep.

◆ update_utau_mean()

void amr_wind::WallFunction::update_utau_mean ( )

◆ utau()

amrex::Real amr_wind::WallFunction::utau ( ) const
inline

Member Data Documentation

◆ m_direction

int amr_wind::WallFunction::m_direction {2}
private

Direction normal to wall, hardcoded to z.

◆ m_log_law

LogLaw amr_wind::WallFunction::m_log_law
private

LogLaw instance.

◆ m_mesh

const amrex::AmrCore& amr_wind::WallFunction::m_mesh
private

◆ m_mosd

MOSD amr_wind::WallFunction::m_mosd
private

◆ m_pa_vel

VelPlaneAveragingFine amr_wind::WallFunction::m_pa_vel
private

◆ m_sim

const CFDSim& amr_wind::WallFunction::m_sim
private

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