OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

rhoEboundaryTypes.H

Go to the documentation of this file.
00001 const volScalarField::GeometricBoundaryField& Tbf = T.boundaryField();
00002 wordList rhoEboundaryTypes = Tbf.types();
00003 
00004 forAll(rhoEboundaryTypes, patchi)
00005 {
00006     if (Tbf[patchi].fixesValue())
00007     {
00008         rhoEboundaryTypes[patchi] = fixedRhoEFvPatchScalarField::typeName;
00009     }
00010     else
00011     {
00012         rhoEboundaryTypes[patchi] = mixedRhoEFvPatchScalarField::typeName;
00013     }
00014 }
Copyright © 2000-2009 OpenCFD Ltd