mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated info message
This commit is contained in:
@ -2,7 +2,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-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -53,16 +53,14 @@ Foam::noiseFFT::noiseFFT(const fileName& pFileName, const label skip)
|
|||||||
scalarField(),
|
scalarField(),
|
||||||
deltat_(0.0)
|
deltat_(0.0)
|
||||||
{
|
{
|
||||||
// Construct control dictionary
|
// Construct pressure data file
|
||||||
IFstream pFile(pFileName);
|
IFstream pFile(pFileName);
|
||||||
|
|
||||||
// Check pFile stream is OK
|
// Check pFile stream is OK
|
||||||
if (!pFile.good())
|
if (!pFile.good())
|
||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn("noiseFFT::noiseFFT(const scalar, const scalarField&)")
|
||||||
(
|
<< "Cannot read file " << pFileName
|
||||||
"noiseFFT::noiseFFT(const fileName&, const label)"
|
|
||||||
) << "Cannot read file " << pFileName
|
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +74,10 @@ Foam::noiseFFT::noiseFFT(const fileName& pFileName, const label skip)
|
|||||||
|
|
||||||
if (!pFile.good() || pFile.eof())
|
if (!pFile.good() || pFile.eof())
|
||||||
{
|
{
|
||||||
FatalErrorIn("noiseFFT::noiseFFT(const fileName&, const label)")
|
FatalErrorIn
|
||||||
|
(
|
||||||
|
"noiseFFT::noiseFFT(const scalar, const scalarField&)"
|
||||||
|
)
|
||||||
<< "Number of points in file " << pFileName
|
<< "Number of points in file " << pFileName
|
||||||
<< " is less than the number to be skipped = " << skip
|
<< " is less than the number to be skipped = " << skip
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
|
|||||||
Reference in New Issue
Block a user