Rheolef  7.2
an efficient C++ finite element environment
navier_stokes_criterion.icc

The Navier-Stokes equations – adaptive mesh criterion.

The Navier-Stokes equations – adaptive mesh criterion

space T0h (uh.get_geo(), "P1d");
return lazy_interpolate (T0h, sqrt(Re*norm2(uh) + 4*norm2(D(uh))));
}
see the Float page for the full documentation
see the field page for the full documentation
see the space page for the full documentation
std::enable_if< details::has_field_rdof_interface< Expr >::value, details::field_expr_v2_nonlinear_terminal_field< typenameExpr::scalar_type, typenameExpr::memory_type, details::differentiate_option::gradient > >::type D(const Expr &expr)
D(uh): see the expression page for the full documentation.
field_basic< T, M > lazy_interpolate(const space_basic< T, M > &X2h, const field_basic< T, M > &u1h)
see the interpolate page for the full documentation
Definition: field.h:871
T norm2(const vec< T, M > &x)
norm2(x): see the expression page for the full documentation
Definition: vec.h:379
field navier_stokes_criterion(Float Re, const field &uh)