diff --git a/src/OpenFOAM/primitives/random/Random/Random.H b/src/OpenFOAM/primitives/random/Random/Random.H index 6ec7032a5f..81d68c3171 100644 --- a/src/OpenFOAM/primitives/random/Random/Random.H +++ b/src/OpenFOAM/primitives/random/Random/Random.H @@ -85,10 +85,16 @@ class Random public: + // Public Static Data + + //- The default seed value (name may change in the future) + static constexpr label defaultSeed = 123456; + + // Constructors //- Construct with seed value - Random(const label seedValue = 123456); + explicit Random(const label seedValue = defaultSeed); //- Copy construct with optional reset of seed Random(const Random& r, const bool reset = false); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C index 2fed737311..2ae9499d69 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C @@ -846,7 +846,7 @@ turbulentDFSEMInletFvPatchVectorField nCellPerEddy_(dict.getOrDefault