-
-
June 22, 2023 at 4:01 pmBen.McCuenSubscriber
Shown below is contour plot of the mole fraction of a gas traveling from left to right.Â
I am attempting to simulate the gas in question permeating into the circular holes (gas 1). A second gas is also permeating out on a 1:1 molar basis, 'swapping' with the first gas (gas 2). 3 user defined functions have been made to mimic this behavior. One handles gas 1 permeating into the circles, the second handles gas 2 permeating out from the circles and the third is applied to the mass source term to handle the difference in molecular masses.Â
I have run this simulation numerous times and get reasonable results until my fluid flows beyond my last row of circles. Both gas 1 and gas 2 sharply decrease at this point even though there is no surface that has the udf applied to it. I created multiple vertical planes at various points along the flow and used "Surface Report - Mass Weighted Average" to find mass percent’s of both gas 1 and gas 2.Â
I would appreciate any guidance on what could be causing my issue.Â
Thank YouÂ
-
June 23, 2023 at 10:55 amRobForum Moderator
What are the backflow conditions and are you seeing any warnings?
-
June 23, 2023 at 1:20 pmBen.McCuenSubscriber
-
- The topic ‘User Defined Function not working as Intended’ 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”
-
1416
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.