2 2

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

Edge Mesh Rotor Region

In order to extract sharp edges from file RotorBlade.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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

RotorBlade.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 RotorBlade.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/
RotorBlade_edgeMesh.obj file. Format .obj can be viewed in paraview:

1 3 paraview

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

constant/triSurface/RotorAMI1.stl -> constant/triSurface/RotorAMI1.eMesh
constant/triSurface/RotorAMI2.stl -> constant/triSurface/RotorAMI2.eMesh

as1ViewRotorEdges

Figure: Rotor of axial turbine – feature edges.