diff --git a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C index 53429780e5fe6d7f1b9e812e1f5d172a4df746a7..f4e61cbdb4f2c8a6b6e45dd42021bd4eb6154df3 100644 --- a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C +++ b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C @@ -264,9 +264,6 @@ bool Foam::functionObjects::wallBoundedStreamLine::read(const dictionary& dict) { if (streamLineBase::read(dict)) { - Info<< type() << " " << name() << ":" << nl; - - // Make sure that the mesh is trackable if (debug) { diff --git a/src/functionObjects/forces/forceCoeffs/forceCoeffs.C b/src/functionObjects/forces/forceCoeffs/forceCoeffs.C index 962a9c233ecf6ba6947ef850c92d23ebfc85f40e..17f47f766ce94a4318da0eb25dae847bba75acfb 100644 --- a/src/functionObjects/forces/forceCoeffs/forceCoeffs.C +++ b/src/functionObjects/forces/forceCoeffs/forceCoeffs.C @@ -232,10 +232,11 @@ Foam::functionObjects::forceCoeffs::forceCoeffs ( const word& name, const Time& runTime, - const dictionary& dict + const dictionary& dict, + const bool readFields ) : - forces(name, runTime, dict), + forces(name, runTime, dict, false), magUInf_(Zero), lRef_(Zero), Aref_(Zero), @@ -247,9 +248,12 @@ Foam::functionObjects::forceCoeffs::forceCoeffs CmPitchBinFilePtr_(), CmYawBinFilePtr_() { - read(dict); - setCoordinateSystem(dict, "liftDir", "dragDir"); - Info<< endl; + if (readFields) + { + read(dict); + setCoordinateSystem(dict, "liftDir", "dragDir"); + Info<< endl; + } } diff --git a/src/functionObjects/forces/forceCoeffs/forceCoeffs.H b/src/functionObjects/forces/forceCoeffs/forceCoeffs.H index aaa183bf797b1b1c56f9ec8cc1d0819cb55e3444..34cc95c35e932a21fc62c42447ef89faf55917a4 100644 --- a/src/functionObjects/forces/forceCoeffs/forceCoeffs.H +++ b/src/functionObjects/forces/forceCoeffs/forceCoeffs.H @@ -268,7 +268,8 @@ public: ( const word& name, const Time& runTime, - const dictionary& + const dictionary&, + const bool readFields = true );