compressibleMultiRegionCourantNo.H
Go to the documentation of this file.
1  scalar CoNum = -GREAT;
2  forAll(fluidRegions, regionI)
3  {
4  CoNum = max
5  (
7  (
8  fluidRegions[regionI],
9  runTime,
10  rhoFluid[regionI],
11  phiFluid[regionI]
12  ),
13  CoNum
14  );
15  }
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Definition: hashSets.C:40
engineTime & runTime
scalar compressibleCourantNo(const fvMesh &mesh, const Time &runTime, const volScalarField &rho, const surfaceScalarField &phi)
PtrList< volScalarField > rhoFluid(fluidRegions.size())
forAll(fluidRegions, regionI)
PtrList< surfaceScalarField > phiFluid(fluidRegions.size())
PtrList< fvMesh > fluidRegions(fluidNames.size())