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

ACCESS VIOLATION error opening a .dat file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2005, 14:01
Default ACCESS VIOLATION error opening a .dat file
  #1
DavidSF
Guest
 
Posts: n/a
Hi, I've an ACCESS VIOLATION error while openning a .dat file and I donīt have any idea why it happens.My computer is a windows XP machine.

This .dat file comes from a windows 2000 PC where it works well.

Iīve copy the .cas and .dat files by FTP. (I've not select the "write binary file" when I saved the files, in order to obtain ascii files).

Iīve looked for a similar error in the Fluent forum but I havenīt found anyone....

PS: I have the same problem when I try to init the case....

Can anyone help me please???

Thanks

  Reply With Quote

Old   April 7, 2005, 14:39
Default Re: ACCESS VIOLATION error opening a .dat file
  #2
pUl|
Guest
 
Posts: n/a
Does the case read fine?
  Reply With Quote

Old   April 7, 2005, 14:42
Default Re: ACCESS VIOLATION error opening a .dat file
  #3
Dragos Moroianu
Guest
 
Posts: n/a
You said that the ftp transfer was done in text mode. As I know, implicitly, fluent saves the .cas and .dat files in binary format (usually it takes less space) so probably this is the source of your problem. I suggest allways to use the binary mode when transfering through ftp. You can also try to open with notepad the files on both machines (XP and win2000) and see if they are realy in text format.

Dragos
  Reply With Quote

Old   April 7, 2005, 14:48
Default Re: ACCESS VIOLATION error opening a .dat file
  #4
pUl|
Guest
 
Posts: n/a
I think Fluent ASCII files should also be transferred as binary. Check.
  Reply With Quote

Old   April 7, 2005, 16:27
Default Re: ACCESS VIOLATION error opening a .dat file
  #5
DavidSF
Guest
 
Posts: n/a
I've transferred the files as binary.

I don't have any problem reading the case file, only a warning:"process threading not available in this solver."

I donīt know what to do......
  Reply With Quote

Old   April 7, 2005, 16:33
Default Re: ACCESS VIOLATION error opening a .dat file
  #6
pUl|
Guest
 
Posts: n/a
This may sound naive, but are you using the same fluent version on both computers?
  Reply With Quote

Old   April 7, 2005, 16:49
Default Re: ACCESS VIOLATION error opening a .dat file
  #7
DavidSF
Guest
 
Posts: n/a
Yes. (It is not a naive question..)
  Reply With Quote

Old   April 7, 2005, 17:01
Default Re: ACCESS VIOLATION error opening a .dat file
  #8
pUl|
Guest
 
Posts: n/a
Were you by any chance running Fluent Parallel in the Windows 2000 machine? I suspect the Win 2K machine could be a dual-processor one.
  Reply With Quote

Old   April 7, 2005, 17:12
Default Re: ACCESS VIOLATION error opening a .dat file
  #9
DavidSF
Guest
 
Posts: n/a
No, i don't running in Fluent Parallel
  Reply With Quote

Old   April 7, 2005, 18:46
Default Re: ACCESS VIOLATION error opening a .dat file
  #10
pUl|
Guest
 
Posts: n/a
Can you send me the case and dat files?
  Reply With Quote

Old   April 8, 2005, 16:13
Default Re: ACCESS VIOLATION .......SOLVED!!!!!
  #11
DavidSF
Guest
 
Posts: n/a
I've found it!!!! It was a dummy error: I'had wrote "3d" instead of "3ddp" in the file: user_nt.udf

Thanks pU1| and Dragos
  Reply With Quote

Old   April 8, 2005, 16:34
Default Re: ACCESS VIOLATION .......SOLVED!!!!!
  #12
pUl|
Guest
 
Posts: n/a
This brings me back to a pointer regarding choosing the solver type (2d, 2ddp, 3d, 3ddp) for those who have a case file already. Start fluent from the command line without specifying any solver type. I am sure this can be done in *nix systems:

[user@HOST dir]$ fluent &

Once this is done, directly read the case file without specifying the solver. Fluent will determine automatically which solver was used in conjunction with the case being read and load it prior to reading the entire case. This way problems such as the one outlined in this thread can be avoided.

Best Regards,

Srinath Madhavan
  Reply With Quote

Old   April 8, 2005, 16:37
Default Re: ACCESS VIOLATION .......SOLVED!!!!!
  #13
pUl|
Guest
 
Posts: n/a
Correction: I do not think that DavidSFs' problem is a correct example for the pointer I just mentioned.

Now, I am curious, what is this file user_nt.udf. I always work with *nix systems and have faced no need to ever edit any makefiles or other cpp generated files. Can anybody shed more light on the nature of the user_nt.udf file?
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 16:49
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 19:56.