|
[Sponsors] |
Numerical problem in species Transport in InterFoam at the interface |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 11, 2018, 06:15 |
Numerical problem in species Transport in InterFoam at the interface
|
#1 |
Member
Mehdi Aminyavari
Join Date: Feb 2016
Location: Milan
Posts: 35
Rep Power: 10 |
Hello Forum;
I am trying to introduce a species transport equation in interfoam for the liquid phase (Alpha1 = 1) as bellow: Code:
Info << "solve ylEqn.H"<<endl; surfaceScalarField rho1Phialpha1 = rho1*phi*fvc::interpolate(alpha1); fvScalarMatrix ylEqn ( fvm::ddt(alpha1*rho1, yl) + fvm::div(rho1Phialpha1, yl, "div(rhoPhiAlpha,yl)") - fvm::laplacian(alpha1*rho1*Dl, yl) ); But the problem is that I get crazy yl values at the interface where 0<Alpha1<1 as you can see in the attached photo! and if I don't bound the yl between 0 and 1 by force, it will go to infinity. any Idea how to solve this numerical problem? did anybody have done it before? Thanks a lot in advance |
|
October 11, 2018, 10:20 |
|
#2 |
Member
Mehdi Aminyavari
Join Date: Feb 2016
Location: Milan
Posts: 35
Rep Power: 10 |
why my posts have always minimum views among the list??????!!!!
is there a trick or something to increase the view and reply?? |
|
October 12, 2018, 03:45 |
|
#3 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
Hi,
Please, have a look at this paper : https://www.sciencedirect.com/science/article/pii/S0009250918303944 Cheers, Cyprien
__________________
www.cypriensoulaine.com/openfoam |
|
October 12, 2018, 08:01 |
|
#4 |
Member
Mehdi Aminyavari
Join Date: Feb 2016
Location: Milan
Posts: 35
Rep Power: 10 |
Dear Cyprien,
Thank you so much for your response, I have seen the article, but the point is that you could use the Henry coefficient in this work and make a CST equation because you had a dilute solution which in my case I don't and cant do that. I have to solve the species equation separately for both phases like for phase 1: Code:
fvScalarMatrix ylEqn ( fvm::ddt(alpha1*rho1, yl) + fvm::div(rho1Phialpha1, yl, "div(rhoPhiAlpha,yl)") - fvm::laplacian(alpha1*rho1*Dl, yl) ); Any suggestion on that? |
|
October 12, 2018, 08:03 |
|
#5 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
You can if you put H=0.
__________________
www.cypriensoulaine.com/openfoam |
|
October 12, 2018, 08:28 |
|
#6 |
Member
Mehdi Aminyavari
Join Date: Feb 2016
Location: Milan
Posts: 35
Rep Power: 10 |
I may explained bad,
(Using the notion in your paper): Cj,2 = Hj*Cj,1 so if Hj=0, means Cj,2 = 0 which means in phase two I have no Cj!! In another word phase 2 (gas phase) is pure species i and liquid phase is binary mixture of Species j and i with Cj,1! My problem is Ammonia-water mixture which means in both phases I have both species and it is non-diluted (Cj,2 = 0.95-0.995) and (Cj,1=0.1-0.6) which is as far as I know, not the case to use Henry coefficient. Isn't that right? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for Sorption in Species Transport through Porous Medium | Kosch | Fluent UDF and Scheme Programming | 6 | October 21, 2020 18:46 |
Species transport model problem | argeus | FLUENT | 8 | September 20, 2019 08:23 |
InterFoam and species transport | PKeller | OpenFOAM Running, Solving & CFD | 7 | October 7, 2014 03:40 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |