chrono::fsi::WaveTankParabolicBeach Class Reference

Description

Predefined wave tank profile with a parabolic beach.

Defines the tank bottom profile as:

h = 0,                       if x < x_start
h = alpha * sqrt(x-x_start), if x > x_start

#include <ChFsiProblemSPH.h>

Inheritance diagram for chrono::fsi::WaveTankParabolicBeach:
Collaboration diagram for chrono::fsi::WaveTankParabolicBeach:

Public Member Functions

 WaveTankParabolicBeach (double x_start, double alpha)
 
virtual double operator() (double x)
 Set bottom height at specified downstream location (must be non-negative). More...
 

Member Function Documentation

◆ operator()()

virtual double chrono::fsi::WaveTankParabolicBeach::operator() ( double  x)
inlinevirtual

Set bottom height at specified downstream location (must be non-negative).

Default implementation corresponds to a tank with horizontal bottom.

Implements chrono::fsi::ChFsiProblemCartesian::WaveTankProfile.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fsi/sph/ChFsiProblemSPH.h