2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Edge Mesh Stator Region

In order to extract sharp edges from file StatorBlade.stl (located in the constant/triSurface subdirectory) by means of surfaceFeatureExtract utility a surfaceFeatureExtractDict file needs to be created first. This file is to be located in the system subdirectory. An example of the file content reads:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

StatorBlade.stl
{
    extractionMethod    extractFromSurface;

    extractFromSurfaceCoeffs
    {
        includedAngle   100;
    }

    writeObj                yes;
}

// ************************************************************************* //

To perform the extraction, use following:

1 3 surfaceFeatureExtract

It extracts edge features and saves it to file StatorBlade.eMesh located in the constant/triSurface subdirectory. Parameter includedAngle specifies the angle in degrees. Edges having lower angle between its faces are written down. Option writeObj set to yes means the output will also be written to constant/extendedFeatureEdgeMesh/
StatorBlade_edgeMesh.obj file. Format .obj can be viewed in paraview:

1 3 paraview

Using the surfaceFeatureExtract utility, other sharp edges from stator region need to be extracted:

constant/triSurface/StatorAMI1.stl -> constant/triSurface/StatorAMI1.eMesh
constant/triSurface/StatorAMI2.stl -> constant/triSurface/StatorAMI2.eMesh

 
as1ViewStatorEdges

Figure: Stator of axial turbine – feature edges.