CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Shadow Wall/Thermo Baffle in OF 1.7.1 (https://www.cfd-online.com/Forums/openfoam/92950-shadow-wall-thermo-baffle-1-7-1-a.html)

newOFuser September 29, 2011 20:09

Shadow Wall/Thermo Baffle in OF 1.7.1
 
Hello Foamers,

Does anyone know how we can define shadow walls/baffles in OF 1.7.1? Is there some tutorial available for this?
I am interested in including wall heat transfer (where the wall thickness and its properties can also be defined) and therefore was looking into how it could be done in OF 1.7.1
Any thoughts on this?

Many thanks,
amit

swahono March 1, 2012 18:17

Hi,

You can not do this in OF 1.7.x.
OF 2.0.x can do this.

You need to create your wall mesh with -shadow wall patch already included.
The easiest way to do this is to use third party mesher.

Then you need to change your constant/polyMesh/boundary for your coupled wall
Code:

wall1
{
    type            directMappedWall;
    nFaces          32482;
    startFace      16477771;
    sampleMode      nearestPatchFace;
    sampleRegion    region0;
    samplePatch    wall1-shadow;
    offsetMode      uniform;
    offset          ( 0 0 0 );
}

wall1-shadow
{
    type            directMappedWall;
    nFaces          32482;
    startFace      16510253;
    sampleMode      nearestPatchFace;
    sampleRegion    region0;
    samplePatch    wall1;
    offsetMode      uniform;
    offset          ( 0 0 0 );
}

Then for 1D heat conduction through the wall, use the BC:
Code:


wall1
    {
        type            compressible::temperatureThermoBaffle1D<constSolidThermoPhysics>;
        baffleActivated yes;
        thickness      uniform 0.001;
        Qs              uniform 0;
        transport
        {
            K              202.4;
        }
        radiation
        {
            sigmaS          0;
            kappa          0;
            emissivity      0;
        }
        thermodynamics
        {
            Hf              0;
            Cp              871;
        }
        density
        {
            rho            2719;
        }
        value          uniform 300;
    }
    wall1-shadow
    {
        type            compressible::temperatureThermoBaffle1D<constSolidThermoPhysics>;
        $wall1    ;
    }

then include additional library in your system/controlDict

libs ("libthermoBaffleModels.so");

For 3D heat transfer through the wall (i.e. 1D conduction + 2D shell conduction)...
things are a bir more complicated. But, you can definitely do it too.


All times are GMT -4. The time now is 04:33.