CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[SOWFA] Patch Creation in Multi-Block Mesh

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

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

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, 45 views)
File Type: jpg bigmesh2.jpg (93.7 KB, 60 views)
jamesDurham is offline   Reply With Quote

Old   January 4, 2015, 21:59
New Member
Muhammad Omer Mughal
Join Date: Jul 2010
Location: Singapore
Posts: 22
Rep Power: 15
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.
Muhammad Omer Mughal is offline   Reply With Quote


blockmesh, mesh control, patch, rough wall, roughness

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 114 August 23, 2023 05:37
[snappyHexMesh] SHM Layer Addition Phase dickcruz OpenFOAM Meshing & Mesh Conversion 4 November 1, 2018 07:05
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) sega OpenFOAM Meshing & Mesh Conversion 3 September 28, 2010 12:46

All times are GMT -4. The time now is 14:45.