# Problem with tin melting...

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 May 18, 2005, 19:25 Problem with tin melting... #1 Marek Guest   Posts: n/a Hi. I'm new in Fluent and like I've mentioned in subject I have a problem with melting. I'm trying to model a problem fully described at: http://www.fast.u-psud.fr/~gobin/bench.html I have set everything, like it is described there (2d, incompressible, unsteady, laminar, no slip, all thermophysical properities and Boussinesq approximation) but I get incorrect results. I've tried to play with mesh, time step and under relaxation coefficients, but still nothing. My results are similar in general, but the melting process takes place to quick. There is only one thing which I'm not sure. Source terms added to momentum and energy equations. I've read about that in few studies about melting in rectangular cavity. They are added in momentum eq. to account for the velocity suppression. I assumed, that Fluent calculates them itself, but now I'm not sure. So my new idea is tu prepare an UDF and add them to equations. Am I correct? ;-) If yes, there is a little problem With the exception of last few hours spent on reading manual, i have no idea about writing UDFs and programming in C. So I need some help. The forms of source terms are: - x momentum: S= -A*u, where A=(C*(1-f)**2)/(f**3+q) ;f-liquid fraction - y momentum: S= -A*v - r*g*b*(h-h ref)/cp, where r-density, b - thermal exp. coef. - energy s= r*L*(df/dt) Full description is available as pdf file at http://tinyurl.com/ax7tq (e.g. Appendix II) Do someone know which of them I need to specify in UDF, and which of them Fluent calculates itself? As I've mentioned I have almost no idea about C, so every help will be appreciated. My conception is to change the example macro (DEFINE_SOURCE) from manual a bit, but I don't now how to deal with f - liquid fraction from my formula. Thanks in advance. Marek

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post venkataramana OpenFOAM 3 December 1, 2013 08:30 St.Pacholak OpenFOAM 9 November 22, 2011 11:02 Se-Hee CFX 2 June 10, 2007 06:29 ParodDav CFX 5 April 29, 2007 19:13 M FLUENT 0 April 29, 2007 16:07

All times are GMT -4. The time now is 00:11.

 Contact Us - CFD Online - Privacy Statement - Top