Difference between revisions of "Contrib blockMeshDG"

From OpenFOAMWiki
(Created page with "{{VersionInfo}}{{Version2.0.x}} == Short description == A patch to the [http://www.openfoam.com/features/mesh-generation.php blockMesh] tool to enable double graded meshes, ...")
 
(Usage: added a bit more description)
Line 8: Line 8:
  
 
The utility works the same way as the standard blockMesh tool, but accepts negative grading coefficients in the blockMeshDict file.
 
The utility works the same way as the standard blockMesh tool, but accepts negative grading coefficients in the blockMeshDict file.
 
+
<blockquote>e.g. simpleGrading (1 -2 1) in blockMeshDict, means the mesh in central is 2 times larger than those in side.</blockquote>
 +
Source of example and original code: [http://www.cfd-online.com/Forums/openfoam/70798-blockmesh-double-grading.html blockMesh with double grading]
  
 
== Download ==
 
== Download ==

Revision as of 19:42, 8 March 2012

Valid versions: OF Version 20x.png

1 Short description

A patch to the blockMesh tool to enable double graded meshes, that is meshes which have a minimum or maximum cell spacing in the middle of an edge.

2 Usage

The utility works the same way as the standard blockMesh tool, but accepts negative grading coefficients in the blockMeshDict file.

e.g. simpleGrading (1 -2 1) in blockMeshDict, means the mesh in central is 2 times larger than those in side.

Source of example and original code: blockMesh with double grading

3 Download

Get the most recent version here: http://code.google.com/p/blockmeshdg/

hg clone http://code.google.com/p/blockmeshdg/
cd blockmeshdg
./Allwmake

4 History

--Akidess 13:42, 4 March 2012 (CET)