Energy SOurce(HELP)
I want to add an energy source term in fluid domain at some particular co-ordinate. i have been writing a udf for it but i am facing problems. Geometry is axisymmetric. and height 150 and width 25. i want to commpute source term only at z=42.
i have wriiten a UDF with if statements as follows: if (x[1]==42) { ds[eqn]=.......; source=.......; } else { source = 0; } return source; but if does not get into the if statements. i dont know y. Plz help soon. Thanks |
Re: Energy SOurce(HELP)
Are you sure, you want to incorporate an energy source at a particular "point" in domain? Given the axisymmetric approch, it will not be possible to do it unless the point lies on the axis itself. I suggest you to try 3D approach.
Prasad |
All times are GMT -4. The time now is 08:16. |