|
[Sponsors] |
--- How to calculate phiMean for each time step --- |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 11, 2010, 11:13 |
--- How to calculate phiMean for each time step ---
|
#1 |
Senior Member
|
hi to all,
I want simulate a problem and i need to set outlets 20% and 80%. as i don't have outlets velocities i set pressure to reach desired flow rates from each outlet by try and error. i do this by k-e and reach to answer. but in Rans and LES i should use averaged flows. i need phi mean parameter same as uMean and pMean which is defined in controlDict. How can i tell OF to calculate phiMean for each time step for patches. Thanks in advance, |
|
December 13, 2010, 09:30 |
|
#2 |
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 17 |
Add this to your controlDict file:
Code:
functions ( mflow1 { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; outputInterval 1; log true; valueOutput false; source patch; sourceName outlet1; operation sum; fields ( phi ); } mflow2 { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; outputInterval 1; log true; valueOutput false; source patch; sourceName outlet2; operation sum; fields ( phi ); } ); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | Alan | OpenFOAM Running, Solving & CFD | 11 | July 1, 2021 22:51 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 06:55 |
Computational time | sunnysun | OpenFOAM Running, Solving & CFD | 5 | March 16, 2009 04:32 |
unsteady calcs in FLUENT | Sanjay Padhiar | Main CFD Forum | 1 | March 31, 1999 13:32 |