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 (rhoBoundaryTypes[patchi] == "waveTransmissive")
00007 {
00008 rhoBoundaryTypes[patchi] = zeroGradientFvPatchScalarField::typeName;
00009 }
00010 else if (pbf[patchi].fixesValue())
00011 {
00012 rhoBoundaryTypes[patchi] = fixedRhoFvPatchScalarField::typeName;
00013 }
00014 }
00015
00016