mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -71,6 +71,18 @@ bool Foam::pimpleLoop::loop(correctorConvergenceControl& convergence)
|
||||
|
||||
// Handle quit conditions first
|
||||
{
|
||||
// If converged on the last iteration then end the correction loop
|
||||
if (converged_)
|
||||
{
|
||||
Info<< control_.algorithmName() << ": Converged in "
|
||||
<< corrPimple_ - 1 << " iterations" << endl;
|
||||
|
||||
corrPimple_ = 0;
|
||||
converged_ = false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// If all corrections have been completed then end the correction loop
|
||||
if (corrPimple_ > nCorrPimple_)
|
||||
{
|
||||
@ -80,17 +92,6 @@ bool Foam::pimpleLoop::loop(correctorConvergenceControl& convergence)
|
||||
<< nCorrPimple_ << " iterations" << endl;
|
||||
}
|
||||
|
||||
corrPimple_ = 0;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// If converged on the last iteration then end the correction loop
|
||||
if (converged_)
|
||||
{
|
||||
Info<< control_.algorithmName() << ": Converged in "
|
||||
<< corrPimple_ - 1 << " iterations" << endl;
|
||||
|
||||
corrPimple_ = 0;
|
||||
converged_ = false;
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2017 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -49,12 +49,12 @@ Description
|
||||
Y_{i,n} | mass fraction on the neighbour patch []
|
||||
\endvartable
|
||||
|
||||
A species that the baffle is permable to will, therefore, have a
|
||||
A species that the baffle is permeable to will, therefore, have a
|
||||
coefficient greater than zero, whilst a species that does not transfer will
|
||||
have a coefficient equal to zero.
|
||||
|
||||
This condition calculates the species flux. The fluxes are summed up by the
|
||||
velocity consition to generate the net mass transfer across the baffle.
|
||||
velocity condition to generate the net mass transfer across the baffle.
|
||||
This mass-fraction condition then generates a corrective diffusive flux to
|
||||
ensure that the correct amounts of the permeable species are transferred.
|
||||
|
||||
|
||||
@ -198,7 +198,7 @@ Foam::waveSuperposition::waveSuperposition(const waveSuperposition& waves)
|
||||
ramp_(waves.ramp_, false),
|
||||
scale_(waves.scale_, false),
|
||||
crossScale_(waves.crossScale_, false),
|
||||
heightAboveWave_(false)
|
||||
heightAboveWave_(waves.heightAboveWave_)
|
||||
{}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user