|October 31, 2006, 20:33||
I would like to compute the pr
Join Date: Mar 2009
Posts: 43Rep Power: 10
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 )
How do i get the magnitude of difference of volScalarFields like pressure ?
PS: Also, what is the function to get absolute value of the difference say ...absolute(pd-pr) ?
|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 14:54|
|difference between swirling flow and vortex flow?||lcw||Main CFD Forum||0||August 22, 2005 09:47|