Public Member Functions | |
OscillatingWall (const double &h, const double &x_left, const double &l, const double &a, const double &period, Time *time_pt) | |
Constructor : It's a 2D object, parametrised by one Lagrangian coordinate. Arguments: height at ends, x-coordinate of left end, length, amplitude of deflection, period of oscillation, and pointer to time object. More... | |
~OscillatingWall () | |
Destructor: Empty. More... | |
double & | amplitude () |
Access function to the amplitude. More... | |
double & | period () |
Access function to the period. More... | |
void | position (const unsigned &t, const Vector< double > &zeta, Vector< double > &r) const |
Position vector at Lagrangian coordinate zeta at time level t. More... | |
void | position (const Vector< double > &zeta, Vector< double > &r) const |
"Current" position vector at Lagrangian coordinate zeta More... | |
unsigned | ngeom_data () const |
Number of geometric Data in GeomObject: None. More... | |
OscillatingWall (const double &h, const double &x_left, const double &l, const double &a, const double &period, Time *time_pt) | |
Constructor : It's a 2D object, parametrised by one Lagrangian coordinate. Arguments: height at ends, x-coordinate of left end, length, amplitude of deflection, period of oscillation, and pointer to time object. More... | |
~OscillatingWall () | |
Destructor: Empty. More... | |
double & | amplitude () |
Access function to the amplitude. More... | |
double & | period () |
Access function to the period. More... | |
void | position (const unsigned &t, const Vector< double > &zeta, Vector< double > &r) const |
Position vector at Lagrangian coordinate zeta at time level t. More... | |
void | position (const Vector< double > &zeta, Vector< double > &r) const |
"Current" position vector at Lagrangian coordinate zeta More... | |
unsigned | ngeom_data () const |
Number of geometric Data in GeomObject: None. More... | |
Private Attributes | |
double | H |
Height at ends. More... | |
double | Length |
Length. More... | |
double | X_left |
x-coordinate of left end More... | |
double | A |
Amplitude of oscillation. More... | |
double | B |
Relative amplitude of horizontal wall motion. More... | |
double | T |
Period of the oscillations. More... | |
Time * | Time_pt |
Pointer to the global time object. More... | |
Straight, horizontal channel wall at deforms into an oscillating parabola. The amplitude of the oscillation
and its period is
. The position vector to a point on the wall, parametrised by the Lagrangian coordinate
, is therefore given by
The parameter is zero by default. If it is set to a nonzero value, the material particles on the wall also perform some horizontal motion. The "ramp" function
provides a "smooth" startup of the oscillation.
Straight, horizontal channel wall at deforms into an oscillating parabola. The amplitude of the oscillation
and its period is
. The position vector to a point on the wall, parametrised by the Lagrangian coordinate
, is therefore given by
The parameter is zero by default. If it is set to a nonzero value, the material particles on the wall also perform some horizontal motion. The "ramp" function
provides a "smooth" startup of the oscillation.
Definition at line 120 of file collapsible_channel.cc.
|
inline |
Constructor : It's a 2D object, parametrised by one Lagrangian coordinate. Arguments: height at ends, x-coordinate of left end, length, amplitude of deflection, period of oscillation, and pointer to time object.
Definition at line 129 of file collapsible_channel.cc.
|
inline |
Destructor: Empty.
Definition at line 136 of file collapsible_channel.cc.
|
inline |
Constructor : It's a 2D object, parametrised by one Lagrangian coordinate. Arguments: height at ends, x-coordinate of left end, length, amplitude of deflection, period of oscillation, and pointer to time object.
Definition at line 130 of file collapsible_channel_algebraic.cc.
|
inline |
Destructor: Empty.
Definition at line 137 of file collapsible_channel_algebraic.cc.
|
inline |
Access function to the amplitude.
Definition at line 139 of file collapsible_channel.cc.
|
inline |
Access function to the amplitude.
Definition at line 140 of file collapsible_channel_algebraic.cc.
|
inline |
Number of geometric Data in GeomObject: None.
Definition at line 176 of file collapsible_channel.cc.
|
inline |
Number of geometric Data in GeomObject: None.
Definition at line 177 of file collapsible_channel_algebraic.cc.
References Global_Physical_Variables::P_up, Global_Physical_Variables::prescribed_traction(), Global_Physical_Variables::Re, and Global_Physical_Variables::ReSt.
|
inline |
Access function to the period.
Definition at line 142 of file collapsible_channel.cc.
|
inline |
Access function to the period.
Definition at line 143 of file collapsible_channel_algebraic.cc.
|
inline |
Position vector at Lagrangian coordinate zeta at time level t.
Definition at line 146 of file collapsible_channel.cc.
|
inline |
Position vector at Lagrangian coordinate zeta at time level t.
Definition at line 147 of file collapsible_channel_algebraic.cc.
|
inline |
"Current" position vector at Lagrangian coordinate zeta
Definition at line 170 of file collapsible_channel.cc.
|
inline |
"Current" position vector at Lagrangian coordinate zeta
Definition at line 171 of file collapsible_channel_algebraic.cc.
|
private |
Amplitude of oscillation.
Definition at line 190 of file collapsible_channel.cc.
|
private |
Relative amplitude of horizontal wall motion.
Definition at line 193 of file collapsible_channel.cc.
|
private |
Height at ends.
Definition at line 181 of file collapsible_channel.cc.
|
private |
Length.
Definition at line 184 of file collapsible_channel.cc.
|
private |
Period of the oscillations.
Definition at line 196 of file collapsible_channel.cc.
|
private |
Pointer to the global time object.
Definition at line 199 of file collapsible_channel.cc.
|
private |
x-coordinate of left end
Definition at line 187 of file collapsible_channel.cc.