Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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? 

[bingo_chatbox]