FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 (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 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines