Files
OpenFOAM-12/tutorials/incompressibleVoF/forcedUpstreamWave/system/setFieldsDict
2024-07-06 16:02:47 +01:00

48 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues
(
volScalarFieldValue alpha.water 0
);
regions
(
boxToCell
{
box (-10000 -10000 -10000) (10000 0 10000);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
// Set patch values (using ==)
boxToFace
{
box (-10000 -10000 -10000) (10000 0 10000);
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
);
// ************************************************************************* //