|
[Sponsors] |
melting problem: looking for appropriate solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 20, 2011, 14:15 |
melting problem: looking for appropriate solvers
|
#1 |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
Did anybody solve melting problem with OpenFoam. Are there any appropriate solvers exist?
|
|
October 20, 2011, 16:23 |
meltFoam
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
1) here is a solver i found some months ago in forum so if you search in forum you maybe find more
2) to use this solver, compile it with wmake command 3) it has a test case too |
|
October 20, 2011, 17:08 |
|
#3 |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
many thanks i'll try it asap
Last edited by som; October 31, 2011 at 07:59. |
|
October 29, 2011, 17:03 |
New non-isothermal melting solver
|
#4 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi
I was writing a new melting solver for non-isothermal phase change. It can be used for isothermal melting as well. In the near future I want to combine meltFoam with my new solver which is significantly faster than the old solver. I although wrote an article about my work. Have a look here: F. Rösler, D. Brüggemann (2011): Shell-and-tube type latent heat thermal energy storage: numerical analysis and comparison with experiments. Heat and Mass Transfer, Vol. 47 Issue 8 , 1027-1033, DOI: 10.1007/s00231-011-0866-9 http://www.springerlink.com/content/b1tp01k2u7q8j432/ What do you plan to do? Regards Fabian galliumErfMelting.zip erfConvectiveMeltingPimpleFoam.zip |
|
October 31, 2011, 14:57 |
|
#5 | |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
Quote:
It's been written for openFoam 1.3. I've managed to compile it after some minor changes for openfoam v2.01 .It works fine. Thanks again, Serge |
||
November 1, 2011, 13:56 |
|
#7 | |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
Quote:
Hello. Your solver also works after some minore changes. Very fast for testcase geometry |
||
November 7, 2011, 03:16 |
Re: Melting problem
|
#8 | |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Quote:
I don't quite know what you mean with moving spherical heat source. But it sounds to me like a boundary condition, right? So it must be possible to attach my solver to this problem. Glade you like my solver. I'm still working on it to allow moving rigid body (solid phase) and volume expansion of the melt into a gaseous phase with volume-of-fluid method. Regards Fabian |
||
November 21, 2011, 08:25 |
|
#9 |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
I have a ball with fixed T gradient on the boundary. this ball is placed into tube full of wax. Your solver acts very well with such problem.
Now i have new problem. I want make the ball moving in the tube. I've tried to setup the boundary of the ball to type movingWallVelocity and run the case. Everything is good but a cant see any boundary displacement in ParaFoam. Any ideas? |
|
February 14, 2012, 05:05 |
|
#10 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
Hello everybody,
I quite agree and as I succeeded in compiling it in 2.1.0, see for the adapted solver below. The testcase given earlier by Fabian works and a Stefan-Problem testcase shows very good agreement between the numerical and the analytical solution. |
|
March 4, 2012, 14:37 |
|
#11 | |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
Quote:
What Stefan problem testcase do you mean? Where can i find it? |
||
March 4, 2012, 14:52 |
|
#12 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
Hello Serge,
and welcome back to the thread. The Stefan Problem or Stefan Task is a classical testcase of solidification or melting, in fact where a moving boundary is met. The problem has an analytical solution depending on the various possible boundary conditions and as it is but 1 dimensional, it is very fast to validate parts of the code. Try the key words "Stefan task solidification melting" in google or google scholar. I have just tried it and received lots of good hits. Have a nice evening, Anja |
|
March 4, 2012, 15:19 |
|
#13 | |
New Member
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 15 |
Quote:
yes, i know about it. I asked you about testcase for openfoam. Did you mean galliumErfMelting testcase or something else? |
||
March 5, 2012, 03:19 |
Stefan Testcase
|
#14 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi
I used the gallium melting test case by Gau and Viskanta [Gau C. and Viskanta R.: Melting and Solidification of a Pure Metal on a Vertical Wall, Journal of Heat Transfer, 1986, 108(1), pp. 174–181] for validation. However there are two Stefan problem test cases that are also often used when it comes to melting simulation. The one phase or two phase Stefan problem. Have a look into Cranks book [Crank J.: Free and Moving Boundary Problems, 1984, Oxford University Press, Oxford]. Regards Fabian |
|
March 5, 2012, 07:55 |
|
#15 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
||
June 6, 2012, 23:21 |
|
#16 |
New Member
David
Join Date: May 2012
Location: Canada
Posts: 12
Rep Power: 14 |
Hi
I am trying to Compile the meltFoam.C , but I wasn't succesful because it was made for an older version - I had OpenFOAM-2.1.0 . and while compiling it gave me an error message related to readSIMPLEControls.H: No such file or directory Any suggestions how to solve that please ? Thanks David |
|
June 11, 2012, 10:09 |
|
#17 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
Hello David,
this I not trivial for me either as the solver was coded in 1.4.1, or at least that is the tag in the test case. Also, the test case proposes icoFoam, a PISO based solver, to solve the test case. I tried to rewrite meltFoam in 2.1.0 using the SIMPLE Algorithm but I found far more similarities in coding with the icoFoam solver in 2.1.0. Therefore, and as my try for the meltSimpleFoam does compile but not solve the test case, here is my idea for the meltIcoFoam in 2.1.0 . For me, it compiles only with warnings and the rough test case given earlier in this thread works alright. I can't guarantee for anything. I hope this is a help for you, Regards, Anja |
|
June 11, 2012, 10:28 |
compilation meltFoam
|
#18 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi
The meltFoam solver is based on the old buoyantBoussinesqPisoFoam solver as buoyancy is taken into account. You should be able to translate the solver to OpenFOAM 2.1.x. I did that few month ago but without comments and bad syntax. Maybe I can post the solver for OF_2.1.x after a small revision in the next days if you still need it . Regards Fabian |
|
June 11, 2012, 11:22 |
new MeltFoam solver for OF 2.1
|
#19 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi all
I posted that it might take some time to review the meltFoam solver and port it from OF_1.7 to OF_2.1 but I felt like doing it instantly. So here you go . I hope you enjoy it. Regards Fabian |
|
June 12, 2012, 08:36 |
|
#20 |
Member
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16 |
Hello,
thanks for the code Fabian, nice to see that I did a good job with the changings of erfConvectiveMeltingPimpleFoam posted here in #10 earlier ;-) As far as my post on meltIcoFoam goes, I thought David was asking for an adapted coding of the solver in post #2 and that one is based on 1.4.1. Thanks again for your code in general, I am having fun with it. Anja |
|
Tags |
melting openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Melting and solidification with free surface problem? | cqlwj123 | CFX | 6 | July 25, 2013 03:46 |
Can I solve this problem by Fluent? | Kai_kc | FLUENT | 1 | October 27, 2010 06:29 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Melting Problem | M | FLUENT | 0 | April 29, 2007 17:07 |