Thursday, November 8, 2018

start with one square, then work onto more

cat boundary
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

5
(
    sourceFaceleft
    {
        type            patch;
        nFaces          400;
        startFace       760;
    }
    destinationFaceleft
    {
        type            patch;
        nFaces          400;
        startFace       1160;
    }
    channelWallsleft
    {
        type            patch;
        nFaces          40;
        startFace       1560;
    }
    leftRightWallleft
    {
        type            patch;
        nFaces          20;
        startFace       1600;
    }
    inlet
    {
        type            patch;
        nFaces          20;
        startFace       1620;
    }
)

No comments:

Post a Comment