We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Fluids Melting and solidification process for different boundary condition& time period Reply To: Melting and solidification process for different boundary condition& time period

Rob
Forum Moderator

What stops the UDF returning a solid/frozen result which triggers the change in boundary condition, but in the following step the zone is nolonger frozen which then triggers the fluid setting? Have a very careful look at how your IF statements link - would IF AND type logic make more sense? 

What is  while(current_time<=total_time) for?