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

Heat source on variable surface

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2015, 17:24
Default Heat source on variable surface
  #1
Member
 
Rafal
Join Date: Aug 2013
Location: CK
Posts: 36
Rep Power: 12
vekh is on a distinguished road
Hello.
I want to conduct ice melting simulation. I've created volumetric heat source (w/m^3) which is limited by certain radius and height condition:
Code:
if ((prom<=r)&&(yc>=0.0009)&&(yc<=0.001))
	{		
	       source = 5e12;
	}
	else
	{
		source = 0;
	}
At the beginning of the simulation everything works fine, but when the surface of the ice begins to deform temperature raise above 5k K

In the picture you can see deformed ice surface. I think that I need to write condtition which will define that source should "follow" ice surface. Now it seems like heat source affects air - that's why temperature rise to such high values.
I got the idea to add another condtion - source should act only when the density is at specific value. But on the other hand i should know what are the coordinates of free surface - source should have same "depth" across surface.
Can anybody gave me a hint where to find solution or promt some UDF example? I don't need exact solution - just example how to track such kind of surface changes.
vekh is offline   Reply With Quote

Reply

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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
variable heat source simulation LI Y FLUENT 1 April 8, 2003 00:46


All times are GMT -4. The time now is 10:37.