OceanWavesBoundary Class Reference

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

#include <OceanWavesBoundary.H>

Collaboration diagram for amr_wind::OceanWavesBoundary:
[legend]

Public Member Functions

 OceanWavesBoundary (CFDSim &)
 
void post_init_actions ()
 
void set_velocity (const int lev, const amrex::Real time, const Field &fld, amrex::MultiFab &mfab, const int dcomp=0, const int orig_comp=0) const
 
void set_vof (const int lev, const amrex::Real time, const Field &fld, amrex::MultiFab &mfab) const
 
void set_density (const int lev, const amrex::Real time, const Field &fld, amrex::MultiFab &mfab) const
 
void record_boundary_data_time (const amrex::Real time)
 
amrex::Real get_boundary_data_time () const
 

Private Attributes

const amr_wind::SimTimem_time
 
const FieldRepom_repo
 
const amrex::AmrCore & m_mesh
 
Fieldm_ow_velocity
 
Fieldm_ow_vof
 
bool m_activate_ow_bndry {true}
 
amrex::Real m_bndry_time {0.0}
 
amrex::Real m_rho1 {-1.0}
 

Detailed Description

Interface for Ocean Waves boundary data

This class performs the necessary field operations to provide available wave data at the boundaries

Constructor & Destructor Documentation

◆ OceanWavesBoundary()

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

Member Function Documentation

◆ get_boundary_data_time()

amrex::Real amr_wind::OceanWavesBoundary::get_boundary_data_time ( ) const
inline

◆ post_init_actions()

void amr_wind::OceanWavesBoundary::post_init_actions ( )

◆ record_boundary_data_time()

void amr_wind::OceanWavesBoundary::record_boundary_data_time ( const amrex::Real time)
inline

◆ set_density()

void amr_wind::OceanWavesBoundary::set_density ( const int lev,
const amrex::Real time,
const Field & fld,
amrex::MultiFab & mfab ) const

◆ set_velocity()

void amr_wind::OceanWavesBoundary::set_velocity ( const int lev,
const amrex::Real time,
const Field & fld,
amrex::MultiFab & mfab,
const int dcomp = 0,
const int orig_comp = 0 ) const

◆ set_vof()

void amr_wind::OceanWavesBoundary::set_vof ( const int lev,
const amrex::Real time,
const Field & fld,
amrex::MultiFab & mfab ) const

Member Data Documentation

◆ m_activate_ow_bndry

bool amr_wind::OceanWavesBoundary::m_activate_ow_bndry {true}
private

◆ m_bndry_time

amrex::Real amr_wind::OceanWavesBoundary::m_bndry_time {0.0}
private

◆ m_mesh

const amrex::AmrCore& amr_wind::OceanWavesBoundary::m_mesh
private

◆ m_ow_velocity

Field& amr_wind::OceanWavesBoundary::m_ow_velocity
private

◆ m_ow_vof

Field& amr_wind::OceanWavesBoundary::m_ow_vof
private

◆ m_repo

const FieldRepo& amr_wind::OceanWavesBoundary::m_repo
private

◆ m_rho1

amrex::Real amr_wind::OceanWavesBoundary::m_rho1 {-1.0}
private

◆ m_time

const amr_wind::SimTime& amr_wind::OceanWavesBoundary::m_time
private

The documentation for this class was generated from the following files: