|
[Sponsors] |
what does fvc::interpolate(rho) actually do in interFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 30, 2021, 15:50 |
what does fvc::interpolate(rho) actually do in interFoam?
|
#1 |
New Member
Sourav Hossain
Join Date: Mar 2019
Posts: 25
Rep Power: 7 |
I was wondering about fvc::interpolate(rho) in createFields.H file of interFoam. What actually it does?
// Mass flux surfaceScalarField rhoPhi ( IOobject ( "rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), fvc::interpolate(rho)*phi ); |
|
June 30, 2021, 20:19 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Sourav,
It takes the density field at the cells and interpolates it to the faces, so that it can be multiplied by the flux, which is also defined at the faces. Best, Pablo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding diffusion term to interFoam transport equation | Gearb0x | OpenFOAM Programming & Development | 3 | February 14, 2023 05:16 |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
Question about interFoam Solver | Kahnbein.Kai | OpenFOAM Running, Solving & CFD | 2 | August 26, 2019 16:36 |
interFoam (HELYX-OS) pressure boundary conditions | SFr | OpenFOAM Running, Solving & CFD | 8 | June 23, 2016 17:36 |
k-e & GAMG interFoam Schemitisation Stability Issue | JFM | OpenFOAM Running, Solving & CFD | 3 | December 1, 2015 06:58 |