|
[Sponsors] |
SKA.C reads fileName read from dynamicMeshDict without expanding it |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2010, 16:37 |
SKA.C reads fileName read from dynamicMeshDict without expanding it
|
#1 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/SKA/SKA.C loads a fileName read from dynamicMeshDict without calling the fileName::expand() function. Thus one can't use e.g. $FOAM_CASE in the dictionary, making it impossible to run e.g. the sloshingTank3D6DoF case from outside the case directory without hard-coding the absolute path in the dictionary.
Attached patch fixes both SKA.C and sloshingTank3D6DoF/constant/dynamicMeshDict. Last edited by mwild; July 29, 2010 at 03:41. |
|
July 29, 2010, 07:16 |
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
I have added this enhancement and pushed it into 1.7.x
H |
|
July 30, 2010, 05:22 |
|
#3 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
Did you forget to "git push"?
|
|
August 3, 2010, 07:50 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
This is only slightly off-topic, but also related to the fix made for SKA.C... I've got a request to the developers: a method like "fileName::isPathAbsolute()" would be really helpful. Why? Two reasons:
Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |