How to fix the “No file with a valid extension was selected. Please try again.” error in CD-adapco STAR-CCM+

At least STAR-CCM+ allows you to paste full paths.

One of my favorite and most useful Windows tricks is the ability to copy file or folder’s full path directly from File Explorer via:

  1. Shift + Right-click the file or folder whose full path you want.
  2. Click Copy as path.

This allows you to open that file or folder in another application without having to browse to said file or folder within the other application itself. You can simply paste the path into the File -> Open dialog.

However, the copied path is enclosed in quotes, which can cause some engineering packages to throw errors, such as this “No file with a valid extension was selected. Please try again.” one:

Time to check for - and remove - quotes.
Time to check for – and remove – quotes.

Checking the File Open dialog reveals the problem: quotes.

Ah, the culprit!
Ah, the culprit!

Removing the quotes in the File name: field and clicking Open again solves the problem.

The nice thing about STAR-CCM+ is that you can paste full paths at all. Some packages – *cough* ANSYS Fluent *cough* – don’t allow that and force the engineer to manually browse to file locations all the time, in addition to choking on quotes for typed commands involving paths.

Author: jdrch

ISTJ, Rice Owl, UF Gator, mechanical engineer. STEM, sports, music, movies, humor. Account mine only & unaffiliated.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s