The inertia term of the Navier-Stokes equation with the discontinuous Galerkin method – di Pietro & Ern variant.
The inertia term of the Navier-Stokes equation with the discontinuous Galerkin method – di Pietro & Ern variant
template<class W, class U, class V>
integrate_option iopt = integrate_option())
{
return
integrate (dot(grad_h(
u)*w,v) + 0.5*div_h(w)*dot(
u,v), iopt)
+ integrate (
"boundary", - 0.5*dot(w,normal())*dot(
u,v), iopt)
+ integrate ("internal_sides",
- dot(average(w),normal())*dot(jump(
u),average(v))
- 0.5*dot(jump(w),normal())
*(dot(average(
u),average(v)) + 0.25*dot(jump(
u),jump(v))), iopt);
}
integrate_option iopt = integrate_option())
{
return integrate(
"boundary", - 0.5*dot(
g(),normal())*dot(
g(),v), iopt);
}
see the field page for the full documentation
see the test page for the full documentation
form inertia(W w, U u, V v, integrate_option iopt=integrate_option())
field inertia_fix_rhs(test v, integrate_option iopt=integrate_option())