I am looking your support to write a UDF for ansys fluent dry iron thermal analysis. In the first cycle of dry iron the energy source will be ON till the mod point of iron reach at 170 degree celcius then after energy source will OFF till the midpoint of iron cool down ti 135 degree celcius. When the mid point of iron will less than 135 degree celcious then energy source will ON again till the mid point of iron reach at 170 degree celcius. This cycle will repeat for 10 times.
Thank you for the video. Nicely explain. I have one question related to UDS. Let consider one uds define in solid zone. I wanted to use this uds for fluid zone variable calculation in udf. When I do so got segmental error.
Hi Deepesh. Use If-else condition for this. Measure the temperature and check if at any time step if exceeds the pescribed values, then make the heat flux equals to zero at inlet.
@@SofenKumarJenasir I wrote this cide for finding the coordinates of a cell which is near to a,b,c. Can you help me figuring out what is wrong in this. Also I have to calculate the temperature of this cell,how to do that? #include "udf.h" real a=1,b=1,k=0.2; real x[ND_ND]; DEFINE_ON_DEMAND(on_demand_calc) { Domain *d; Thread *t; cell_t c; d = Get_Domain(1); thread_loop_c(t,d) { begin_c_loop(c,t) { C_CENTROID(x,c,t); if(x[0]>a-0.001 && x[1]>b-0.001 && x[2]>k-0.001 && x[0]
There is no better than this UDF lecture available online. Hats off sir.
It's great video... Best way of teaching
I am looking your support to write a UDF for ansys fluent dry iron thermal analysis.
In the first cycle of dry iron the energy source will be ON till the mod point of iron reach at 170 degree celcius then after energy source will OFF till the midpoint of iron cool down ti 135 degree celcius. When the mid point of iron will less than 135 degree celcious then energy source will ON again till the mid point of iron reach at 170 degree celcius. This cycle will repeat for 10 times.
Thank you for the video. Nicely explain. I have one question related to UDS. Let consider one uds define in solid zone. I wanted to use this uds for fluid zone variable calculation in udf. When I do so got segmental error.
Thank you for the video.
Really helpfull.Thank you sir.
Hi @sofen kumar Jena sir, it would be very helpful, if you can share the ppt, that you have referred in this lecture
Is there any dedicated training course on UDF?
thanks
can i have a translation for this video please?
I want that if the temperature of fluid rises above a certain limit the heating rod should be turned off. Can anyone help me with this?
Hi Deepesh. Use If-else condition for this. Measure the temperature and check if at any time step if exceeds the pescribed values, then make the heat flux equals to zero at inlet.
@@SofenKumarJenasir I wrote this cide for finding the coordinates of a cell which is near to a,b,c. Can you help me figuring out what is wrong in this. Also I have to calculate the temperature of this cell,how to do that?
#include "udf.h"
real a=1,b=1,k=0.2;
real x[ND_ND];
DEFINE_ON_DEMAND(on_demand_calc)
{
Domain *d;
Thread *t;
cell_t c;
d = Get_Domain(1);
thread_loop_c(t,d)
{
begin_c_loop(c,t)
{
C_CENTROID(x,c,t);
if(x[0]>a-0.001 && x[1]>b-0.001 && x[2]>k-0.001 && x[0]
@@deepeshgupta6472 This is not the optimum logic. Put conditions like
If sqrt((x-a)^2+(y-b)^2+(z-k)^2)< 10^-8.
@@SofenKumarJena Sir there are no good resources online. Learning everything from your videos only. Thank you very much 🙂
@@deepeshgupta6472 Thanks for the words. Will. Bring some advanced video in this subject soon.