# blockMesh

## classy_blocks Tutorial Part 7: Optimization

This is the 7th part of the classy_blocks tutorial. It is highly recommended that you read part 6 because we’ll use curves and whatnot. Mesh Quality The Finite Volume Method (FVM) not only requires discretization of geometry into simpler basic elements (called cells) but is also terribly picky about their shape. It can work with anything […]

## classy_blocks Tutorial Part 6: Curves

This is the 5th part of the classy_blocks tutorial. Its contents are rather advanced-ish so before you dive into it you should really know the basics first. This article is a preparation chapter for the next sort-of-serious tutorial, optimization. But First, a Pep Talk (Which you can easily skip if you’re motivated enough already) Alas, we do not

## classy_blocks Tutorial Part 5: Some Useful Hints

This is the 5th part of the classy_blocks tutorial. It covers some miscellaneous goodies but you should really know the basics before jumping into the former. Debugging with classy_blocks blockMesh requires everything in your mesh to be perfectly in order to run at all – vertices, blocks, grading, counts, etc. If you miss anything, it

## classy_blocks Tutorial Part 4: Projections

In Part 3 of this classy_blocks tutorial I mentioned that classy_blocks and blockMesh are not CAD software so they can’t produce the same surfaces. In order to obtain the exact form we want, blockMesh offers a very powerful but poorly documented tool: projections. Available Geometry There are two kinds of geometry that OpenFOAM currently understands:

## classy_blocks Tutorial Part 3: Shapes

This is the third part of the classy_blocks tutorial. If you’re new to this, you might want to start with part 1. Most real-life geometry cannot possibly be described using just a single block, regardless of how sophistically you create it. That’s why blockMesh is a block-structured mesh generator, meaning you may specify many blocks

## classy_blocks Tutorial Part 2: More Basics

This is the second part of the classy_blocks tutorial. If you’re new to this, you might want to start with part 1. Points Just to clear things up, classy_blocks uses the numpy package to do the heavy mathematical lifting. Anytime any classy object requires your input you can pass it a numpy array. In order

## classy_blocks Tutorial Part 1: the Basics

Let there be a script that makes blockMesh usage much, much easier to use. It shall be called classy_blocks. If you don’t know it yet, take a quick scroll through the readme file on github, then come back for an easy tutorial. Installation Recently, classy_blocks has become a python package so it can be installed

## OpenFOAM and DAKOTA: a Complete Guide

Running a single CFD simulation rarely provides enough information to find a good hydraulic or aerodynamic design of a component. In many cases the poor engineer has to wrestle an awfully long list of design parameters into a state-of-the-art shape. Luckily, OpenFOAM and DAKOTA together provide an almost ready-to-use solution just for that: Sensitivity analysis(long