-
-
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.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
3778
-
2587
-
1831
-
1242
-
598
© 2023 Copyright ANSYS, Inc. All rights reserved.