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
 Initialize the levelset and velocity fields for Sloshing Tank 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
Fieldm_pressure
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.
bool m_init_p {false}
amrex::Real m_rho1 {1000.}
 Stuff to get from MultiPhase physics.
amrex::Real m_rho2 {1.}
amrex::Vector< amrex::Real > m_gravity {0.0, 0.0, -9.81}

Constructor & Destructor Documentation

◆ SloshingTank()

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

◆ ~SloshingTank()

amr_wind::SloshingTank::~SloshingTank ( )
overridedefault

Member Function Documentation

◆ identifier()

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_gravity

amrex::Vector<amrex::Real> amr_wind::SloshingTank::m_gravity {0.0, 0.0, -9.81}
private

◆ m_init_p

bool amr_wind::SloshingTank::m_init_p {false}
private

◆ 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_pressure

Field& amr_wind::SloshingTank::m_pressure
private

◆ m_rho1

amrex::Real amr_wind::SloshingTank::m_rho1 {1000.}
private

Stuff to get from MultiPhase physics.

◆ m_rho2

amrex::Real amr_wind::SloshingTank::m_rho2 {1.}
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