4#ifndef lethe_stabilization_h
5#define lethe_stabilization_h
9#include <deal.II/base/utilities.h>
27 const double kinematic_viscosity,
30 return 1. / std::sqrt(Utilities::fixed_power<2>(2. * u_mag / h) +
31 9 * Utilities::fixed_power<2>(4 * kinematic_viscosity /
50 const double kinematic_viscosity,
54 return 1. / std::sqrt(Utilities::fixed_power<2>(sdt) +
55 Utilities::fixed_power<2>(2. * u_mag / h) +
56 9 * Utilities::fixed_power<2>(4 * kinematic_viscosity /
void moe_scalar_limiter(const DoFHandler< dim > &dof_handler, GlobalVectorType &locally_relevant_vector, GlobalVectorType &locally_owned_vector)
Implements a Moe a posteriori shock capturing method to keep the field bounded. This limiter is only ...
double calculate_navier_stokes_gls_tau_transient(const double u_mag, const double kinematic_viscosity, const double h, const double sdt)
Calculate the stabilization parameter for the transient Navier-Stokes equations.
double calculate_navier_stokes_gls_tau_steady(const double u_mag, const double kinematic_viscosity, const double h)
Calculate the stabilization parameter for the Navier-Stokes equations in steady-state.
dealii::TrilinosWrappers::MPI::Vector GlobalVectorType