VortexPatchScalarVel Class Reference

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

#include <VortexPatchScalarVel.H>

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

Public Member Functions

 VortexPatchScalarVel (CFDSim &sim)
 
 ~VortexPatchScalarVel () override=default
 
void initialize_fields (int level, const amrex::Geometry &geom) override
 Initialize the levelset and velocity fields for Vortex Patch simulations.
 
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
 
Fieldm_velocity
 
Fieldm_levelset
 
Fieldm_density
 
amrex::Vector< amrex::Real > m_loc {0.35, 0.35, 0.35}
 Initial VortexPatchScalarVel location.
 
amrex::Real m_radius {0.15}
 vortex patch radius value
 
amrex::Real m_sfactor {1.0}
 smoothing factor
 
amrex::Real m_TT {3.0}
 prescribed velocity period
 

Constructor & Destructor Documentation

◆ VortexPatchScalarVel()

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

◆ ~VortexPatchScalarVel()

amr_wind::VortexPatchScalarVel::~VortexPatchScalarVel ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize_fields()

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

Initialize the levelset and velocity fields for Vortex Patch simulations.

Initialize the velocity and levelset fields at the beginning of the simulation.

See also
amr_wind::VortexPatchScalarVelFieldInit

◆ post_advance_work()

void amr_wind::VortexPatchScalarVel::post_advance_work ( )
override

◆ post_init_actions()

void amr_wind::VortexPatchScalarVel::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::VortexPatchScalarVel::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::VortexPatchScalarVel::pre_advance_work ( )
override

Member Data Documentation

◆ m_density

Field& amr_wind::VortexPatchScalarVel::m_density
private

◆ m_levelset

Field& amr_wind::VortexPatchScalarVel::m_levelset
private

◆ m_loc

amrex::Vector<amrex::Real> amr_wind::VortexPatchScalarVel::m_loc {0.35, 0.35, 0.35}
private

Initial VortexPatchScalarVel location.

◆ m_radius

amrex::Real amr_wind::VortexPatchScalarVel::m_radius {0.15}
private

vortex patch radius value

◆ m_sfactor

amrex::Real amr_wind::VortexPatchScalarVel::m_sfactor {1.0}
private

smoothing factor

◆ m_sim

const CFDSim& amr_wind::VortexPatchScalarVel::m_sim
private

◆ m_TT

amrex::Real amr_wind::VortexPatchScalarVel::m_TT {3.0}
private

prescribed velocity period

◆ m_velocity

Field& amr_wind::VortexPatchScalarVel::m_velocity
private

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