CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   prblem for UDS_UNSTEADY (http://www.cfd-online.com/Forums/fluent/91814-prblem-uds_unsteady.html)

ypchen August 23, 2011 11:44

prblem for UDS_UNSTEADY
 
I need to solve a equation by using the UDS in FLUENT, the form is :
d(R)/dt=S where "d" is the partial derivative, S is the source term,and R is the variable I want to solve, that is, the diffusion and flux terms are zero. How do I define it by the UDF code ?If the variable is density, according to the UDF manual,I want to know if I can set the "phi" (in UDS transport equations ) to be 1. if not, how can I delete the density in the unsteady term ? Thanks Y.P. Chen

niravtm007 August 29, 2011 03:21

velocity inlet udf
 
hiii friends i am entirely new to using udf's in fluent. I have a cubical geometry, with two inlets on perpendicular adjacent faces. i have to implement udf to only one of the conditions.
i have two cases
1) parabolic velocity inlet ( space varient)
2) sinusodial velocity velocity inlet ( time variant)
can any one pls send me the udf ( codes) ...


All times are GMT -4. The time now is 17:32.