1 for (label i=startTime; i<endTime; i++)
3 runTime.setTime(Times[i], i);
5 Info<< "Time = " << runTime.timeName() << endl;
17 if (Uheader.headerOk())
19 volVectorField U(Uheader, mesh);
21 autoPtr<basicPsiThermo> thermo
23 basicPsiThermo::New(mesh)
26 volScalarField Cp = thermo->Cp();
27 volScalarField Cv = thermo->Cv();
37 mag(U)/(sqrt((Cp/Cv)*(Cp - Cv)*thermo->T()))
40 Info << "Max Mach number: " << max(Ma.internalField()) << endl;
45 Info<< " No U" << endl;