RainDrop Class Reference

Kynema-SGF API: kynema_sgf::RainDrop Class Reference
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <RainDrop.H>

Inheritance diagram for kynema_sgf::RainDrop:
[legend]
Collaboration diagram for kynema_sgf::RainDrop:
[legend]

Public Member Functions

 RainDrop (CFDSim &sim)
 ~RainDrop () override=default
void initialize_fields (int level, const amrex::Geometry &geom) override
 Initialize the levelset and velocity fields for Rain Drop 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

Fieldm_velocity
Fieldm_levelset
CFDSimm_sim
 Not const because calculation of VOF takes place during initialize.
amrex::Vector< amrex::Real > m_loc {0.006_rt, 0.006_rt, 0.006_rt}
 Initial Rain Drop location.
amrex::Vector< amrex::Real > m_vel {0.0_rt, 0.0_rt, 0.0_rt}
 Initial Rain Drop velocity.
amrex::Real m_radius {0.003_rt}
 Raindrop radius value.

Constructor & Destructor Documentation

◆ RainDrop()

kynema_sgf::RainDrop::RainDrop ( CFDSim & sim)
explicit

◆ ~RainDrop()

kynema_sgf::RainDrop::~RainDrop ( )
overridedefault

Member Function Documentation

◆ identifier()

std::string kynema_sgf::RainDrop::identifier ( )
inlinestatic

◆ initialize_fields()

void kynema_sgf::RainDrop::initialize_fields ( int level,
const amrex::Geometry & geom )
override

Initialize the levelset and velocity fields for Rain Drop simulations.

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

See also
kynema_sgf::RainDropFieldInit

◆ post_advance_work()

void kynema_sgf::RainDrop::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void kynema_sgf::RainDrop::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void kynema_sgf::RainDrop::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void kynema_sgf::RainDrop::pre_advance_work ( )
inlineoverride

Member Data Documentation

◆ m_levelset

Field& kynema_sgf::RainDrop::m_levelset
private

◆ m_loc

amrex::Vector<amrex::Real> kynema_sgf::RainDrop::m_loc {0.006_rt, 0.006_rt, 0.006_rt}
private

Initial Rain Drop location.

◆ m_radius

amrex::Real kynema_sgf::RainDrop::m_radius {0.003_rt}
private

Raindrop radius value.

◆ m_sim

CFDSim& kynema_sgf::RainDrop::m_sim
private

Not const because calculation of VOF takes place during initialize.

◆ m_vel

amrex::Vector<amrex::Real> kynema_sgf::RainDrop::m_vel {0.0_rt, 0.0_rt, 0.0_rt}
private

Initial Rain Drop velocity.

◆ m_velocity

Field& kynema_sgf::RainDrop::m_velocity
private

The documentation for this class was generated from the following files:
  • /home/runner/work/kynema-sgf/kynema-sgf/src/physics/multiphase/RainDrop.H
  • /home/runner/work/kynema-sgf/kynema-sgf/src/physics/multiphase/RainDrop.cpp