Contrib/MakeAxialMesh

From OpenFOAMWiki
< Contrib
Revision as of 11:46, 24 May 2005 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1 Short description

Creates a axial-symmetric grid from a two-dimensional grid

2 Usage

Needs two inputs:

  1. name of the boundary that is the symmetry axis
  2. name of the boundary that is to be splitted into two wedge-boundaries (front and back)

Assumes the following about the grid:

  • 2D-Grid (just one cell thick)
  • parallel to the XY-plane
  • the boundary that is the symmetry axis is a straight line
  • the "front" and "back" are one patch

Afterwards: use the collapseEdges utility to remove the faces at the symmetry axis

3 Example

4 Download

5 History

This utility was discussed in this thread on the Message Board.