CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Writing udf for Transient Heat conduction boundary value problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2015, 14:47
Post Writing udf for Transient Heat conduction boundary value problem
  #1
New Member
 
up
Join Date: Oct 2015
Posts: 10
Rep Power: 11
abhi12019 is on a distinguished road
I am solving a transient heat conduction boundary value problem and I am stuck at defining the udf for these boundary conditions.
Refer to page number 89 of the following paper for the boundary conditions.

http://eprints.nmlindia.org/5588/1/81-98.PDF

Is it possible to define a udf for this? If yes, how?
abhi12019 is offline   Reply With Quote

Old   October 6, 2015, 12:20
Default
  #2
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Just a tip: you're more likely to get an answer if you explain what it is you want to do and what have you done so far, rather then expect others to study your problem.
Cheers.
brunoc is offline   Reply With Quote

Old   October 7, 2015, 06:07
Default Regarding problem in boundary condition
  #3
New Member
 
up
Join Date: Oct 2015
Posts: 10
Rep Power: 11
abhi12019 is on a distinguished road
I am solving a heat conduction problem in whcich a spherical shell is formed on a solid sphere.
Model equation :
From 0<r<R0 and 0<t<ttotal
(1/r^2)*d(Kb*r^2dT/dr)/dr=rho*Cb*dT/dt
From R0<r<R and 0<t<tb
(1/r^2)*d(Kf*r^2dT/dr)/dr=rho*Cf*dT/dt

Initial conditions :
(i)t=0 and 0<r<R0
T=T0
(ii)t=0 and R0<r<R
T=Tbath

Boundary conditions :
(i) r=0 and 0<t<ttotal
dT/dr=0
(ii)r=R0 and 0<t<tb
Kb*dT/dr|b=Kf*dT/dr|f
(iii) r=R and 0<t<tb
T=Tmpbath
(iv) 0<t<tb
Kf*dT/dr|f=rhof*deltaH*dr/dt+h*(Tbath-Tmpshell)
tb<t<ttotal
Kb*dT/dr|b=rhof*deltaH*dr/dt+h*(Tbath-Tmpshell)

Where :
r=variable radius in sphere and shell
R0=Radius of sphere
R=Radius of spherical Shell
t=time
tb=time for base solid dissolve
ttotal=time when entire shell ans sphere dissolve
rho=density
deltaH=latent heat
Kb=thermal conductivity of base sphere
Kf=thermal conductivity of spherical shell
T=temperature
T0=room temperature
Tbath=1250 degree celsius
Tmpbath=1540 degree celsius
Tmpshell=melting point of shell


How to write boundary condition (ii) and (iv) in comsol expressions function.
abhi12019 is offline   Reply With Quote

Old   October 7, 2015, 10:10
Default
  #4
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
If you're ignoring fluid flow, what you have is a pretty straight heat conduction problem with phase change. You can solve that in Fluent without the need of UDFs by using the 3D solver with the solidification model.

The BC you mentioned will be handled automatically by Fluent in this case.
brunoc is offline   Reply With Quote

Reply


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Define_profile UDF for Transient Heat flux boundary condition Amoljoshi Fluent UDF and Scheme Programming 2 June 20, 2018 22:55
Problem with SIMPLEC-like finite volume channel flow boundary conditions ghobold Main CFD Forum 3 June 15, 2015 12:14
Heat conduction problem help lucky_m_m Main CFD Forum 0 October 17, 2013 09:15
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 18:54.