CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

cellZones and buoyantSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2010, 11:29
Default cellZones and buoyantSimpleFoam
  #1
New Member
 
Join Date: Nov 2009
Posts: 15
Rep Power: 16
pizzaice is on a distinguished road
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 is offline   Reply With Quote

Old   February 26, 2010, 08:16
Default
  #2
New Member
 
Join Date: Nov 2009
Posts: 15
Rep Power: 16
pizzaice is on a distinguished road
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
pizzaice is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 13:28.