TAGGED: define-source, udf-fluent
-
-
September 25, 2020 at 5:50 am
naibaf
SubscriberDear all,I have question regarding the DEFINE_SOURCE UDF. I want to apply a mass source to my model. When hooking a source function to a cell zone, is the source term then calculated and applied for each individual cell in cell zone or is a mean value from all cells applied to selected cell zone?nFrom the manual (Customization Manual Part I Chapter 2.3.41.2. The solver passes to the DEFINE_SOURCE term UDF all the necessary variables to define a custom source term, since source terms are solved on a cell basis) I suggest, that the source term is calculated an applied for each cell individual, am I right with this?n nThank you for your help!n -
September 25, 2020 at 10:47 am
Rob
Forum ModeratorThe source term will be applied to the whole cell zone, but the individual cell volume is accounted for in the calculation. Ie for mass a larger cell will get more mass added but the mass/m3 will be the same for all cells. n -
September 25, 2020 at 11:21 am
naibaf
SubscriberHallo,nnThank you for your answer. This means if I calculate a mass source for each cell (e.g. based on density variation, like degassing Boundary udf in the manual) this mass is not directly added or removed from the individual cell? Fluent is calculating an overall value for the whole cell zone, which is than applied to the cells and weighted by cell volume? Am I right?.Regardsn -
September 25, 2020 at 12:59 pm
Rob
Forum ModeratorIf you're running a cell loop it'll add based on the cell, I thought you were adding a bulk value. Best way is to test using some dummy values. n -
September 25, 2020 at 1:11 pm
naibaf
SubscriberNo I don't use a bulk value. I want to simulate some kind of absorption of one phase, based on density variation. A little bid similar to the degassing udf in the manual. But I wanted to model absorbtion on cell basis. So if I use a cell loop in the DEFINE_SOURCE udf it is possible to simulate such a case? Or do you mean the DEFINE_SOURCE is looping on their own and adds or removes the mass for each cell Individual?.Regards
-
Viewing 4 reply threads
- The topic ‘In Fluent is the DEFINE_SOURCE UDF applied to each cell in the cell zone?’ is closed to new replies.
Innovation Space
Trending discussions
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
4092
-
1487
-
1318
-
1156
-
1021
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.