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

[mesh manipulation] How to refineMesh for a given y range?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 2, 2022, 16:11
Default How to refineMesh for a given y range?
  #1
New Member
 
BH
Join Date: Dec 2021
Posts: 9
Rep Power: 4
bobuhito is on a distinguished road
I am thinking that refineMesh (with some simple refineMeshDict) can double or quadruple my cells with y in some range, but can't find any internet examples. So, how is this done?

The challenge is that I want to match two faces for one at the interface as in the images below (I could instead use mergePatchPairs in blockMeshDict, but prefer to later use refineMesh or something simpler).

Starting Mesh:
https://i.imgur.com/VQOZhu7.jpg

Ending Mesh for Doubling:
https://i.imgur.com/9CiNZP9.jpg

Ending Mesh for Quadrupling:
https://i.imgur.com/yWOld20.jpg
bobuhito is offline   Reply With Quote

Reply

Tags
refine mesh, refinemesh


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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
AMI memory leak? MichiB OpenFOAM Programming & Development 14 August 1, 2015 19:18
[mesh manipulation] multiple calls to refineMesh parallel w/ dict failing Regis_ OpenFOAM Meshing & Mesh Conversion 2 June 4, 2015 14:44
[mesh manipulation] Cannot get refineMesh to run in parallel smschnob OpenFOAM Meshing & Mesh Conversion 2 June 3, 2014 12:20
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27


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