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

[mesh manipulation] Mesh Refinement

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2013, 10:58
Default
  #41
New Member
 
Join Date: Oct 2011
Posts: 10
Rep Power: 15
blackbirdinapie is on a distinguished road
Hi emirust

I tried to find if there is a way, and there really does not appear to be one apart from calling refineMesh every time.
blackbirdinapie is offline   Reply With Quote

Old   January 17, 2013, 03:43
Default
  #42
Member
 
Join Date: Sep 2012
Posts: 30
Rep Power: 14
emirust is on a distinguished road
Ok! It serves my purpose, so why not!

Do anyone have an idea on how to automate this? I use topoSet to select a box of cells where I want the refinement, but then I would like to select a smaller box for another refinement, and then another box in this one etc... This has to be repetated maybe 8 times.
I guess the solution is not to use a topoSetDict, but call the utility directly in the command prompt. I was expecting something like this to work:

topoSet thenameoftheset new boxToCell (xmin ymin zmin) (xmax ymax zmax)

but I get an error "syntax error near unexpected token `(' "

Thanks!

Last edited by emirust; January 17, 2013 at 04:11.
emirust is offline   Reply With Quote

Old   January 8, 2017, 13:55
Default patchLocal
  #43
New Member
 
bangun
Join Date: Feb 2015
Posts: 16
Rep Power: 11
eb19 is on a distinguished road
Quote:
Originally Posted by mattijs View Post
you'll need to use

- patchLocalCoeffs
- useHexTopology true
- geometricCut false

And switch on the debug switch for hexCellLooper.

Is your mesh pure hex?
Hi Mattijs,

I know this is an old post. Can you please explain where to switch on the debug switch for hexCellLooper? Is this still valid for OpenFoam v2.3.0?

Another thing is if I want to refine cells alligned with a cylindricalWall in three directions (i.e. normal and vertical directions), how do I define the patchLocal coordinate system in the refineMeshDict?
I've been trying hard to understand the description in the OpenFoam wiki but I still don't get it.

Best
Ebb
eb19 is offline   Reply With Quote

Reply


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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 10:12
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
[snappyHexMesh] Edge Refinement fracasce OpenFOAM Meshing & Mesh Conversion 3 December 2, 2017 14:30
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer Sunxing OpenFOAM Meshing & Mesh Conversion 9 September 20, 2014 10:30


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