|
[Sponsors] |
April 27, 2018, 10:00 |
Interfoam alphaEqn.H
|
#1 |
Member
K
Join Date: Mar 2018
Posts: 34
Rep Power: 8 |
Hey everyone!
I am trying to model the transport of dissolved species due to bubbles motion in the liquid. Essentially it is a scalar transport in the fluid phase. Since interfoam computes a single velocity field for both the liquid and gas phase (called as phi). So it is important to calculate the flux term for the liquid phase from phi. I looked into some existing paper (that discusses the treatment of fluxes in alphaEqn.H) like: https://journals.aps.org/pre/abstrac...RevE.79.036306 http://infofich.unl.edu.ar/upload/3b...7523c8ea52.pdf So my thought was I can calculate the phi associated with the liquid phase (phil) as phil = phi + (1-r)phir phir being the compressive velocity. Did I understand this terminology correctly? This is how the field was assembled before the MULES loop: surfaceScalarField phir(phic*mixture.nHatf()); tmp<surfaceScalarField> talphaPhi1Un ( fvc::flux ( phiCN(), cnCoeff*alpha1 + (1.0 - cnCoeff)*alpha1.oldTime(), alphaScheme ) + fvc::flux ( -fvc::flux(-phir, alpha2, alpharScheme), alpha1, alpharScheme ) ); |
|
|
|
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 |
interFoam and alphaEqn.H | pablodecastillo | OpenFOAM Programming & Development | 6 | April 16, 2016 22:00 |
k-e & GAMG interFoam Schemitisation Stability Issue | JFM | OpenFOAM Running, Solving & CFD | 3 | December 1, 2015 06:58 |
Add source term in alphaEqn.H of interFoam | tayo | OpenFOAM | 1 | October 23, 2013 04:40 |