We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Fluids Error when trying to compile UDF Reply To: Error when trying to compile UDF

Rob
Forum Moderator

You may find the scalar value is shown where the phase fraction is near enough zero. In that case the scalar value is usually nonsense. Looking at the above, set UDS_0 as 0 in water, and UDS_1 as 0 in air. Depending on where the UDS is coming from the solver should then do something.Â