CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM


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

Like Tree1Likes
  • 1 Post By Bernhard

LinkBack Thread Tools Display Modes
Old   December 11, 2013, 11:44
Default refineMeshDict
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 496
Rep Power: 11
samiam1000 is on a distinguished road
Sponsored Links
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

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,
Attached Files
File Type: zip (10.5 KB, 40 views)
samiam1000 is offline   Reply With Quote
Sponsored Links

Old   December 11, 2013, 12:01
Senior Member
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 14
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


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

Sponsored Links

All times are GMT -4. The time now is 01:49.