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

Hooking multiple UDF on a 2D pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2016, 08:20
Default Hooking multiple UDF on a 2D pipe
  #1
New Member
 
Aditya Kadam
Join Date: Jun 2016
Location: Mumbai
Posts: 1
Rep Power: 0
Aditya Kadam is on a distinguished road
Somebody, please check my code.
You may open the attached file to understand the question.

#include "udf.h"
DEFINE_ADJUST (unsteady_temperature_name, thread)
{
int position;
face_t f;
real t = CURRENT_TIME;
begin_f_loop (f, thread)
{
F_PROFILE (f, thread, position) = (300+ 0.0066*t - 7*0.000001*t*t)
}
end_f_loop (f, thread)
}

Relation of temperature w.r.t time is different for each part of the pipe.
Attached Files
File Type: pptx He charged assembly.pptx (37.4 KB, 5 views)
Aditya Kadam is offline   Reply With Quote

Reply

Tags
hooking udf, multiple udf, unsteady temperature


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
GAMBIT : Pipe with multiple holes MML FLUENT 13 November 2, 2017 11:45
Problem with loading udf on multiple nodes JurijG Fluent UDF and Scheme Programming 0 July 22, 2011 06:42
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari Fluent UDF and Scheme Programming 0 August 19, 2010 04:09
[UDF] How to use multiple udf file? lalula2 Fluent UDF and Scheme Programming 1 May 31, 2009 18:30


All times are GMT -4. The time now is 14:58.