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

42 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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "../0/include"
defaultFieldValues
(
volScalarFieldValue CH4 $!sleeve/CH4
volScalarFieldValue N2 $!sleeve/N2
volScalarFieldValue O2 $!sleeve/O2
);
regions
(
zoneToCell
{
zone pipe;
fieldValues
(
volScalarFieldValue CH4 $!pipe/CH4
volScalarFieldValue N2 $!pipe/N2
volScalarFieldValue O2 $!pipe/O2
);
}
);
// ************************************************************************* //