Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 381
    • Issues 381
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2370
Closed
Open
Created Feb 21, 2022 by Hiroki Ono@h-ono

atmTurb.HeatFluxTemp. with buo.Bouss.PimpleFoam raises unallocated autoPtr

Summary

buoyantBoussinesqPimpleFOAM crashes when using atmTurbulentHeatFluxTemperature BC.

Steps to reproduce

Run a atmForestStability tutorial with SIMPLE->PIMPLE replacement.

Example case

What is the current bug behaviour?

On the 2nd time loop, solver crashes on executing TEqn.H.
A 1st time step looks fine.

What is the expected correct behavior?

Relevant logs and/or images

--> FOAM FATAL ERROR: (openfoam-2112)
unallocated autoPtr of type N4Foam9Function1IdEE

    From T* Foam::autoPtr<T>::operator->() [with T = Foam::Function1<double>]
    in file /home/xxxxx/OpenFOAM/OpenFOAM-v2112/src/OpenFOAM/lnInclude/autoPtrI.H at line 178.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::simpleExit(int, bool) at ??:?
#2  Foam::atmTurbulentHeatFluxTemperatureFvPatchScalarField::updateCoeffs() at ??:?
#3  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?
#4  Foam::tmp<Foam::fvMatrix<double> > Foam::fv::optionList::source<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::word const&, Foam::dimensionSet const&) at ??:?
#5  ? at ??:?
#6  __libc_start_main in /lib64/libc.so.6
#7  ? at ??:?
Aborted (core dump)

Environment information

  • OpenFOAM version : v2112
  • Operating system : Red Hat Enterprise Linux Server release 7.4 (Maipo)
  • Hardware info : Xeon cluster
  • Compiler : GCC10.3.0 (built in ThirdParty)

Possible fixes

Assignee
Assign to
Time tracking