// Construct the Momentum equation tmp UEqn ( fvm::div(phi, U) + turbulence->divDevReff() ); UEqn().relax(); // Include the porous media resistance and solve the momentum equation // either implicit in the tensorial resistance or transport using by // including the spherical part of the resistance in the momentum diagonal tmp trAU; tmp trTU; if (pressureImplicitPorosity) { tmp tTU = tensor(I)*UEqn().A(); pZones.addResistance(UEqn(), tTU()); trTU = inv(tTU()); trTU().rename("rAU"); volVectorField gradp = fvc::grad(p); for (int UCorr=0; UCorr