mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Initial testing updates
This commit is contained in:
@ -137,12 +137,10 @@ bool Foam::functionObjects::yPlus::execute()
|
||||
const volScalarField::Boundary& d = nwd.y();
|
||||
|
||||
// nut needed for wall function patches
|
||||
const volScalarField::Boundary& nutBf = model.nut()().boundaryField();
|
||||
tmp<volScalarField> tnut = model.nut();
|
||||
const volScalarField::Boundary& nutBf = tnut().boundaryField();
|
||||
|
||||
// nuEff nu and U needed for plain wall patches
|
||||
const volScalarField::Boundary& nuEffBf =
|
||||
model.nuEff()().boundaryField();
|
||||
const volScalarField::Boundary& nuBf = model.nu()().boundaryField();
|
||||
// U needed for plain wall patches
|
||||
const volVectorField::Boundary& UBf = model.U().boundaryField();
|
||||
|
||||
const fvPatchList& patches = mesh_.boundary();
|
||||
@ -167,9 +165,9 @@ bool Foam::functionObjects::yPlus::execute()
|
||||
d[patchi]
|
||||
*sqrt
|
||||
(
|
||||
nuEffBf[patchi]
|
||||
model.nuEff(patchi)
|
||||
*mag(UBf[patchi].snGrad())
|
||||
)/nuBf[patchi];
|
||||
)/model.nu(patchi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -25,7 +25,7 @@ Class
|
||||
Foam::functionObjects::runTimeControl
|
||||
|
||||
Group
|
||||
grpJobControlFunctionObjects
|
||||
grpUtilitiesFunctionObjects
|
||||
|
||||
Description
|
||||
Controls when the calculation is terminated based on satisfying
|
||||
@ -120,9 +120,6 @@ public:
|
||||
//- Execute, currently does nothing
|
||||
virtual bool execute();
|
||||
|
||||
//- Called when time was set at the end of the Time::operator++
|
||||
virtual void timeSet();
|
||||
|
||||
//- Calculate the runTimeControl and write
|
||||
virtual bool write();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user