Skip to content

interTwoPhaseCentralFoam v2412 running in parallel #77

Description

@rebshannon

Hello,

I am trying to run a shock-droplet interaction using interTwoPhaseCentralFoam on OpenFOAM-v2412. I was able to run the blastToCyl tutorial in serial, but it fails with a sigFpe error related to the speedOfSound() function (sqrt specifically) when I run in parallel. This occurs just after time = 5.5e-06s, which is just as the pressure wave reaches the leading edge of the droplet. I've done some testing and found that if I split my domain in a way that the processor boundary doesn't split the water droplet it runs, but this significantly limits the parallel capabilities of the code. I also tried decreasing the CFL to 0.1, but I got the same error at approximately the same time.

I've included the case files, log file for the parallel run (that fails), a log file from a parallel run with additional print statements in the speedOfSound() function, and the truncated log file for the serial run (cut off after the time where the parallel run fails). The newly printed values in the verbose log file are the minimum values. On the last timestep, it shows the volume fraction going out of bounds, leading to a negative gammaM.

The only thing I've changed in the case file is whether it runs on 1 or 4 processors; everything else matches the tutorial case.

I've run tests on the damBreak and movingContact tutorials, and I was able to run them both in parallel. Do you have any advice on how to get blastToCyl-like cases to run in parallel?

Thank you!

case_and_log_files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions