|
[Sponsors] |
September 7, 2021, 06:02 |
U is different from fvc::reconstruct(phi)
|
#1 |
New Member
H. Xia
Join Date: Sep 2021
Posts: 2
Rep Power: 0 |
Hi all,
I am working on basic coding with interFoam solver, and I try to compare the difference between two velocity fields: 1. U is the one-field velocity solved from the governing equations 2. Un is reconstructed from phi, which is the flux. Un = fvc::reconstruct(phi) Normally, the two fields should be the same (right? if not, please correct me), however, in my simulations, I found that U is a little bit large than Un, and you can find the attached figures which can help you to understand my question. I hope you can give me some suggestions on this problem. Many thanks, H. Xia |
|
September 8, 2021, 07:49 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
It's not the same. fvc:reconstruct is made to smooth out oscillations and therefore it smoothed out also steep gradients. Some detailes can be found in https://www.researchgate.net/publica...reconstruction and references therein.
Of course the source code helps and maybe some googling Best Michael |
|
September 16, 2021, 05:37 |
|
#3 |
New Member
H. Xia
Join Date: Sep 2021
Posts: 2
Rep Power: 0 |
Hi Michael,
Thank you very much, H.Xia |
|
Tags |
fvc::reconstruct(), interfoam, vof |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam/potentialFoam crash during fvc::reconstruct(phi); | bennn | OpenFOAM Running, Solving & CFD | 4 | November 16, 2016 08:11 |