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

dimension of this function object?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2015, 15:38
Default dimension of this function object?
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Dear OpenFoamers,

I am running a pimpleDyMFoam case. I would like to compute flow rate at the inlet. I included this function object in controlDict. Is there a way to make sure the output is m^3/sec? I only got a value and it is not what I expected.

Any suggestion?

Thanks!

Pei-Ying
--------------
massFlowRateInlet
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
write yes;
log yes;
valueOutput true;
source patch;
sourceName inlet;
operation sum;
surfaceFormat foamFile;
fields
(
phi
);
}
phsieh2005 is offline   Reply With Quote

Old   December 16, 2015, 15:16
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Hi Pei-Ying,

Since the operation is "sum", then the units for "phi" are preserved. Knowing the units of "phi" should then simply be a matter of looking at the units of the respective field file "phi" in the time snapshot folders.
I ran the tutorial "incompressible/pimpleDyMFoam/movingCone" and got this in "0.003/phi":
Code:
dimensions      [0 3 -1 0 0 0 0];
Best regards,
Bruno
phsieh2005 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   December 16, 2015, 19:49
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Thanks a lot Bruno!
phsieh2005 is offline   Reply With Quote

Reply


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
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 10:20
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 01:54.