diff --git a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C index 65704e0b1a8fd302d41924a4c7b2c5d57088e456..8e1bb149e7636809c2abbb503df13b8eb0d50a6a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.C @@ -94,7 +94,7 @@ movingWallVelocityFvPatchVectorField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // Foam::tmp<Foam::vectorField> -Foam::movingWallVelocityFvPatchVectorField::Uwall() +Foam::movingWallVelocityFvPatchVectorField::Uwall() const { const fvMesh& mesh = internalField().mesh(); const fvPatch& p = patch(); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.H index f6a9ff2689650e721371c214528a971a3c0f36f2..9b5b05cd7ec3d74e68863b3d8bec9ac96cb5facd 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/movingWallVelocity/movingWallVelocityFvPatchVectorField.H @@ -142,7 +142,7 @@ public: // Member Functions //- Return wall velocity field - tmp<vectorField> Uwall(); + tmp<vectorField> Uwall() const; //- Update the coefficients associated with the patch field virtual void updateCoeffs();