GithubHelp home page GithubHelp logo

Comments (9)

16-1895 avatar 16-1895 commented on May 29, 2024

I also tested Tutorials/shockTubeTwoGases case (v2212). The serial calculation ran well, but the parallel calculation crashed midway. (I only changed the numberOfSubdomains)
logerror.txt
I am confused now. Can anyone help me? Thanks in advance!

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

Hi, thank you. I'll check source code. That seems like a strange behaviour. We checked parallel runs many times.

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

I also tested Tutorials/shockTubeTwoGases case (v2212). The serial calculation ran well, but the parallel calculation crashed midway. (I only changed the numberOfSubdomains) logerror.txt I am confused now. Can anyone help me? Thanks in advance!

Looks very similar to a numerical instability

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

Hello, I ran a high-speed combustion case in parallel successfully with reactingPimpleCentralFoam on OpenFOAMv1912. Now I need to run it on v2212 for further work. I get an error. (*** Error in `reactingPimpleCentralFoam': malloc(): memory corruption: 0x0000000007cece30 ***). When I run it with a serial calculation, there is no error. I also tested it with reactingFoam(v2212) and pimpleCentralFoam(v2212) in parallel, there is no error. Do you know how to solve it? Here is my case with the error log. case.zip

Can you try your case with OpenFOAM-2112? It looks like this version works OK and changes are not significant comparing to 2212. I think the problem is with OF.

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

The problem comes from this part of the code (YEqn.H, lines 224-240):

forAll(maxDeltaY.boundaryField(), iPatch)
{
if (maxDeltaY.boundaryField()[iPatch].coupled())
{
scalarField intF = maxDeltaY.boundaryField()[iPatch].primitiveField();
scalarField intH = hLambdaCoeffs.boundaryField()[iPatch];
const scalarField& intL = lambdaCoeffs.boundaryField()[iPatch].primitiveField();
forAll(intF, iFace)
{
if (intF[iFace] > 0.05)
{
intH[iFace] = intL[iFace];
}
}
hLambdaCoeffs.boundaryFieldRef()[iPatch].operator = (intH);
}
}

Try to comment it and let me know if this helps

from hybridcentralsolvers.

16-1895 avatar 16-1895 commented on May 29, 2024

The problem comes from this part of the code (YEqn.H, lines 224-240):

forAll(maxDeltaY.boundaryField(), iPatch) { if (maxDeltaY.boundaryField()[iPatch].coupled()) { scalarField intF = maxDeltaY.boundaryField()[iPatch].primitiveField(); scalarField intH = hLambdaCoeffs.boundaryField()[iPatch]; const scalarField& intL = lambdaCoeffs.boundaryField()[iPatch].primitiveField(); forAll(intF, iFace) { if (intF[iFace] > 0.05) { intH[iFace] = intL[iFace]; } } hLambdaCoeffs.boundaryFieldRef()[iPatch].operator = (intH); } }

Try to comment it and let me know if this helps

Hi, it helps. Both my case and shockTubeTwoGases can run steadily in parallel. Is this the final solution?

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

It looks like something has changed in inter-processor boundaries handling. I think, you can proceed with the curent solution. I'll check what particularly has changed on weekend and then will write here.

from hybridcentralsolvers.

16-1895 avatar 16-1895 commented on May 29, 2024

OK, thanks for your reply.

from hybridcentralsolvers.

mkraposhin avatar mkraposhin commented on May 29, 2024

Hi, I did an amendment, it is available in my repository. I think, @unicfdlab will merge it soon. Thank you for reporting the bug!

from hybridcentralsolvers.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.