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

sumeet94
Subscriber

Ok, I understood from your comment that a precise value has a very low probability of returning the same value. In that case, as we know, the liquid fraction varies from 0 to 1, so I replaced the conditional statement with the liquid fraction variable in place of the pcm_domain temperature. However, the problem remains the same, i.e., the boundary condition doesn't change. Initially, I started the simulation by applying the convection boundary condition so that while executing the scheme command, it would satisfy my first condition (i.e., IF(liquid fraction = 0)) as the liquid fraction is zero initially. However, the boundary condition doesn't change to heat flux in this case. Any comment?