Ansys Learning Forum Forums Discuss Simulation Fluids Density UDF for a mixture Reply To: Density UDF for a mixture

Rob
Forum Moderator

It's diverging, so the code is grammatically correct. But.... Is your intent to set a material density based on the species or phase fraction in a cell? Have a think about the physics, why would that be the case?Â