Hello!
I am using OpenFOAM 5.x mingw-w64 and have tried this object function and it worked fine.
However, I am quite dubious about the values I should use on it. I found some guidance here: OpenFOAM: API Guide: pressure Class Reference
What I exactly wrote follows:
pressure1
{
type pressure;
libs ("libfieldFunctionObjects.so");
mode totalCoeff;
result winCp;
calcTotal yes;
calcCoeff yes;
pRef 0; //got from the OpenFoam API Guide v1912 link
pInf 100000; //same as in Post
UInf (0 1.1 0); //my initial velocity
rhoInf 100000;
rho rhoInf;
}
Can anyone with experience in the matter confirm if this is right, or where could I find a good literature to use, please?
I even posted a new Topic on the same subject:
Thank you very much.
Nayara