mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: lagrangian: debug to Pout, not Info
This commit is contained in:
@ -681,7 +681,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Particle " << origId() << endl << "Tracking from " << x0
|
||||
Pout<< "Particle " << origId() << endl << "Tracking from " << x0
|
||||
<< " along " << x1 << " to " << x0 + x1 << endl;
|
||||
}
|
||||
|
||||
@ -695,7 +695,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
|
||||
{
|
||||
vector o, b, v1, v2;
|
||||
stationaryTetGeometry(o, b, v1, v2);
|
||||
Info<< "Tet points o=" << o << ", b=" << b
|
||||
Pout<< "Tet points o=" << o << ", b=" << b
|
||||
<< ", v1=" << v1 << ", v2=" << v2 << endl
|
||||
<< "Tet determinant = " << detA << endl
|
||||
<< "Start local coordinates = " << y0 << endl;
|
||||
@ -709,7 +709,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Local displacement = " << Tx1 << "/" << detA << endl;
|
||||
Pout<< "Local displacement = " << Tx1 << "/" << detA << endl;
|
||||
}
|
||||
|
||||
// Calculate the hit fraction
|
||||
@ -723,7 +723,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Hit on tet face " << i << " at local coordinate "
|
||||
Pout<< "Hit on tet face " << i << " at local coordinate "
|
||||
<< y0 + mu*Tx1 << ", " << mu*detA*100 << "% of the "
|
||||
<< "way along the track" << endl;
|
||||
}
|
||||
@ -759,13 +759,13 @@ Foam::scalar Foam::particle::trackToStationaryTri
|
||||
{
|
||||
if (iH != -1)
|
||||
{
|
||||
Info<< "Track hit tet face " << iH << " first" << endl;
|
||||
Pout<< "Track hit tet face " << iH << " first" << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
Info<< "Track hit no tet faces" << endl;
|
||||
Pout<< "Track hit no tet faces" << endl;
|
||||
}
|
||||
Info<< "End local coordinates = " << yH << endl
|
||||
Pout<< "End local coordinates = " << yH << endl
|
||||
<< "End global coordinates = " << position() << endl
|
||||
<< "Tracking displacement = " << position() - x0 << endl
|
||||
<< muH*detA*100 << "% of the step from " << stepFraction_ << " to "
|
||||
@ -792,7 +792,7 @@ Foam::scalar Foam::particle::trackToMovingTri
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Particle " << origId() << endl << "Tracking from " << x0
|
||||
Pout<< "Particle " << origId() << endl << "Tracking from " << x0
|
||||
<< " along " << x1 << " to " << x0 + x1 << endl;
|
||||
}
|
||||
|
||||
@ -893,13 +893,13 @@ Foam::scalar Foam::particle::trackToMovingTri
|
||||
{
|
||||
if (iH != -1)
|
||||
{
|
||||
Info<< "Track hit tet face " << iH << " first" << endl;
|
||||
Pout<< "Track hit tet face " << iH << " first" << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
Info<< "Track hit no tet faces" << endl;
|
||||
Pout<< "Track hit no tet faces" << endl;
|
||||
}
|
||||
Info<< "End local coordinates = " << yH << endl
|
||||
Pout<< "End local coordinates = " << yH << endl
|
||||
<< "End global coordinates = " << position() << endl;
|
||||
}
|
||||
|
||||
|
||||
@ -425,7 +425,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "UTrans min/max = " << min(UTrans()).value() << ", "
|
||||
Pout<< "UTrans min/max = " << min(UTrans()).value() << ", "
|
||||
<< max(UTrans()).value() << nl
|
||||
<< "UCoeff min/max = " << min(UCoeff()).value() << ", "
|
||||
<< max(UCoeff()).value() << endl;
|
||||
|
||||
@ -50,7 +50,7 @@ bool Foam::solidParticle::move
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Time = " << mesh().time().timeName()
|
||||
Pout<< "Time = " << mesh().time().timeName()
|
||||
<< " trackTime = " << trackTime
|
||||
<< " steptFraction() = " << stepFraction() << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user