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

interDyMFoam: "Only call if constructed with history capability"

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By msabger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2010, 05:23
Default interDyMFoam: "Only call if constructed with history capability"
  #1
Senior Member
 
Claus Meister
Join Date: Aug 2009
Location: Wiesbaden, Germany
Posts: 241
Rep Power: 18
idrama is on a distinguished road
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:rintStack(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
idrama is offline   Reply With Quote

Old   November 13, 2010, 20:54
Default
  #2
New Member
 
Martin Sabarots Gerbec
Join Date: Feb 2010
Location: Argentina
Posts: 3
Rep Power: 16
msabger is on a distinguished road
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...
__________________

msabger is offline   Reply With Quote

Old   October 12, 2012, 06:52
Default
  #3
New Member
 
Unnikrishnan Mohankumar
Join Date: Apr 2011
Posts: 29
Rep Power: 15
unnikrsn is on a distinguished road
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:rintStack(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.

unnikrsn is offline   Reply With Quote

Old   December 14, 2016, 11:22
Default
  #4
Member
 
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 11
potentialFoam is on a distinguished road
Quote:
Originally Posted by msabger View Post
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
potentialFoam is offline   Reply With Quote

Reply


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 using interDyMFoam with kOmegaSST to simulate sloshing anmartin OpenFOAM Running, Solving & CFD 0 July 20, 2010 14:21
2D CFD code using SIMPLE algorithm bfan Main CFD Forum 3 June 22, 2002 23:01
Who's ok for an Open Source CFD project ? Viet Main CFD Forum 16 July 26, 1999 16:57


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