SyntheticTurbulence Class Reference

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

#include <SyntheticTurbulence.H>

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

Public Member Functions

 SyntheticTurbulence (const CFDSim &sim)
 
 SyntheticTurbulence ()=delete
 
 SyntheticTurbulence (const SyntheticTurbulence &)=delete
 
SyntheticTurbulenceoperator= (const SyntheticTurbulence &)=delete
 
 ~SyntheticTurbulence () override=default
 
void initialize_fields (int level, const amrex::Geometry &geom) override
 
void post_init_actions () override
 
void post_regrid_actions () override
 
void pre_advance_work () override
 
void post_advance_work () override
 
void initialize ()
 
void update ()
 
template<typename T >
void update_impl (const SynthTurbDeviceData &, const InterpWeights &, const T &)
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

const amr_wind::SimTimem_time
 
const FieldRepom_repo
 
const amrex::AmrCore & m_mesh
 
Fieldm_velocity
 
Fieldm_density
 
Fieldm_turb_force
 
std::string m_turb_filename
 
SynthTurbData m_turb_grid
 
std::unique_ptr< synth_turb::MeanProfilem_wind_profile
 
std::string m_mean_wind_type {"ConstValue"}
 
amrex::Real m_epsilon
 
amrex::Real m_gauss_scaling
 
amrex::Real m_time_offset {0.0}
 
amrex::Real m_duration {-1}
 
bool m_is_init {true}
 

Constructor & Destructor Documentation

◆ SyntheticTurbulence() [1/3]

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

◆ SyntheticTurbulence() [2/3]

amr_wind::SyntheticTurbulence::SyntheticTurbulence ( )
delete

◆ SyntheticTurbulence() [3/3]

amr_wind::SyntheticTurbulence::SyntheticTurbulence ( const SyntheticTurbulence & )
delete

◆ ~SyntheticTurbulence()

amr_wind::SyntheticTurbulence::~SyntheticTurbulence ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize()

void amr_wind::SyntheticTurbulence::initialize ( )

◆ initialize_fields()

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

◆ operator=()

SyntheticTurbulence & amr_wind::SyntheticTurbulence::operator= ( const SyntheticTurbulence & )
delete

◆ post_advance_work()

void amr_wind::SyntheticTurbulence::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::SyntheticTurbulence::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::SyntheticTurbulence::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::SyntheticTurbulence::pre_advance_work ( )
override

◆ update()

void amr_wind::SyntheticTurbulence::update ( )

◆ update_impl()

template<typename T >
void amr_wind::SyntheticTurbulence::update_impl ( const SynthTurbDeviceData & turb_grid,
const InterpWeights & weights,
const T & velfunc )

Member Data Documentation

◆ m_density

Field& amr_wind::SyntheticTurbulence::m_density
private

◆ m_duration

amrex::Real amr_wind::SyntheticTurbulence::m_duration {-1}
private

◆ m_epsilon

amrex::Real amr_wind::SyntheticTurbulence::m_epsilon
private

◆ m_gauss_scaling

amrex::Real amr_wind::SyntheticTurbulence::m_gauss_scaling
private

◆ m_is_init

bool amr_wind::SyntheticTurbulence::m_is_init {true}
private

◆ m_mean_wind_type

std::string amr_wind::SyntheticTurbulence::m_mean_wind_type {"ConstValue"}
private

◆ m_mesh

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

◆ m_repo

const FieldRepo& amr_wind::SyntheticTurbulence::m_repo
private

◆ m_time

const amr_wind::SimTime& amr_wind::SyntheticTurbulence::m_time
private

◆ m_time_offset

amrex::Real amr_wind::SyntheticTurbulence::m_time_offset {0.0}
private

◆ m_turb_filename

std::string amr_wind::SyntheticTurbulence::m_turb_filename
private

◆ m_turb_force

Field& amr_wind::SyntheticTurbulence::m_turb_force
private

◆ m_turb_grid

SynthTurbData amr_wind::SyntheticTurbulence::m_turb_grid
private

◆ m_velocity

Field& amr_wind::SyntheticTurbulence::m_velocity
private

◆ m_wind_profile

std::unique_ptr<synth_turb::MeanProfile> amr_wind::SyntheticTurbulence::m_wind_profile
private

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