We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Unable to get working directory Reply To: Unable to get working directory

Akshay Maniyar
Ansys Employee

Hi Chethan,

Did you try to set a path in the “Scratch Solver Files Directory”? The scratch directory is only set for the duration of the solve. By default, scratch folder is blank. The program uses the same directory where you save the WB project. You can go to Options -> Mechanical -> Analysis Settings and Solution and specify a location, See if changing the location helps or not. Specifying a different disk location for the scratch files enables you to take advantage of a faster disk drive.

If there is corruption in the project, that could also cause this error message. Does the model generate an input file when you click on solve? If not, the file could be corrupt. 

Try the following if the project is corrupted: 

1. Locate the *.mechdb file. (You can use View -> Files in the project schematic and you will see a list of files. Right-click on the *.mechdb file and select “Open containing folder”)

2. Make a copy of this file in a different location

3. Change the extension from *.mechdb to *.mechdat

4. Use File -> Import to import the *.mechdat file.

You will see a new analysis system. Open Mechanical and see if you can solve the model.

 

Thank you,

Akshay Maniyar

How to access Ansys help links

Guidelines for Posting on Ansys Learning Forum