The Stokes problem on the obstacle benchmark with slip boundary condition – the Taylor-Hood element.
The Stokes problem on the obstacle benchmark with slip boundary condition – the Taylor-Hood element
int main(
int argc,
char**argv) {
Float eps = (argc > 2) ? atof(argv[2]) : 1e-7;
space Xh (omega,
"P2",
"vector");
Xh.block ("downstream");
Xh[1].block ("wall");
Xh[1].block ("axis");
Xh[1].block ("vaxis");
form a = integrate (2*ddot(D(
u),D(v)))
form b = integrate (-div(
u)*q);
uh[0]["downstream"] = 1;
}
see the Float page for the full documentation
see the field page for the full documentation
see the geo page for the full documentation
see the point page for the full documentation
see the problem_mixed page for the full documentation
see the catchmark page for the full documentation
see the environment page for the full documentation
see the space page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
This file is part of Rheolef.
rheolef - reference manual
point n_exact(const point &x)