- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **How to compute the second derivative of pressure**
(*http://www.cfd-online.com/Forums/openfoam-solving/58177-how-compute-second-derivative-pressure.html*)

Hi All,
I would like computHi All,
I would like compute the second derivative of p with respect to x, y and z and also impose a boundary condition that the second derivative of p wrt the normal direction is zero at the outlets. Where should I start? Anyone solved a similar problem? Any help will be very much appreciated. Thanks all in advance! Senthil |

volScalarField dpdx = fvc:gradvolScalarField dpdx = fvc:grad(p);
volScalarField dp2dxx = fvc:grad(dpdx); Would that work? Not tried. I computed gradient of p only. |

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