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

Patch Creation in Multi-Block Mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2013, 18:56
Post Patch Creation in Multi-Block Mesh
  #1
New Member
 
James Martin
Join Date: Nov 2013
Posts: 2
Rep Power: 0
jamesDurham is on a distinguished road
Hi,

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!

Many Thanks
Attached Images
File Type: jpg Mesh Diagram.jpg (15.4 KB, 22 views)
File Type: jpg bigmesh2.jpg (93.7 KB, 31 views)
jamesDurham is offline   Reply With Quote

Old   January 4, 2015, 22:59
Default
  #2
New Member
 
Muhammad Omer Mughal
Join Date: Jul 2010
Posts: 20
Rep Power: 6
Muhammad Omer Mughal is on a distinguished road
Hi James

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?
Muhammad Omer Mughal is offline   Reply With Quote

Reply

Tags
blockmesh, mesh control, patch, rough wall, roughness

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 11:09.