CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   object of type N4Foam9rhoThermoE is not allocated (https://www.cfd-online.com/Forums/openfoam-programming-development/241138-object-type-n4foam9rhothermoe-not-allocated.html)

saicharan662000@gmail.com February 9, 2022 23:55

object of type N4Foam9rhoThermoE is not allocated
 
Hello foamers,
I am developing a solver for evaporation.I am struck with the error. I am attaching the error below . I not able to understand what is causing the error.


Code:

/*---------------------------------------------------------------------------*\
  =========                |
  \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox
  \\    /  O peration    | Website:  https://openfoam.org
    \\  /    A nd          | Version:  8
    \\/    M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 8-1c9b5879390b
Exec  : myCompressibleInterFoam
Date  : Feb 10 2022
Time  : 09:40:04
Host  : "hari"
PID    : 7639
I/O    : uncollated
Case  : /home/hari/OpenFOAM/hari-8/run/damBreakcomp_3
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Constructing twoPhaseMixtureThermo



--> FOAM FATAL ERROR:
object of type N4Foam9rhoThermoE is not allocated

    From function T* Foam::autoPtr<T>::operator->() [with T = Foam::rhoThermo]
    in file /opt/openfoam8/src/OpenFOAM/lnInclude/autoPtrI.H at line 206.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::autoPtr<Foam::rhoThermo>::operator->() at ??:?
#3  Foam::twoPhaseMixtureThermo::nu() const at ??:?
#4  Foam::twoPhaseMixtureThermo::hCoeff() const at ??:?
#5  Foam::twoPhaseMixtureThermo::mDotAlphal() const at ??:?
#6  Foam::twoPhaseMixtureThermo::twoPhaseMixtureThermo(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) at ??:?
#7  ? in "/home/hari/OpenFOAM/hari-8/platforms/linux64GccDPInt32Opt/bin/myCompressibleInterFoam"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/home/hari/OpenFOAM/hari-8/platforms/linux64GccDPInt32Opt/bin/myCompressibleInterFoam"
Aborted (core dumped)


Can anyone help me with this?
Thanks in advance.:)


All times are GMT -4. The time now is 19:01.