mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Correcte pressure dimension check
This commit is contained in:
@ -191,7 +191,7 @@ void Foam::pressureTools::read(const dictionary& dict)
|
||||
|
||||
const volScalarField& p = obr_.lookupObject<volScalarField>(pName_);
|
||||
|
||||
if (p.dimensions() != p.dimensions())
|
||||
if (p.dimensions() != dimPressure)
|
||||
{
|
||||
dict.lookup("rhoRef") >> rhoRef_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user