OceanWaves Class Reference

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

#include <OceanWaves.H>

Inheritance diagram for kynema_sgf::ocean_waves::OceanWaves:
[legend]
Collaboration diagram for kynema_sgf::ocean_waves::OceanWaves:
[legend]

Public Member Functions

 OceanWaves (CFDSim &)
 ~OceanWaves () override
void initialize_fields (int, const amrex::Geometry &) override
void pre_init_actions () override
void post_init_actions () override
void post_regrid_actions () override
void pre_advance_work () override
void pre_predictor_work () override
void post_advance_work () override

Static Public Member Functions

static std::string identifier ()

Protected Member Functions

virtual void prepare_outputs ()

Private Attributes

CFDSimm_sim
std::unique_ptr< OceanWavesModelm_owm
 Unique pointer to the ocean waves model.
Fieldm_ow_levelset
 Ocean waves target free surface levelset function.
Fieldm_ow_vof
 Ocean waves target volume-of-fluid.
Fieldm_ow_velocity
 Ocean waves target velocity.
bool m_multiphase_mode {true}
 Multiphase mode forces the velocity and vof in the domain When off, single-phase mode simply provides the target variables, and forcing is handled in other parts of the code.

Detailed Description

ocean waves modeling

This class provides an interface to model

See also
WaveModel

Constructor & Destructor Documentation

◆ OceanWaves()

kynema_sgf::ocean_waves::OceanWaves::OceanWaves ( CFDSim & sim)
explicit

◆ ~OceanWaves()

kynema_sgf::ocean_waves::OceanWaves::~OceanWaves ( )
overridedefault

Member Function Documentation

◆ identifier()

std::string kynema_sgf::ocean_waves::OceanWaves::identifier ( )
inlinestatic

◆ initialize_fields()

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

◆ post_advance_work()

void kynema_sgf::ocean_waves::OceanWaves::post_advance_work ( )
override

◆ post_init_actions()

void kynema_sgf::ocean_waves::OceanWaves::post_init_actions ( )
override

◆ post_regrid_actions()

void kynema_sgf::ocean_waves::OceanWaves::post_regrid_actions ( )
override

◆ pre_advance_work()

void kynema_sgf::ocean_waves::OceanWaves::pre_advance_work ( )
override

◆ pre_init_actions()

void kynema_sgf::ocean_waves::OceanWaves::pre_init_actions ( )
override

◆ pre_predictor_work()

void kynema_sgf::ocean_waves::OceanWaves::pre_predictor_work ( )
override

◆ prepare_outputs()

void kynema_sgf::ocean_waves::OceanWaves::prepare_outputs ( )
protectedvirtual

Member Data Documentation

◆ m_multiphase_mode

bool kynema_sgf::ocean_waves::OceanWaves::m_multiphase_mode {true}
private

Multiphase mode forces the velocity and vof in the domain When off, single-phase mode simply provides the target variables, and forcing is handled in other parts of the code.

◆ m_ow_levelset

Field& kynema_sgf::ocean_waves::OceanWaves::m_ow_levelset
private

Ocean waves target free surface levelset function.

◆ m_ow_velocity

Field& kynema_sgf::ocean_waves::OceanWaves::m_ow_velocity
private

Ocean waves target velocity.

◆ m_ow_vof

Field& kynema_sgf::ocean_waves::OceanWaves::m_ow_vof
private

Ocean waves target volume-of-fluid.

◆ m_owm

std::unique_ptr<OceanWavesModel> kynema_sgf::ocean_waves::OceanWaves::m_owm
private

Unique pointer to the ocean waves model.

◆ m_sim

CFDSim& kynema_sgf::ocean_waves::OceanWaves::m_sim
private

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