|
[Sponsors] |
Reported phi values exactly twice as high as expected |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 28, 2016, 15:59 |
Reported phi values exactly twice as high as expected
|
#1 |
New Member
Jay B.
Join Date: Nov 2016
Posts: 12
Rep Power: 10 |
Hello everyone,
I am new to OpenFoam and today I was getting familiar with the run-time monitoring possibilities when I spotted some strange results. I have spent quite some time trying to figure this out with no luck, but I believe I have now narrowed the problem down to the point where a more experienced user could easily tell me what's going on. I attach here two small cases, ready to go on v1606+ (./Allrun).Those are somewhat modified versions of the multiRegionHeater tutorial case: - case 1 is a transient run, very similar to the original tutorial provided with my version of OpenFOAM (v1606+ on Windows). - case 2 is a steady-state analysis of the the same problem. For both case I monitor what is going on at minX on the water side (inlet, fixed velocity), and obtain the following results: Case 1: Code:
- Total area: 4.00000000e-03 - average(U): (1.00000000e-03 0.00000000e+00 0.00000000e+00) - sum(phi): -4.00000000e-03 Code:
- Total area: 4.0000000e-03 - average(U): (1.0000000e-03 0.0000000e+00 0.0000000e+00) - sum(phi): -8.0000000e-06 However, I can't understand how Phi is computed in case two. A volumetric flow rate would explain the different order of magnitude but the reported flow rate would still be twice as high as I would expect. I have tried to run case 2 on a single processor, which didn't change the results. I would be extremely thankful if someone could have a look at this. Cheers /Jay |
|
December 2, 2016, 07:44 |
Update
|
#2 |
New Member
Jay B.
Join Date: Nov 2016
Posts: 12
Rep Power: 10 |
I believe I have identified what the problem was:
As a consequence of some shameless copy-pasting of the fvSolution files from a steady-state tutorial, and although I had defined the fluid density as constant (1000 kg/m3), those SIMPLE settings were limiting the density to 2 kg/m3. Lesson learned... Code:
SIMPLE { momentumPredictor on; nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 100000; rhoMin 0.2; rhoMax 2; } |
|
Tags |
flow rate, flow rate weighting, phi |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
RMS values too high! | Usman | CFX | 1 | January 22, 2008 17:53 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |