|
[Sponsors] |
[blockMesh] OpenFoam blockMesh: reference internal block interface |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 8, 2013, 13:12 |
OpenFoam blockMesh: reference internal block interface
|
#1 |
New Member
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 12 |
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, |
|
July 10, 2013, 05:13 |
|
#2 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19 |
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. |
|
July 10, 2013, 22:20 |
|
#3 |
New Member
Peng Zhong
Join Date: Jun 2013
Posts: 12
Rep Power: 12 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |