m (Spam removed) |
(New version) |
||
Line 1: | Line 1: | ||
− | {{VersionInfo}}{{Version1. | + | {{VersionInfo}}{{Version1.2}} |
== Short description == | == Short description == | ||
Line 16: | Line 16: | ||
* the boundary that is the symmetry axis is a straight line | * the boundary that is the symmetry axis is a straight line | ||
* the "front" and "back" are one patch | * the "front" and "back" are one patch | ||
+ | |||
+ | The type of the axis-patch is set to <tt>empty</tt>, the type of the newly created patches to <tt>wedge</tt>. | ||
+ | |||
Afterwards: use the collapseEdges utility to remove the faces at the symmetry axis | Afterwards: use the collapseEdges utility to remove the faces at the symmetry axis | ||
Line 44: | Line 47: | ||
This utility was discussed in | This utility was discussed in | ||
[http://openfoam.cfd-online.com/forum/messages/1/491.html this thread] on the Message Board. | [http://openfoam.cfd-online.com/forum/messages/1/491.html this thread] on the Message Board. | ||
+ | |||
+ | * 2006-03-28: New version which fixes a bug if the axis is not the whole length of the grid (fix provided by E David Huckaby) | ||
+ | Types of the newly created patches are set | ||
+ | |||
--[[User:Bgschaid|Bgschaid]] 14:13, 31 May 2005 (CEST) | --[[User:Bgschaid|Bgschaid]] 14:13, 31 May 2005 (CEST) |
Revision as of 10:11, 28 March 2006
1 Short description
Creates a axial-symmetric grid from a two-dimensional grid
2 Usage
Needs two inputs:
- name of the boundary that is the symmetry axis
- 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
The type of the axis-patch is set to empty, the type of the newly created patches to wedge.
Afterwards: use the collapseEdges utility to remove the faces at the symmetry axis
3 Example
The original mesh had (amongst others) these faces:
- center
- The face that is to be collapsed an turned into a symmetry axis (at the bottom in the picture on the left)
- frontAndBackPlanes
- The patch that contains the front and the back face and will be split into two patches)
The command
makeAxialMesh . testAxial2 center frontAndBackPlanes
converts this into the mesh seen in the picture on the right.
4 Download
5 History
This utility was discussed in this thread on the Message Board.
- 2006-03-28: New version which fixes a bug if the axis is not the whole length of the grid (fix provided by E David Huckaby)
Types of the newly created patches are set
--Bgschaid 14:13, 31 May 2005 (CEST)