|
[Sponsors] |
September 18, 2013, 23:41 |
How to get velocity distribution data...
|
#1 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
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 ); } Thanks in advance |
|
September 19, 2013, 01:06 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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. |
|
September 21, 2013, 12:54 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
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
Best regards, Bruno
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |