Skip to content
Snippets Groups Projects
changeDictionaryDict 4.65 KiB
Newer Older
mattijs's avatar
mattijs committed
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      changeDictionaryDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dictionaryReplacement
{
    boundary
    {
        rightSolid_to_heater
        {
            offset          ( 0 0 0 );
            sampleMode      nearestPatchFace;
            sampleRegion    heater;
            samplePatch     heater_to_rightSolid;
        }
        rightSolid_to_bottomAir
        {
            offset          ( 0 0 0 );
            sampleMode      nearestPatchFace;
            sampleRegion    bottomAir;
            samplePatch     bottomAir_to_rightSolid;
        }
        rightSolid_to_topAir
        {
            offset          ( 0 0 0 );
            sampleMode      nearestPatchFace;
            sampleRegion    topAir;
            samplePatch     topAir_to_rightSolid;
        }
    }

    T
    {
        internalField   uniform 300;

        boundaryField
        {
            maxX
            {
                type            zeroGradient;
            }
            minZ
            {
                type            zeroGradient;
            }
            maxZ
            {
                type            zeroGradient;
            }
            rightSolid_to_heater
            {
                type            solidWallMixedTemperatureCoupled;
                neighbourFieldName T;
                K               K;
                value           uniform 300;
            }
            rightSolid_to_bottomAir
            {
                type            solidWallMixedTemperatureCoupled;
                neighbourFieldName T;
                K               K;
                value           uniform 300;
            }
            rightSolid_to_topAir
            {
                type            solidWallMixedTemperatureCoupled;
                neighbourFieldName T;
                K               K;
                value           uniform 300;
            }
        }
    }

    rho
    {
        internalField   uniform 8000;

        boundaryField
        {
            maxX
            {
                type            zeroGradient;
            }
            minZ
            {
                type            zeroGradient;
            }
            maxZ
            {
                type            zeroGradient;
            }
            rightSolid_to_bottomAir
            {
                type            zeroGradient;
            }
            rightSolid_to_heater
            {
                type            zeroGradient;
            }
            rightSolid_to_topAir
            {
                type            zeroGradient;
            }
        }
    }

    K
    {
        internalField   uniform 80;

        boundaryField
        {
            maxX
            {
                type            zeroGradient;
            }
            minZ
            {
                type            zeroGradient;
            }
            maxZ
            {
                type            zeroGradient;
            }
            rightSolid_to_bottomAir
            {
                type            zeroGradient;
            }
            rightSolid_to_heater
            {
                type            zeroGradient;
            }
            rightSolid_to_topAir
            {
                type            zeroGradient;
            }
        }
    }

    cp
    {
        internalField   uniform 450;

        boundaryField
        {
            maxX
            {
                type            zeroGradient;
            }
            minZ
            {
                type            zeroGradient;
            }
            maxZ
            {
                type            zeroGradient;
            }
            rightSolid_to_bottomAir
            {
                type            zeroGradient;
            }
            rightSolid_to_heater
            {
                type            zeroGradient;
            }
            rightSolid_to_topAir
            {
                type            zeroGradient;
            }
        }
    }
}

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