|
[Sponsors] |
December 18, 2001, 02:22 |
Initial conditions in CFX 5.5
|
#1 |
Guest
Posts: n/a
|
Hi All,
I would like to study the mixing of a hot and a cold fluid. Initially there are two separate containers, one cold, one hot. At t=0 the get connected. See the figure below. ____ ____ | | | | | | | | | |___| | |hot ___ cold| | | | | | | | | |____| |____| My question is how to set the intial temperature distribution in CFX 5.5. Any suggestion? Thanx, Astrid |
|
December 18, 2001, 14:31 |
Re: Initial conditions in CFX 5.5
|
#2 |
Guest
Posts: n/a
|
Hi Astrid,
A step function will allow you to initialize your fluid temperature with a sharp boundary between hot and cold fluids. The syntax is pretty simple, just make sure the value within the step function is dimensionless. A step function evaluates to zero when the value is negative, one when the value is positive, and 1/2 when the value is zero. Here's an example: initial_T = 350 [K] - step((x - 2 [m])/1 [m])* 50 This would create a step change from 350 Kelvin down to 300 Kelvin, at x = 2 meters. The divide by 1 [m] makes the term within the step function dimensionless. Regards, Robin |
|
December 18, 2001, 16:37 |
Re: Initial conditions in CFX 5.5
|
#3 |
Guest
Posts: n/a
|
Hi Robin,
This was one of the routes I had in mind. I am still in a kind of 'CFX4-mind': giving different blocks a different initial temperature. I was trying to define two domains with two different temperatures but had no success. Can you confirm this a route to nowhere? Thanx, Astrid |
|
December 18, 2001, 23:24 |
Re: Initial conditions in CFX 5.5
|
#4 |
Guest
Posts: n/a
|
Hi Astrid,
If you only have one subdomain, there is also a function, subdomain, which has a value of 1 in a subdomain and zero elsewhere. Other than that, CEL will have to do. Robin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forces in OF15 | richard | OpenFOAM Running, Solving & CFD | 180 | July 9, 2018 10:54 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 04:13 |
Computational time | sunnysun | OpenFOAM Running, Solving & CFD | 5 | March 16, 2009 03:32 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |
Unknown error | sivakumar | OpenFOAM Pre-Processing | 9 | September 9, 2008 12:53 |