-
-
July 18, 2019 at 11:13 am
-
July 18, 2019 at 11:30 am
DrAmine
Ansys EmployeeYes: either profile file or profile UDF or expression.
-
July 18, 2019 at 11:42 am
sooraj546
SubscriberBut there in the drop down section of external radiation temperature box as shown above .................. there there is no option called user defined for attaching the define profile udf .................... etc.........Â
thanks a lot for replying
-
July 18, 2019 at 12:01 pm
DrAmine
Ansys EmployeeJust load a profile udf and you will see that.
-
July 18, 2019 at 12:36 pm
sooraj546
Subscriberthanks a lot sir it worked .....well
Â
Â
-
July 18, 2019 at 12:52 pm
sooraj546
SubscriberThis was my code:
DEFINE_PROFILE(temp_time, t, i)
{
face_t f;
Domain *domain;
real T;
int boundaryID=5; /*wall ID*/
real the_current_time;
the_current_time = CURRENT_TIME;
Â
thread_loop_f(t,domain)
{
if (THREAD_ID(t)==boundaryID)
{
begin_f_loop(f,t)
{
if (the_current_time<100)
{
T=1200;
}
else if (the_current_time>=100)
{
T=1473;
}
}
end_f_loop(f,t)
}
}
}
its showingÂ
MPI Application rank 0 exited before MPI_Finalize() with status 1
-
July 18, 2019 at 2:09 pm
DrAmine
Ansys EmployeeI do not comment on UDF anymore: but why looping over all threads again when you are already in the right thread?. Check the manual it contains a lot of example for DEFINE_PROFILE. You can use Fluent Expression for this simple thing.
-
- The topic ‘How to input variable temperature as radiation in wall boundary condition ?’ is closed to new replies.
-
3597
-
1208
-
1092
-
1068
-
952
© 2025 Copyright ANSYS, Inc. All rights reserved.