This tutorial serves as an example of a boiling transfer between two
phases, which occurs on the surface of a third stationary phase. See
commit 32edc48d for details of this modelling and its specification.
Patch contributed by Juho Peltola, VTT.
98 lines
1.9 KiB
C++
98 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object blockMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
backgroundMesh
|
|
{
|
|
length 1.5;
|
|
rA 0.3;
|
|
lengthCells 150;
|
|
rAcells 40;
|
|
}
|
|
|
|
convertToMeters 1;
|
|
|
|
vertices
|
|
(
|
|
( 0 0 -1)
|
|
($!backgroundMesh/length 0 -1)
|
|
( 0 $!backgroundMesh/rA -1)
|
|
($!backgroundMesh/length $!backgroundMesh/rA -1)
|
|
|
|
( 0 0 0)
|
|
($!backgroundMesh/length 0 0)
|
|
( 0 $!backgroundMesh/rA 0)
|
|
($!backgroundMesh/length $!backgroundMesh/rA 0)
|
|
);
|
|
|
|
blocks
|
|
(
|
|
hex (0 1 3 2 4 5 7 6)
|
|
($!backgroundMesh/lengthCells $!backgroundMesh/rAcells 1)
|
|
simpleGrading (1 0.5 1)
|
|
|
|
);
|
|
|
|
boundary
|
|
(
|
|
inlet
|
|
{
|
|
type mappedInternal;
|
|
offset (0.05 0 0);
|
|
faces
|
|
(
|
|
(0 4 6 2)
|
|
);
|
|
}
|
|
outlet
|
|
{
|
|
type patch;
|
|
faces
|
|
(
|
|
(1 5 7 3)
|
|
);
|
|
}
|
|
front
|
|
{
|
|
type symmetry;
|
|
faces
|
|
(
|
|
(4 5 7 6)
|
|
);
|
|
}
|
|
|
|
back
|
|
{
|
|
type symmetry;
|
|
faces
|
|
(
|
|
(0 1 3 2)
|
|
);
|
|
}
|
|
|
|
wall
|
|
{
|
|
type wall;
|
|
faces
|
|
(
|
|
(3 2 6 7)
|
|
(1 0 4 5)
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|