CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

splitting regions and defining BC in conjugate heat transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2013, 23:51
Default splitting regions and defining BC in conjugate heat transfer
  #1
Member
 
Sergey
Join Date: Nov 2013
Posts: 87
Rep Power: 12
skuznet is on a distinguished road
Hello!
I'm trying to understand the conjugate heat transfer cases multiRegionHeater from OF tutorial and planeWass2D from
HTML Code:
http://openfoamwiki.net/index.php/Getting_started_with_chtMultiRegionSimpleFoam_-_planeWall2D
.
The Allrun script calles programms
Code:
blockMesh
which creates mesh in /constant/polyMesh folder
Code:
topoSet
which defines different regions in folder sets and file cellZones.
It looks like files in folder sets contains cell labels corresponding to each region.
What is stored in the file cellzones?
Then
Code:
splitMeshRegions -cellZones -overwrite
is called and creates a number of files. Can anyone explain me or give me a link with explanation what exactly this program do and how boundary conditions between regions are defined?
skuznet is offline   Reply With Quote

Old   December 5, 2013, 02:59
Default
  #2
New Member
 
ande
Join Date: Oct 2013
Posts: 18
Rep Power: 12
styx is on a distinguished road
hi,
the command topoSet uses the file topoSetDict in the system-folder. It creates the folder sets with the cellZones. The cellZones are volume-regions in the mesh, e.g. topAir, wall.

with "splitMeshRegions -cellZones -overwrite" the Mesh is split in several Regions on the basis of the created cellZones. the new boundaries are get names like bottomAir_to_wall. But the interaction between the regions is not yet defined.

The boundary conditions between the regions are defined with the command changeDictionary which uses the changeDictionaryDict.
The boundary condition of the temperature e.g. in regoin bottomAir changes and the interaction between bottomAir_to_wall is defined:

bottomAir_to_wall
{
type mappedWall;
nFaces 100;
startFace 16040;
sampleMode nearestPatchFace;
sampleRegion wall;
samplePatch wall_to_bottomAir; //interacting boundary in region wall
offsetMode uniform;
offset (0 0 0);
}

Try to run the changeDictionary and have a look at the boundary files in planeWall2D before and after.



Andreas
styx is offline   Reply With Quote

Old   December 6, 2013, 21:29
Default
  #3
Member
 
Sergey
Join Date: Nov 2013
Posts: 87
Rep Power: 12
skuznet is on a distinguished road
Andreas,

thank you for your answer, it is very helpful.

Do I have to define boundary conditions between two regions with same properties - solid1-solid2 or fluid1-fluid2?
skuznet is offline   Reply With Quote

Old   December 9, 2013, 04:42
Default
  #4
New Member
 
ande
Join Date: Oct 2013
Posts: 18
Rep Power: 12
styx is on a distinguished road
yes, you also have to define boundary conditions between two solids or fluids.

In the tutorial /heatTransfer/chtMultiRegionsSimpleFoam/multiRegionHeater you can see this. There e.g ist the boundary condition between two solid regions (heater and leftSolid)
styx 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining fluid regions in a 2D geometry for a multiphase sedimentation problem Emars Mesh Generation & Pre-Processing 0 March 16, 2013 12:52
Defining Regions and Patching Hoper FLUENT 1 September 14, 2009 01:21
Defining Regions in ICEM Tom CFX 10 April 25, 2007 00:31
defining regions Harriet Pearson Main CFD Forum 0 February 19, 2004 12:44
defining boundary regions Steve Siemens 2 January 22, 2004 10:31


All times are GMT -4. The time now is 00:32.