View Issue Details

IDProjectCategoryView StatusLast Update
0004039OpenFOAMBugpublic2023-12-07 14:43
Reportertmaffei Assigned Towill  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSLinuxOS Version22.04
Product Version10 
Fixed in Version11 
Summary0004039: Error running circuitBoardCooling case in tutorial folder in parallel
DescriptionI have run the case circuitBoardCooling in the tutorial folder with solver buoyantFoam in serial and parallel. In serial everything works properly
When I have tried to decompose the case, I got the following error:

Processor 0: field transfer


--> FOAM FATAL ERROR:
Patch named not found.


    From function const Foam::fvPatch& Foam::fvBoundaryMesh::operator[](const Foam::word&) const
    in file fvMesh/fvBoundaryMesh/fvBoundaryMesh.C at line 165.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::fvBoundaryMesh::operator[](Foam::word const&) const at ??:?
#3 Foam::compressible::thermalBaffleFvPatchScalarField::owner() const at ??:?
#4 Foam::compressible::thermalBaffleFvPatchScalarField::write(Foam::Ostream&) const at ??:?
#5 Foam::GeometricBoundaryField<double, Foam::fvPatchField, Foam::volMesh>::writeEntry(Foam::word const&, Foam::Ostream&) const in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
#6 Foam::Ostream& Foam::operator<< <double, Foam::fvPatchField, Foam::volMesh>(Foam::Ostream&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
#7 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::writeData(Foam::Ostream&) const in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
#8 Foam::fileOperation::writeObject(Foam::regIOobject const&, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType, bool) const at ??:?
#9 Foam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType, bool) const at ??:?
#10 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
#11 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/decomposePar"
Aborted (core dumped)


Then, I have modified the createBaffleDict to consider only baffleFacesThermoBaffle1D and not baffleFacesThermoBaffle3D. I have decomposed the case and run it in parallel, without any issues. When I have tried to reconstruct the case, I got the following error:

    request for polyMesh region0 from objectRegistry circuitBoardCoolingBaffle1DParallel failed
    available objects of type polyMesh are
0()

    From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::polyMesh]
    in file /opt/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::polyMesh const& Foam::objectRegistry::lookupObject<Foam::polyMesh>(Foam::word const&) const at ??:?
#3 Foam::mappedPatchBase::samplePolyPatch() const at ??:?
#4 Foam::compressible::thermalBaffle1DFvPatchScalarField<Foam::constIsoSolidTransport<Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy> > >::owner() const at ??:?
#5 Foam::compressible::thermalBaffle1DFvPatchScalarField<Foam::constIsoSolidTransport<Foam::species::thermo<Foam::eConstThermo<Foam::rhoConst<Foam::specie> >, Foam::sensibleInternalEnergy> > >::rmap(Foam::fvPatchField<double> const&, Foam::List<long> const&) at ??:?
#6 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/reconstructPar"
#7 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/reconstructPar"
#8 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/reconstructPar"
#9 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/reconstructPar"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11 ? in "/opt/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt64Opt/bin/reconstructPar"
Aborted (core dumped)
Steps To Reproduce1. Running the circuitBoardCooling case in tutorial folder in parallel
2. Modify createBaffleDict file to generate only baffleFacesThermoBaffle1D
3. Running in parallel and reconstruct the case
TagsNo tags attached.

Activities

henry

2023-12-07 11:27

manager   ~0013168

Try running the multiRegion/CHT/circuitBoardCooling case in OpenFOAM-11.

will

2023-12-07 14:43

manager   ~0013169

Thanks for the report. Fixed in dev and v11 by the following commits:

https://github.com/OpenFOAM/OpenFOAM-dev/commit/d9a07a44b603f5c7d4a73db09e487a767e61cd21
https://github.com/OpenFOAM/OpenFOAM-11/commit/3bc926e4bf1dd2f51e977e755cd60f26f55aac12

Issue History

Date Modified Username Field Change
2023-12-07 11:04 tmaffei New Issue
2023-12-07 11:27 henry Note Added: 0013168
2023-12-07 14:43 will Assigned To => will
2023-12-07 14:43 will Status new => resolved
2023-12-07 14:43 will Resolution open => fixed
2023-12-07 14:43 will Fixed in Version => 11
2023-12-07 14:43 will Note Added: 0013169