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

Connect 2 Regions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2010, 07:18
Default Connect 2 Regions
  #1
New Member
 
Marc Redmer
Join Date: Apr 2010
Posts: 3
Rep Power: 16
Marc_r is on a distinguished road
Hallo everyone on CFD Online,

i'm quite new to OpenFOAM and having some problems to get a IcemCFD mesh to FOAM.

I want to have separated Regions to use with chtMultiRegionFoam.
The only way to get no errors on fluentToFoam is to split the internal faces in IcemCFD??

Then i get a good mesh with 2 or more separated Regions not connected by any faces. This can be split with splitMeshRegions. Now all patches/faces that shoud be linked have to be set manuely.

Is there a way to tell the mesh with 2 regions that the patch "Fluid_TO_SOLID" is linked with "SOLID_TO_FLUID"?
So that sheckMesh woud tell me something like: Mesh with 2 Region connected by ...?

greets Marc

Last edited by Marc_r; April 19, 2010 at 10:26.
Marc_r is offline   Reply With Quote

Old   April 19, 2010, 10:29
Default
  #2
New Member
 
Marc Redmer
Join Date: Apr 2010
Posts: 3
Rep Power: 16
Marc_r is on a distinguished road
blockMesh has this option to merge faces or match fases with "mergePatchPairs" but i can't figure out how to use this on my existing mesh...?
Marc_r is offline   Reply With Quote

Old   April 19, 2010, 14:27
Default
  #3
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
To use mergePatchPairs, you need first to define your patches for example :

Code:
patches 
(
    cyclic interface1 
    (
        (0 4 7 3)
    )
    cyclic interface2 
    (
        (1 5 6 2)
    )
);
Then, you can merge these patches with :

Code:
mergePatchPairs
(
    (interface1 interface2)
);
Is it what you ask for ?
Cyp is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam, mesh, region


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
Separated Regions of Centrifugal Impeller Suzzn CFX 0 February 27, 2010 12:05
connect failed with errno%3d113 wedsall OpenFOAM Running, Solving & CFD 2 November 3, 2008 05:17
how to define different regions in icem ? Hammam CFX 3 July 9, 2007 13:56
connect the regions Lalitha Siemens 2 July 5, 2005 05:02
refinement causes composite regions, how to solve? Harry CFX 4 December 8, 2004 06:13


All times are GMT -4. The time now is 14:12.