-
-
November 18, 2023 at 6:07 pmSepehr MostafayiSubscriber
I am trying to run a multiphase model, with a UDF mass flux on a inlet, the mass flux is the function of the concentation and density, the code is compiled and loaded perfectly, but when I try to initial the model, it has errors and the software stops working, could anyone please help me with the possible reason?
-
November 20, 2023 at 1:40 pmFedericoAnsys Employee
I would recommend starting simple and working your way in complexity as your able to run the UDF.
Start with setting a constant mass flow rate at the inlet and see where this fails. You can also insert some debugging messages in your UDF for troubleshooting.
-
November 20, 2023 at 1:44 pmSepehr MostafayiSubscriber
Thanks for your reply.
There is no problem when I use constant flow inlet. Also, the debuging shows no errors in my code.
-
November 20, 2023 at 2:08 pmFedericoAnsys Employee
I meant constant mass flow rate using your UDF.
-
-
November 20, 2023 at 2:36 pmSepehr MostafayiSubscriber
Yes, I tried that one too. It works properly, but when I use variables in the function (density, concnetration , etc.), I have problem with initializationÂ
-
November 21, 2023 at 3:16 pmFedericoAnsys Employee
So the problem might be with your mass flux function. See if your able to implement it in a simple model. If that doesn't work, the UDF is the problem; if it works, the problem is with your case setup.
-
-
- The topic ‘Problem with UDF initializing’ is closed to new replies.
- 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
-
1216
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.