0% found this document useful (0 votes)
11 views

Transient BC

The document describes a transient temperature profile boundary condition for a simulation. It took 05h:15min:57 sec to run. Thermocouples data and wall transient temperature are mentioned. The code defines an unsteady temperature profile User Defined Function that calculates temperature as a polynomial function of time at each cell face.

Uploaded by

ngothientu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Transient BC

The document describes a transient temperature profile boundary condition for a simulation. It took 05h:15min:57 sec to run. Thermocouples data and wall transient temperature are mentioned. The code defines an unsteady temperature profile User Defined Function that calculates temperature as a polynomial function of time at each cell face.

Uploaded by

ngothientu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 2

The Process in this example took 05h:15min:57 sec

Thermocouples data

Wall transient temperature


/*********************************************************************
unsteady.c UDF for specifying a transient temperature profile boundary condition
***********************************************************************/

#include "udf.h"

DEFINE_PROFILE(unsteady_temperature, thread, position)


{
face_t f;
real t = CURRENT_TIME;

begin_f_loop(f, thread)
{

F_PROFILE(f, thread, position) =(-9e-23*t*t*t*t*t*t)+(8e-18*t*t*t*t*t)-(2e-13*t*t*t*t)+(3e-09*t*t*t)-(2e-


05*t*t)+(0.0845*t)+282.3;

}
end_f_loop(f, thread)

You might also like