rhoBoundaryTypes.H
Go to the documentation of this file.00001 const volScalarField::GeometricBoundaryField& pbf = p.boundaryField();
00002 wordList rhoBoundaryTypes = pbf.types();
00003
00004 forAll(rhoBoundaryTypes, patchi)
00005 {
00006 if
00007 (
00008 rhoBoundaryTypes[patchi] == "pressureTransmissive"
00009 )
00010 {
00011 rhoBoundaryTypes[patchi] = zeroGradientFvPatchScalarField::typeName;
00012 }
00013 else if (pbf[patchi].fixesValue())
00014 {
00015 rhoBoundaryTypes[patchi] = fixedRhoFvPatchScalarField::typeName;
00016 }
00017 else
00018 {
00019 rhoBoundaryTypes[patchi] = gradientRhoFvPatchScalarField::typeName;
00020 }
00021 }
Copyright © 2000-2009 OpenCFD Ltd