CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

ERROR: new cannot satisfy memory request

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2018, 10:24
Default ERROR: new cannot satisfy memory request
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Hi foamers

I have created a new viscosity model and compiled it successfully. But when I want to test it in a case it gives me this error:

Quote:
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
Aborted (core dumped)
And here is the code that is want to calculate "etaP_T" :

Code:
Foam::PTTlinearTempDep::PTTlinearTempDep
(
    const word& name,
    const volVectorField& U,
    const surfaceScalarField& phi,
    const dictionary& dict
)
:
    constitutiveEq(name, U, phi),
    tau_
    (
        IOobject
        (
            "tau" + name,
            U.time().timeName(),
            U.mesh(),
            IOobject::MUST_READ,
            IOobject::AUTO_WRITE
        ),
        U.mesh()
    ),
    lambda_(dict.lookup("lambda")),
    etaP_T
    (
        IOobject
        (
            name,
            U.time().timeName(),
            U.db(),
            IOobject::NO_READ,
            IOobject::AUTO_WRITE
        ),
        calcEtaP_T()
    )

{
 checkForStab(dict);
}
What's wrong with that?

Thanks
alimea is offline   Reply With Quote

Reply

Tags
error, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: New Cannot Satisfy Memory Request TCS OpenFOAM Programming & Development 2 June 5, 2018 10:23
new cannot satisfy memory request. sahm OpenFOAM Running, Solving & CFD 17 August 23, 2016 12:40
new cannot satisfy memory request openFoam!! what is the meaning of this? adambarfi OpenFOAM Running, Solving & CFD 0 November 2, 2013 13:57
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 15:46
IcoDyMFoam New cannot satisfy memory request yuhai OpenFOAM Running, Solving & CFD 2 December 10, 2008 05:15


All times are GMT -4. The time now is 12:22.