|
[Sponsors] |
Sample utility only samples pressure?! (not velocity) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2012, 10:03 |
Sample utility only samples pressure?! (not velocity)
|
#1 |
New Member
Join Date: Oct 2011
Posts: 14
Rep Power: 15 |
Hello!
Iam currently trying to postsrocess my results and for this I would like to use the sample utility. However it doesnt sample the velocity!? Ive tried mag(U) in fields or only u and it doesnt work. The files for the pressure are created. Does anyone have any idea what the reason could be? Do I HAVE to run foamCalc before? Ive tried running foamCalc mag U before, this worked. Any help would be appreciated! My sampledict file looks as follows: interpolationScheme cellPoint; setFormat raw; sets ( line1 { type uniform; axis y; start ( 0.0002 0.00001 0 ); end ( 0.0002 0.0029 0 ); nPoints 50; } line2 { type uniform; axis y; start ( -0.0004 0.00001 0 ); end ( -0.0004 0.0029 0 ); nPoints 50; } line3 { type uniform; axis y; start ( 0.0002 0.00001 0.0002 ); end ( 0.0002 0.0029 0.0002); nPoints 50; } line4 { type uniform; axis y; start ( 0 0.00001 0.0005 ); end ( 0 0.0029 0.0005 ); nPoints 50; } ); surfaces (); fields (u p); |
|
May 14, 2012, 13:31 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Most of FOAM is case sensitive. What happens when you sample "U" instead of "u"? Or is the field as it is written in the solver you are using called "u", or is this an artifact of copying your sampleDict into the forum?
|
|
May 14, 2012, 13:36 |
|
#3 |
New Member
Join Date: Oct 2011
Posts: 14
Rep Power: 15 |
ok, problem solved. foamCalc mag U has to be done first and in the sample dict file it has to be specified as "magU"
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Inlet VS velocity Inlet difference | Mohsin | FLUENT | 9 | January 4, 2021 11:34 |
Pressure BC for combustion chamber | Giuki | FLUENT | 1 | July 19, 2011 12:35 |
Sample utility not working in OpenFoam1.5 dev | titio | OpenFOAM Post-Processing | 1 | December 10, 2009 03:38 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |
how to print the results from CFX-4.2 | cfd_99 | Main CFD Forum | 5 | June 21, 1999 10:23 |