|
[Sponsors] |
March 31, 2016, 10:07 |
boiling in openFOAM with evapPhaseChangeFOAM
|
#81 |
New Member
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 11 |
Hello Nimasam
Kindly send me the OpenFoam based code to simulate boiling with OpenFoam. My email id. is ssyadav25@gmail.com Thanks in advance. Shyam Sunder |
|
May 15, 2016, 06:44 |
VOF solver for condensation
|
#82 |
Member
Elisabet Mas de les Valls
Join Date: Mar 2009
Location: Barcelona, Spain
Posts: 64
Rep Power: 17 |
Nima and Alexander,
I'm a little bit confused about the state of the art of your solvers. I'ld really appreciate you could send me your codes and, if possible, comments. I'll try to understand the differences and limitations. I'm currently interested in steam condensation, so any suggestion is welcome! Thank you in advance, Elisabet (elisabet.masdelesvalls@gits.ws) |
|
May 16, 2016, 16:29 |
|
#83 |
Member
Alexander
Join Date: Mar 2009
Posts: 49
Rep Power: 17 |
Hello, Elisabet!
Currently I have no deal with simulation of evaporation/condensation using VOF method. Some information about evaporation model implementation can be found in this thread. Still remaining problem is taking correctly into account the latent heat. As mentioned in the literature, the possible solution is to introduce weight function in such a way that the integral from the volume latent heat source multiplied by this weight function gives the value of correct latent heat power. Unfortunately, I do not have much information about this. |
|
May 30, 2016, 22:51 |
|
#84 |
New Member
LONG JIAO
Join Date: May 2016
Posts: 1
Rep Power: 0 |
Hi Nimasan,
could you please send me your final code? Now I'm working on droplet condensation problem. Thank you very much. My email is LONG0032@e.ntu.edu.sg |
|
July 15, 2016, 10:21 |
|
#85 |
New Member
Shen shiquan
Join Date: Jul 2016
Location: The State Key Laboratory of Engines (Tianjin University)
Posts: 12
Rep Power: 10 |
Hi Nimasan,
could you please send me your final code? Now I'm working on droplet condensation problem. Thank you very much. My email is shiquan@tju.edu.cn |
|
September 9, 2016, 16:48 |
Link to solver files not working
|
#86 |
New Member
Aslamah Rahman
Join Date: Sep 2016
Posts: 1
Rep Power: 0 |
Hello, I am new to CFD and is trying to simulate the same problem of droplet evaporation. This link posted in the thread which contains the files for solver appears to be empty now. Please do look into this and do share the code again if possible.
My mail ID is mm14b007@smail.iitm.ac.in Thank you for your time Last edited by asla9796; September 9, 2016 at 16:50. Reason: forgot to share id |
|
September 11, 2016, 11:50 |
|
#87 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
Hi
for now my code does work I will share my code when it will work see to OpenFOAM 1606 there is interEvaporatingCondensingFoam
__________________
best regards pblasiak |
|
September 20, 2016, 12:20 |
|
#88 |
New Member
AndyKing
Join Date: Dec 2013
Location: China
Posts: 1
Rep Power: 0 |
Hi Nimasam!
I'm working on the droplet evaporation topic and I'm very interested in your code. Could you please send me a copy of your final code? Thanks a lot! My best wishes! My email: andyking0928@foxmail.com |
|
April 1, 2017, 13:16 |
|
#89 |
New Member
Gautham Krishnan
Join Date: Feb 2016
Posts: 4
Rep Power: 10 |
Hi Nimasam!
I'm working on the droplet evaporation and I'm very interested in your code. Could you please send me a copy of your final code+ case file Thanks a lot! My best wishes! My email: [email]gkriz66@gmail.com |
|
June 7, 2017, 05:41 |
phaseChangeHeatFoam
|
#90 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Dear foamer
The latest version of my solver (phaseChangeHeatFoam), several test cases and published papers are available in github. https://github.com/NimaSam/phaseChangeHeatFoam/ please inform me about possible bugs. Best Regards
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 7, 2017, 13:41 |
phaseChangeHeatFoam compilation error
|
#91 |
New Member
Shyam Sunder
Join Date: Sep 2015
Posts: 27
Rep Power: 11 |
Dear Nima
Thank you very much for posting your solver. I tried compiling it in OpenFOAM 2.2.2, I am getting some errors which are as follows: 1) smoothInterfaceProperties.C:27:49: fatal error: alphaContactAngleFvPatchScalarField.H: No such file or directory #include "alphaContactAngleFvPatchScalarField.H" I could resolve this error by changing the path in the "smoothInterfaceProperties/Make/options" file 2) /usr/bin/ld: cannot find -ltwoPhaseInterfaceProperties This library is included in "phaseChangeHeatFoam/Make/options" but I could not locate it my OpenFOAM installation. Please help. Also how I can extend your solver to include Conjugate heat transfer in a solid, particularly the boundary condition at the solid-fluid interface, i.e. the incompressible version of "compressible::turbulentTemperatureCoupledBaffleMi xed" Thanks. Shyam |
|
June 8, 2017, 02:46 |
|
#92 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Dear Shyam
1- for your second question, i guess the name of library has been changed in newer version of OpenFOAM, i dont have OpenFOAM-2.2.0 to check it my self. but i guess it became libtwoPhaseProperties or libinterfaceProperties 2- you can see this paper
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
August 31, 2017, 13:13 |
|
#93 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
I cannot compile your code due to the following error: Code:
In file included from phaseChangeHeatFoam.C:57:0: createFields.H: In function ‘int main(int, char**)’: createFields.H:106:72: error: no matching function for call to ‘Foam::smoothInterfaceProperties::smoothInterfaceProperties(Foam::volScalarField&, Foam::volVectorField&, Foam::phaseChangeTwoPhaseMixture&)’ Cheers, Elham |
||
August 31, 2017, 14:44 |
|
#94 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
1-which version of openfoam, do u use?
2-you should first compile smoothInterfaceProperties using following command: Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
September 1, 2017, 09:53 |
|
#95 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
||
September 2, 2017, 02:19 |
|
#96 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Dear Elham it's been written for OpenFOAM_220, for upper versions of openfoam, you may need to change some of libraries name, because the basic solver which is interfoam is changed a lot through openfoam 2.2 to openfoam 3.0
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
September 22, 2017, 13:06 |
|
#97 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Dear Nima,
I have read your paper "The evaluation of the diffuse interface method for phase change simulations using OpenFOAM" and the phaseChangeHeatFoam code. To derive Sp you have used the right hand side of equation 18 but I am still wondering how you have derived su , as part of source term? I would appreciate if you give me some clues. Cheers, Elham |
|
September 23, 2017, 05:01 |
|
#98 | |||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Several points to clarify coding:
1)as i remember the formulation of MULES is like that: Quote:
Quote:
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||||
September 25, 2017, 02:10 |
|
#99 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
I am confused about deriving the source terms. Equation 18 is as following: ddt(alpha1)+U& grad(alpha1) +grad(alpha1(1-alpha1)Uc) = -mDot(1/rho1-alpha1(1/rho1-1/rho2))) and in eq 16: div (U) = mDot(1/rho2-1/rho1) substituting eq 16 into eq 18 and rearranging: ddt(alpha1) + grad(U,alpha1) + grad (alpha1(1-alpha1)Uc) = -mDot/rho1 So we should have: sp = 0 and su = mDot/rho1 But in alphaEqn.C: sp=mDot(1/rho1-alpha1(1/rho-1/rho2)) su=divU*alpha1 + mDot(1/rho1-alpha1(1/rho-1/rho2)) Thnaks for any help. Elham |
||
September 25, 2017, 12:21 |
|
#100 | |||||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Dear Elham
Please re-read my points, you will figure out how it is derived. equation 18: Quote:
then source terms for boiling and condensations would be: Sb=S*alpha1 Sc=S*(1-alpha1) Also i mentioned in previous post that: Quote:
Quote:
now consider boiling and condensation separately, for boiling the source term is Sb=S*alpha1 so Quote:
Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||||||
Tags |
boiling, evaporation, interfoam, phase change |
|
|