CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF for Heat Flux (http://www.cfd-online.com/Forums/fluent/133160-udf-heat-flux.html)

 kishan kumar jaiswal April 11, 2014 05:16

UDF for Heat Flux

Dear all,
I am trying to write udf for heat flux having the formula

Q = 0.304/y*y*y

but I am unable to do it. It always shows some error.

Can anyone write udf for heat flux.

y is the length. and Q is the heat flux acting on X-Y plane in Z direction.
Geometry is a cube with dimension 10*5*0.005 all are in meters.
Thanks.

 Bionico April 11, 2014 10:08

Hello kishan,
is this a boundary condition? In this case I suggest reading Fluent UDF Manual about DEFINE_PROFILE.

Regards

 kishan kumar jaiswal April 12, 2014 01:35

Dear Bionico,
Thanks for your reply. Yes Its a boundary condition. I am doing the same as u suggested in your reply. but I don't know where I am wrong.

 Bionico April 14, 2014 02:01

Hello,

Regards

 kishan kumar jaiswal April 21, 2014 18:01

Dear friend,
There are some changes introduced in the formula, right now it is

Q(Y) = (0.304)/(deltaY + deltaY/2)^-3
Where deltaY = 50cm and
Y = 10m

Y is the length on Y-axis and X whixh is equal to 5m is length on X-axis.
Q is heat flux apply on the X-Y plane towards the Z direction.
Geometry is a cube with dimension 10*5*0.005 all are in meters.