-
-
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.
- error udf
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- Diesel with Ammonia/Hydrogen blend combustion
- Non-Intersected faces found for matching interface periodic-walls
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
- How to obtain axial and tangential velocity in CFX-post?
-
1131
-
468
-
466
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.