From aa1712de8ff3d3874712c13cf86021f6c80abe50 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 7 Jul 2017 11:03:12 +0100 Subject: [PATCH] VoFPatchTransfer: Corrected for clang --- .../VoFPatchTransfer/VoFPatchTransfer.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.C b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.C index face5656b..8f703a6a3 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.C +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.C @@ -160,7 +160,7 @@ void VoFPatchTransfer::correct const volScalarField& heVoF = thermo.thermo1().he(); const volScalarField& TVoF = thermo.thermo1().T(); - volScalarField CpVoF = thermo.thermo1().Cp(); + const volScalarField CpVoF(thermo.thermo1().Cp()); const volScalarField& rhoVoF = thermo.thermo1().rho()(); const volScalarField& alphaVoF = thermo.alpha1();