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

refineMeshDict

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

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2013, 11:44
Default refineMeshDict
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
Dear All,

I am trying to figure out how refineMeshDict works and I am having some trobles.

If you download the attached archive and run

Code:
blockMesh && refineMesh
you get a cube divided in 10 cells in each direction. But what I meant to do was to start from a 5x5x5 cube (and I did this) and then refine in the y-direction only.

What's wrong with what I am doing?

Thanks for any help,
Samuele.
Attached Files
File Type: zip testRefineMeshDict.zip (10.5 KB, 28 views)
samiam1000 is offline   Reply With Quote

Old   December 11, 2013, 12:01
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
You need the -dict flag for refineMesh, otherwise it will just refine everything. (This is also seen in the log of refineMesh, where it says, "Refining in all directions" or something like that).
samiam1000 likes this.
Bernhard is offline   Reply With Quote

Reply

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
DynamicRefineFvMesh dies on snappyHexMesh generated grid chtrapp OpenFOAM Running, Solving & CFD 10 October 4, 2012 06:30


All times are GMT -4. The time now is 05:19.