|
[Sponsors] |
Computing local flow value difference reference value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 31, 2006, 20:33 |
I would like to compute the pr
|
#1 |
Member
Join Date: Mar 2009
Posts: 43
Rep Power: 17 |
I would like to compute the pressure difference between the local pressure value (say pd) and a reference value (dimensionedScalar pr) and need to check if its less than a tolerance?
How can i access the local pressure value ? Can I do dimensionedScalar diff = (pd-pref); and some how get the magnitude of this scalar. I would like to check if ( diff < tolerance ) { ... etc } How do i get the magnitude of difference of volScalarFields like pressure ? Vatant PS: Also, what is the function to get absolute value of the difference say ...absolute(pd-pr) ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam local and local | sven82 | OpenFOAM Installation | 1 | December 9, 2008 10:40 |
High Local mach number for sub sonic flow | kali | CFX | 0 | November 2, 2006 11:23 |
Inlet or a mass source as a function of local flow | HC | CFX | 2 | June 20, 2006 15:54 |
difference between swirling flow and vortex flow? | lcw | Main CFD Forum | 0 | August 22, 2005 10:47 |