FreeStream Class Reference

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

#include <FreeStream.H>

Inheritance diagram for amr_wind::FreeStream:
[legend]
Collaboration diagram for amr_wind::FreeStream:
[legend]

Public Member Functions

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

const CFDSimm_sim
 
std::unordered_map< std::string, std::unique_ptr< udf::UDF > > m_field_funcs
 

Detailed Description

Freestream physics

Initializes the velocity, density and any specified scalar fields to user-defined constant values throughout the domain.

Constructor & Destructor Documentation

◆ FreeStream()

amr_wind::FreeStream::FreeStream ( const CFDSim & sim)
explicit

◆ ~FreeStream()

amr_wind::FreeStream::~FreeStream ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::FreeStream::identifier ( )
inlinestatic

◆ initialize_fields()

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

Initialize the fields.

Initialize the fields at the start of simulation.

◆ post_advance_work()

void amr_wind::FreeStream::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::FreeStream::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::FreeStream::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::FreeStream::pre_advance_work ( )
inlineoverride

◆ pre_init_actions()

void amr_wind::FreeStream::pre_init_actions ( )
override

Member Data Documentation

◆ m_field_funcs

std::unordered_map<std::string, std::unique_ptr<udf::UDF> > amr_wind::FreeStream::m_field_funcs
private

◆ m_sim

const CFDSim& amr_wind::FreeStream::m_sim
private

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