CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Writing UDF for Robbins Bounday Condition (http://www.cfd-online.com/Forums/fluent/33394-writing-udf-robbins-bounday-condition.html)

KKLAU April 4, 2004 23:13

Writing UDF for Robbins Bounday Condition
 
To all Fluent CFD experts from all over the world,

I am encountering problem in writing Robbins BC with UDF. Actually i need to define the BC for porous downwall BC velocity dv/dy = v + constant... How can i write it with UDF file ?

I really appreciate youy kindly help.

KKLAU

Ady April 6, 2004 23:58

Re: Writing UDF for Robbins Bounday Condition
 
1. You can explore the Porous model in Fluent. 2. Regarding the UDF you can use

C_DVDY(c,t) macro to access dv/dy

C_V(c,t) macro to access v

so the equation be written as

C_DVDY(c,t)= C_V(c,t) + contsant ;

be sure about the palce where you want to loop. Refer section 6.2 of UDF manual.

Best, Ady


All times are GMT -4. The time now is 12:10.