Reply To: load coarse mesh data to a fine mesh
› Forums › OpenLB › General Topics › load coarse mesh data to a fine mesh › Reply To: load coarse mesh data to a fine mesh
Hi Adrain,
First of all, thank you for helping me out here.
When run in serial, the current code works almost correct, just that it did not copy at x=xMax plane and at the edge (xMin,yMin) https://www.dropbox.com/scl/fi/dcyze2b6b745c389vldld/serialCopy.png?rlkey=wobmt9paxqqc0awidnfannffn&st=pjacrhww&dl=0
However, when using AnalyticalFfromSuperF3D<T,T> uAnalytical(coarseU, /*communicateToAll =*/ false, /*communicateOverlap =*/ true); for serial run, it fails citing “double free or corruption (!prev) tri0570:1320121] *** Process received signal *** ”
Regarding the decomposition, I use
CuboidDecomposition3D<T> cuboidDecompositionCoarse(
cuboidCoarse, converterCoarse.getPhysDeltaX(), noOfCuboids);
CuboidDecomposition3D<T> cuboidDecompositionFine(
cuboidFine, converterFine.getPhysDeltaX(), noOfCuboids);
I was wondering, how can we use same decomposition for both coarse and fine, since N and PhysDx are different?
