CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

How to get velocity distribution data...

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 18, 2013, 23:41
Default How to get velocity distribution data...
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 6
shipman is on a distinguished road
DEar Foam users,

I am studying nozzle cavitating flow and using cavitatingfoam. Actually, i can take the data of mass flow at the inlet and outlet by using following definition (inside of controlDict)

		type 	faceSource;
		functionObjectLibs ("");
		enabled true;
		outputControl outputTime;
		log true;
		valueOutput true;
		source patch;
  		sourceName outlet;
		operation sum;
As you can see domain section in the attachment figure, we have LDV measurement at sections, z=1.5, 3.0 and 6.0. Please could you help me that how can i get the velocity distribution at these section as shown at the attachment figure?

Thanks in advance
Attached Images
File Type: jpg domain.jpg (70.5 KB, 24 views)
shipman is offline   Reply With Quote

Old   September 19, 2013, 01:06
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,757
Rep Power: 29
ngj will become famous soon enoughngj will become famous soon enough
Hi George,

Look into the probing utility. If I remember correctly, then one of the pitzDaily tutorials gives an example on how to use it in runTime.

Best regards,

Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 21, 2013, 12:54
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,021
Blog Entries: 39
Rep Power: 109
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings to all!

To complement Niels answer, you can find all of the tutorials that use function objects by running:
find $FOAM_TUTORIALS -name "controlDict" | xargs grep -sl functions
In addition, complete "sampleDict" and "probeDict" examples are available at the respective application source code folders:

Best regards,
wyldckat is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
boundary with velocity distribution cfd123 FLOW-3D 3 February 17, 2010 10:44
rearrange Fluent data distribution IvanCFD FLUENT 0 November 6, 2009 14:09
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
Writing grid and velocity data to files Mehul Kinariwala FLUENT 2 October 4, 2000 09:26

All times are GMT -4. The time now is 22:31.