|
[Sponsors] |
March 13, 2010, 17:27 |
problem interrogating min/max face velocity
|
#1 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
In CourantNo.H, the max magnitude of the velocity at a face is reported as
Code:
velMag = max(mag(phi)/mesh.magSf()).value(); Code:
Info << "max phi/magSf = " << max(phi/mesh.magSf()).value() << endl; Info << "min phi/magSf = " << min(phi/mesh.magSf()).value() << endl; forAll(phi,i) { Info << i << " " << phi[i] << " " << mesh.magSf()[i] << " " << phi[i]/mesh.magSf()[i] << endl; } This is serial execution -- all faces belong to a single mesh on a single processor. The number of values reported in the loop, phi.size(), and magSf().size() are all equal. Any ideas how I might be getting this wrong? Thanks, David
__________________
David A. Boger Last edited by boger; March 13, 2010 at 18:10. |
|
March 13, 2010, 18:11 |
|
#2 |
Senior Member
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17 |
Sorry -- I realize now that the extreme value is in the boundaryField.
__________________
David A. Boger |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Velocity field problem | feizaghaee | CFX | 20 | February 24, 2010 05:23 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
unsteady state velocity problem | Vedavyasa M | FLUENT | 0 | June 28, 2007 07:33 |
problem defining inlet velocity direction | salman | FLUENT | 3 | January 3, 2007 12:34 |
problem for UDF velocity | Geremi | FLUENT | 0 | April 19, 2005 03:13 |