Skip to content

Reply To: porousPlate2d

#8079
Rookie
Participant

Dear Max

I’m having a similar problem, after I add these lines to my code:
vtmWriterStartTime.write(iT);
SuperEuklidNorm3D<T> normVel(velocity);
BlockReduction3D2D<T> planeReduction(normVel, {0, -1, 0}, 600, BlockDataSyncMode::ReduceOnly);
// write output as JPEG
heatmap::write(planeReduction, iT);

// write output as JPEG and changing properties
heatmap::plotParam<T> jpeg_Param;
jpeg_Param.name = “velocity”;
jpeg_Param.contourlevel = 5;
jpeg_Param.colour = “blackbody”;
jpeg_Param.zoomOrigin = {0., 0.};
jpeg_Param.zoomExtend = {1., 1.};
heatmap::write(planeReduction, iT, jpeg_Param);

if I run it in parallel it runs fine, but if I don’t I get this error:
“./channel/imageData/data/_EuklidNormphysVelocityiT0000000.p” line 21: Matrix does not represent a grid
“./channel/imageData/data/_velocityiT0000000.p” line 27: Natrix does not represent a grid

But the picture for this step is actually output.Is it that the code can only run in parallel?

Best Regards,
Rookie