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

UDS to store Temperature Gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2022, 13:43
Default UDS to store Temperature Gradient
  #1
New Member
 
goksu
Join Date: Jan 2022
Posts: 3
Rep Power: 4
goksue is on a distinguished road
My UDS Scalar 3 will store temperature gradient.
But this code gives fatal signal what is wrong here? thank you


#include "udf.h"

DEFINE_ADJUST(my_adjust,d)
{
Thread *t;
cell_t c;

thread_loop_c(t,d)
{
begin_c_loop(c,t)
C_UDSI(c,t,3) = C_T_G(c,t);
end_c_loop(c,t)
}

}
goksue is offline   Reply With Quote

Reply

Tags
adjust function, uds gradient of scalar


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
temperature store and monitoring UDF indsujin Fluent UDF and Scheme Programming 1 July 9, 2021 05:08
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 18:00
Gradient of UDS gemini Fluent UDF and Scheme Programming 2 December 24, 2013 01:24
How to compute UDS fourth order gradient Emma66 FLUENT 1 April 27, 2010 06:44


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