CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   interDyMFoam: "Only call if constructed with history capability" (https://www.cfd-online.com/Forums/openfoam/78733-interdymfoam-only-call-if-constructed-history-capability.html)

idrama July 31, 2010 04:23

interDyMFoam: "Only call if constructed with history capability"
 
Hello Foamers!

Proberly someone has already face that problem:


time step continuity errors : sum local = 0.000205382, global = -0.000205382, cumulative = -0.000205382
GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 6.89706e-11, No Iterations 59
GAMGPCG: Solving for pcorr, Initial residual = 1.68619e-12, Final residual = 1.68619e-12, No Iterations 0
GAMGPCG: Solving for pcorr, Initial residual = 1.68619e-12, Final residual = 1.68619e-12, No Iterations 0
time step continuity errors : sum local = 1.47693e-14, global = 4.3336e-16, cumulative = -0.000205382
Courant Number mean: 0.00105231 max: 6.50462

Starting time loop

Interface Courant Number mean: 0 max: 0
Courant Number mean: 7.51653e-05 max: 0.464615
deltaT = 7.14286e-05
Time = 7.14286e-05

Selected 0 cells for refinement out of 63328.


--> FOAM FATAL ERROR:
Only call if constructed with history capability


From function hexRef8::getSplitPoints()
in file polyTopoChange/polyTopoChange/hexRef8.C at line 4884.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::hexRef8::getSplitPoints() const in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libdynamicMesh.so"
#3 Foam::dynamicRefineFvMesh::selectUnrefinePoints(do uble, Foam::PackedList<1u> const&, Foam::Field<double> const&) const in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libdynamicFvMesh.so"
#4 Foam::dynamicRefineFvMesh::update() in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/libdynamicFvMesh.so"
#5 main in "/home/idrama/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/interDyMFoam"
#6 __libc_start_main in "/lib64/libc.so.6"
#7 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116
Aborted

I generated a mesh with snappyHexMesh with hexaedra only. However, when I want to let interDyMRun this error occurs. What is that suppose to mean, what can I do to fixed it?

Cheers

msabger November 13, 2010 19:54

Hi,

I used to have the same problem. After the snappyHexMesh was created, I tried to use interDymFoam and got:

--> FOAM FATAL ERROR:
Only call if constructed with history capability


From function hexRef8::getSplitPoints()
in file polyTopoChange/polyTopoChange/hexRef8.C at line .......

So, I realise that deleting the "refinementHistory" file, it works! At least for me.

I hope it helps...

unnikrsn October 12, 2012 05:52

Dear all,
I am having exactly the same problem.
I am working with buoyantBoussinesqPimpleFoam with Dynamic Meshing.
I have added a few lines to the Solver and the solver seem to compile properly.

But when I run my test case. I have the following error. SnappyHexMesh works fine.

--> FOAM FATAL ERROR:
Only call if constructed with history capability

From function hexRef8::getSplitPoints()

in file polyTopoChange/polyTopoChange/hexRef8.C at line 4890.

FOAM aborting


#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::hexRef8::getSplitPoints() const in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#3 Foam::dynamicRefineFvMesh::selectUnrefinePoints(do uble, Foam::PackedBoolList const&, Foam::Field<double> const&) const in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so"
#4 Foam::dynamicRefineFvMesh::update() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libdynamicFvMesh.so"
#5
in "/home/atmoun/OpenFOAM/atmoun-2.0.1/platforms/linux64GccDPOpt/bin/buoyantBoussinesqPimpleDyMFoam_Unni"
#6 __libc_start_main in "/lib/libc.so.6"
#7
in "/home/atmoun/OpenFOAM/atmoun-2.0.1/platforms/linux64GccDPOpt/bin/buoyantBoussinesqPimpleDyMFoam_Unni"
./Allrun_Mesh_check: line 30: 19789 Aborted buoyantBoussinesqPimpleDyMFoam_Unni > buoyantBoussinesqPimpleDyMFoam_Unni

Thanks & Regards
Unnikrishnan.


potentialFoam December 14, 2016 10:22

Quote:

Originally Posted by msabger (Post 283356)
Hi,

I used to have the same problem. After the snappyHexMesh was created, I tried to use interDymFoam and got:

--> FOAM FATAL ERROR:
Only call if constructed with history capability


From function hexRef8::getSplitPoints()
in file polyTopoChange/polyTopoChange/hexRef8.C at line .......

So, I realise that deleting the "refinementHistory" file, it works! At least for me.

I hope it helps...

Dear Martin,

thanks for your very valuable hint!
Tiny side remark: the file is located at the directory
Code:

onstant/polyMesh/
and may be zipped (refinementHistory.gz) if compression was turned on during snappyHexMesh. (That's why it took some time until I found it...)

Regards,
Peter


All times are GMT -4. The time now is 09:28.