/*--------------------------------*- 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 k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 1e-4; boundaryField { "(outlet|sides)" { type inletOutlet; inletValue $internalField; value $internalField; } sides { type inletOutlet; inletValue uniform 1e-4; value uniform 1e-4; } base { type zeroGradient; } inlet { type fixedValue; value $internalField; } frontAndBack { type empty; } } // ************************************************************************* //