|December 12, 2013, 18:56||
Patch Creation in Multi-Block Mesh
Join Date: Nov 2013
Posts: 2Rep Power: 0
I have been working on creating a mesh of Bolund Hill using the open source code 'terrainBlockMesher'. This essentially creates a detailed blockMeshDict file from an STL surface geometry, which can then be meshed quickly and easily with blockMesh.
I am studying the effects of non-uniform surface roughness for use in the nutKAtmRoughWallFunction. My approach is to supply z0 as a nonuniform List<scalar> entry in a separate file, which is #included in the 'nut' dictionary. My best understanding is that this is a valid approach, although documentation is limited... I also assume that one roughness value is needed per patch face.
My problem is however, that this utility uses a large number of blocks, and hence the face ordering is confusing. The z0 values I was supplied with are in x-wise, y-wise order and hence do not line up with the faces on the 'ground' patch directly. The STL region has 13 blocks in both the x and y directions, each with 10 cells, which creates a pretty confusing pattern of face orderings!
I want to be able to create a wall-type patch in my domain (over the STL file area - see picture) where I can specify the surface roughnesses. At the moment I have no idea how to do this... I have considered applications such as creatBaffles/splitMeshRegions/createPatch - but do not know how to use them in my case. Any experience with these functions would be greatly appreciated if they are indeed applicable?
Any advice anyone could give with this problem would be really helpful!
|January 4, 2015, 22:59||
Muhammad Omer Mughal
Join Date: Jul 2010
Posts: 20Rep Power: 6
Have you solved this problem yet. I am also facing the same face ordering problem using terrain block mesher .As tbm is unable to produce cyclic patches I tried to use createPatch utility but due to this face ordering problem I am unable to generate the patch.
The details of my problem are on the following link.Please advice if you come up with a solution asap.
how to use terrainBlockMesher for meshing a complex terrain?
|blockmesh, mesh control, patch, rough wall, roughness|
|Thread||Thread Starter||Forum||Replies||Last Post|
|y+ and u+ values with low-Re RANS turbulence models: utility + testcase||florian_krause||OpenFOAM||106||January 13, 2015 15:13|
|how to set periodic boundary conditions||Ganesh||FLUENT||13||January 22, 2014 05:11|
|Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam)||cfdonline2mohsen||OpenFOAM||3||October 21, 2013 09:28|
|Cyclic BC's: Possible face ordering problem? (Channel flow)||sega||OpenFOAM Native Meshers: blockMesh||3||September 28, 2010 12:46|
|StarToFoam error||Kart||OpenFOAM Meshing & Mesh Conversion||1||February 4, 2010 05:38|