TAGGED: ansys-fluent, crash, udf-fluent
-
-
October 26, 2021 at 1:15 pmhamSubscriber
I wrote some new UDF's to give Fluent more accurate dynamical viscosity and thermal conductivity values for Hydrogen. Previously I had a more basic UDF just giving data for 1atm, now I am providing data for a large range of pressures and temperatures. The UDF reads in data taken from a NASA CEA simulation using a .csv file. The UDF checks the pressure from fluent, then fills a temporary array of the corresponding conductivity values. Then the UDF checks the temperature from fluent and linearly interpolates the conductivity from that temporary array.
When attempting to initialize the simulation with the new UDF's compiled, Fluent crashes almost instantly and doesn't give any error message. Clearly it's the new UDF's causing the crash, but I don't know why. The only meaningful change to the old udf's is this one reads in a .csv file. Any ideas for why this causes a crash?
I would like to give the code here but it exceeds the max character count.
October 26, 2021 at 1:46 pmRobForum ModeratorYou are allowed to add things over a couple of posts. We only complain when it's to bump a thread!
Assuming the initialisation completes plot the material properties to make sure they're sensible. You may also find it's safer to run an iteration with fixed properties then use the UDF. The latter means all of the flow gradients etc are present in case your code uses them.
Viewing 1 reply thread- The topic ‘Fluent crashing with no error message when initialising simulation with new UDF’s’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors-
1241
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 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.
-