Skip to content

Avalanche tutorials are not working in V2006 and V2012

I tried running Avalanche tutorial cases in V2006 og V2012 (both simple slope and wolfsgrube) and I am getting the following errors: `// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time

Create mesh for time = 0

Reading g Reading field h

--> FOAM FATAL IO ERROR: unexpected class name volScalarField expected areaScalarField while reading object h

file: /mnt/d/gebray/OpenFOAM/simpleslope/0/h at line 15.

From Foam::Istream& Foam::regIOobject::readStream(const Foam::word&, bool)
in file db/regIOobject/regIOobjectRead.C at line 170.

FOAM exiting`

I tried to run all utilities one by and it seems the "releaseAreaMapping" utility is modifying the 0 directory by changing the areaScalarField to volScalarField.