|
[Sponsors] |
Error with getting grad(U) at wall - failed to store pointer |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 23, 2022, 12:59 |
Error with getting grad(U) at wall - failed to store pointer
|
#1 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
Hi,
I've got a flow past flat plate problem using simpleFoam. After the simulation, I tried to obtain the grad(U) at wall. I run: Code:
postProcess -func "grad(U)" -latestTime Code:
Reading fields: volVectorField: U Executing functionObjects --> FOAM Warning : From bool Foam::regIOobject::store() in file /home/user/OpenFOAM/OpenFOAM-v2206/src/OpenFOAM/lnInclude/regIOobjectI.H at line 51 Refuse to store unregistered object: grad(U) --> FOAM FATAL ERROR: (openfoam-2206) Failed to store pointer: grad(U). Risk of memory leakage From static Type& Foam::regIOobject::store(Type*) [with Type = Foam::GeometricField<Foam::Tensor<float>, Foam::fvPatchField, Foam::volMesh>] in file /home/user/OpenFOAM/OpenFOAM-v2206/src/OpenFOAM/lnInclude/regIOobjectI.H at line 73. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::simpleExit(int, bool) at ??:? #2 Foam::error::exiting(int, bool) at ??:? #3 bool Foam::functionObjects::regionFunctionObject::store<Foam::GeometricField<Foam::Tensor<float>, Foam::fvPatchField, Foam::volMesh> >(Foam::word&, Foam::tmp<Foam::GeometricField<Foam::Tensor<float>, Foam::fvPatchField, Foam::volMesh> > const&, bool) at ??:? #4 bool Foam::functionObjects::grad::calcGrad<Foam::Vector<float> >() at ??:? #5 Foam::functionObjects::fieldExpression::execute() at ??:? #6 Foam::functionObjects::timeControl::execute() at ??:? #7 Foam::functionObjectList::execute() at ??:? #8 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64Gcc940SPDPInt32Opt/bin/postProcess #9 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64Gcc940SPDPInt32Opt/bin/postProcess #10 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #11 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64Gcc940SPDPInt32Opt/bin/postProcess Aborted Hope someone can help. Thanks! |
|
May 4, 2023, 06:31 |
|
#2 |
New Member
shiyu
Join Date: Mar 2018
Location: london
Posts: 9
Rep Power: 8 |
Hi Quarkz, I am wondering if you have fixed this issue:
Code:
Failed to store pointer: XXX. Risk of memory leakage |
|
May 8, 2023, 12:27 |
|
#3 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
Hi Shiyu, I tried on some other problems and it worked. Hence, I'm not sure why too.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence in AMG solver! | marina | FLUENT | 20 | August 1, 2020 12:30 |
GAMG crash | fxzf | OpenFOAM Running, Solving & CFD | 6 | June 5, 2018 06:09 |
Enhanced Wall Treatment | paduchev | FLUENT | 24 | January 8, 2018 12:55 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 09:44 |
Difficulty In Setting Boundary Conditions | Moinul Haque | CFX | 4 | November 25, 2014 18:30 |