# patching-initial temperature

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 14, 2007, 10:14 patching-initial temperature #1 Lousa Guest   Posts: n/a 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

 September 14, 2007, 10:59 rephrase of the above #2 Lousa Guest   Posts: n/a 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

 September 14, 2007, 11:36 Re: rephrase of the above #3 Joe Guest   Posts: n/a Setting spatially varying initial temperatures is simple via an udf. Look in the udf manual for the section and example dealing with initial conditions.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20 jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24 allenzhao OpenFOAM Installation 127 January 30, 2009 20:08 sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 12:53

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