ZalesakDisk Class Reference

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

#include <ZalesakDisk.H>

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

Public Member Functions

 ZalesakDisk (CFDSim &sim)
 
 ~ZalesakDisk () 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.5, 0.72, 0.24}
 Initial ZalesakDisk location.
 
amrex::Real m_radius {0.16}
 sphere radius value
 
amrex::Real m_halfwidth {0.04}
 slot half width value
 
amrex::Real m_depth {0.2}
 slot depth
 
amrex::Real m_TT {6.0}
 prescribed velocity period
 

Constructor & Destructor Documentation

◆ ZalesakDisk()

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

◆ ~ZalesakDisk()

amr_wind::ZalesakDisk::~ZalesakDisk ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize_fields()

void amr_wind::ZalesakDisk::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::ZalesakDiskFieldInit

◆ post_advance_work()

void amr_wind::ZalesakDisk::post_advance_work ( )
override

◆ post_init_actions()

void amr_wind::ZalesakDisk::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::ZalesakDisk::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::ZalesakDisk::pre_advance_work ( )
override

Member Data Documentation

◆ m_density

Field& amr_wind::ZalesakDisk::m_density
private

◆ m_depth

amrex::Real amr_wind::ZalesakDisk::m_depth {0.2}
private

slot depth

◆ m_halfwidth

amrex::Real amr_wind::ZalesakDisk::m_halfwidth {0.04}
private

slot half width value

◆ m_levelset

Field& amr_wind::ZalesakDisk::m_levelset
private

◆ m_loc

amrex::Vector<amrex::Real> amr_wind::ZalesakDisk::m_loc {0.5, 0.72, 0.24}
private

Initial ZalesakDisk location.

◆ m_radius

amrex::Real amr_wind::ZalesakDisk::m_radius {0.16}
private

sphere radius value

◆ m_sim

const CFDSim& amr_wind::ZalesakDisk::m_sim
private

◆ m_TT

amrex::Real amr_wind::ZalesakDisk::m_TT {6.0}
private

prescribed velocity period

◆ m_velocity

Field& amr_wind::ZalesakDisk::m_velocity
private

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