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

[blockMesh] OpenFoam blockMesh: reference internal block interface

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By panpanzhong

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2013, 13:12
Default OpenFoam blockMesh: reference internal block interface
  #1
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 12
panpanzhong is on a distinguished road
Dear OpenFoam users,

I am interested in naming an internal interface so I can reference it by that name in a source code. The problem is that internal interface is not a boundary face and it is a face formed by touching interface of 2 blocks created in blockMesh. So my question is, while we can name a normal boundary face, is there a way we can name internal block interface? Thanks.

Peng,
panpanzhong is offline   Reply With Quote

Old   July 10, 2013, 05:13
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19
Artur will become famous soon enough
Depending on what you need it for, you could use faceZones or faceSets. Have a look at the propeller tutorial in pimpleDyMFoam folder where this approach is used for setting up an arbitrary mesh interface (AMI) for a rotating geometry.

More precisely, you should look at the topoSet dictionaries and createPatchDict.
Artur is offline   Reply With Quote

Old   July 10, 2013, 22:20
Default
  #3
New Member
 
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 12
panpanzhong is on a distinguished road
Thanks.

I figured it out. The patch type is cyclicAMI which can be defined in blockMesh as follows

side1
{
type cyclicAMI;
neighborPatch side2;
faces
(
(1 2 3 4)
);
}

side2
{
type cyclicAMI;
neighborPatch side1;
faces
(
(8 7 6 5)
);
}

where side1 and side2 are faces formed by the 2 mesh regions' interface. There orientation is opposite from each other. Vertex 1 has exact same coordinate as vertex 5, Vertex 2 has exact same coordinate as Vertex 6 ...

The initial boundary condition for side1 and side2 is:

boundaryFields
(
side1
{
type cyclicAMI;
}
side2
{
type cyclicAMI;
}
);

These boundary condition being "type cyclicAMI" will tell the solver that fielsd from side1 should progagate across side2.
Artur and crixman like this.
panpanzhong is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 09:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


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