# udf for kasuda equation

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

 November 17, 2014, 10:31 udf for kasuda equation #1 Member   Join Date: May 2014 Posts: 31 Rep Power: 3 hi everyone the kasuda equation shown below : where Z is the ground depth (in meter) and Ƭ is the time ( in day) other parameters is given does anyone write this udf before in fluent or can help me to define it in fluent ?

 November 17, 2014, 10:43 #2 Senior Member   Join Date: Nov 2013 Posts: 670 Rep Power: 9 Steps to do this: 1. Find out how to set a simple temperature profile, such as T(Z,tau)=Z+tau. It does not have to make physical sense, but just to make sure you understand how to put this in Fluent. For this, look in the Fluent help, there must be examples. 2. Change Z+tau to the Kasuda equation. That would look like: (typo's might still be present) Code: `T_g+A_Gs*exp(-Z*sqrt(M_PI/365/alpha_s))*cos(2*M_PI/365*(tau-tau_0-Z/2*sqrt(365/M_PI/alpha_s)))` Good luck! reza67 likes this.

November 18, 2014, 02:24
#3
Member

Join Date: May 2014
Posts: 31
Rep Power: 3
Quote:
 Originally Posted by pakk Steps to do this: 1. Find out how to set a simple temperature profile, such as T(Z,tau)=Z+tau. It does not have to make physical sense, but just to make sure you understand how to put this in Fluent. For this, look in the Fluent help, there must be examples. 2. Change Z+tau to the Kasuda equation. That would look like: (typo's might still be present) Code: `T_g+A_Gs*exp(-Z*sqrt(M_PI/365/alpha_s))*cos(2*M_PI/365*(tau-tau_0-Z/2*sqrt(365/M_PI/alpha_s)))` Good luck!
thanks pakk
i never work with fluent's udf before
do you have any examples like T(Z,tau)=Z+tau to learn how to write it ?

 November 18, 2014, 03:54 #4 Senior Member   Join Date: Nov 2013 Posts: 670 Rep Power: 9 Did you already look for it in the Fluent help?

November 19, 2014, 04:41
#5
Member

Join Date: May 2014
Posts: 31
Rep Power: 3
Quote:
 Originally Posted by pakk Did you already look for it in the Fluent help?
i looked but i dont know how should i start to learning udf

 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 tomas Fluent UDF and Scheme Programming 7 September 10, 2013 02:08 89566008 Fluent UDF and Scheme Programming 2 October 22, 2012 07:23 Rich Main CFD Forum 0 December 16, 2009 15:01 Anbazhagan R FLUENT 0 February 21, 2007 07:19 wassim FLUENT 5 February 14, 2007 23:56

All times are GMT -4. The time now is 19:51.