I’m working on a forced convection heat transfer simulation for porous flow so I’ve been mashing together the Thermal Boussinesq and Permeability example codes. I put one together today that seems to compile just fine, but when it starts to run, I get this error:
/home/jon/Programs/palabos-v1.4r1/src/core/cell.h:144: T* plb::Cell<T, Descriptor>::getExternal(plb::plint) [with T = double, Descriptor = plb::descriptors::D3Q19Descriptor, plb::plint = long int]: Assertion `offset < Descriptor::ExternalField::numScalars’ failed.
and the simulation crashes.
Does anyone have a clue as to what the problem might be? I can’t decipher the error from that.
Many thanks.