The inertia term of the Navier-Stokes equation with the discontinuous Galerkin method – upwinding variant.
The inertia term of the Navier-Stokes equation with the discontinuous Galerkin method – upwinding variant
integrate_option iopt = integrate_option())
{
return integrate ("internal_sides",
0.5*abs(dot(average(w),normal()))*dot(jump(
u),jump(v)));
}
integrate_option iopt = integrate_option())
{
return integrate ("internal_sides",
0.5*compose (
sgn, dot(average(w),normal()))
*dot(average(dw),normal())*dot(jump(
u),jump(v)));
}
see the field page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
form d_inertia_upw(field w, trial dw, field u, test v, integrate_option iopt=integrate_option())
form inertia_upw(field w, trial u, test v, integrate_option iopt=integrate_option())