CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

melting problem: looking for appropriate solvers

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree167Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2011, 14:15
Question melting problem: looking for appropriate solvers
  #1
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
Did anybody solve melting problem with OpenFoam. Are there any appropriate solvers exist?
som is offline   Reply With Quote

Old   October 20, 2011, 16:23
Default meltFoam
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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
Attached Files
File Type: gz meltFoam.tar.gz (5.7 KB, 1672 views)
nimasam is offline   Reply With Quote

Old   October 20, 2011, 17:08
Default
  #3
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
many thanks i'll try it asap

Last edited by som; October 31, 2011 at 07:59.
som is offline   Reply With Quote

Old   October 29, 2011, 17:03
Default New non-isothermal melting solver
  #4
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
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
fabian_roesler is offline   Reply With Quote

Old   October 31, 2011, 14:57
Default
  #5
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
Quote:
Originally Posted by nimasam View Post
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

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
som is offline   Reply With Quote

Old   October 31, 2011, 15:07
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
yourwelcome, you can pay it forward
by putting your modified solver here for other users use

be lucky
nimasam is offline   Reply With Quote

Old   November 1, 2011, 13:56
Default
  #7
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
Quote:
Originally Posted by fabian_roesler View Post
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


Attachment 9805
Attachment 9806

Hello. Your solver also works after some minore changes. Very fast for testcase geometry
apple-tree and amir_kb like this.
som is offline   Reply With Quote

Old   November 7, 2011, 03:16
Default Re: Melting problem
  #8
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Quote:
Originally Posted by som
hello, Fabian

I read your artical. It's very interesting for me.
Now I try to solve the following case : moving spherical
heat source in a tube storrage. How do you think is it possble to apply your solver for this problem?
Hi som

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
HappyS5 likes this.
fabian_roesler is offline   Reply With Quote

Old   November 21, 2011, 08:25
Default
  #9
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
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?
som is offline   Reply With Quote

Old   February 14, 2012, 05:05
Default
  #10
Member
 
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16
AnjaMiehe is on a distinguished road
Hello everybody,

Quote:
Originally Posted by nimasam View Post
yourwelcome, you can pay it forward
by putting your modified solver here for other users use
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.
Attached Files
File Type: gz erfConvectiveMeltingPimpleFoam.tar.gz (3.6 KB, 910 views)
AnjaMiehe is offline   Reply With Quote

Old   March 4, 2012, 14:37
Default
  #11
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
Quote:
Originally Posted by AnjaMiehe View Post
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.


What Stefan problem testcase do you mean? Where can i find it?
som is offline   Reply With Quote

Old   March 4, 2012, 14:52
Default
  #12
Member
 
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16
AnjaMiehe is on a distinguished road
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
Thamali and Kummi like this.
AnjaMiehe is offline   Reply With Quote

Old   March 4, 2012, 15:19
Default
  #13
som
New Member
 
Serge Shlump
Join Date: Oct 2011
Posts: 24
Rep Power: 14
som is on a distinguished road
Quote:
Originally Posted by AnjaMiehe View Post
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

yes, i know about it. I asked you about testcase for openfoam. Did you mean galliumErfMelting testcase or something else?
som is offline   Reply With Quote

Old   March 5, 2012, 03:19
Smile Stefan Testcase
  #14
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
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
fabian_roesler is offline   Reply With Quote

Old   March 5, 2012, 07:55
Default
  #15
Member
 
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16
AnjaMiehe is on a distinguished road
Quote:
Originally Posted by som View Post
yes, i know about it. I asked you about testcase for openfoam. Did you mean galliumErfMelting testcase or something else?
Hi,

I used the testcase of Fabian, the gallium melting and the Stefan Problem.

Regards, Anja
AnjaMiehe is offline   Reply With Quote

Old   June 6, 2012, 23:21
Default
  #16
New Member
 
David
Join Date: May 2012
Location: Canada
Posts: 12
Rep Power: 13
salehda is on a distinguished road
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
salehda is offline   Reply With Quote

Old   June 11, 2012, 10:09
Default
  #17
Member
 
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16
AnjaMiehe is on a distinguished road
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
Attached Files
File Type: gz meltIcoFoam.tar.gz (3.7 KB, 484 views)
atulAtcae and Harris_Daniel like this.
AnjaMiehe is offline   Reply With Quote

Old   June 11, 2012, 10:28
Default compilation meltFoam
  #18
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
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
fabian_roesler is offline   Reply With Quote

Old   June 11, 2012, 11:22
Default new MeltFoam solver for OF 2.1
  #19
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
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
Attached Files
File Type: gz meltFoam.tar.gz (5.3 KB, 1005 views)
olivierG, Yahoo, JR22 and 5 others like this.
fabian_roesler is offline   Reply With Quote

Old   June 12, 2012, 08:36
Default
  #20
Member
 
Anja Miehe
Join Date: Dec 2009
Location: Freiberg / Germany
Posts: 48
Rep Power: 16
AnjaMiehe is on a distinguished road
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
atulAtcae likes this.
AnjaMiehe is offline   Reply With Quote

Reply

Tags
melting openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:22.