|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 10 ![]() |
Hi all,
I am having problem everytime I tried to save my project in Fluent. The problem appears to be similar to the one discussed in the following thread: Error writing compressed file during auto save. I tried all the suggested methods but none worked. Later I noticed that in the console window (which show the log of all actions executed by the program), something seems off. Just before the following error line: Error: Error writing compressed file "FFF-1.cas.gz" there were these two lines: C:\Users\Main: No such file or directory Admin\AppData\Local\Temp\flntgz-16322: No such file or directory "Main Admin" is the name of administrator user folder in the computer I'm using, so the full folder name should be C:\Users\Main Admin\AppData\Local\Temp\flntgz-16322. I suspect the space between words is the culprit, so that the full folder name is not recognised. Did anyone ever experience this problem? Can someone give some suggestion to solve it? I am using Fluent 17.2 on Windows 10. |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Jan 2018
Posts: 11
Rep Power: 10 ![]() |
Hello Daniel,
I have never used the autosave feature myself, but based on the thread you linked and the fact that your two error lines are split right where the space is, I think it's safe to say that you are correct about the cause of the error. I assume it isn't an option to change the name of the user folder, so the only other obvious solution would be to change the save location in the Autosave dialog box to a valid path. I am not aware of a way to get around what the software views as an invalid path. Best of luck, Alan
__________________
"The more you do what you're already doing, the more you'll get what you've already got." |
|
|
|
|
|
|
|
|
#3 |
|
Member
Daniel Edebro
Join Date: Feb 2016
Location: Gothenburg
Posts: 41
Rep Power: 11 ![]() |
2018 and Ansys Fluent still doesn't handle spaces in file names? WTF?
(Sorry for the short rant) |
|
|
|
|
|
|
|
|
#4 | |
|
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,845
Rep Power: 68 ![]() ![]() ![]() |
Quote:
One thing you can do is change the user's env var for TEMP and write the temporary files to a location that gunzip will recognize, see this article:changing TEMP The user TEMP is usually "%USERPROFILE%\AppData\Local\Temp" But since you are changing an env var, it might break other programs. Use with care. =( Yes. But gzip is GNU zip & GNU is not designed to handle spaces. |
||
|
|
|
||
|
|
|
#5 |
|
Member
Daniel Edebro
Join Date: Feb 2016
Location: Gothenburg
Posts: 41
Rep Power: 11 ![]() |
Try using the short DOS path name
Main Admin = MAINAD~1 |
|
|
|
|
|
|
|
|
#6 | |
|
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 10 ![]() |
Quote:
Thank you your suggestion. I started moving all the working folder to prevent such issue from occurring again. Regards, Daniel |
||
|
|
|
||
|
|
|
#7 | |
|
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 10 ![]() |
Quote:
Yes you're right, the gzip has some limitations and thats one of them. I recently found that it has serious compatibility issue with windows 10. It always fails to open. What I finally did is to compress the case and data file MANUALLY to .gzip using another compression software. Regards, Daniel |
||
|
|
|
||
|
|
|
#8 | |
|
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,845
Rep Power: 68 ![]() ![]() ![]() |
Quote:
Well I suppose not using gunzip is a workaround... |
||
|
|
|
||
|
|
|
#9 |
|
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 10 ![]() |
Yes, I did as suggested, but still it did not work. Finally I did a start refresh of my windows and reinstall the software. Now it's okay (with the gunzip provided by ANSYS installer), though I still dont understand what the problem was.
|
|
|
|
|
|
|
|
|
#10 | |
|
Member
Join Date: Oct 2019
Posts: 35
Rep Power: 8 ![]() |
Quote:
The Autosave in Fluent always gave the error "O.: No such file or directory O.\AppData\Local\Temp\flntgz-203242: No such file or directory. Warning: Error in writing compressed file "ICM-Setup-Output.cas.gz". The problem was the space in between the O. O. and not my gzip.exe as it was working okay. Zipped a text file in cmd prompt and it successfully zipped the file. I tried to create another path for the temp files but ANSYS and Fluent were not able to run as some of their files were located in the Morice O. O. folder. Finally, I created another user account that had administrator privileges on the same computer called Morice. Ran Fluent on this account and gzip was able to successfully zip the data and case files. I apologize for the long post
|
||
|
|
|
||
|
|
|
#11 |
|
New Member
Liam Flint
Join Date: Mar 2023
Posts: 1
Rep Power: 0 ![]() |
Hello, are you fix this?
LongPathTool is the most user-friendly solution for resolving issues with long paths file on Windows and Mac. |
|
|
|
|
|
|
|
|
#12 |
|
New Member
ahsan sardar
Join Date: Nov 2025
Posts: 1
Rep Power: 0 ![]() |
You can try using a tool like LongPathTool. It helps manage and delete files or folders with long path issues easily.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| copy/write a same volVectorField to every time step folder | hy1112006 | OpenFOAM Programming & Development | 0 | April 18, 2016 23:33 |
| [OpenFOAM.org] one folder for external utilities | student666 | OpenFOAM Installation | 1 | May 24, 2015 10:40 |
| icoFsiFoam folder structure OF 2.2.1 | philipp1 | OpenFOAM Running, Solving & CFD | 1 | January 25, 2014 18:08 |
| I want to arrange all source file into Single Folder :Debate Urgent Help | hhh | OpenFOAM | 3 | July 27, 2013 06:15 |
| [snappyHexMesh] Folder structure from snappyHexMesh | elisenda | OpenFOAM Meshing & Mesh Conversion | 3 | January 6, 2010 04:52 |