|
[Sponsors] |
August 26, 2011, 23:28 |
How to probe all points on a patch?
|
#1 |
New Member
Tom Li
Join Date: Aug 2011
Posts: 16
Rep Power: 15 |
Hi
I am trying to run a transient flow over 3D airfoil case and I would like to record the surface pressure on the airfoil for the whole computation time frame. However, it seems that it expects only vectors within probeLocations. Is there any way to have it probe all the points on the surface of a patch? I tried Code:
probeLocations ( patches ( WALL ) ); any ideas?? Thanks a lot |
|
August 27, 2011, 10:40 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 18, 2011, 22:06 |
|
#3 | |
New Member
Tom Li
Join Date: Aug 2011
Posts: 16
Rep Power: 15 |
Quote:
Thanks for your reply. But just I found out that the sample utility is for post-processing only. I am wishing to write out the pressure on a boundary surface for every time step without the need to write all variables for all time steps. Is there an utility that can do this? Thanks, Tom |
||
September 19, 2011, 05:28 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 19, 2011, 08:13 |
|
#5 | |
New Member
Tom Li
Join Date: Aug 2011
Posts: 16
Rep Power: 15 |
Quote:
Thank you for you reply. I manage to get sample utility to work, just it does not work the way I thought it would. I have a transient simulation for lets say 100k time steps. I cannot afford to save all the data for every single one. I am probably writing for every 1000 time steps. However, I need the surface pressure data for every time step on the wall boundary. I tried probing but it does not work with patch and sample utility is only a post-processing tool to extract surface data from the complete result. Thanks, Tom |
||
September 19, 2011, 10:45 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
September 20, 2011, 09:54 |
|
#7 | |
New Member
Tom Li
Join Date: Aug 2011
Posts: 16
Rep Power: 15 |
Quote:
Thank you for your reply. I tried searching a bit but failed to find out exactly how functionObjects work. Do you know which tutorial uses it or where I can find an explanation on how to set it up? Is it compatible with 2.0.1? Thanks, Tom |
||
September 20, 2011, 12:51 |
|
#8 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Have a look at the sloshingTank2D-tutorial. The controlDict
|
|
September 20, 2011, 16:53 |
|
#9 |
New Member
Tom Li
Join Date: Aug 2011
Posts: 16
Rep Power: 15 |
||
April 10, 2012, 02:48 |
|
#10 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Who know what is the different use between the probe and sample?
|
|
April 24, 2012, 14:45 |
|
#11 |
Member
Amin Shariat KHah
Join Date: Apr 2011
Location: Shiraz
Posts: 86
Rep Power: 15 |
Sample write data which you want in a special location that you marked
sample write data of each step in a folder if you have transient case, you need data in a special location during time probe give you a file which contain data of a locations during all time steps ( you have one file for ecah point contain all time steps in probe , not many files for each time step like sample ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |