FreeFOAM The Cross-Platform CFD Toolkit
readFluxScheme.H
Go to the documentation of this file.
1 word fluxScheme("Kurganov");
2 if (mesh.schemesDict().found("fluxScheme"))
3 {
4  fluxScheme = word(mesh.schemesDict().lookup("fluxScheme"));
5  if ((fluxScheme == "Tadmor") || (fluxScheme == "Kurganov"))
6  {
7  Info<< "fluxScheme: " << fluxScheme << endl;
8  }
9  else
10  {
12  (
13  "rhoCentralFoam::readFluxScheme"
14  ) << "fluxScheme: " << fluxScheme
15  << " is not a valid choice. "
16  << "Options are: Tadmor, Kurganov"
17  << abort(FatalError);
18  }
19 }
20 
21 // ************************ vim: set sw=4 sts=4 et: ************************ //