CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   How to get the pressure gradient value for a probe cell (

hjasak March 11, 2007 04:42

Easy: for memeory management,
Easy: for memeory management, gradient returns a temporary. Thus:


.internalField() is not strictly needed but makes it easier to understand what you're doing.


sven November 5, 2009 23:27

can I do the same for the temperature gradient at a wall? how can I put out a gradient at a wall over time? can i use the probing utility for this? Thanks a lot!

All times are GMT -4. The time now is 12:03.