Files
openfoam/tutorials/combustion/reactingFoam/RAS/membrane/0.orig/CH4
Mark Olesen 36f8542e01 TUT: use '/' dictionary scoping for variables and foamDictionary (#1073)
- leave windAroundBuildings blockMeshDict with older '.' syntax
  (to test compatibility)
2023-08-21 12:12:41 +02:00

78 lines
1.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object CH4;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include"
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
inletSleeve
{
type fixedValue;
value uniform $/sleeve/CH4;
}
inletPipe
{
type fixedValue;
value uniform $/pipe/CH4;
}
outletSleeve
{
type inletOutlet;
inletValue uniform $/sleeve/CH4;
value uniform $/sleeve/CH4;
}
outletPipe
{
type inletOutlet;
inletValue uniform $/pipe/CH4;
value uniform $/pipe/CH4;
}
wall
{
type zeroGradient;
}
membraneSleeve
{
type semiPermeableBaffleMassFraction;
samplePatch membranePipe;
c 0.1;
value uniform $/sleeve/CH4;
}
membranePipe
{
type semiPermeableBaffleMassFraction;
samplePatch membraneSleeve;
c 0.1;
value uniform $/pipe/CH4;
}
}
// Cleanup
#remove ( sleeve pipe )
// ************************************************************************* //