2 2

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

Boundary file - Rotor Region

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

 

42
(
    rotor_cyc_r
    {
        type            cyclicAMI;
        matchTolerance  0.0002;
        neighbourPatch  rotor_cyc_l;
        transform       rotational;
        rotationAxis    (1 0 0);
        rotationCentre  (0 0 0);
        nFaces          24539;
        startFace       1283812;
    }
    rotor_cyc_l
    {
        type            cyclicAMI;
        matchTolerance  0.0002;
        neighbourPatch  rotor_cyc_r;
        transform       rotational;
        rotationAxis    (1 0 0);
        rotationCentre  (0 0 0);
        nFaces          24534;
        startFace       1308351;
    }
    rotor_blade
    {
        type            mappedWall;
        sampleMode      nearestPatchFace;
        sampleRegion    solid;
        samplePatch     solid_rotor_blade;
        offsetMode      uniform;
        offset          (0 0 0);
        nFaces          40971;
        startFace       1332885;
    }
    rotor_shroud
    {
        type            wall;
        nFaces          9477;
        startFace       1373856;
    }
    rotor_hub
    {
        type            wall;
        nFaces          7291;
        startFace       1383333;
    }
    rotor_outlet
    {
        type            patch;
        nFaces          2518;
        startFace       1390624;
    }
    rotor_inlet_0
    {
        type            mappedPatch; 
        sampleMode      nearestPatchFace; 
        sampleRegion    stator; 
        samplePatch     stator_outlet_0; 
        offsetMode      uniform; 
        offset          (0 0 0);      
        nFaces          116;
        startFace       1393142;
    }
    rotor_inlet_1
    {
        type            mappedPatch; 
        sampleMode      nearestPatchFace; 
        sampleRegion    stator; 
        samplePatch     stator_outlet_1; 
        offsetMode      uniform; 
        offset          (0 0 0);      
        nFaces          180;
        startFace       1393258;
    }
    rotor_inlet_2
    {
        type            mappedPatch; 
        sampleMode      nearestPatchFace; 
        sampleRegion    stator; 
        samplePatch     stator_outlet_2; 
        offsetMode      uniform; 
        offset          (0 0 0);       
        nFaces          264;
        startFace       1393438;
    }

$ \color{white} \vdots$

    rotor_inlet_35
    {
        type            mappedPatch; 
        sampleMode      nearestPatchFace; 
        sampleRegion    stator; 
        samplePatch     stator_outlet_35; 
        offsetMode      uniform; 
        offset          (0 0 0);
        nFaces          79;
        startFace       1426295;
    }
)

Patches rotor_inlet_* are of type mappedPatch to be connected to stator region of the model. Patches rotor_cyc_l and rotor_cyc_r are of type cyclicAMI which interpolates variables between two patches. Patch rotor_blade is of type mappedWall because heat transfer from fluid to solid is assumed. Patches rotor_hub and rotor_shroud are standard wall. Patch rotor_outlet is standard patch, fluid can flow through.