equivalent to the tutorials/modules/multicomponentFluid/cylinder except that a 70deg contact-angle is applied to the film on the wall.
41 lines
982 B
C++
41 lines
982 B
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 volScalarField;
|
|
location "0";
|
|
object O2;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 0 0 0 0];
|
|
|
|
internalField uniform 0.23;
|
|
|
|
boundaryField
|
|
{
|
|
film
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
"(sides|frontAndBack)"
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
top
|
|
{
|
|
type inletOutlet;
|
|
inletValue $internalField;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|