|
[Sponsors] |
Eulerian multiphase tracer transport - value of scalar? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 14, 2015, 09:44 |
Eulerian multiphase tracer transport - value of scalar?
|
#1 |
New Member
Dominik Schmidt
Join Date: Mar 2014
Posts: 11
Rep Power: 12 |
Dear Foamers,
I believe the answer to my question is quite simple, but I couldn't find a clear definition for it: I'm adding a scalar transport equation to an incompressible multiphase solver, where the scalar should only be transported by/in the liquid phase, representing e.g. a solution of salt in water. Code:
fvm::ddt(alpha1, Tracer) + fvm::div(fvc::interpolate(alpha1)*phi1, Tracer) - fvm::laplacian(fvc::interpolate(alpha1)*DT, Tracer) my questions is about the "value" of the transported scalar: 1.) "Tracer" = mass(Tracer) per cell-volume (= concentration in each cell)? ... so to get the concentration in the liquid phase in each cell one has to divide "Tracer"-value by alpha1 (volumetric phase fraction of liquid phase)? or 2.) the value for "Tracer" already represents the concentration in the liquid phase? or 3.) anything else? In short: Does the Tracer-value represent a concentration based on the cell volume or based on the liquid volume in each cell? Or is a completely different approach necessary to get the concentration of e.g. a salt in the water phase for the evaluation of homogeneity inside the domain. Thanks for your help! Dominik EDIT: Reading http://www.sciencedirect.com/science...85894714015587 helped me to understand that the second option should be correct. Last edited by dschmidt; January 19, 2015 at 03:10. |
|
February 1, 2015, 23:21 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Yes, your equation is correct and refers to a tracer into the liquid phase (note that alpha_L is in all the terms).
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
November 18, 2018, 23:26 |
|
#3 |
Member
Niu
Join Date: Apr 2014
Posts: 55
Rep Power: 12 |
Hi Dominik,
I have also write a same equation in the interFoam solver to add tracker into one phase of interFoam. But I found if alpha1 equals zero, the solver will crash, unlesss you set a small value for alpha1, e.g. 1e-6 or smaller one. Did you have this situation? It will be great if you cold you share your code! The following is my code: fvm::ddt(alpha1, CFai) + fvm::div(fvc::interpolate(alpha1)*phi, CFai) - fvm::laplacian(fvc::interpolate(alpha1)*DT_L, CFai) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
problems concerning mass conservativity in bubbleFoam with custom scalar transport | cutter | OpenFOAM Programming & Development | 3 | February 10, 2015 04:25 |
Diverging solution in transonicMRFDyMFoam | tsalter | OpenFOAM Running, Solving & CFD | 30 | July 7, 2014 06:20 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 01:47 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 01:27 |