turbulence model modification - low Re CHC model
I want implement the CHC low Reynolds turbulence model using an UDF. The main objective is modify the damping function in the CHC model.
In this model the boundary condition for epsilon is equal to:
fluid kinematic viscosity * second derivative of k in space (d^2(k)/dy^2)
Also, there are the parameter Rey defined as:
fluid density*sqrt(k)*y/epsilon in which y is the distance to the wall.
In my UDF i wrote this part as:
/* Wall B.C. for ED */
The error that I obtained is that:
Error: Divergence detected in AMG solver: x-momentum
Error Object: #f
I'm new in programming UDF. Please, anyone can check if that part of my UDF is ok?
Also, i have another doubt... how can i choose the right boundary condition once the B.C. for these model includes a second derivative?
Can i modify the damping function f_mu in the low Reynolds CHC turbulence model existent by default in Fluent without solve a scalar user-defined equation implemented in an UDF?
|All times are GMT -4. The time now is 02:26.|