synthetik-technologies / blastfoam

A CFD solver for multi-component compressible flow with application to high-explosive detonation, explosive safety and air blast
Other
219 stars 96 forks source link

validation/blastFoam failed with "internal patch should be added" #83

Closed panda1100 closed 1 year ago

panda1100 commented 1 year ago

Allrun failed with the following errors. I tested validation/blastFoam/{2D_Riemann,underwaterDetonation} and both failed with the same error.

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh adaptiveFvMesh
Selecting errorEstimator: densityGradient
Selecting fvMeshRefiner hexRefiner
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] When balancing is enabled, an internal patch should be added to the mesh. 
    To add the necessary patch to the mesh and the fields, use the command
    "addEmptyPatch patchName internal -overwrite" 
[0] 
[0] 
[0]     From function void Foam::fvMeshBalance::checkForInternal() const
[0]     in file fvMeshBalance/fvMeshBalance.C at line 112.
[0] 
FOAM parallel run exiting
[0] 
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 SPLIT FROM 0
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
panda1100 commented 1 year ago

My apologies, it looks like my environment issue. addEmptyPatch wasn't successfully run in parallel.