BUG: invalid type while accessing fields
Attached case which replicates issue while accessing pressure field (develop branch).
fails with error
Reading p
--> FOAM Warning :
--> FOAM FATAL IO ERROR:
unexpected class name volScalarField expected volVectorField
while reading object p
file: /hosts/pnq073/home/sonakar/share/pitzDaily-develop/5/p at line 15.
From function Foam::Istream& Foam::regIOobject::readStream(const Foam::word&)
in file db/regIOobject/regIOobjectRead.C at line 295.
End