CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

GAMBIT Error Msg database file not properly closed

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 7, 2009, 13:55
Default GAMBIT Error Msg database file not properly closed
  #1
New Member
 
Jan
Join Date: Oct 2009
Posts: 5
Rep Power: 7
Janomano is on a distinguished road
Hello,


everytime I try to open files with Gambit I created and saved before, the following error msg appears: "ERROR: This Database file was not properly closed".
I couldn't find anything on the internet about that error, which leads me to the assumption that I did something really stupid so that I am the only person in the world who has to deal with this problem.
I use Gambit 2.4.6 on a Red Hat Enterprise Linux Version 5.3.

Thank you for your help!

Jan
Janomano is offline   Reply With Quote

Old   October 7, 2009, 15:02
Default
  #2
New Member
 
hashem
Join Date: May 2009
Posts: 17
Rep Power: 8
hashem_1064 is on a distinguished road
Hey Janomano
Somtimes when Gambit suddenly is been closed, a file with the same name as your project but with the suffix ".lok" is created. I think your problem might be caused so. try to find such a file and delete it.

Hashem
hashem_1064 is offline   Reply With Quote

Old   October 7, 2009, 16:32
Default
  #3
New Member
 
Jan
Join Date: Oct 2009
Posts: 5
Rep Power: 7
Janomano is on a distinguished road
Thank you for your help, but unfortunately it must be something else. The .lok file disappears when I exit Gambit. Everything seems to be normal, three files are created, filename.jou, filename.trn and filename.dbs, I just can't open them anymore...
Does anybody have another idea?
Janomano is offline   Reply With Quote

Old   October 8, 2009, 02:33
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
I had the same problem under XP, if I tried to open a .dbs file from scratch folder (for instance: GAMBIT.3544)
Now I am not sure Gambit creates such folder under linux (I never paid attention) and if you are trying to open dbs file from this folder
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 8, 2009, 10:35
Default
  #5
New Member
 
Jan
Join Date: Oct 2009
Posts: 5
Rep Power: 7
Janomano is on a distinguished road
Yes, Gambit creates these folders under linux, too. But the problem seems to be independent from the saving directory. I just sent a saved file to a friend's computer and he cannot open it either, so I guess the issue is really with the saving part, not the opening part.
But again, thank you for your tips so far!
Janomano is offline   Reply With Quote

Old   October 8, 2009, 11:55
Default
  #6
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 2,964
Rep Power: 30
-mAx- will become famous soon enough
Copy and paste the journal file (*.jou) especially the 5-first and the 5-last lines
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   October 9, 2009, 10:48
Default
  #7
New Member
 
Jan
Join Date: Oct 2009
Posts: 5
Rep Power: 7
Janomano is on a distinguished road
This is an example .jou file I saved today.

/ Journal File for GAMBIT 2.4.6, Database 2.4.4, lnamd64 SP2007051420
/ Identifier "default_id"
/ File opened for write Fri Oct 9 10:07:28 2009.
volume create width 2 depth 2 height 2 brick
save name "/afs/umich.edu/user/j/a/janland/Desktop/test.dbs"

Another interesting thing: If I save a file, exit Gambit, reopen Gambit and load the file, it works. But once I try to open the file on a different computer or try to open other files I saved before or log off and then log in again and try to open the file --> error.
So I guess the problem might not be with Gambit itself but with some crazy linux stuff I don't know anything about... Do you have any ideas?
Janomano is offline   Reply With Quote

Old   October 9, 2009, 10:59
Default
  #8
New Member
 
Jan
Join Date: Oct 2009
Posts: 5
Rep Power: 7
Janomano is on a distinguished road
Here is another .jou file where I tried to open an old dbs-file.
After the error occured (line 4 + 5) I created some random stuff again and saved it.

/ Journal File for GAMBIT 2.4.6, Database 2.4.4, lnamd64 SP2007051420
/ Identifier "default_id"
/ File opened for write Fri Oct 9 10:51:12 2009.
/ERROR occurred in the next command!
identifier name "/afs/umich.edu/user/j/a/janland/save.dbs" old nosaveprevious
volume create width 2 depth 2 height 2 brick
volume mesh "volume.1" map size 1
save name "/afs/umich.edu/user/j/a/janland/Desktop/again.dbs"
/ File closed at Fri Oct 9 10:52:20 2009, 0.35 cpu second(s), 2731264 maximum memory.
Janomano is offline   Reply With Quote

Old   November 23, 2010, 05:14
Default I face the same Problem..
  #9
New Member
 
Kamran
Join Date: Nov 2010
Posts: 8
Rep Power: 6
kamran651 is on a distinguished road
Hey J...did u find the solution to your problem..coz i am facing the same error...i dont know what it is..im using XP..
kamran651 is offline   Reply With Quote

Reply

Tags
gambit 2.4.6 error msg

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Gambit Journal File Scripts, Public Database Needed? Jonas Larsson Main CFD Forum 13 March 2, 1999 08:25


All times are GMT -4. The time now is 17:49.