|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Renato
Join Date: Nov 2022
Posts: 4
Rep Power: 3 ![]() |
Hi everyone!,
I stepped into something that isn't clear at all and I hope that you can clarify some passages. I am solving an incompressible mrf problem with the simple alghoritm. Once the simulation is ended I wrote a postprocess script that evaluate the total pressure and the massflow at the inlet and outlet. Here the problem: if I evaluate the flowrate using fvc::flux(U), where U is the velocity field given by openfoam, the continuity isn't respected and I have an higher flowrate at the outlet than at the inlet (70% higher!). Instead if I evaluate the flowrate by summing the phi field given by openfoam over the patch, the continuity is respected and the flowrates at inlet and outlet are equals. I know that in the simple alghoritm I have a correction of the flux and then of the velocity, but I can't understand how it is possible that the results are different! The fvc::flux(U) must give the same field of phi and in general must satisfy the continuity equation, otherwise shoudn't be correct... Am I missing something? ![]() Ps: My outlet boundary conditions are inletoutlet for velocity and fixed value for pressure. My inlet boundary conditions are fixed value for velocity and zeroGradient for pressure. |
|
![]() |
![]() |
![]() |
Tags |
continuity, continuity equation, flux correction, velocity correction |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in transferring flameletFoam to OpenFOAM 5.x | anjul | OpenFOAM Community Contributions | 5 | February 7, 2021 23:32 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
[Other] Openfoam for windows 16.02 [CFD support] -problem with paraview | ditmeyer | OpenFOAM Installation | 3 | May 15, 2017 12:04 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 11:50 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |