Go to the documentation of this file.00001 word fluxScheme("Kurganov");
00002 if (mesh.schemesDict().found("fluxScheme"))
00003 {
00004 fluxScheme = word(mesh.schemesDict().lookup("fluxScheme"));
00005 if ((fluxScheme == "Tadmor") || (fluxScheme == "Kurganov"))
00006 {
00007 Info<< "fluxScheme: " << fluxScheme << endl;
00008 }
00009 else
00010 {
00011 FatalErrorIn
00012 (
00013 "rhoCentralFoam::readFluxScheme"
00014 ) << "fluxScheme: " << fluxScheme
00015 << " is not a valid choice. "
00016 << "Options are: Tadmor, Kurganov"
00017 << abort(FatalError);
00018 }
00019 }
00020
00021