CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   cellZones and buoyantSimpleFoam (http://www.cfd-online.com/Forums/openfoam-solving/73058-cellzones-buoyantsimplefoam.html)

pizzaice February 25, 2010 12:29

cellZones and buoyantSimpleFoam
 
Hi all,

I am trying to simulate two adjacent rooms that have air at different temperatures. I want to show what happens if someone suddenly opens the door between them.

I have now got a mesh that contains separate volumes (i.e. cellZone_0 and cellZone_1) and separate boundaries (i.e. Walls_0 and Walls_1).
I am now wondering whether it is possible to solve this with buoyantSimpleFoam or whether I need chtMultiRegion.

I think the first should work as everything apart from the temperature is the same for both zones. However, I don't know how to refer to the two different regions in my T-file.

I tried:
Code:

internalField nonuniform
{
cellZone_0
  {
    type fixedValue;
    value uniform 300;
  }
cellZone_1
  {
    type fixedValue;
    value uniform 200;
  }
}

Best regards,

Chris

pizzaice February 26, 2010 09:16

Hello,

maybe I can make my problem clearer:

When I start the case in paraview I can select the desired two zones by using the option "include zones", now I am wondering how can I access these two zones/volumes to give them different initial temperature conditions for t=0?

Cheers,

Chris


All times are GMT -4. The time now is 01:40.