|
[Sponsors] |
December 15, 2015, 15:38 |
dimension of this function object?
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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 ); } |
|
December 16, 2015, 15:16 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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]; Bruno
__________________
|
|
December 16, 2015, 19:49 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Thanks a lot Bruno!
|
|
|
|
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 |