|
[Sponsors] |
Signs used in advecting volume fractions in interfoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Katt
Join Date: May 2017
Posts: 30
Rep Power: 9 ![]() |
Hi,
I am aware of the standard equation used to advect volume fractions and about the derivation regarding "interface compression" that interfoam solver uses. Coming to the code in "alphaEqn.H", I have the following two questions: Code:
surfaceScalarField phic = mag(phi/mesh.magSf()); phic = min(interface.cAlpha()*phic, max(phic)); surfaceScalarField phir = phic*interface.nHatf(); for (int aCorr=0; aCorr<nAlphaCorr; aCorr++) { surfaceScalarField phiAlpha = fvc::flux ( phi, alpha1, alphaScheme ) + fvc::flux ( -fvc::flux(-phir, scalar(1) - alpha1, alpharScheme), alpha1, alpharScheme ); In the relative flux term: -fvc::flux(-phir, ---). So, arent you finally adding an additional convective term to the first term of "phi*alpha1"? Q2) If C-alpha =1 and considering the relative velocity acts as a shock front against the original convective term, wouldnt both the flux term and the relative flux term balance each other and cancel out leading to no advection? I do realise my imagination is wrong as I do see correct flow behaviour. Can anyone enlighten me. Thanks; Katt |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 ![]() |
Hello Katt, check my thesis. K.R.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist Research Center for Computational Methods (CIMEC) - CONICET/UNL Tel: 54-342-4511594 Int. 7032 Colectora Ruta Nac. 168 / Paraje El Pozo (3000) Santa Fe - Argentina. http://www.cimec.org.ar |
|
![]() |
![]() |
![]() |
Tags |
advection, interface compression, interfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 16:12 |
interFoam: No finite volume options present | mehdinekooee | OpenFOAM Running, Solving & CFD | 4 | July 15, 2014 11:05 |
InterFoam channel Flow runnig very slowly | Wokl | OpenFOAM Running, Solving & CFD | 4 | January 9, 2014 02:52 |
volume fractions in homogeneous flow model? | Matthias Rohner | CFX | 1 | August 26, 2007 18:42 |
Higher order for phase volume fractions? | George Bergantz | CFX | 2 | December 11, 2000 11:55 |