|
[Sponsors] |
May 20, 2007, 12:54 |
Energy SOurce(HELP)
|
#1 |
Guest
Posts: n/a
|
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 |
|
May 22, 2007, 15:12 |
Re: Energy SOurce(HELP)
|
#2 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
energy in sonicFoam | joern | OpenFOAM Running, Solving & CFD | 1 | September 24, 2019 00:15 |
energy spectra from LES simulations | kumar | OpenFOAM Post-Processing | 2 | February 23, 2016 12:25 |
volumetric reaction and energy balance? | m.beh | FLUENT | 1 | October 17, 2011 17:21 |
SIMPLE and energy equation convergence | Fabio | Main CFD Forum | 0 | June 1, 2007 06:06 |
question about energy equation | zhou | FLUENT | 0 | February 23, 2004 23:55 |