|
[Sponsors] |
September 14, 2007, 11:14 |
patching-initial temperature
|
#1 |
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, 11:59 |
rephrase of the above
|
#2 |
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, 12:36 |
Re: rephrase of the above
|
#3 |
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
Unknown error | sivakumar | OpenFOAM Pre-Processing | 9 | September 9, 2008 13:53 |