diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H index 4b41508a868caf95ad2b97fe3e9b9bd979dbf328..a949b8e5a31ee3d255f9f14f350e196317181675 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.H @@ -110,13 +110,11 @@ class timeVaryingMappedFixedValueFvPatchField label& hi ) const; + //- Read boundary points and determine interpolation weights to patch // faceCentres void readSamplePoints(); - //- Find boundary data inbetween current time and interpolate - void checkTable(); - //- Do actual interpolation using current weights tmp<Field<Type> > interpolate(const Field<Type>&) const; @@ -199,6 +197,12 @@ public: return referenceCS_; } + //- Return startSampledValues + const Field<Type> startSampledValues() + { + return startSampledValues_; + } + // Mapping functions @@ -216,6 +220,12 @@ public: ); + // Utility functions + + //- Find boundary data inbetween current time and interpolate + void checkTable(); + + // Evaluation functions //- Update the coefficients associated with the patch field diff --git a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.H b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.H index 3e6be442b59f58f03528a1273a2757d91745c004..397b66806fc5995aba08be194a66a638e9ad1846 100644 --- a/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.H +++ b/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.H @@ -152,6 +152,21 @@ public: // Member functions + // Acces functions + + // Return Ks + scalarField& Ks() + { + return Ks_; + } + + // Return Cs + scalarField& Cs() + { + return Cs_; + } + + // Mapping functions //- Map (and resize as needed) from self given a mapping object