2 2

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

Boundary file - Stator Region

File constant/polyMesh/boundary must be edited. First remove empty patches, rename non-empty patches and edit their properties14.3:

42
(
    stator_cyc_r
    {
        type            cyclicAMI;
        matchTolerance  0.0002;
        neighbourPatch  stator_cyc_l;
        transform       rotational;
        rotationAxis    (1 0 0);
        rotationCentre  (0 0 0);
        nFaces          22096;
        startFace       1273773;
    }
    stator_cyc_l
    {
        type            cyclicAMI;
        matchTolerance  0.0002;
        neighbourPatch  stator_cyc_r;
        transform       rotational;
        rotationAxis    (1 0 0);
        rotationCentre  (0 0 0);
        nFaces          21898;
        startFace       1295869;
    }
    stator_blade
    {
        type            wall;
        nFaces          45238;
        startFace       1317767;
    }
    stator_shroud
    {
        type            wall;
        nFaces          9868;
        startFace       1363005;
    }
    stator_hub
    {
        type            wall;
        nFaces          7579;
        startFace       1372873;
    }
    stator_inlet
    {
        type            patch;
        nFaces          2588;
        startFace       1380452;
    }
    stator_outlet_0
    {
        type            mappedPatch;
        sampleMode      nearestPatchFace;
        sampleRegion    rotor;
        samplePatch     rotor_inlet_0;
        offsetMode      uniform;
        offset          (0 0 0);
        nFaces          106;
        startFace       1383040;
    }
    stator_outlet_1
    {
        type            mappedPatch;
        sampleMode      nearestPatchFace;
        sampleRegion    rotor;
        samplePatch     rotor_inlet_1;
        offsetMode      uniform;
        offset          (0 0 0);
        nFaces          185;
        startFace       1383146;
    }

25

    stator_outlet_35
    {
        type            mappedPatch;
        sampleMode      nearestPatchFace;
        sampleRegion    rotor;
        samplePatch     rotor_inlet_35;
        offsetMode      uniform;
        offset          (0 0 0);
        nFaces          88;
        startFace       1419477;
    }
)

Patches stator_outlet_* are of type mappedPatch to be connected to rotor region of the model. Patches stator_cyc_l and stator_cyc_r are of type cyclicAMI which interpolates variables between two patches. Patch stator_blade is of type mappedWall because heat transfer from fluid to solid is assumed. Patches stator_hub and stator_shroud are standard wall. Patch stator_inlet is standard patch, fluid can flow through.