|
[Sponsors] |
Heat Flux UDF in 2-Phase Flow with Solidification |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 30, 2014, 10:17 |
Heat Flux UDF in 2-Phase Flow with Solidification
|
#1 |
Member
Join Date: Jul 2010
Posts: 37
Rep Power: 16 |
Hi,
I'm looking to use UDF's for my (thermal) wall boundary conditions using Fluent only I'm not sure how exactly to go about it, particularly when it comes to accessing the relevant solver arrays. In more specific detail, the problem I'm studying considers two phases, with melting/solidification also activated such that one of the two phases, "liquid-solid" in the fluent materials database, can solidify through heat loss. To date I've just used a mixture of adiabatic and fixed temperature thermal boundary conditions but I think I would like to write a custom boundary condition which expresses the heat flux normal to the surface, with respect to the phase fraction averaged (mixture) thermal conductivity. q = -k(mix)*deltaT. In reality I will probably use a mixture of solid (k of the BC) and fluid (k of the phases) thermal conductivities My first question therefore is how do I access the thermal conductivity (mixture) variable in a UDF? If I initialise the temperature field with a value of 300K, for example, how do I then access the temperature on the faces of the boundary condition? This is such that I can determine the deltaT relative to a fixed freestream temperature to enforce the q Neumann BC. My final question for now, particularly to those with more UDF experience, is should I be concentrating my efforts on the DEFINE_PROFILE or DEFINE_HEAT_FLUX? I think the latter. Thanks a lot. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for wall heat flux ? | Seyoung Oh | FLUENT | 6 | August 4, 2018 06:44 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Space- and time-dependant heat flux via UDF | flotus1 | Fluent UDF and Scheme Programming | 4 | September 10, 2012 09:00 |
UDF to calculate average heat flux | dynamics | Fluent UDF and Scheme Programming | 0 | July 21, 2012 19:54 |
Natural convection - Inlet boundary condition | max91 | CFX | 1 | July 29, 2008 21:28 |