Commit eb2cfa5f authored by Antonio Cervone's avatar Antonio Cervone
Browse files

bugfix in navier-stokes cylinder example.

the offset in bchandler was not properly set.
parent fb2daff4
...@@ -446,7 +446,7 @@ Cylinder::run() ...@@ -446,7 +446,7 @@ Cylinder::run()
if (verbose) std::cout << "Calling the fluid constructor ... "; if (verbose) std::cout << "Calling the fluid constructor ... ";
bcH.setOffset("Inlet", totalVelDof + totalPressDof); bcH.setOffset( "Inlet", totalVelDof + totalPressDof - 1 );
OseenSolver< mesh_Type > fluid (oseenData, OseenSolver< mesh_Type > fluid (oseenData,
*uFESpacePtr, *uFESpacePtr,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment