From 73ac8575eb5d64b34206b2dd5405998bbff6649e Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Tue, 4 Oct 2022 08:15:12 +0100 Subject: [PATCH] multiphaseEulerFoam: Corrected typos Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR) --- .../HrenyaSinclair/HrenyaSinclairConductivity.C | 10 +++++----- .../HrenyaSinclair/HrenyaSinclairViscosity.C | 8 ++++---- .../ThermalPhaseChangePhaseSystem.H | 2 +- .../diameterModels/velocityGroup/velocityGroup.H | 2 +- .../populationBalanceModel/populationBalanceModel.H | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C index 51f98068d3..5fdedbe0a8 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C +++ b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -83,7 +83,7 @@ Foam::kineticTheoryModels::conductivityModels::HrenyaSinclair::kappa { const scalar sqrtPi = sqrt(constant::mathematical::pi); - volScalarField lamda + volScalarField lambda ( scalar(1) + da/(6*sqrt(2.0)*(alpha1 + 1e-5))/L_ ); @@ -93,10 +93,10 @@ Foam::kineticTheoryModels::conductivityModels::HrenyaSinclair::kappa 2*sqr(alpha1)*g0*(1 + e)/sqrtPi + (9.0/8.0)*sqrtPi*g0*0.25*sqr(1 + e)*(2*e - 1)*sqr(alpha1) /(49.0/16.0 - 33*e/16.0) - + (15.0/16.0)*sqrtPi*alpha1*(0.5*sqr(e) + 0.25*e - 0.75 + lamda) - /((49.0/16.0 - 33*e/16.0)*lamda) + + (15.0/16.0)*sqrtPi*alpha1*(0.5*sqr(e) + 0.25*e - 0.75 + lambda) + /((49.0/16.0 - 33*e/16.0)*lambda) + (25.0/64.0)*sqrtPi - /((1 + e)*(49.0/16.0 - 33*e/16.0)*lamda*g0) + /((1 + e)*(49.0/16.0 - 33*e/16.0)*lambda*g0) ); } diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C index 680b911b22..07e5a9dab0 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C +++ b/applications/solvers/multiphase/multiphaseEulerFoam/multiphaseCompressibleMomentumTransportModels/kineticTheoryModels/viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C @@ -82,7 +82,7 @@ Foam::kineticTheoryModels::viscosityModels::HrenyaSinclair::nu { const scalar sqrtPi = sqrt(constant::mathematical::pi); - const volScalarField lamda(1 + da/(6*sqrt(2.0)*(alpha1 + 1e-5))/L_); + const volScalarField lambda(1 + da/(6*sqrt(2.0)*(alpha1 + 1e-5))/L_); return volScalarField::New ( @@ -95,9 +95,9 @@ Foam::kineticTheoryModels::viscosityModels::HrenyaSinclair::nu ( (4.0/5.0)*sqr(alpha1)*g0*(1 + e)/sqrtPi + (1.0/15.0)*sqrtPi*g0*(1 + e)*(3*e - 1)*sqr(alpha1)/(3 - e) - + (1.0/6.0)*sqrtPi*alpha1*(0.5*lamda + 0.25*(3*e - 1)) - /(0.5*(3 - e)*lamda) - + (10.0/96.0)*sqrtPi/((1 + e)*0.5*(3 - e)*g0*lamda) + + (1.0/6.0)*sqrtPi*alpha1*(0.5*lambda + 0.25*(3*e - 1)) + /(0.5*(3 - e)*lambda) + + (10.0/96.0)*sqrtPi/((1 + e)*0.5*(3 - e)*g0*lambda) ) ); } diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.H b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.H index 649ad51fb3..4fd105b196 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.H +++ b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.H @@ -29,7 +29,7 @@ Description phases according the interfacial temperature approximated by the saturation temperature. - Based on the implemnetaion described in: + Based on the implementation described in: \verbatim Peltola, J., Pättikangas, T., Bainbridge, W., Lehnigk, R., Schlegel, F. diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/diameterModels/velocityGroup/velocityGroup.H b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/diameterModels/velocityGroup/velocityGroup.H index b7a92a6538..35655be650 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/diameterModels/velocityGroup/velocityGroup.H +++ b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/diameterModels/velocityGroup/velocityGroup.H @@ -31,7 +31,7 @@ Description distribution by means of coalescence, breakup, drift and nucleation. Usage - Excerpt from an examplary phaseProperties dictionary: + Excerpt from an exemplary phaseProperties dictionary: \verbatim diameterModel velocityGroup; diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H index b54b25d602..f56df10b1c 100644 --- a/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H +++ b/applications/solvers/multiphase/multiphaseEulerFoam/phaseSystems/populationBalanceModel/populationBalanceModel/populationBalanceModel.H @@ -116,7 +116,7 @@ Description \endverbatim Usage - Excerpt from an examplary phaseProperties dictionary: + Excerpt from an exemplary phaseProperties dictionary: \verbatim type populationBalanceMultiphaseSystem;