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

Change OF filename rules

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2016, 05:55
Default Change OF filename rules
  #1
New Member
 
gned
Join Date: Oct 2012
Posts: 16
Rep Power: 6
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: 119
Rep Power: 11
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 19: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
Thermal phase change model Piti CFX 0 February 9, 2009 10:27


All times are GMT -4. The time now is 12:09.