TAGGED: define-source, udf
-
-
July 16, 2024 at 6:55 pmAsif Shahriar NafiSubscriber
Hi
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 amRobForum Moderator
It 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
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1301
-
591
-
544
-
524
-
366
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.