CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   patching-initial temperature (https://www.cfd-online.com/Forums/fluent/46031-patching-initial-temperature.html)

Lousa September 14, 2007 10:14

patching-initial temperature
 
hey all,

im having some trouble with patching. I have a rectangular domain, at which I want to define initial temperature 30 degrees C at the upper boundary, 20 degrees C at the lower boundary and I want the temperature to linearly decrease from 30 to 20 at the points inbetween. Can anyone help please?? Any suggestions would be greatly appreciated!

regards, Louisa

Lousa September 14, 2007 10:59

rephrase of the above
 
hey,

I thought my problem is explained better this way:

im having some trouble with patching. I have a rectangular domain, at which I define backflow temperature 30 degrees C at the upper boundary, 20 degrees C at the lower boundary and I want the initial temperature to linearly decrease from 30 to 20 at the points inbetween. The fluid enters the domain from a "hole" and is at 15 degrees C initially. At the initial conditions, i put 15C? Then how can I make the initial temp of the domain (porous media) to decrease linearly? Can anyone help please?? Any suggestions would be greatly appreciated!

regards, Louisa

Joe September 14, 2007 11:36

Re: rephrase of the above
 
Setting spatially varying initial temperatures is simple via an udf. Look in the udf manual for the section and example dealing with initial conditions.


All times are GMT -4. The time now is 18:38.