CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Interfoam alphaEqn.H

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2018, 10:00
Default Interfoam alphaEqn.H
  #1
Member
 
K
Join Date: Mar 2018
Posts: 34
Rep Power: 8
kuria is on a distinguished road
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
)
);
kuria is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:13.