/home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/relaxation_zones/stokes_waves_K.H File Reference

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/relaxation_zones/stokes_waves_K.H File Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
stokes_waves_K.H File Reference
#include <AMReX_FArrayBox.H>
#include <cmath>
Include dependency graph for stokes_waves_K.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  amr_wind
 
namespace  amr_wind::ocean_waves
 
namespace  amr_wind::ocean_waves::relaxation_zones
 

Functions

AMREX_FORCE_INLINE amrex::Real amr_wind::ocean_waves::relaxation_zones::stokes_wave_length (const amrex::Real T, const amrex::Real d, const amrex::Real H, const int order, const amrex::Real g, const amrex::Real tol, const int iter_max)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::ocean_waves::relaxation_zones::stokes_coefficients (int stokes_order, amrex::Real wavenumber, amrex::Real water_depth, amrex::Real &c0, amrex::Real &a11, amrex::Real &a22, amrex::Real &b22, amrex::Real &c2, amrex::Real &a31, amrex::Real &a33, amrex::Real &b31, amrex::Real &a42, amrex::Real &a44, amrex::Real &b42, amrex::Real &b44, amrex::Real &c4, amrex::Real &a51, amrex::Real &a53, amrex::Real &a55, amrex::Real &b53, amrex::Real &b55)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amr_wind::ocean_waves::relaxation_zones::stokes_waves (int stokes_order, amrex::Real wavelength, amrex::Real water_depth, amrex::Real wave_height, amrex::Real zsl, amrex::Real g, amrex::Real x, amrex::Real z, amrex::Real time, amrex::Real phase_offset, amrex::Real &eta, amrex::Real &u_w, amrex::Real &v_w, amrex::Real &w_w)