mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Info -> InfoInFunction and updated comments
This commit is contained in:
@ -31,7 +31,7 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(OFstream, 0);
|
||||
defineTypeNameAndDebug(OFstream, 0);
|
||||
}
|
||||
|
||||
|
||||
@ -103,9 +103,8 @@ Foam::OFstream::OFstream
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "OFstream::OFstream(const fileName&,"
|
||||
"streamFormat, versionNumber, compressionType) : "
|
||||
"could not open file " << pathname
|
||||
InfoInFunction
|
||||
<< "Could not open file " << pathname
|
||||
<< "for input\n"
|
||||
"in stream " << info() << Foam::endl;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -62,10 +62,8 @@ Foam::word Foam::Time::findInstance
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Time::findInstance"
|
||||
"(const fileName&, const word&"
|
||||
", const IOobject::readOption, const word&)"
|
||||
<< " : found \"" << name
|
||||
InfoInFunction
|
||||
<< "Found \"" << name
|
||||
<< "\" in " << timeName()/dir
|
||||
<< endl;
|
||||
}
|
||||
@ -103,10 +101,8 @@ Foam::word Foam::Time::findInstance
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Time::findInstance"
|
||||
"(const fileName&, const word&"
|
||||
", const IOobject::readOption, const word&)"
|
||||
<< " : found \"" << name
|
||||
InfoInFunction
|
||||
<< "Found \"" << name
|
||||
<< "\" in " << ts[instanceI].name()/dir
|
||||
<< endl;
|
||||
}
|
||||
@ -119,10 +115,8 @@ Foam::word Foam::Time::findInstance
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Time::findInstance"
|
||||
"(const fileName&, const word&"
|
||||
", const IOobject::readOption, const word&)"
|
||||
<< " : hit stopInstance " << stopInstance
|
||||
InfoInFunction
|
||||
<< "Hit stopInstance " << stopInstance
|
||||
<< endl;
|
||||
}
|
||||
|
||||
@ -174,10 +168,8 @@ Foam::word Foam::Time::findInstance
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Time::findInstance"
|
||||
"(const fileName&, const word&"
|
||||
", const IOobject::readOption, const word&)"
|
||||
<< " : found \"" << name
|
||||
InfoInFunction
|
||||
<< "Found \"" << name
|
||||
<< "\" in " << constant()/dir
|
||||
<< endl;
|
||||
}
|
||||
|
||||
@ -43,13 +43,7 @@ readField
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::readField"
|
||||
"("
|
||||
"const DimensionedField<Type, GeoMesh>&, "
|
||||
"const dictionary&"
|
||||
")"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
|
||||
@ -230,11 +224,7 @@ GeometricBoundaryField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"GeometricBoundaryField(const BoundaryMesh&, "
|
||||
"const DimensionedField<Type>&, const word&)"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
forAll(bmesh_, patchi)
|
||||
@ -268,16 +258,7 @@ GeometricBoundaryField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"GeometricBoundaryField"
|
||||
"("
|
||||
"const BoundaryMesh&, "
|
||||
"const DimensionedField<Type>&, "
|
||||
"const wordList&, "
|
||||
"const wordList&"
|
||||
")"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
if
|
||||
@ -344,15 +325,7 @@ GeometricBoundaryField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"GeometricBoundaryField"
|
||||
"("
|
||||
"const BoundaryMesh&, "
|
||||
"const DimensionedField<Type, GeoMesh>&, "
|
||||
"const PtrLIst<PatchField<Type>>&"
|
||||
")"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
forAll(bmesh_, patchi)
|
||||
@ -376,15 +349,7 @@ GeometricBoundaryField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"GeometricBoundaryField"
|
||||
"("
|
||||
"const DimensionedField<Type, GeoMesh>&, "
|
||||
"const typename GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField&"
|
||||
")"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
forAll(bmesh_, patchi)
|
||||
@ -412,14 +377,7 @@ GeometricBoundaryField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"GeometricBoundaryField"
|
||||
"("
|
||||
"const GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField&"
|
||||
")"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -448,9 +406,7 @@ updateCoeffs()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"updateCoeffs()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
forAll(*this, patchi)
|
||||
@ -466,9 +422,7 @@ evaluate()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::"
|
||||
"GeometricBoundaryField::"
|
||||
"evaluate()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
if
|
||||
|
||||
@ -146,7 +146,7 @@ bool Foam::GeometricField<Type, PatchField, GeoMesh>::readOldTimeIfPresent()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Reading old time level for field"
|
||||
InfoInFunction << "Reading old time level for field"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -189,9 +189,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"creating temporary"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
readIfPresent();
|
||||
@ -216,9 +214,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"creating temporary"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
readIfPresent();
|
||||
@ -242,9 +238,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"creating temporary"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
boundaryField_ == dt.value();
|
||||
@ -271,9 +265,7 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"creating temporary"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction << "Creating temporary" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
boundaryField_ == dt.value();
|
||||
@ -300,9 +292,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing from components"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction
|
||||
<< "Constructing from components" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
readIfPresent();
|
||||
@ -338,9 +329,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Finishing read-construct of "
|
||||
"GeometricField<Type, PatchField, GeoMesh>"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction
|
||||
<< "Finishing read-construction of" << endl << this->info() << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -375,8 +365,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Finishing dictionary-construct of "
|
||||
"GeometricField<Type, PatchField, GeoMesh>"
|
||||
InfoInFunction
|
||||
<< "Finishing dictionary-construct of "
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
}
|
||||
@ -396,9 +386,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction
|
||||
<< "Constructing as copy" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
if (gf.field0Ptr_)
|
||||
@ -432,9 +421,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy"
|
||||
<< endl << this->info() << endl;
|
||||
InfoInFunction
|
||||
<< "Constructing as copy" << endl << this->info() << endl;
|
||||
}
|
||||
|
||||
this->writeOpt() = IOobject::NO_WRITE;
|
||||
@ -459,8 +447,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy resetting IO params"
|
||||
InfoInFunction
|
||||
<< "Constructing as copy resetting IO params"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -496,8 +484,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing from tmp resetting IO params"
|
||||
InfoInFunction
|
||||
<< "Constructing from tmp resetting IO params"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -523,8 +511,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy resetting name"
|
||||
InfoInFunction
|
||||
<< "Constructing as copy resetting name"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -560,8 +548,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing from tmp resetting name"
|
||||
InfoInFunction
|
||||
<< "Constructing from tmp resetting name"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -586,8 +574,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy resetting IO params"
|
||||
InfoInFunction
|
||||
<< "Constructing as copy resetting IO params"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -628,8 +616,8 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GeometricField<Type, PatchField, GeoMesh>::GeometricField : "
|
||||
"constructing as copy resetting IO params and patch types"
|
||||
InfoInFunction
|
||||
<< "Constructing as copy resetting IO params and patch types"
|
||||
<< endl << this->info() << endl;
|
||||
}
|
||||
|
||||
@ -721,7 +709,8 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::storeOldTime() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Storing old time field for field" << endl
|
||||
InfoInFunction
|
||||
<< "Storing old time field for field" << endl
|
||||
<< this->info() << endl;
|
||||
}
|
||||
|
||||
@ -797,7 +786,8 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::storePrevIter() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "Allocating previous iteration field" << endl
|
||||
InfoInFunction
|
||||
<< "Allocating previous iteration field" << endl
|
||||
<< this->info() << endl;
|
||||
}
|
||||
|
||||
|
||||
@ -36,11 +36,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PointPatchField<Type>::"
|
||||
"New(const word&, const word&"
|
||||
", const pointPatch&, const Field<Type>&) : "
|
||||
"constructing pointPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing pointPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
typename pointPatchConstructorTable::iterator cstrIter =
|
||||
@ -116,10 +112,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PointPatchField<Type>::"
|
||||
"New(const pointPatch&, const Field<Type>&, const dictionary&)"
|
||||
" : constructing pointPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing pointPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
word patchFieldType(dict.lookup("type"));
|
||||
@ -186,8 +179,6 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
|
||||
}
|
||||
|
||||
|
||||
// Return a pointer to a new patch created on freestore from
|
||||
// a given pointPatchField<Type> mapped onto a new patch
|
||||
template<class Type>
|
||||
Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
|
||||
(
|
||||
@ -199,12 +190,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PointPatchField<Type>::"
|
||||
"New(const pointPatchField<Type>&,"
|
||||
" const pointPatch&, const Field<Type>&, "
|
||||
"const pointPatchFieldMapper&) : "
|
||||
"constructing pointPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing pointPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
typename patchMapperConstructorTable::iterator cstrIter =
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -358,10 +358,7 @@ Foam::autoPtr<Foam::GAMGProcAgglomeration> Foam::GAMGProcAgglomeration::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "GAMGProcAgglomeration::New(const word&, GAMGAgglomeration&"
|
||||
", const dictionary&) : "
|
||||
"constructing GAMGProcAgglomeration"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing GAMGProcAgglomeration" << endl;
|
||||
}
|
||||
|
||||
GAMGAgglomerationConstructorTable::iterator cstrIter =
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -35,10 +35,7 @@ Foam::autoPtr<Foam::facePointPatch> Foam::facePointPatch::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "facePointPatch::New(const polyPatch&, "
|
||||
<< " const pointBoundaryMesh&) : "
|
||||
<< "constructing facePointPatch"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing facePointPatch" << endl;
|
||||
}
|
||||
|
||||
polyPatchConstructorTable::iterator cstrIter =
|
||||
|
||||
@ -41,9 +41,7 @@ bool Foam::polyMesh::checkFaceOrthogonality
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkFaceOrthogonality("
|
||||
<< "const bool, labelHashSet*) const: "
|
||||
<< "checking mesh non-orthogonality" << endl;
|
||||
InfoInFunction << "Checking mesh non-orthogonality" << endl;
|
||||
}
|
||||
|
||||
const labelList& own = faceOwner();
|
||||
@ -182,9 +180,7 @@ bool Foam::polyMesh::checkFaceSkewness
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkFaceSkewnesss("
|
||||
<< "const bool, labelHashSet*) const: "
|
||||
<< "checking face skewness" << endl;
|
||||
InfoInFunction << "Checking face skewness" << endl;
|
||||
}
|
||||
|
||||
const labelList& own = faceOwner();
|
||||
@ -289,9 +285,7 @@ bool Foam::polyMesh::checkEdgeAlignment
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkEdgeAlignment("
|
||||
<< "const bool, const Vector<label>&, labelHashSet*) const: "
|
||||
<< "checking edge alignment" << endl;
|
||||
InfoInFunction << "Checking edge alignment" << endl;
|
||||
}
|
||||
|
||||
label nDirs = 0;
|
||||
@ -422,9 +416,7 @@ bool Foam::polyMesh::checkCellDeterminant
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkCellDeterminant(const bool"
|
||||
<< ", labelHashSet*) const: "
|
||||
<< "checking for under-determined cells" << endl;
|
||||
InfoInFunction << "Checking for under-determined cells" << endl;
|
||||
}
|
||||
|
||||
tmp<scalarField> tcellDeterminant = primitiveMeshTools::cellDeterminant
|
||||
@ -506,9 +498,7 @@ bool Foam::polyMesh::checkFaceWeight
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkFaceWeight(const bool"
|
||||
<< ", labelHashSet*) const: "
|
||||
<< "checking for low face interpolation weights" << endl;
|
||||
InfoInFunction << "Checking for low face interpolation weights" << endl;
|
||||
}
|
||||
|
||||
tmp<scalarField> tfaceWght = polyMeshTools::faceWeights
|
||||
@ -601,9 +591,7 @@ bool Foam::polyMesh::checkVolRatio
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "bool polyMesh::checkVolRatio(const bool"
|
||||
<< ", labelHashSet*) const: "
|
||||
<< "checking for volume ratio < " << minRatio << endl;
|
||||
InfoInFunction << "Checking for volume ratio < " << minRatio << endl;
|
||||
}
|
||||
|
||||
tmp<scalarField> tvolRatio = polyMeshTools::volRatio(*this, cellVols);
|
||||
@ -680,19 +668,6 @@ bool Foam::polyMesh::checkVolRatio
|
||||
}
|
||||
|
||||
|
||||
//- Could override checkClosedBoundary to not look at (collocated!) coupled
|
||||
// faces
|
||||
//bool Foam::polyMesh::checkClosedBoundary(const bool report) const
|
||||
//{
|
||||
// return primitiveMesh::checkClosedBoundary
|
||||
// (
|
||||
// faceAreas(),
|
||||
// report,
|
||||
// syncTools::getInternalOrCollocatedCoupledFaces(*this)
|
||||
// );
|
||||
//}
|
||||
|
||||
|
||||
bool Foam::polyMesh::checkFaceOrthogonality
|
||||
(
|
||||
const bool report,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -40,10 +40,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "polyPatch::New(const word&, const word&, const label, "
|
||||
"const label, const label, const polyBoundaryMesh&) : "
|
||||
"constructing polyPatch"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing polyPatch" << endl;
|
||||
}
|
||||
|
||||
wordConstructorTable::iterator cstrIter =
|
||||
@ -84,9 +81,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "polyPatch::New(const word&, const dictionary&, const label, "
|
||||
"const polyBoundaryMesh&) : constructing polyPatch"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing polyPatch" << endl;
|
||||
}
|
||||
|
||||
word patchType(dict.lookup("type"));
|
||||
@ -107,9 +102,7 @@ Foam::autoPtr<Foam::polyPatch> Foam::polyPatch::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "polyPatch::New(const word&, const word&, const dictionary&, "
|
||||
"const label, const polyBoundaryMesh&) : constructing polyPatch"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing polyPatch" << endl;
|
||||
}
|
||||
|
||||
dictionaryConstructorTable::iterator cstrIter =
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,9 +38,7 @@ Foam::autoPtr<Foam::cellZone> Foam::cellZone::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "cellZone::New(const word&, const dictionary&, const label, "
|
||||
"const cellZoneMesh&) : constructing cellZone " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing cellZone " << name << endl;
|
||||
}
|
||||
|
||||
const word zoneType(dict.lookup("type"));
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,9 +38,7 @@ Foam::autoPtr<Foam::faceZone> Foam::faceZone::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "faceZone::New(const word&, const dictionary&, const label, "
|
||||
"const faceZoneMesh&) : constructing faceZone " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing faceZone " << name << endl;
|
||||
}
|
||||
|
||||
const word zoneType(dict.lookup("type"));
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,9 +38,7 @@ Foam::autoPtr<Foam::pointZone> Foam::pointZone::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "pointZone::New(const word&, const dictionary&, const label, "
|
||||
"const pointZoneMesh&) : constructing pointZone " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing pointZone " << name << endl;
|
||||
}
|
||||
|
||||
const word zoneType(dict.lookup("type"));
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -26,7 +26,6 @@ License
|
||||
#include "PrimitivePatch.H"
|
||||
#include "HashSet.H"
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
template
|
||||
@ -42,10 +41,7 @@ calcBdryPoints() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcBdryPoints() : "
|
||||
<< "calculating boundary points"
|
||||
<< endl;
|
||||
InfoInFunction << "Calculating boundary points" << endl;
|
||||
}
|
||||
|
||||
if (boundaryPointsPtr_)
|
||||
@ -74,10 +70,7 @@ calcBdryPoints() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcBdryPoints() : "
|
||||
<< "finished calculating boundary points"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -121,10 +121,7 @@ surfaceType() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
"surfaceType() : "
|
||||
"calculating patch topology"
|
||||
<< endl;
|
||||
InfoInFunction << "Calculating patch topology" << endl;
|
||||
}
|
||||
|
||||
const labelListList& edgeFcs = edgeFaces();
|
||||
@ -151,10 +148,7 @@ surfaceType() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
"surfaceType() : "
|
||||
"finished calculating patch topology"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
|
||||
return pType;
|
||||
@ -178,10 +172,7 @@ checkTopology
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
"checkTopology(const bool, labelHashSet&) : "
|
||||
"checking patch topology"
|
||||
<< endl;
|
||||
InfoInFunction << "Checking patch topology" << endl;
|
||||
}
|
||||
|
||||
// Check edgeFaces
|
||||
@ -217,10 +208,7 @@ checkTopology
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
"checkTopology(const bool, labelHashSet&) : "
|
||||
"finished checking patch topology"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
|
||||
return illegalTopo;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -42,9 +42,7 @@ clearGeom()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "clearGeom() : clearing geometric data"
|
||||
<< endl;
|
||||
InfoInFunction << "Clearing geometric data" << endl;
|
||||
}
|
||||
|
||||
deleteDemandDrivenData(localPointsPtr_);
|
||||
@ -67,9 +65,7 @@ clearTopology()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "clearTopology() : clearing patch addressing"
|
||||
<< endl;
|
||||
InfoInFunction << "Clearing patch addressing" << endl;
|
||||
}
|
||||
|
||||
// group created and destroyed together
|
||||
@ -109,10 +105,7 @@ clearPatchMeshAddr()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "clearPatchMeshAddr() : "
|
||||
<< "clearing patch-mesh addressing"
|
||||
<< endl;
|
||||
InfoInFunction << "Clearing patch-mesh addressing" << endl;
|
||||
}
|
||||
|
||||
deleteDemandDrivenData(meshPointsPtr_);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -45,10 +45,7 @@ calcEdgeLoops() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcEdgeLoops() : "
|
||||
<< "calculating boundary edge loops"
|
||||
<< endl;
|
||||
InfoInFunction << "Calculating boundary edge loops" << endl;
|
||||
}
|
||||
|
||||
if (edgeLoopsPtr_)
|
||||
@ -153,10 +150,7 @@ calcEdgeLoops() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcEdgeLoops() : "
|
||||
<< "finished calculating boundary edge loops"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -46,9 +46,7 @@ calcPointEdges() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcPointEdges() : calculating pointEdges"
|
||||
<< endl;
|
||||
InfoInFunction << "Calculating pointEdges" << endl;
|
||||
}
|
||||
|
||||
if (pointEdgesPtr_)
|
||||
@ -68,9 +66,7 @@ calcPointEdges() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcPointEdges() finished calculating pointEdges"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
}
|
||||
|
||||
@ -88,9 +84,7 @@ calcPointFaces() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcPointFaces() : calculating pointFaces"
|
||||
<< endl;
|
||||
InfoInFunction << "Calculating pointFaces" << endl;
|
||||
}
|
||||
|
||||
if (pointFacesPtr_)
|
||||
@ -135,9 +129,7 @@ calcPointFaces() const
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "PrimitivePatch<Face, FaceList, PointField, PointType>::"
|
||||
<< "calcPointFaces() finished calculating pointFaces"
|
||||
<< endl;
|
||||
Info<< " Finished." << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -38,10 +38,7 @@ Foam::autoPtr<Foam::polyMeshModifier> Foam::polyMeshModifier::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "polyMeshModifier::New(const word&, const dictionary&, "
|
||||
<< "const label, const polyTopoChanger&) : "
|
||||
<< "constructing polyMeshModifier"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing polyMeshModifier" << endl;
|
||||
}
|
||||
|
||||
const word modifierType(dict.lookup("type"));
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -91,10 +91,7 @@ void Foam::edgeMesh::write
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "edgeMesh::write"
|
||||
"(const fileName&, const edgeMesh&) : "
|
||||
"writing to " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Writing to " << name << endl;
|
||||
}
|
||||
|
||||
const word ext = name.ext();
|
||||
|
||||
@ -36,10 +36,8 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvPatchField<Type>::New(const word&, const word&, "
|
||||
"const fvPatch&, const DimensionedField<Type, volMesh>&) :"
|
||||
" patchFieldType="
|
||||
<< patchFieldType
|
||||
InfoInFunction
|
||||
<< "patchFieldType = " << patchFieldType
|
||||
<< " : " << p.type()
|
||||
<< endl;
|
||||
}
|
||||
@ -113,9 +111,8 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvPatchField<Type>::New(const fvPatch&, "
|
||||
"const DimensionedField<Type, volMesh>&, "
|
||||
"const dictionary&) : patchFieldType=" << patchFieldType
|
||||
InfoInFunction
|
||||
<< "patchFieldType = " << patchFieldType
|
||||
<< endl;
|
||||
}
|
||||
|
||||
@ -182,11 +179,7 @@ Foam::tmp<Foam::fvPatchField<Type>> Foam::fvPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvPatchField<Type>::New(const fvPatchField<Type>&, "
|
||||
"const fvPatch&, const DimensionedField<Type, volMesh>&, "
|
||||
"const fvPatchFieldMapper&) : "
|
||||
"constructing fvPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing fvPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
typename patchMapperConstructorTable::iterator cstrIter =
|
||||
|
||||
@ -23,15 +23,10 @@ License
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New
|
||||
(
|
||||
const word& patchFieldType,
|
||||
const word& actualPatchType,
|
||||
@ -41,10 +36,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvsPatchField<Type>::New(const word&, const word&"
|
||||
", const fvPatch&, const Field<Type>&) : "
|
||||
"constructing fvsPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing fvsPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
typename patchConstructorTable::iterator cstrIter =
|
||||
@ -86,7 +78,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
|
||||
|
||||
template<class Type>
|
||||
tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New
|
||||
(
|
||||
const word& patchFieldType,
|
||||
const fvPatch& p,
|
||||
@ -98,7 +90,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
|
||||
|
||||
template<class Type>
|
||||
tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New
|
||||
(
|
||||
const fvPatch& p,
|
||||
const DimensionedField<Type, surfaceMesh>& iF,
|
||||
@ -107,10 +99,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvsPatchField<Type>::New(const fvPatch&, const Field<Type>&, "
|
||||
"const dictionary&) : "
|
||||
"constructing fvsPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing fvsPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
const word patchFieldType(dict.lookup("type"));
|
||||
@ -167,10 +156,8 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
}
|
||||
|
||||
|
||||
// Return a pointer to a new patch created on freestore from
|
||||
// a given fvsPatchField<Type> mapped onto a new patch
|
||||
template<class Type>
|
||||
tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
Foam::tmp<Foam::fvsPatchField<Type>> Foam::fvsPatchField<Type>::New
|
||||
(
|
||||
const fvsPatchField<Type>& ptf,
|
||||
const fvPatch& p,
|
||||
@ -180,11 +167,7 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "fvsPatchField<Type>::New(const fvsPatchField<Type>&,"
|
||||
" const fvPatch&, const Field<Type>&, "
|
||||
"const fvPatchFieldMapper&) : "
|
||||
"constructing fvsPatchField<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing fvsPatchField<Type>" << endl;
|
||||
}
|
||||
|
||||
typename patchMapperConstructorTable::iterator cstrIter =
|
||||
@ -213,8 +196,4 @@ tmp<fvsPatchField<Type>> fvsPatchField<Type>::New
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -63,10 +63,7 @@ tmp<convectionScheme<Type>> convectionScheme<Type>::New
|
||||
{
|
||||
if (fv::debug)
|
||||
{
|
||||
Info<< "convectionScheme<Type>::New"
|
||||
"(const fvMesh&, const surfaceScalarField&, Istream&) : "
|
||||
"constructing convectionScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing convectionScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
if (schemeData.eof())
|
||||
@ -112,12 +109,7 @@ tmp<convectionScheme<Type>> convectionScheme<Type>::New
|
||||
{
|
||||
if (fv::debug)
|
||||
{
|
||||
Info<< "convectionScheme<Type>::New"
|
||||
"(const fvMesh&, "
|
||||
"const typename multivariateSurfaceInterpolationScheme<Type>"
|
||||
"::fieldTable&, const surfaceScalarField&, Istream&) : "
|
||||
"constructing convectionScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing convectionScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
if (schemeData.eof())
|
||||
|
||||
@ -38,10 +38,7 @@ Foam::tmp<Foam::fv::gradScheme<Type>> Foam::fv::gradScheme<Type>::New
|
||||
{
|
||||
if (fv::debug)
|
||||
{
|
||||
Info<< "gradScheme<Type>::New"
|
||||
"(const fvMesh& mesh, Istream& schemeData) : "
|
||||
"constructing gradScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing gradScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
if (schemeData.eof())
|
||||
|
||||
@ -50,9 +50,7 @@ tmp<snGradScheme<Type>> snGradScheme<Type>::New
|
||||
{
|
||||
if (fv::debug)
|
||||
{
|
||||
Info<< "snGradScheme<Type>::New(const fvMesh&, Istream&)"
|
||||
" : constructing snGradScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction << "Constructing snGradScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
if (schemeData.eof())
|
||||
@ -171,8 +169,6 @@ snGradScheme<Type>::sndGrad
|
||||
}
|
||||
|
||||
|
||||
//- Return the face-snGrad of the given cell field
|
||||
// with explicit correction
|
||||
template<class Type>
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
|
||||
snGradScheme<Type>::snGrad
|
||||
@ -194,8 +190,6 @@ snGradScheme<Type>::snGrad
|
||||
}
|
||||
|
||||
|
||||
//- Return the face-snGrad of the given cell field
|
||||
// with explicit correction
|
||||
template<class Type>
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
|
||||
snGradScheme<Type>::snGrad
|
||||
|
||||
@ -33,20 +33,13 @@ License
|
||||
#include "cyclicFvPatchFields.H"
|
||||
#include "cyclicAMIFvPatchFields.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
void fvMesh::makeSf() const
|
||||
void Foam::fvMesh::makeSf() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "void fvMesh::makeSf() : "
|
||||
<< "assembling face areas"
|
||||
<< endl;
|
||||
InfoInFunction << "Assembling face areas" << endl;
|
||||
}
|
||||
|
||||
// It is an error to attempt to recalculate
|
||||
@ -77,7 +70,7 @@ void fvMesh::makeSf() const
|
||||
}
|
||||
|
||||
|
||||
void fvMesh::makeMagSf() const
|
||||
void Foam::fvMesh::makeMagSf() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
@ -113,7 +106,7 @@ void fvMesh::makeMagSf() const
|
||||
}
|
||||
|
||||
|
||||
void fvMesh::makeC() const
|
||||
void Foam::fvMesh::makeC() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
@ -153,7 +146,7 @@ void fvMesh::makeC() const
|
||||
}
|
||||
|
||||
|
||||
void fvMesh::makeCf() const
|
||||
void Foam::fvMesh::makeCf() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
@ -190,7 +183,7 @@ void fvMesh::makeCf() const
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
const volScalarField::DimensionedInternalField& fvMesh::V() const
|
||||
const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V() const
|
||||
{
|
||||
if (!VPtr_)
|
||||
{
|
||||
@ -221,7 +214,7 @@ const volScalarField::DimensionedInternalField& fvMesh::V() const
|
||||
}
|
||||
|
||||
|
||||
const volScalarField::DimensionedInternalField& fvMesh::V0() const
|
||||
const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V0() const
|
||||
{
|
||||
if (!V0Ptr_)
|
||||
{
|
||||
@ -234,7 +227,7 @@ const volScalarField::DimensionedInternalField& fvMesh::V0() const
|
||||
}
|
||||
|
||||
|
||||
volScalarField::DimensionedInternalField& fvMesh::setV0()
|
||||
Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::setV0()
|
||||
{
|
||||
if (!V0Ptr_)
|
||||
{
|
||||
@ -247,7 +240,7 @@ volScalarField::DimensionedInternalField& fvMesh::setV0()
|
||||
}
|
||||
|
||||
|
||||
const volScalarField::DimensionedInternalField& fvMesh::V00() const
|
||||
const Foam::volScalarField::DimensionedInternalField& Foam::fvMesh::V00() const
|
||||
{
|
||||
if (!V00Ptr_)
|
||||
{
|
||||
@ -278,7 +271,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V00() const
|
||||
}
|
||||
|
||||
|
||||
tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc() const
|
||||
Foam::tmp<Foam::volScalarField::DimensionedInternalField>
|
||||
Foam::fvMesh::Vsc() const
|
||||
{
|
||||
if (moving() && time().subCycling())
|
||||
{
|
||||
@ -306,7 +300,8 @@ tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc() const
|
||||
}
|
||||
|
||||
|
||||
tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc0() const
|
||||
Foam::tmp<Foam::volScalarField::DimensionedInternalField>
|
||||
Foam::fvMesh::Vsc0() const
|
||||
{
|
||||
if (moving() && time().subCycling())
|
||||
{
|
||||
@ -335,7 +330,7 @@ tmp<volScalarField::DimensionedInternalField> fvMesh::Vsc0() const
|
||||
}
|
||||
|
||||
|
||||
const surfaceVectorField& fvMesh::Sf() const
|
||||
const Foam::surfaceVectorField& Foam::fvMesh::Sf() const
|
||||
{
|
||||
if (!SfPtr_)
|
||||
{
|
||||
@ -346,7 +341,7 @@ const surfaceVectorField& fvMesh::Sf() const
|
||||
}
|
||||
|
||||
|
||||
const surfaceScalarField& fvMesh::magSf() const
|
||||
const Foam::surfaceScalarField& Foam::fvMesh::magSf() const
|
||||
{
|
||||
if (!magSfPtr_)
|
||||
{
|
||||
@ -357,7 +352,7 @@ const surfaceScalarField& fvMesh::magSf() const
|
||||
}
|
||||
|
||||
|
||||
const volVectorField& fvMesh::C() const
|
||||
const Foam::volVectorField& Foam::fvMesh::C() const
|
||||
{
|
||||
if (!CPtr_)
|
||||
{
|
||||
@ -368,7 +363,7 @@ const volVectorField& fvMesh::C() const
|
||||
}
|
||||
|
||||
|
||||
const surfaceVectorField& fvMesh::Cf() const
|
||||
const Foam::surfaceVectorField& Foam::fvMesh::Cf() const
|
||||
{
|
||||
if (!CfPtr_)
|
||||
{
|
||||
@ -379,7 +374,7 @@ const surfaceVectorField& fvMesh::Cf() const
|
||||
}
|
||||
|
||||
|
||||
tmp<surfaceVectorField> fvMesh::delta() const
|
||||
Foam::tmp<Foam::surfaceVectorField> Foam::fvMesh::delta() const
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
@ -424,7 +419,7 @@ tmp<surfaceVectorField> fvMesh::delta() const
|
||||
}
|
||||
|
||||
|
||||
const surfaceScalarField& fvMesh::phi() const
|
||||
const Foam::surfaceScalarField& Foam::fvMesh::phi() const
|
||||
{
|
||||
if (!phiPtr_)
|
||||
{
|
||||
@ -444,7 +439,7 @@ const surfaceScalarField& fvMesh::phi() const
|
||||
}
|
||||
|
||||
|
||||
surfaceScalarField& fvMesh::setPhi()
|
||||
Foam::surfaceScalarField& Foam::fvMesh::setPhi()
|
||||
{
|
||||
if (!phiPtr_)
|
||||
{
|
||||
@ -457,8 +452,4 @@ surfaceScalarField& fvMesh::setPhi()
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -40,10 +40,8 @@ Foam::limitedSurfaceInterpolationScheme<Type>::New
|
||||
{
|
||||
if (surfaceInterpolation::debug)
|
||||
{
|
||||
Info<< "limitedSurfaceInterpolationScheme<Type>::"
|
||||
"New(const fvMesh&, Istream&)"
|
||||
" : constructing limitedSurfaceInterpolationScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction
|
||||
<< "Constructing limitedSurfaceInterpolationScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
if (schemeData.eof())
|
||||
@ -90,9 +88,8 @@ Foam::limitedSurfaceInterpolationScheme<Type>::New
|
||||
{
|
||||
if (surfaceInterpolation::debug)
|
||||
{
|
||||
Info<< "limitedSurfaceInterpolationScheme<Type>::New"
|
||||
"(const fvMesh&, const surfaceScalarField&, Istream&) : "
|
||||
"constructing limitedSurfaceInterpolationScheme<Type>"
|
||||
InfoInFunction
|
||||
<< "Constructing limitedSurfaceInterpolationScheme<Type>"
|
||||
<< endl;
|
||||
}
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@ Description
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
//- Construct from face-flux field and coefficient
|
||||
template<class Type>
|
||||
Foam::multivariateSurfaceInterpolationScheme<Type>::
|
||||
multivariateSurfaceInterpolationScheme
|
||||
@ -63,11 +62,8 @@ Foam::multivariateSurfaceInterpolationScheme<Type>::New
|
||||
{
|
||||
if (fv::debug)
|
||||
{
|
||||
Info<< "multivariateSurfaceInterpolationScheme<Type>::New"
|
||||
"(const fvMesh& mesh, const fieldTable&, "
|
||||
"const surfaceScalarField&, Istream&) : "
|
||||
"constructing surfaceInterpolationScheme<Type>"
|
||||
<< endl;
|
||||
InfoInFunction
|
||||
<< "Constructing surfaceInterpolationScheme<Type>" << endl;
|
||||
}
|
||||
|
||||
const word schemeName(schemeData);
|
||||
|
||||
@ -54,11 +54,7 @@ Foam::surfaceInterpolationScheme<Type>::New
|
||||
|
||||
if (surfaceInterpolation::debug || surfaceInterpolationScheme<Type>::debug)
|
||||
{
|
||||
Info<< "surfaceInterpolationScheme<Type>::New"
|
||||
"(const fvMesh&, Istream&)"
|
||||
" : discretisation scheme === "
|
||||
<< schemeName
|
||||
<< endl;
|
||||
InfoInFunction << "Discretisation scheme = " << schemeName << endl;
|
||||
}
|
||||
|
||||
typename MeshConstructorTable::iterator constructorIter =
|
||||
@ -105,11 +101,8 @@ Foam::surfaceInterpolationScheme<Type>::New
|
||||
|
||||
if (surfaceInterpolation::debug || surfaceInterpolationScheme<Type>::debug)
|
||||
{
|
||||
Info<< "surfaceInterpolationScheme<Type>::New"
|
||||
"(const fvMesh&, const surfaceScalarField&, Istream&)"
|
||||
" : discretisation scheme = "
|
||||
<< schemeName
|
||||
<< endl;
|
||||
InfoInFunction
|
||||
<< "Discretisation scheme = " << schemeName << endl;
|
||||
}
|
||||
|
||||
typename MeshFluxConstructorTable::iterator constructorIter =
|
||||
@ -151,11 +144,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate
|
||||
{
|
||||
if (surfaceInterpolation::debug)
|
||||
{
|
||||
Info<< "surfaceInterpolationScheme<Type>::uncorrectedInterpolate"
|
||||
"(const GeometricField<Type, fvPatchField, volMesh>&, "
|
||||
"const tmp<surfaceScalarField>&, "
|
||||
"const tmp<surfaceScalarField>&) : "
|
||||
"interpolating "
|
||||
InfoInFunction
|
||||
<< "Interpolating "
|
||||
<< vf.type() << " "
|
||||
<< vf.name()
|
||||
<< " from cells to faces "
|
||||
@ -234,10 +224,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate
|
||||
{
|
||||
if (surfaceInterpolation::debug)
|
||||
{
|
||||
Info<< "surfaceInterpolationScheme<Type>::interpolate"
|
||||
"(const GeometricField<Type, fvPatchField, volMesh>&, "
|
||||
"const tmp<surfaceScalarField>&) : "
|
||||
"interpolating "
|
||||
InfoInFunction
|
||||
<< "Interpolating "
|
||||
<< vf.type() << " "
|
||||
<< vf.name()
|
||||
<< " from cells to faces "
|
||||
@ -310,9 +298,8 @@ Foam::surfaceInterpolationScheme<Type>::interpolate
|
||||
{
|
||||
if (surfaceInterpolation::debug)
|
||||
{
|
||||
Info<< "surfaceInterpolationScheme<Type>::interpolate"
|
||||
"(const GeometricField<Type, fvPatchField, volMesh>&) : "
|
||||
"interpolating "
|
||||
InfoInFunction
|
||||
<< "Interpolating "
|
||||
<< vf.type() << " "
|
||||
<< vf.name()
|
||||
<< " from cells to faces"
|
||||
|
||||
@ -402,15 +402,14 @@ void Foam::Cloud<ParticleType>::autoMap
|
||||
{
|
||||
if (cloud::debug)
|
||||
{
|
||||
Info<< "Cloud<ParticleType>::autoMap(TrackData&, const mapPolyMesh&) "
|
||||
<< "for lagrangian cloud " << cloud::name() << endl;
|
||||
InfoInFunction << "for lagrangian cloud " << cloud::name() << endl;
|
||||
}
|
||||
|
||||
const labelList& reverseCellMap = mapper.reverseCellMap();
|
||||
const labelList& reverseFaceMap = mapper.reverseFaceMap();
|
||||
|
||||
// Reset stored data that relies on the mesh
|
||||
// polyMesh_.clearCellTree();
|
||||
// polyMesh_.clearCellTree();
|
||||
cellWallFacesPtr_.clear();
|
||||
|
||||
// Ask for the tetBasePtIs to trigger all processors to build
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -130,8 +130,6 @@ void Foam::particle::transformProperties(const vector&)
|
||||
|
||||
Foam::scalar Foam::particle::wallImpactDistance(const vector&) const
|
||||
{
|
||||
Info<< "particle::wallImpactDistance" << endl;
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -139,9 +139,8 @@ Foam::coordinateSystem::coordinateSystem
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "coordinateSystem::coordinateSystem"
|
||||
"(const objectRegistry&, const dictionary&):"
|
||||
<< nl << "using global coordinate system: "
|
||||
InfoInFunction
|
||||
<< "Using global coordinate system: "
|
||||
<< key << "=" << index << endl;
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -478,8 +478,9 @@ void Foam::mappedPatchBase::findSamples
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "mappedPatchBase::findSamples on mesh " << sampleRegion()
|
||||
<< " : " << endl;
|
||||
InfoInFunction
|
||||
<< "mesh " << sampleRegion() << " : " << endl;
|
||||
|
||||
forAll(nearest, sampleI)
|
||||
{
|
||||
label procI = nearest[sampleI].second().second();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -243,7 +243,7 @@ void reactingOneDim::solveContinuity()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "reactingOneDim::solveContinuity()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
const scalarField mass0 = rho_*regionMesh().V();
|
||||
@ -275,7 +275,7 @@ void reactingOneDim::solveSpeciesMass()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "reactingOneDim::solveSpeciesMass()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
volScalarField Yt(0.0*Ys_[0]);
|
||||
@ -316,7 +316,7 @@ void reactingOneDim::solveEnergy()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "reactingOneDim::solveEnergy()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
tmp<volScalarField> alpha(solidThermo_.alpha());
|
||||
|
||||
@ -83,7 +83,7 @@ void kinematicSingleLayer::resetPrimaryRegionSourceTerms()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::resetPrimaryRegionSourceTerms()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
rhoSpPrimary_ == dimensionedScalar("zero", rhoSp_.dimensions(), 0.0);
|
||||
@ -96,8 +96,7 @@ void kinematicSingleLayer::transferPrimaryRegionThermoFields()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::"
|
||||
<< "transferPrimaryRegionThermoFields()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Update fields from primary region via direct mapped
|
||||
@ -113,8 +112,7 @@ void kinematicSingleLayer::transferPrimaryRegionSourceFields()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::"
|
||||
<< "transferPrimaryRegionSourceFields()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Convert accummulated source terms into per unit area per unit time
|
||||
@ -201,7 +199,7 @@ void kinematicSingleLayer::updateSubmodels()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::updateSubmodels()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Update injection model - mass returned is mass available for injection
|
||||
@ -240,7 +238,8 @@ void kinematicSingleLayer::continuityCheck()
|
||||
|
||||
cumulativeContErr_ += globalContErr;
|
||||
|
||||
Info<< "Surface film: " << type() << nl
|
||||
InfoInFunction
|
||||
<< "Surface film: " << type() << nl
|
||||
<< " time step continuity errors: sum local = "
|
||||
<< sumLocalContErr << ", global = " << globalContErr
|
||||
<< ", cumulative = " << cumulativeContErr_ << endl;
|
||||
@ -252,7 +251,7 @@ void kinematicSingleLayer::solveContinuity()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::solveContinuity()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
solve
|
||||
@ -290,7 +289,7 @@ tmp<Foam::fvVectorMatrix> kinematicSingleLayer::solveMomentum
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::solveMomentum()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Momentum
|
||||
@ -349,7 +348,7 @@ void kinematicSingleLayer::solveThickness
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::solveThickness()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
volScalarField rUA(1.0/UEqn.A());
|
||||
@ -836,7 +835,8 @@ void kinematicSingleLayer::addSources
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "\nSurface film: " << type() << ": adding to film source:" << nl
|
||||
InfoInFunction
|
||||
<< "\nSurface film: " << type() << ": adding to film source:" << nl
|
||||
<< " mass = " << massSource << nl
|
||||
<< " momentum = " << momentumSource << nl
|
||||
<< " pressure = " << pressureSource << endl;
|
||||
@ -854,7 +854,7 @@ void kinematicSingleLayer::preEvolveRegion()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::preEvolveRegion()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
surfaceFilmModel::preEvolveRegion();
|
||||
@ -877,7 +877,7 @@ void kinematicSingleLayer::evolveRegion()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "kinematicSingleLayer::evolveRegion()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Update film coverage indicator
|
||||
|
||||
@ -89,7 +89,7 @@ void thermoSingleLayer::resetPrimaryRegionSourceTerms()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::resetPrimaryRegionSourceTerms()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
kinematicSingleLayer::resetPrimaryRegionSourceTerms();
|
||||
@ -146,7 +146,7 @@ void thermoSingleLayer::transferPrimaryRegionThermoFields()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::transferPrimaryRegionThermoFields()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
kinematicSingleLayer::transferPrimaryRegionThermoFields();
|
||||
@ -165,7 +165,7 @@ void thermoSingleLayer::transferPrimaryRegionSourceFields()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::transferPrimaryRegionSourceFields()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
kinematicSingleLayer::transferPrimaryRegionSourceFields();
|
||||
@ -224,7 +224,7 @@ void thermoSingleLayer::updateSubmodels()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::updateSubmodels()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Update heat transfer coefficient sub-models
|
||||
@ -271,7 +271,7 @@ void thermoSingleLayer::solveEnergy()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::solveEnergy()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
updateSurfaceTemperatures();
|
||||
@ -608,7 +608,7 @@ void thermoSingleLayer::preEvolveRegion()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::preEvolveRegion()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// correctHsForMappedT();
|
||||
@ -625,7 +625,7 @@ void thermoSingleLayer::evolveRegion()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermoSingleLayer::evolveRegion()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// Update film coverage indicator
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -68,7 +68,7 @@ void thermalBaffle::solveEnergy()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "thermalBaffle::solveEnergy()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
const polyBoundaryMesh& rbm = regionMesh().boundaryMesh();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -62,10 +62,7 @@ void Foam::MeshedSurfaceProxy<Face>::write
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "MeshedSurfaceProxy::write"
|
||||
"(const fileName&, const MeshedSurfaceProxy&) : "
|
||||
"writing to " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Writing to " << name << endl;
|
||||
}
|
||||
|
||||
word ext = name.ext();
|
||||
@ -98,14 +95,11 @@ void Foam::MeshedSurfaceProxy<Face>::write
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "MeshedSurfaceProxy::write"
|
||||
"(const Time&, const word&) : "
|
||||
"writing to " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Writing to " << name << endl;
|
||||
}
|
||||
|
||||
|
||||
// the local location
|
||||
// The local location
|
||||
const fileName objectDir
|
||||
(
|
||||
t.timePath()/surfaceRegistry::prefix/name/surfMesh::meshSubDir
|
||||
|
||||
@ -107,10 +107,7 @@ void Foam::UnsortedMeshedSurface<Face>::write
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "UnsortedMeshedSurface::write"
|
||||
"(const fileName&, const UnsortedMeshedSurface&) : "
|
||||
"writing to " << name
|
||||
<< endl;
|
||||
InfoInFunction << "Writing to " << name << endl;
|
||||
}
|
||||
|
||||
const word ext = name.ext();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -131,8 +131,7 @@ void Foam::hePsiThermo<BasicPsiThermo, MixtureType>::correct()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "entering hePsiThermo<BasicPsiThermo, MixtureType>::correct()"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// force the saving of the old-time values
|
||||
@ -142,8 +141,7 @@ void Foam::hePsiThermo<BasicPsiThermo, MixtureType>::correct()
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "exiting hePsiThermo<BasicPsiThermo, MixtureType>::correct()"
|
||||
<< endl;
|
||||
Info<< " Finished" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -133,14 +133,14 @@ void Foam::heRhoThermo<BasicPsiThermo, MixtureType>::correct()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "entering heRhoThermo<MixtureType>::correct()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
calculate();
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "exiting heRhoThermo<MixtureType>::correct()" << endl;
|
||||
Info<< " Finished" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -204,8 +204,7 @@ void Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "entering heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()"
|
||||
<< endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
// force the saving of the old-time values
|
||||
@ -215,8 +214,7 @@ void Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "exiting heheuPsiThermo<BasicPsiThermo, MixtureType>::correct()"
|
||||
<< endl;
|
||||
Info<< " Finished" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -168,14 +168,14 @@ void Foam::heSolidThermo<BasicSolidThermo, MixtureType>::correct()
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
Info<< "entering heSolidThermo<MixtureType>::correct()" << endl;
|
||||
InfoInFunction << endl;
|
||||
}
|
||||
|
||||
calculate();
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< "exiting heSolidThermo<MixtureType>::correct()" << endl;
|
||||
Info<< " Finished" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user