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

How to get velocity distribution data...

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 18, 2013, 23:41
Default How to get velocity distribution data...
  #1
Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 98
Rep Power: 4
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, 21 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: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
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 10:41.