-
-
July 5, 2024 at 12:47 pmchen jiaSubscriber   I have a region of high pressure loss in my piping system.I want to insert a region similar to porous media in the piping system grid.The pressure loss in this region is equal to the square of the mass flow rate.How do I write UDF in this region.The inlet of the piping is the mass flow inlet and the outlet is the pressure outlet.Thank you in advance!Â
-
July 5, 2024 at 1:01 pmRobForum Moderator
Why can't you use porous media?Â
-
July 6, 2024 at 12:12 amchen jiaSubscriber
Dear Rob!
   Thank you for you reply!I have a long pipe containing compressed air, the air is modeled as an ideal gas model, if the pressure loss is large, the density change will be large and the corresponding velocity change will be large. I know the relationship between mass and pressure loss, but not the relationship between velocity and pressure loss.
-
-
July 9, 2024 at 12:55 pmRobForum Moderator
Not easy as the data access macros are mostly velocity based as Fluent solves for momentum. The fluxes will be available, but you'd then potentially be messing with momentum sinks as you wouldn't set a pressure loss.Â
You may need to review what data you have and then rethink the modelling approach.Â
-
Viewing 2 reply threads
- The topic ‘UDF describing the relationship between pressure loss and mass flow rate’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Non-Intersected faces found for matching interface periodic-walls
- Script error Code: 800a000d
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1281
-
591
-
544
-
524
-
366
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.