TAGGED: ansys-fluent, custom-field-function, udf
-
-
March 13, 2024 at 1:53 pmLuke DriverSubscriber
Is there any way to define a custom field function or some sort of UDF that does the following:
1) Gets the density across a line/surface and calculates the local maxima
2) Find the point at which the last local maxima occurs (this will be say x = 5cm for example).Â
3) Find the average temperature between x = 0 and where the last maxima occurs (x = 5) on the same line/surface
I'm not sure if this is possible but would love to know if there is a way to do it.
-
March 13, 2024 at 4:29 pmRobForum Moderator
You can create a line and then use a report to find min/max/mean etc. That can also be plotted & exported for further processing outside Fluent.Â
-
March 13, 2024 at 4:35 pmLuke DriverSubscriber
Hi Rob,
I'm currently doing this outside Fluent by exporting the XY data and post-processing in MATLAB. I was just wondering If i could do this internally in Fluent, but I dont think I can?
-
March 13, 2024 at 5:18 pmRobForum Moderator
You'll get mean/min/max from the Reports but finding the location of that may be a bit manual. However, writing the xy plot out for a scripted MATLAB or similar workflow is more initial work but possibly better overall. I suspect Minerva or the like can do the same, but if you have a MATLAB script it may not be worth changing.Â
-
- The topic ‘Custom Field Function’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- UDF, Fluent: Access count of iterations for “Steady Statistics”
-
1421
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.