Turbulence viscosity needs update when realizable k-e model is used for volume fraction related calculation


After reading cas/dat files and doing the first iteration, the message would always appear:
turbulence viscosity limited to viscosity ratio of 1e05
, though it didn't happen before the cas/dat file was saved.
This may even result in divergence.
This was a bug in V6.1 for the calculation of VOF and phase change when realizable k-e turbulence model is used. When reading cas/dat files, the code does not update turbulence viscosity properly. The bug was fixed. For now, the workaround is to use Execute_On_Demand udf to update the viscosity after reading cas/dat:


#include "udf.h"

DEFINE_ON_DEMAND(update_visc)
{
Domain *domain = Get_Domain(1);

Update_Velocity_Derivatives(domain);
}





Show Form
No comments yet. Be the first to add a comment!