|
[Sponsors] |
January 13, 2015, 23:24 |
Condensation using OpenFOAM
|
#1 |
New Member
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11 |
Hi all,
I would like to know much about how condensation phenomenon could be done by using openFOAM solvers like twoPhaseEulerFoam and compressibleTwoPhaseEulerFOAM. Any detailed info abt tutorials related with any of these solvers or journals regarding multiphase flow would be most appreciated. There are certain default tutorials like bubblecolumn and bed in these solvers but no detailed info abt what it does isn't provided. Thank you, Have a great day all Last edited by ARUN K RAJ; January 20, 2015 at 14:07. Reason: If one could possibly help with interPhaseChangeFoam also it will be helpful |
|
January 18, 2015, 04:35 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Arun,
I've made a very quick search online just now for "OpenFOAM condensation" and the following two links seem to be a good starting point:
Bruno
__________________
|
|
January 20, 2015, 14:06 |
|
#3 |
New Member
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11 |
Thank you Bruno,
I have started to solve condensation in a vertical plate geometry as a start using interPhaseChangeFoam. I have added the energy equation as per the Martin's tutorial related with interPhaseChangeFoam. But the problem i face now is i get many errors such as the ones below: Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libfiniteVolume.so" #7 at interPhaseChangeFoam.C:0 #8 in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/interPhaseChangeFoam" #9 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #10 in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/interPhaseChangeFoam" Floating point exception (core dumped) It is most certainly related with my boundary conditions or may be the new addtions i have made to the solver using the tutorial. But i have tried changing the B.C's bt the same error shows up after few iterations. Could anyone suggest me hw to solve this problem... Last edited by wyldckat; January 25, 2015 at 10:58. Reason: Added [CODE][/CODE] |
|
January 20, 2015, 23:15 |
|
#4 |
Member
Ron
Join Date: Jul 2014
Location: Japan
Posts: 40
Rep Power: 11 |
Arjun,
This work is already available on Chalmers website as pointed by wyldckat. You might be messing with some terms carefully follow the instruction given in the report. http://www.tfd.chalmers.se/~hani/kur...ChangeFoam.pdf Cheers Chalmers |
|
January 25, 2015, 11:01 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer:
Quote:
This to say that if you have not yet solved this problem, then please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html |
||
January 27, 2015, 00:43 |
Hello :)
|
#6 |
New Member
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11 |
I would make my problem clear first of all. I am trying to study condensation phenomenon in a vertical flat plate geometry. The inlet is marked as top of plate. I am using steam-air mixture for analysis. I hve added the temperature to the solver " InterPhaseChangeFoam" using the tutorial by Martin andersen. http://www.pdfiz.net/k-7721458.html
Problems faced: 1. when i am trying to compile the solver i get these errors : /opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H: In function ‘int main(int, char**)’: /opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:17:6: warning: unused variable ‘alphaApplyPrevCorr’ [-Wunused-variable] /opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:23:8: warning: unused variable ‘icAlpha’ [-Wunused-variable] /opt/openfoam230/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable] 2. Secondly if i proceed further with this solver, If i change my deltaT value to a higher value like 0.01 or 0.1 (usually deltaT was 1e-08 as in tutorial of cavitating bullet as exmaple of interphasechangefoam solver) the iterations stops since the courant number reaches a much higher value of the order of (e100 ++). 3. I am using cavitation model of Merkle Any help would be most appreciated. Last edited by wyldckat; January 27, 2015 at 14:19. Reason: fixed broken link |
|
January 27, 2015, 14:28 |
|
#7 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Arun,
Quote:
I'll quote myself from a post I made back in 2010 : Quote:
Quote:
Who? Please be clearer regarding specific details, because even if I might be able to get you in the right direction, you should not assume that I know everything, because I do not know everything about everything . Best regards, Bruno |
||||
January 31, 2015, 09:56 |
|
#8 |
New Member
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11 |
Thank you ALL for the valuable help and suggestions
I am trying to switch to twoPhaseEulerFoam as it seems to be the choice of most of the members here to perform condensation phenomenon in heat pipe. I have started studying abt the solver using the tutorial "bed". If anyone knws some papers relating to condensation & heat pipes using the solver pls let me know |
|
March 11, 2015, 03:31 |
|
#9 | |
New Member
Bibin K.S
Join Date: Oct 2014
Posts: 19
Rep Power: 11 |
Quote:
come to me I ll tell.. |
||
March 11, 2015, 16:53 |
|
#10 | |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 15 |
hi Arun,
why did you decided to change it to Eulerian model? what is your application? is it heat exchanger or? thanks! Quote:
|
||
May 19, 2015, 08:48 |
|
#11 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15 |
Hi Arun
I am also trying to make solver to model condensation. I followed Martin's tutorial and used Merkle model. However it only works for coarse mesh with Co = 0.0001 or lower and timestep of order 1e-8. Additionally results were unphysical. I do not know why timestep is so small in interPhaseChangeFoam but in interFoam it is or order of 1e-3.
__________________
best regards pblasiak |
|
May 19, 2015, 08:53 |
|
#12 | |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 15 |
Hi Gaza,
It is better to share the code in order to see what is wrong with it.. general comments lie this it is very difficult to understand and fix it... which version of OF are you using? what can of application are you going to simulate? thanks! kanarya Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How accurate can CFX model condensation? | JuPa | CFX | 7 | January 20, 2019 17:17 |
[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160 | rosswin | OpenFOAM Meshing & Mesh Conversion | 0 | March 5, 2013 07:34 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 13:14 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |