chrono::fsi::WaveTankRampBeach Class Reference

Description

Predefined wave tank profile with a ramp beach.

Defines the tank bottom profile as:

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

#include <ChFsiProblemSPH.h>

Inheritance diagram for chrono::fsi::WaveTankRampBeach:
Collaboration diagram for chrono::fsi::WaveTankRampBeach:

Public Member Functions

 WaveTankRampBeach (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::WaveTankRampBeach::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