Steady-state solution for Ringleb flow. More...
#include <Spacetime_func.hpp>
Public Member Functions | |
Ringleb (double root_tolerance=1e-12, double heat_ratio=1.4) | |
std::vector< double > | operator() (std::vector< double > pos, double time) const override |
![]() | |
int | n_var (int n_dim) const override |
number of output variables when called on n_dim -dimensional input | |
std::string | variable_name (int n_dim, int i_var) const override |
name of i_var th variable (for plotting) when called on n_dim -dimensional input | |
![]() | |
std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state) const override |
![]() | |
std::vector< double > | operator() (Element &, const Basis &, int i_qpoint, double time) const override |
std::vector< double > | operator() (std::vector< double > pos, double time, std::vector< double > state, std::vector< double > outward_normal) const override |
normal is surface unit normal vector pointing out of the surface (into the domain). | |
![]() | |
std::vector< double > | operator() (Boundary_connection &, int i_fqpoint, double time) const override |
Steady-state solution for Ringleb flow.
Ringleb flow is a steady, sub/transonic, isentropic inviscid flow. Exact solution is available as a closed form for position in terms of velocity and stream function. This Spacetime_func
gives you state as a function of position using a numerical root finder, so be sure to set the tolerance if you care where you stand on the accuracy/speed tradeoff.
|
overridevirtual |
Implements hexed::Spacetime_func.