-
-
December 12, 2020 at 11:00 pm
DJENDARA
SubscriberHI , I HAVE A GREAT PROBLEM WHEN I HOOK AN SOURCE TERM I HAVE FOUND THE DIFFERENT RESULTS SPECIALLY WHEN I RUN TOW CALCULATION HAVE SAME STRICTURE EXP : POISSON EQUATION USING "UDS" VS HEAT EQUATION USING ENERGY EQUATION IN FLUENT USING SIMPLE ALGORITHM I FOUND THE FOLLOWING RESULTS :
1 /WHEN I RUN EQUATION WITH INTERPRETED SOURCE TERM FOR ENERGY GIVE REASONABLE RESULT
2 /WHEN I RUN EQUATION WITH INTERPRETED SOURCE TERM FOR ENERGY GIVE HUGE VALUES
THE UDF ARE :
DEFINE_SOURCE(ENERGY_SOURCE, c, thread, dS, eqn)
{
Domain *d = Get_Domain(1);
int fluid_ID = **;
Thread *t_fluid = Lookup_Thread (d,fluid_ID);
Source = C_T(c,t_fluid);
dS[eqn]=1;
return Source;
}
DEFINE_SOURCE(POISSON_SOURCE, c, thread, dS, eqn)
{
Domain *d = Get_Domain(1);
int fluid_ID = **;
Thread *t_fluid = Lookup_Thread (d,fluid_ID);
Source = C_UDSI(c,t_fluid,0);
dS[eqn]=1;
return Source;
}
PLEASE HELP !
December 14, 2020 at 11:59 amRob
Forum ModeratorAre you adding the source to the energy equation?
Viewing 1 reply thread- The topic ‘SOURCE TERM IN FLUENT !’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3467
-
1057
-
1051
-
929
-
896
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY