VortexDipole Class Reference

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

#include <VortexDipole.H>

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

Public Member Functions

 VortexDipole (const CFDSim &sim)
 
 ~VortexDipole () 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
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

Fieldm_velocity
 
Fieldm_density
 
amrex::Real m_rho {1.0}
 initial density value
 
amrex::Vector< amrex::Real > m_loc_left {-0.1, 0., 0.}
 Initial location of the left vortex.
 
amrex::Vector< amrex::Real > m_loc_right {0.1, 0., 0.}
 Initial location of the right vortex.
 
amrex::Real m_omegaEmag {299.5283853752}
 Initial vorticity.
 
amrex::Real m_r0 {0.1}
 Vortex.
 

Detailed Description

Vortex dipole Physics

Constructor & Destructor Documentation

◆ VortexDipole()

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

◆ ~VortexDipole()

amr_wind::VortexDipole::~VortexDipole ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize_fields()

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

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

◆ post_advance_work()

void amr_wind::VortexDipole::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::VortexDipole::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::VortexDipole::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::VortexDipole::pre_advance_work ( )
inlineoverride

Member Data Documentation

◆ m_density

Field& amr_wind::VortexDipole::m_density
private

◆ m_loc_left

amrex::Vector<amrex::Real> amr_wind::VortexDipole::m_loc_left {-0.1, 0., 0.}
private

Initial location of the left vortex.

◆ m_loc_right

amrex::Vector<amrex::Real> amr_wind::VortexDipole::m_loc_right {0.1, 0., 0.}
private

Initial location of the right vortex.

◆ m_omegaEmag

amrex::Real amr_wind::VortexDipole::m_omegaEmag {299.5283853752}
private

Initial vorticity.

◆ m_r0

amrex::Real amr_wind::VortexDipole::m_r0 {0.1}
private

Vortex.

◆ m_rho

amrex::Real amr_wind::VortexDipole::m_rho {1.0}
private

initial density value

◆ m_velocity

Field& amr_wind::VortexDipole::m_velocity
private

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