TAGGED: ansys-fluent, ansys-student, fluid-flow, udf, udf-fluent
-
-
October 27, 2021 at 8:36 am
ESL
SubscriberNice to meet you.
I am a university student using ANSYS for my research.
I would like to ask a question about an equation used in analysis.
If I want to substitute the pressure of a specific cell zone in the equation, it would look like this
pressure(["zone name"])
Now, if I want to use the pressure of a single computational grid instead of a cell zone, I would need to use a cell-level macro with UDF.
However, even after looking at the reference page, that programming is not clear to me. Can someone please advise me how to set this up?
I am looking forward to your answers.
October 27, 2021 at 10:07 amRob
Forum ModeratorThere are a couple of approaches. Are the monitor points fixed or moving? If fixed it's a common work around to separate off a cell/facet to use in the UDF. Otherwise you're looking for a cell that contains a location rather than a cell by it's ID.
Viewing 1 reply thread- The topic ‘About UDF programming’ is closed to new replies.
Ansys Innovation SpaceTrending 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
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors-
3862
-
1414
-
1241
-
1118
-
1015
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.
-