TAGGED: define-source, udf
-
-
July 16, 2024 at 6:55 pm
Asif Shahriar Nafi
SubscriberHi
I have a question regarding the derivative of the source term in DEFINE_SOURCE macro.
Is derivative mandatory in the macro? As far I know, it is for solver stability. I noticed that when I do not provide dS[eqn] in the UDF, it still works and nothing changes.Â
My source term is a very big equation and the derivative itself is basically 100 lines of extra code. Is it a must that I include derivative?
-
July 17, 2024 at 10:18 am
Rob
Forum ModeratorIt tends to help, but isn't required. dS[eqn] = 0. is used in a few of the examples.Â
-
Viewing 1 reply thread
- The topic ‘Source term derivative in Fluent UDF DEFINE_SOURCE(MOMENTUM, c, t, dS, eqn)’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
2979
-
970
-
857
-
755
-
599
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.