Commit 432136ff authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Merge branch 'fix/MakeEl2pTestMoreGeneric' into 'releases/2.12'

[fix/MakeEl2pTestMoreGeneric] Simplify change from 3D to 2D

See merge request !704
parents 8888c221 e5d24ccd
......@@ -485,7 +485,10 @@ public:
// Lower boundary closed for brine and CO2 flux, uz is fixed.
if(globalPos[dimWorld-1] < eps_)
{
values.setDirichlet(uzIdx);
if(dim == 2)
values.setDirichlet(uyIdx);
if(dim == 3)
values.setDirichlet(uzIdx);
}
// for the initialization run the pressure and saturation
......
Supports Markdown
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