CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Alter simpleFoam, so that it solves for gradP (https://www.cfd-online.com/Forums/openfoam-solving/130964-alter-simplefoam-so-solves-gradp.html)

MaLa March 6, 2014 12:54

Alter simpleFoam, so that it solves for gradP
 
Hello all.

I wish to alter simpleFoam solver so that it solves for gradP (=grad(p)) as a variable, instead of solving for p. In effect, I do not wish to have p as an IOobject. Instead, gradP should be there.

What changes should I make? Thanks.


All times are GMT -4. The time now is 20:56.