surfaceFilmModels: 0.333 -> 1.0/3.0 and 0.666 -> 2.0/3.0
Resolves bug-report https://bugs.openfoam.org/view.php?id=2629
This commit is contained in:
parent
53a524a280
commit
0c4175bec7
3 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -171,11 +171,11 @@ void Foam::inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs()
|
|||
const volScalarField& rho = film.rho();
|
||||
const scalarField rhop(rho.boundaryField()[patchi].patchInternalField());
|
||||
|
||||
const scalarField Re(max(G, scalar(0.0))/mup);
|
||||
const scalarField Re(max(G, scalar(0))/mup);
|
||||
|
||||
operator==
|
||||
(
|
||||
pow(3.0*sqr(mup/rhop)/(gTan + ROOTVSMALL), 0.333)*pow(Re, 0.333)
|
||||
pow(3*sqr(mup/rhop)/(gTan + ROOTVSMALL), 1.0/3.0)*pow(Re, 1.0/3.0)
|
||||
);
|
||||
|
||||
fixedValueFvPatchScalarField::updateCoeffs();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -170,9 +170,9 @@ void Foam::inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs()
|
|||
const volScalarField& rho = film.rho();
|
||||
const scalarField rhop(rho.boundaryField()[patchi].patchInternalField());
|
||||
|
||||
const scalarField Re(max(G, scalar(0.0))/mup);
|
||||
const scalarField Re(max(G, scalar(0))/mup);
|
||||
|
||||
operator==(n*pow(gTan*mup/(3.0*rhop), 0.333)*pow(Re, 0.666));
|
||||
operator==(n*pow(gTan*mup/(3*rhop), 1.0/3.0)*pow(Re, 2.0/3.0));
|
||||
|
||||
fixedValueFvPatchVectorField::updateCoeffs();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ tmp<fvVectorMatrix> laminar::Su(volVectorField& U) const
|
|||
|
||||
// employ simple coeff-based model
|
||||
volScalarField Cs("Cs", Cf_*rhop*mag(Up - U));
|
||||
volScalarField Cw("Cw", mu/(0.3333*(delta + film.deltaSmall())));
|
||||
volScalarField Cw("Cw", mu/((1.0/3.0)*(delta + film.deltaSmall())));
|
||||
Cw.min(5000.0);
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue