|
[Sponsors] |
[blockMesh] Question on developing my mesh for having a port within a wall boundary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 23, 2016, 17:11 |
Question on developing my mesh for having a port within a wall boundary
|
#1 |
New Member
Sara
Join Date: Dec 2013
Posts: 10
Rep Power: 12 |
Hello everyone,
The answer to this question is most likely straightforward, but I am stuck when trying to build my blockMeshDict. Right now I just have a simple rectangular conduit with an inlet on one side and the outlet on the other side. I would like to have a port on the top wall that will have the boundary condition of negative or positive velocity. So I have a wall on the top, and a wall on the bottom, and within the top wall, I would like a small square to be the "port." I keep getting errors when trying to build the mesh, in particular my error says: Code:
face 0 in patch 4 does not have neighbour cell face: 4(8 9 10 11) Here is my blockMeshDict code: Code:
convertToMeters 1; vertices ( (-0.05 -0.05 -0.05) //0 (10.05 -0.05 -0.05) //1 (10.05 1.05 -0.05) //2 (-0.05 1.05 -0.05) //3 (-0.05 -0.05 0.05) //4 (10.05 -0.05 0.05) //5 (10.05 1.05 0.05) //6 (-0.05 1.05 0.05) //7 (3.85 1.05 -0.05) //8 (4.15 1.05 -0.05) //9 (4.15 1.05 0.05) //10 (3.85 1.05 0.05) //11 ); blocks ( hex (0 1 2 3 4 5 6 7) (101 11 1) simpleGrading (1 1 1) ); edges ( ); boundary ( wall_top { type wall; faces ( (3 7 6 2) ); } wall_bottom { type wall; faces ( (4 0 1 5) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ) } inlet { type patch; faces ( (0 4 7 3) ); } outlet { type patch; faces ( (2 6 5 1) ); } port { type patch; faces ( (8 11 10 9) ); } mergePatchPairs ( ); |
|
February 23, 2016, 21:57 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 15 |
Hi,
There are two ways of doing this. 1. Define extra points and define the wall_top as all faces except the ones that define "port" 2. Use topoSet to create a faceSet based on the vertices 8 through 11 and use createPatch to create a patch from that. See attached files. Hope this helps. Cheers, Antimony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 01:44 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 10:00 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 01:27 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |