|
[Sponsors] |
How to get the pressure gradient value for a probe cell |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 11, 2007, 04:42 |
Easy: for memeory management,
|
#1 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Easy: for memeory management, gradient returns a temporary. Thus:
fvc::grad(p)().internalField()[probeCell] .internalField() is not strictly needed but makes it easier to understand what you're doing. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
November 5, 2009, 23:27 |
|
#2 |
Member
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 17 |
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!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Zero pressure gradient | selim | CFX | 2 | February 27, 2008 04:00 |
Pressure Gradient! | Usman | CFX | 2 | January 16, 2008 04:30 |
UDF: Density Cell Gradient Vector Macros | matteo | FLUENT | 0 | December 1, 2007 13:14 |
-------pressure gradient | mech | FLUENT | 1 | August 24, 2006 04:29 |
Pressure gradient | Munni | FLUENT | 0 | August 27, 2001 14:58 |