Skip to content

Reply To: load coarse mesh data to a fine mesh

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics load coarse mesh data to a fine mesh Reply To: load coarse mesh data to a fine mesh

#10987
nipinl
Participant

Hi Adrian,
Thank you very much for the suggestions.


  AnalyticalFfromSuperF3D<T,T> uAnalytical(coarseU, /*communicateToAll   =*/ false,  /*communicateOverlap =*/ true);

with using loadbalancer of coarse for decomposing fine worked !!
Best,
Nipin

For future readers, following was employed for decomposition:
Coarse:

IndicatorCuboid3D<T> cuboidCoarse(extendCoarse, originCoarse);
CuboidDecomposition3D<T> cuboidDecompositionCoarse(
    cuboidCoarse, converterCoarse.getPhysDeltaX(), noOfCuboids);

HeuristicLoadBalancer<T> loadBalancerCoarse(cuboidDecompositionCoarse);

SuperGeometry<T,3> superGeometryCoarse(
    cuboidDecompositionCoarse, loadBalancerCoarse, 4);

Fine:

IndicatorCuboid3D<T> cuboidFine(extendFine, originFine);
CuboidDecomposition3D<T> cuboidDecompositionFine(
    cuboidFine, converterFine.getPhysDeltaX(), noOfCuboids);
SuperGeometry<T,3> superGeometryFine(
    cuboidDecompositionFine, loadBalancerCoarse, 4)