|
[Sponsors] |
[blockMesh] OpenFoam - Block Mesh - identify a wall when wall is only part of a face of a block |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 17, 2015, 14:46 |
OpenFoam - Block Mesh - identify a wall when wall is only part of a face of a block
|
#1 |
Member
Michu
Join Date: Jun 2015
Location: PA, USA
Posts: 32
Rep Power: 0 |
Hello All,
I am using openFoam and when I use the pisoFoam command I keep getting a floating point error. I believe my error is in my block Meshing. I uploaded two photos of the environment. The first is the view paraFoam gives after the blockMesh command. No errors are stated when I run the blockMesh command. In the second image, I labeled all the points and color coded the image. Each square is a block (hex command). The blue is identified as the inlet, the red is the outlet and the green is specified as walls. There are also an additional fifteen points in the z-direction (eg: point 0 0 0 goes to 0 0 0.1). The top(points where z=0.1) and bottom(points where z=0) are all specified as empty. My question is what do I identify the pink as? and how would I identify them since they're not specifically a complete wall to any block? Thank you for your help! ~Michu |
|
June 18, 2015, 06:32 |
Try again this
|
#2 |
New Member
fu shuai
Join Date: Mar 2015
Posts: 4
Rep Power: 11 |
Hi:
Try this (0,3,14,10)square define block (4,5,9,8,7,6,4)pol is defined by stl |
|
June 18, 2015, 13:36 |
|
#3 |
Member
Michu
Join Date: Jun 2015
Location: PA, USA
Posts: 32
Rep Power: 0 |
Hello fowushuai,
WHen I do that and add a block to (0,3,14,10), then i get the error "Trying to specify a boundary face 4(10 0 15 25) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 0 of patch 0 named inlet." I think by defining that block it over constrains the environment. ~Michu |
|
June 18, 2015, 21:49 |
Two Methord
|
#4 |
New Member
fu shuai
Join Date: Mar 2015
Posts: 4
Rep Power: 11 |
Hi:
Two Methord 1. define block this. see image 2. define (4,5,9,8,7,6,4) in snappyhexmeshdict file. |
|
June 21, 2015, 18:18 |
|
#5 |
Member
Michu
Join Date: Jun 2015
Location: PA, USA
Posts: 32
Rep Power: 0 |
Hello, so i found out some of my problems.
One problem is that block 7 left side face touches only part of block 4 right side face. Each face needs to meet another blocks full face. For example because of this block 4 will be needed to be split into two separate boxes. When this happens, another change will be needed. Block 3 will then need to be split into two blocks to meet with block 4 and the second block created when block 4 is split. also i need to look more into snappyhexmeshdict command- ty for sending me in that direction fowushuai |
|
June 23, 2015, 04:32 |
like this
|
#6 |
New Member
fu shuai
Join Date: Mar 2015
Posts: 4
Rep Power: 11 |
Hi:
I am sorry. first image is wrong. correct image see attachment! you can define the blockmesh like this |
|
June 26, 2015, 14:07 |
|
#7 |
Member
Michu
Join Date: Jun 2015
Location: PA, USA
Posts: 32
Rep Power: 0 |
Yeah that works, also as a side note, unless your performing thermodynamic calculations or something such as convection/conduction/radiation, or something similar, blocks 4 5 9 you do not need to add if you just want to observe how the fluid flows.
Thank you also for your help, it is greatly appreciated!!! |
|
Tags |
blockmesh, openfoam, pisofoam, walls boundary conditions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] mergePatchPairs reducing a face to less than 3 points | aow | OpenFOAM Meshing & Mesh Conversion | 2 | June 1, 2018 18:37 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |