Load balancing, Surface-Sampling issues and Region support #18
Replies: 1 comment
-
Originally posted by @FoamScience in #10 Dear M. Elwardi Fadeli I’d like to report the isosurface sampling results based on the output time directories. 💡So, I set up the sample dict 💡Subsequently, the following commands were executed to perform isosurface extraction in parallel:
❗However, this resulted in the following error message: (Since the message is too long, I’ve uploaded it as an attachment.) I rarely use the postProcess tool and therefore am not confident that my setup of extracting sampling surfaces from the output time directories is completely correct. Nevertheless, I have consulted a considerable amount of reference material regarding the use of postProcess, and I think that both the sampleDict setup and the command-line execution are reasonable. That being said, the issue seems to persist regardless of whether the sampling is performed during runtime or applied retrospectively to the output data. 🥂This note summarizes my current test procedure and observations for your reference. Any guidance or suggestions would be greatly appreciated. 💡Additionally, during testing, I tried using both reconstructParMesh and reconstructPar because they enable manual output of smoother isosurfaces such as alpha.water. This issue has also been reported in Henning’s multiDimAMR project [multiDimAMR-reconstructPar]HenningScheufler/multiDimAMR#5, where it occurred when enableBalancing was set to true, which is similar to the setting I used in blastAMR. Looking forward to future progress, many thanks for your work on this! Best regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems
blastAMRLB engine suffers a bug when remappingMeshObjects from old to new, load-balanced mesh. One effect is asegfaultwhen usingisoSurface-like surface sampling.I wish the local surface was written by each MPI processor, but the OpenFOAM devs opted to reduce the information, then write the reconstructed surface. This writing phase is where an attempt is made to use an invalid MeshObject.
References were made to similar utilities: multiDimAMR which we are of course aware of:
blastAMRhandles generic cell types, so the algorithms are slightly different from hex-based framework. Currently, we have an unusable "hex refinement engine" which we do plan to bring up to speed soon.blastAMRto not run in multi-region context. The only requirement is that the solvers must support dynamic meshes. This is not the case forchtMultiRegionFoamwhich instantiates fvMeshes (instead ofdynamicFvMeshobjects). So alternative implementations must sought out (eg. chMultiRegionFoam from multiDimAMRblastAMRalready has this functionality. But it's unclear how the multi-region solvers would handle lb-induced patch modifications; It's probably a solver-specific issue (or, a BC-related one).Beta Was this translation helpful? Give feedback.
All reactions