CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   rhoCentralFoam (https://www.cfd-online.com/Forums/openfoam/90371-rhocentralfoam.html)

nsreddysrsit July 7, 2011 23:47

rhoCentralFoam
 
hi openFoam users,
i have one question in the following file suppose i need to edit "Tadmor" scheme, where does this code is available for tadmor.
readFluxScheme.H
00001 word fluxScheme("Kurganov");
00002 if (mesh.schemesDict().readIfPresent("fluxScheme", fluxScheme))
00003 {
00004 if ((fluxScheme == "Tadmor") || (fluxScheme == "Kurganov"))
00005 {
00006 Info<< "fluxScheme: " << fluxScheme << endl;
00007 }
00008 else
00009 {
00010 FatalErrorIn
00011 (
00012 "rhoCentralFoam::readFluxScheme"
00013 ) << "fluxScheme: " << fluxScheme
00014 << " is not a valid choice. "
00015 << "Options are: Tadmor, Kurganov"
00016 << abort(FatalError);
00017 }
00018 }
thanking you,
nsreddy


All times are GMT -4. The time now is 09:16.