OceanWaves Class Reference

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

#include <OceanWaves.H>

Inheritance diagram for amr_wind::ocean_waves::OceanWaves:
[legend]
Collaboration diagram for amr_wind::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 post_advance_work () override
 

Static Public Member Functions

static std::string identifier ()
 

Protected Member Functions

virtual void prepare_outputs ()
 

Private Member Functions

void relaxation_zones ()
 

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.
 

Detailed Description

ocean waves modeling

This class provides an interface to model

See also
WaveModel

Constructor & Destructor Documentation

◆ OceanWaves()

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

◆ ~OceanWaves()

amr_wind::ocean_waves::OceanWaves::~OceanWaves ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::ocean_waves::OceanWaves::identifier ( )
inlinestatic

◆ initialize_fields()

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

◆ post_advance_work()

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

◆ post_init_actions()

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

◆ post_regrid_actions()

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

◆ pre_advance_work()

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

◆ pre_init_actions()

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

◆ prepare_outputs()

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

◆ relaxation_zones()

void amr_wind::ocean_waves::OceanWaves::relaxation_zones ( )
private

Update ocean waves relaxation zones

Member Data Documentation

◆ m_ow_levelset

Field& amr_wind::ocean_waves::OceanWaves::m_ow_levelset
private

Ocean waves target free surface levelset function.

◆ m_ow_velocity

Field& amr_wind::ocean_waves::OceanWaves::m_ow_velocity
private

Ocean waves target velocity.

◆ m_ow_vof

Field& amr_wind::ocean_waves::OceanWaves::m_ow_vof
private

Ocean waves target volume-of-fluid.

◆ m_owm

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

Unique pointer to the ocean waves model.

◆ m_sim

CFDSim& amr_wind::ocean_waves::OceanWaves::m_sim
private

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