|
[Sponsors] |
May 19, 2017, 15:01 |
Error while Hooking a new model diffusivity
|
#1 |
New Member
Mohammed
Join Date: Jan 2013
Posts: 7
Rep Power: 13 |
I am defining a new UDF (k-epsilon) model to ansys fluent , every time I hook the diffusivity as user defined in the material panel I can't initialize the case and it gives me MPI finalize with error.
Does any one can help me with this problem ? The diffusion equation : DEFINE_DIFFUSIVITY(ke_diffusivity, c, t, eqn) { real diff; real mu = C_MU_L(c,t); real mu_t = C_R(c,t)*C_MU*f_mu(c,t)*SQR(C_UDSI(c,t,TKE))/C_UDSI(c,t,TDR); switch (eqn) { case TKE: diff = mu_t/SIG_TKE + mu; break; case TDR: diff = mu_t/SIG_TDR + mu; break; default: diff = mu_t + mu; } return diff; Last edited by Madreed; May 19, 2017 at 20:11. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in Two phase (condensation) modeling | adilsyyed | CFX | 15 | June 24, 2015 20:42 |
problem with solving lagrange reaction cloud | Polli | OpenFOAM Running, Solving & CFD | 0 | April 30, 2014 08:53 |
manualInjection model in sprayFoam | Mentalo | OpenFOAM Running, Solving & CFD | 1 | April 2, 2014 10:29 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |
Problems bout CFD model of biomass gasification, Downdraft gasifier | wanglong | FLUENT | 2 | November 26, 2009 00:27 |