functionObjects::scalarTransport: Corrected FatalError

This commit is contained in:
Henry Weller
2017-02-08 16:57:30 +00:00
parent aa4fc8445f
commit a3a7f5f0e6

View File

@ -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;