2 // Setting pressure on solid patch
3 Info << "Setting pressure" << endl;
5 scalarField solidPatchPressure =
6 interpolatorFluidSolid.faceInterpolate
8 p.boundaryField()[fluidPatchID]
11 solidPatchPressure *= rhoFluid.value();
13 tForce.pressure() = solidPatchPressure;
16 vector totalPressureForce =
19 p.boundaryField()[fluidPatchID]*
20 mesh.Sf().boundaryField()[fluidPatchID]
24 Info << "Total pressure force = " << totalPressureForce << endl;