CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to get velocity distribution data...

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2013, 23:41
Default How to get velocity distribution data...
  #1
Senior Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13
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)

Code:
functions
	{
  	  faceObj1
	  {
		type 	faceSource;
		functionObjectLibs ("libfieldFunctionObjects.so");
		enabled true;
		outputControl outputTime;
		log true;
		valueOutput true;
		source patch;
  		sourceName outlet;
		operation sum;
	        fields
		(
			phi
					
		);
	 }
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, 27 views)
shipman is offline   Reply With Quote

Old   September 19, 2013, 01:06
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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,

Niels
__________________
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
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

To complement Niels answer, you can find all of the tutorials that use function objects by running:
Code:
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,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 09:44
rearrange Fluent data distribution IvanCFD FLUENT 0 November 6, 2009 13:09
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 17: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 08:41.