Importing a grid from Gambit
TUTORIAL
You can import a mesh created in Gambit.

You have to save your mesh as a Neutral file (mesh.neu) in
gambit into your working directory.

Start Prostar and type the command gambit ; then type
the mesh filename mesh.neu. The grid is then imported.

Replot all cells.
The downside is that the vertex numbering is not regular.
Therefore the boundaries selection gets harder.
Creating a grid
TUTORIAL
In STARCD it is easy to create rectangular shapes and
circular shapes.
Go to the Create and Import Grids > Create Grids >
Create 3D Grids menu.

Select a cell type: when you have difference parts
in your mesh it is useful to define the corresponding fluid region with
another color. Like in our case for the moving cells and the non moving
cells.

Select a coordinate system: Use this button to chose
the type of coordinate system or to create a new one. Be careful to use
the correct coordinate system when for exempla defining the boundaries.

Create the mesh: type in the dimensions: starting point,
end point and number of cells in each direction and click Generate grid
Merging overlaying vertexes
TUTORIAL
When creating a circular shape the first and last series
of vertexes are occupying the same positions. They must be merged to complete
the mesh creation. You can use the VSET command to select the vertexes
by defining a selection box.
VSET, LOPT1, LOPT2: Builds a vertex set. The set
is used to define the range of plotted vertices. The set can also be used
in lieu of any vertex range commands throughout the program.
LOPT1

ALL. Selects the entire vertex set.

NONE. Zeros out the current vertex set. NEWSET.
First clears the current vertex set, then acts like ADD.

ADD. Adds a group of vertices to the current set.

DELETE. Deletes a group of vertices from the current set.

SUBSET. Reselects a (smaller) group of vertices from those
in the current set.

INVERT. Inverts the current set (i.e. select all unselected
vertices and unselect all currently selected vertices).

SURFACE. Selects all vertices lying on the surface (of the
most recent plot) and make them the current set. LOPT2 If LOPT1 is NEWSET,
ADD, DELETE or SUBSET, then this option may take any of the following forms:

VRANGE,NV1(1),NV2(NV1),NVINC(1). Modifies the set using vertices
NV1 to NV2 by NVINC.

GRANGE,XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX, IGSYS(1). Modifies
the set using only vertices that fall within the given geometric range,
interpreted in the local coordinate system IGSYS. Default ranges are handled
as follows: If any coordinate pair is left blank or the value 0 is entered
for both the MIN and MAX of that pair, then the range for that axis defaults
to the entire axis. If any individual value is left blank (not zero), then
that individual value is set to 1.E30 if it is a MIN value or 1.E30 if
it is a MAX value.

PRANGE,IREG(4),VMIN(1.0E30),VMAX(1.0E30). Modifies the set
using only vertices that fall within the given post data range using the
data stored in post register IREG.

VLIST,NV1,NV2,&,NV15. Modifies the set using a list of
up to 15 vertices.

VCRS. Modifies the set using the cursor to select a list
of vertices.

VGEN,NREP(1),NVOFF. Modifies the set by offsetting the vertex
numbers in the current set by NVOFF (which cannot be zero). NREP is the
number of times to offset; the original set is not included in the count.
This option is only valid for LOPT1 = NEWSET or ADD.

ZONE. Modifies the set using the cursor to draw a polygon
around the selected vertices.

CSET. Modifies the set by choosing vertices attached to cells
in the current CELL set.

BSET. Modifies the set by choosing vertices attached to boundaries
in the current BOUNDARY set.
LOPT2

SPLSET. Modifies the set by choosing vertices attached to
splines in the current SPLINE set.

BLKSET. Modifies the set by choosing vertices attached to
blocks in the current BLOCK set.

CPSET,/BOTH/MASTER/SLAVE/. Modifies the set by choosing vertices
attached to all cell faces, master cell faces or slave cell faces in the
current COUPLE set. SENSOR,/ALL/ISENS1,ISENS2,ISENSINC/. Modifies
the set by choosing all sensor vertices or sensors ISENS1 to ISENS2 by
ISENSINC.

PARTICLE,/ALL/IPART1,IPART2,IPARTINC/. Modifies the set by
choosing all vertices corresponding to initial particle positions or initial
particle positions IPART1 to IPART2 by IPARTINC.

SURFACE. Modifies the set by choosing vertices on the surface
of the current cell set.

EDGE,FANGLE(31.). Modifies the set by choosing vertices on
the edges of the current cell set. Edges are defined by adjacent faces
whose normals differ by an amount greater than or equal to the feature
angle (FANGLE).

CORNER,FANGLE(31.). Modifies the set by choosing vertices
on the corners of the current cell set. Corners are defined by as vertices
that belongs to more than two edges (regular corners) or to one edge (isolated
corner).
For example:
VSET NEWS GRAN 0.1, 0.5, 0.001, 0.001,,,1
selects all the vertex within 0.1<x<0.5; 0.001<y<0.001,
any z using the cartesian coordinate system 1.
Tutorial creating the mesh

STEP 3: Import the outside mesh from
Gambit
DESCRIPTION
Copy the file maillage.neu in your working directory.
In prostar type:
gambit
maillage (the name of your .neu file, the file is
here)
C>All
Plot cells

STEP 4: Create the inside mesh with StarCD
DESCRIPTION
Go to the Create and Import Grids > Create Grids >
Create 3D Grids menu.
Create a new Coordinate system 4 with the setting:
Cylindrical, Xc=0,5, Yc=0,5.
New (global)
Set it active
Apply
Change the Cell type:
Choose 4 in the list
Set the color index to 6
Apply
Create the Mesh by typing the following setting:
Generate Mesh