-
-
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.
Innovation SpaceTrending discussionsTop Contributors-
5844
-
1906
-
1420
-
1305
-
1021
Top Rated Tags© 2026 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 will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.