functionObjects::scalarTransport: Corrected FatalError
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) 2012-2016 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -254,7 +254,7 @@ bool Foam::functionObjects::scalarTransport::execute()
|
|||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
<< "Incompatible dimensions for phi: " << phi.dimensions() << nl
|
<< "Incompatible dimensions for phi: " << phi.dimensions() << nl
|
||||||
<< "Dimensions should be " << dimMass/dimTime << " or "
|
<< "Dimensions should be " << dimMass/dimTime << " or "
|
||||||
<< dimVolume/dimTime << endl;
|
<< dimVolume/dimTime << exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
Info<< endl;
|
Info<< endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user