FAILED CREATE TEMPORARY FILE

I keep getting this message while trying to run the simulation. Followed by series of "data not available" and "running failed" / "meshing failed". It was okay when i ran a simulation before, then i have to change the loads applied and when i tried to run the simulation again it happened.

I also try to delete all the simulation data and define it all over again, even changing the result folder directory but nothing seems to solve the problem.

Does anyone know where exactly the "Simulation works directory" that is mentioned in the message box? Has anyone experiencing the same problem and get it solved? 

PS: I'm running a Solidworks 2017 on a thin client server, my file is on the I:\\\\ and the solidworks file is on C:\\\\

SolidworksSimulation
Answers 6
MO
MO 2021-04-08 Best Answer

Hi Hanifah,

First, Open the study ‘Properties’ and verify the location of the “results” folder.
Then, Browse to this folder in Windows® File Explorer, and make sure that the user has full control permissions for this location.

If the results folder is in a network location, change the results folder to a location on a local drive instead.

Finally, make sure that the user has full control permissions to the system’s ‘TEMP’ folder.

To find out more, check S-049273 in the Knowledge Base.  

Best,

HZ
HZ 2021-04-08

Thank you, i'll try to contact the IT department and see if there's something we could do

JS
JS 2021-04-08

Active security scanning performed by anti-virus software can cause this behavior. Basically, your anti-virus software may be trying to read a temporary file used by SOLIDWORKS Simulation to determine whether it is a threat. But at the same time, SOLIDWORKS Simulation needs to read or write to the same file (part of its normal operation), causing a sharing violation or other file access conflict. The inconsistency in when/whether it happens usually suggests that timing is a factor, and mesh size and network speed will both affect timing.

The best thing to do is contact your IT department. Discuss possible policy/configuration changes (such as adding exceptions in the security software's settings) to prevent interference with SOLIDWORKS Simulation due to active/on-demand scanning of SOLIDWORKS Simulation result database files in the Results Folder (which you can set for each study in Study Properties). Your IT department should be able to contact security software vendors for assistance if needed.

And as always, please be sure to contact your SOLIDWORKS Value Added Reseller (VAR) if you need additional help, including best practices about Simulation Result file storage (see KB solution S-038234).

HZ
HZ 2021-04-08

I have specified the result folder with a specific name in the same folder as the model file is and i have full control permissions for it. It's on a network location tho, and i prefer to not change it into local drive since i don't have a full control permissions and it will be temporary if i place it on a local drive (the server is being reset automatically every morning).

I already manage to get it finished tho, however i still don't know what's the cause of it bcs i only did exactly what i was doing when at some point it suddenly works just fine.........

HZ
HZ 2021-04-08

Yes , I: is on network. Does it make any difference?

FL
FL 2021-04-08

Sim by default save files where the model file is.

Is I: on network?