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

Change OF filename rules

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2016, 05:55
Default Change OF filename rules
  #1
New Member
 
gned
Join Date: Oct 2012
Posts: 18
Rep Power: 13
gned is on a distinguished road
dear Foamers,
I'm quite out of space in my ssd disk of my laptop by now. So I would often have the need to try/run/visualize some cases on an external USB I have, but which unfortunately is recognized as TOSHIBA EXT by the system, with a whitespace in the name! For more convenience, there is someone who, modifying just the needed some files as fileName.H or resorting to other (linux) tricks, could make somehow OF digest also these names strings with whitespaces without errors of the type "fileName::stripInvalid() called for invalid fileName /var/run/media/cfd/TOSHIBAEXT/propeller/..."?
Any suggestion?
gned is offline   Reply With Quote

Old   October 5, 2016, 16:16
Default
  #2
nsf
Senior Member
 
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18
nsf is on a distinguished road
Hi,

Wouldn't a symbolic link work?

E.g. from your home dir:
Code:
ln -s "/mnt/your long/drive/with space in the name" ./extdriveNoSpace
Best regards
Nicolas
nsf is offline   Reply With Quote

Reply

Tags
convention, filename, rules, string


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
Thermal phase change model Piti CFX 1 January 14, 2021 10:03
change the under-relaxation factors hotboy FLUENT 4 May 28, 2015 22:25
Mass Transfer without Phase Change in InterPhaseChangeFoam Parisa_Khiabani OpenFOAM Running, Solving & CFD 5 May 26, 2015 09:40
No density change - rhoSimplecFoam krapic OpenFOAM 1 November 29, 2014 18:39
Help with writing a macro/UDF_file/script to change BC at regular time step intervals Codophobia Fluent Multiphase 0 April 24, 2014 10:07


All times are GMT -4. The time now is 04:18.