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

checkPatchFieldTypes.H

Go to the documentation of this file.
00001 if (!isA<zeroGradientFvPatchScalarField>(k_.boundaryField()[patchi]))
00002 {
00003     FatalErrorIn("wall-function evaluation")
00004         << k_.boundaryField()[patchi].type()
00005         << " is the wrong k patchField type for wall-functions on patch "
00006         << curPatch.name() << nl
00007         << "    should be zeroGradient"
00008         << exit(FatalError);
00009 }
00010 
00011 if (!isA<zeroGradientFvPatchScalarField>(epsilon_.boundaryField()[patchi]))
00012 {
00013     FatalErrorIn("wall-function evaluation")
00014         << epsilon_.boundaryField()[patchi].type()
00015         << " is the wrong epsilon patchField type for wall-functions on patch "
00016         << curPatch.name() << nl
00017         << "    should be zeroGradient"
00018         << exit(FatalError);
00019 }
00020 
00021 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines