50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
/*--------------------------------*- 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 volScalarField;
|
|
object T;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 1 0 0 0];
|
|
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
fixedWalls
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform 300;
|
|
value uniform 300;
|
|
}
|
|
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value nonuniform List<scalar>
|
|
20(300 300 300 300 300 400 400 400 400 400 400 400 400 400 400 300 300 300 300 300);
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
defaultFaces
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|