Is this a small bug or intended behavior?
Open example FemCalculixCantilever3D and before writing inp file select the working directory inside Mechanical analysis (i.e. CalculiXccxTools object). Contrary to my expectations it is written to the working directory defined in Edit – Preferences – FEM.
When using new solver example FemCalculixCantilever3D_newSolver (i.e. solverCalculiX object), it works as expected.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)
working directory setting
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: working directory setting
it is not a bug it is a feature The idea is to use an own working dir, no matter what directory is set in the analyis solver object. Thie is quite important for debugging ... Before this feature my linux machine started to have C:/ path names when opening files from others If you would like to use the solver setting just do not activate the working dir in preferences.fandaL wrote: ↑Tue Feb 19, 2019 9:41 am Is this a small bug or intended behavior?
Open example FemCalculixCantilever3D and before writing inp file select the working directory inside Mechanical analysis (i.e. CalculiXccxTools object). Contrary to my expectations it is written to the working directory defined in Edit – Preferences – FEM.
When using new solver example FemCalculixCantilever3D_newSolver (i.e. solverCalculiX object), it works as expected.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15860 (Git)
Build type: Release
Branch: master
Hash: 3b708c7f84b0425076b520e1d95627b20fd75fe0
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Czech/CzechRepublic (cs_CZ)
To be honest I am not happy with this setting at all. Thus in the solver framework solver it is not possible to set the directory in the solver object.
Re: working directory setting
Ok.
If I understand it correctly working directory setting (in the figure) has no effect if it is already defined in preferences. For me it was confusing that something “far from eyes” has priority over what I just see on the screen. Would it be worth to inform a user during writing the inp file if this does not match?
If I understand it correctly working directory setting (in the figure) has no effect if it is already defined in preferences. For me it was confusing that something “far from eyes” has priority over what I just see on the screen. Would it be worth to inform a user during writing the inp file if this does not match?
Re: working directory setting
I would say that if the working directoy isn't set from the solver than it used the one from preferences.
Now it goes about thesolver directory. my preference is set to "Beside FCstd file" but it's never there but always in temp...
Now it goes about thesolver directory. my preference is set to "Beside FCstd file" but it's never there but always in temp...
Re: working directory setting
read carefully ... "Working directory general FEM solver frame work" (found a typo in gui ) and "Working directory ccx tools" solver! It depends which solve you gone use.
Re: working directory setting
exactly
I see your point.
Re: working directory setting
fandaL start the first post about a specified path in the FEM general settings tab
If it is "general FEM solver frame work" i assume that ALL solvers work with this system otherwise is it not general.
If the best place is the general tab but it is not general i expect a restriction.
- Let FreeCAD manage (create, delete) the working directories for ALL solver. Use temporary directories.
- Create a directory in the same folder in which the FCStd file of the documentis located. Use subfolder for EACH solver. ...
- Use directory set below. create own subfolder for EVERY solver. ...
ps. It's a bit weird that the words all, each and every are used trough each other...
Re: working directory setting
there are two totally different systems, the ccx tools dolver and all solvers from the solver frame work.
I try to make this more clear for the user.
I try to make this more clear for the user.