|
[Sponsors] |
February 6, 2019, 04:13 |
InterCondensatingEvaporating Foam
|
#1 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Hi everyone,
I just want to know if anyone has any experience in using the intercondensatingevaporatingfoam in Openfoam? I try to use it to simulate an evaporating process of liquid nitrogen. However, first of all, I want to understand the general governing equation system and so on. Does anyone know any useful literature (e.g. paper, books) for this kind of problem? Kind regards from Germany Philipp |
|
February 6, 2019, 09:57 |
|
#2 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
http://infofich.unl.edu.ar/upload/3b...7523c8ea52.pdf Here's an attachment 3be0e16065026527477b4b948c4caa7523c8ea52.pdf excerpt from Santiago Márquez Damián-Final Work-Computational Fluid Dynamics Description and utilization of interFoam multiphase solver. |
||
February 6, 2019, 10:10 |
|
#3 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Thanks a lot for your suggestions to have a good start in using OpenFoam. I've already worked with the buoyant and chtmultiregionfoam, so I am not an absolute beginner. but close to it.
I've checked your literature references. I think it's a good idea to start with the interFoam multiphase solver to get a better overall comprehension (e.g. the VOF method, ...). I will give you feedback as soon as something new has emerged. |
|
February 6, 2019, 10:37 |
|
#4 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
|
||
February 6, 2019, 10:51 |
|
#5 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Okay, so you would recommend to first have a detailed look at the interFoam multiphase solver (literature reference of your first post) and not to go directly to the source code of the intercondensatingevaporatingFoam?
|
|
February 6, 2019, 14:54 |
|
#6 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Whichever makes more sense to you, understanding PISO and SIMPLE are key though. If you look at the source code for complex solvers you'll notice that they are built around the simpler solvers.
|
|
February 6, 2019, 15:18 |
|
#7 | |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Quote:
Okay, thanks a lot for your notes. I've already worked through the first 20 pages of your suggested literature reference and it is very useful. It is perfect, that your reference also contains some information to the VOF-methode. However, I think you are right. Beginning with basic source code and afterwards increasing the complexity to more challenging cases like the evaporatingFoam is a sound practise. Hope it will help to improve the general understanding. Best regards from Germany Philipp |
||
February 12, 2019, 10:40 |
|
#8 |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
I've worked through your suggested reference. It helps a lot to improve my overall insight of OpenFoam.
Now, I have several questions about the gammaEqn.H: Are the following statemens correct: 1) phi is the volume flux at the faces(Unit: [m^3/s])? 2) The first term in phiGamma is div(v Gamma). In the case of the finite volume discretization I have to integrate this term over the volume of the cell. Hence, the unit of the term is [m^3 * m/s *1/m=m^3/s]. In the source Code, this term is calculated using the following Expression: fvc::flux(phi,gamma,gammaScheme). Is the following statement correct: It can be multiplied with gamma leading to the discretized form of int(div(v Gamma)dV), because phi is already the volume flux? 3)In line 397 rhoPhi is calculated using the following source Code: rhoPhi=phiGamma*(rho1-rho2)+phi(rho2). To get this Expression, let us first consider the determination of the new density: rho=gamma*(rho1-rho2)+rho(2) Because I want to determine rhoPhi, I have to multiply the expression with phi (volume flux) yielding to rhoPhi=gamma*phi*(rho1-rho2)+gamma*rho(2). I recognize, that the variable which contains the second and third term of the evolution equation for the phase fraction gamma, is named phiGamma. Because int((d gamma)/(d t) dV)=gamma*phi, the evolution equation can be rewritten as: gamma*phi=-... The r.h.s. is defined as phiGamma in line 397. Why is the "-" in front of phiGamma in line 397 missing? |
|
February 12, 2019, 11:05 |
|
#9 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
How did you come to this conclusion exactly? "the evolution equation can be rewritten as: gamma*phi=-..." |
||
February 12, 2019, 11:23 |
|
#10 | ||
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Quote:
Quote:
(d gamma)/(d t)+div(v gamma)+div(v_r*gamma*(1-gamma))=0 The second and third term are collected in phiGamma (line 381-394) and thus int( (d gamma)/(d t) dV)=-phiGamma The l.h.s is the volume flux at the face But in line 397 rhoPhi is calculated using the following source Code: rhoPhi=phiGamma*(rho1-rho2)+phi(rho2). In my opinion it should be -phiGamma, because if we start from the density: rho=gamma*(rho1-rho2)+rho(2), we should get the following expression: rhoPhi=gamma*phi*(rho1-rho2)+gamma*rho(2). And thus: int( (d gamma)/(d t) dV)=rhoPhi= -phiGamma*(rho1-rho2)+gamma*rho(2). I hope you understand the issue. I think I should improve my English skills to explain my problems in a much better way |
|||
February 12, 2019, 11:55 |
|
#11 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
"To get this Expression, let us first consider the determination of the new density: rho=gamma*(rho1-rho2)+rho(2) Because I want to determine rhoPhi, I have to multiply the expression with phi (volume flux) yielding to rhoPhi=gamma*phi*(rho1-rho2)+gamma*rho(2)." Shouldn't it be this rhoPhi=gamma*phi*(rho1-rho2)+phi*rho(2)? |
||
February 12, 2019, 11:58 |
|
#12 | |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Quote:
|
||
February 12, 2019, 12:21 |
|
#13 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
||
February 12, 2019, 12:36 |
|
#14 | |
Member
Philipp
Join Date: Feb 2019
Posts: 35
Rep Power: 7 |
Quote:
Starting from the Evolution equation: (d gamma)/(d t)+div(v gamma)+div(v_r*gamma*(1-gamma))=0. Rewriting it to (substract the second and third term): (d gamma)/(d t)=-(div(v gamma)+div(v_r*gamma*(1-gamma))). if you integrate the l.h.s you will get int( (d gamma)/(d t) dV), which corresponds in my opinion to the physical meaning of gamma*phi. Furthermore, "div(v gamma)+div(v_r*gamma*(1-gamma))" is defined as phiGamma (line 381). And thus gamma*phi= -phiGamma. But in line 397 it is still phiGamma without a minus, even though it is Gamma*phi in physical meaning which corresponds in my opinion to -phiGamma. |
||
February 12, 2019, 12:50 |
|
#15 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
I agree, they might be wrong. |
||
February 22, 2019, 19:57 |
|
#16 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
__________________
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 |
evaporating liquid flows |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |