functionObjects::scalarTransport: Corrected FatalError
This commit is contained in:
parent
7c251b6e92
commit
1decf44db0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue