-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic run directories #162
base: master
Are you sure you want to change the base?
Conversation
* Add persist and load functionality * Various other parts
See #148 |
Hi @icojb25. Thanks a lot for your efforts. Would it be possible to modify this to use the name of the document rather than 'FoamAnalysis' as the subdirectory? So that the case directories for different files don't overwrite each other. This was the initial complaint raised in #148 if I understood correctly. |
Sure, but its not clear what the OP wanted. He talked about use the Project label but also "beside FCStd" so. Current behaviour is
To my mind, 1) is not a great option since Perhaps someone can define the behaviour better. Also NB Opening the Preferences pane before a project is opened is going to break the code since there is no |
What I had in mind was
/tmp does get cleaned on reboot (on Linux anyway), but you have a point. I suppose this is the reason why the FEM workbench has a third option to manage the storage automatically on /tmp. I guess it probably overwrites the data when in this mode. Maybe the safest option would be to have another check box to turn on or off the appending of the document name to the path.
I would not recommend having the document label appear in the preference page. I would just append it to the path when the case is written. |
Makes changes to the Preferences panel to allow setting a relative directory to
FoamAnalysis
as a subdirectory in the same directory in which theFCStd
is located.