mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Lagrangian LocalPatchInteraction - updated output message for particle statistics
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -284,6 +284,8 @@ bool Foam::LocalInteraction<CloudType>::correct
|
|||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
void Foam::LocalInteraction<CloudType>::info(Ostream& os)
|
void Foam::LocalInteraction<CloudType>::info(Ostream& os)
|
||||||
{
|
{
|
||||||
|
PatchInteractionModel<CloudType>::info(os);
|
||||||
|
|
||||||
// retrieve any stored data
|
// retrieve any stored data
|
||||||
labelList npe0(patchData_.size(), 0);
|
labelList npe0(patchData_.size(), 0);
|
||||||
this->getModelProperty("nEscape", npe0);
|
this->getModelProperty("nEscape", npe0);
|
||||||
@ -317,8 +319,8 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
|
|||||||
|
|
||||||
forAll(patchData_, i)
|
forAll(patchData_, i)
|
||||||
{
|
{
|
||||||
os << " Parcel fate (number, mass) : patch "
|
os << " Parcel fate: patch " << patchData_[i].patchName()
|
||||||
<< patchData_[i].patchName() << nl
|
<< " (number, mass)" << nl
|
||||||
<< " - escape = " << npe[i]
|
<< " - escape = " << npe[i]
|
||||||
<< ", " << mpe[i] << nl
|
<< ", " << mpe[i] << nl
|
||||||
<< " - stick = " << nps[i]
|
<< " - stick = " << nps[i]
|
||||||
|
|||||||
Reference in New Issue
Block a user