SloshingTank Class Reference

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

#include <SloshingTank.H>

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

Public Member Functions

 SloshingTank (CFDSim &sim)
 
 ~SloshingTank () 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_levelset
 
amrex::Real m_amplitude {0.1}
 Initial free surface amplitude magnitude.
 
amrex::Real m_kappa {0.25}
 Peak enhancement factor.
 
amrex::Real m_waterlevel {0.0}
 Initial zero-level free-surface water depth.
 

Constructor & Destructor Documentation

◆ SloshingTank()

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

◆ ~SloshingTank()

amr_wind::SloshingTank::~SloshingTank ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize_fields()

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

Initialize the levelset and velocity fields for Sloshing Tank simulations

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

◆ post_advance_work()

void amr_wind::SloshingTank::post_advance_work ( )
inlineoverride

◆ post_init_actions()

void amr_wind::SloshingTank::post_init_actions ( )
inlineoverride

◆ post_regrid_actions()

void amr_wind::SloshingTank::post_regrid_actions ( )
inlineoverride

◆ pre_advance_work()

void amr_wind::SloshingTank::pre_advance_work ( )
inlineoverride

Member Data Documentation

◆ m_amplitude

amrex::Real amr_wind::SloshingTank::m_amplitude {0.1}
private

Initial free surface amplitude magnitude.

◆ m_kappa

amrex::Real amr_wind::SloshingTank::m_kappa {0.25}
private

Peak enhancement factor.

◆ m_levelset

Field& amr_wind::SloshingTank::m_levelset
private

◆ m_velocity

Field& amr_wind::SloshingTank::m_velocity
private

◆ m_waterlevel

amrex::Real amr_wind::SloshingTank::m_waterlevel {0.0}
private

Initial zero-level free-surface water depth.


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