2 versions of delft3D installed...changing D3D_HOME is not enough. - D-Flow Flexible Mesh - Delft3D
intro story D-Flow FM
D-Flow Flexible MeshD-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:
An overview of the current developments can be found here. The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions!
======================================================= | Sub groups
|
Message Boards
2 versions of delft3D installed...changing D3D_HOME is not enough.
AC
Alberto Canestrelli, modified 9 Years ago.
2 versions of delft3D installed...changing D3D_HOME is not enough.
Youngling Posts: 8 Join Date: 7/12/11 Recent Posts 00
Dear all,
I have installed the version 4 of the GUI. But in the same time I kept the old 3.28 version. I am working with Windows 7. I have the old version in c:\delft3D, while the new is in c:\delft3D_openSource. Following http://oss.deltares.nl/web/opendelft3d/faq-installing-software#Is%20it%20possible%20to%20have%20two%20versions%20of%20Delft3D%20installed%20on%20my%20machine,%20next%20to%20each%20other? i wrote in the DOS prompt: set D3D_HOME=c:\delft3D . I created a shortcut to c:\delft3D\w32\menu\bin\d3d_menu.exe, but when I click on the shortcut (and even if i directly click on d3d_menu.exe ) the version 4 of the menu starts. What else shall i do to be able to switch to the 3.28 when needed?
thanks
Alberto
I have installed the version 4 of the GUI. But in the same time I kept the old 3.28 version. I am working with Windows 7. I have the old version in c:\delft3D, while the new is in c:\delft3D_openSource. Following http://oss.deltares.nl/web/opendelft3d/faq-installing-software#Is%20it%20possible%20to%20have%20two%20versions%20of%20Delft3D%20installed%20on%20my%20machine,%20next%20to%20each%20other? i wrote in the DOS prompt: set D3D_HOME=c:\delft3D . I created a shortcut to c:\delft3D\w32\menu\bin\d3d_menu.exe, but when I click on the shortcut (and even if i directly click on d3d_menu.exe ) the version 4 of the menu starts. What else shall i do to be able to switch to the 3.28 when needed?
thanks
Alberto
Bert Jagers, modified 9 Years ago.
RE: 2 versions of delft3D installed...changing D3D_HOME is not enough.
Jedi Knight Posts: 201 Join Date: 12/22/10 Recent Posts 00
Hi Alberto,
Running the set command in a DOS box only affects the environment variables within that DOS box. What you should do is create a batch file containing both the set command and the call to start the Delft3D menu. So far, the libraries we are using in different Delft3D versions tend to be compatible, but to be safe one should also add the appropriate lib folder to the front of the search path. The batch file then reads:
I recommend to put this batch file in the %D3D_HOME% folder. Now you can add to the desktop a shortcut to this batch file. You can configure the shortcut such that it runs the DOS box minimized.
Success,
Bert
I have the old version in c:\delft3D, while the new is in c:\delft3D_openSource.
Following this explanation on installing two Delft3D versions next to each other i wrote in the DOS prompt: set D3D_HOME=c:\delft3D . I created a shortcut to c:\delft3D\w32\menu\bin\d3d_menu.exe, but when I click on the shortcut (and even if i directly click on d3d_menu.exe ) the version 4 of the menu starts. What else shall i do to be able to switch to the 3.28 when needed?
Following this explanation on installing two Delft3D versions next to each other i wrote in the DOS prompt: set D3D_HOME=c:\delft3D . I created a shortcut to c:\delft3D\w32\menu\bin\d3d_menu.exe, but when I click on the shortcut (and even if i directly click on d3d_menu.exe ) the version 4 of the menu starts. What else shall i do to be able to switch to the 3.28 when needed?
Running the set command in a DOS box only affects the environment variables within that DOS box. What you should do is create a batch file containing both the set command and the call to start the Delft3D menu. So far, the libraries we are using in different Delft3D versions tend to be compatible, but to be safe one should also add the appropriate lib folder to the front of the search path. The batch file then reads:
set D3D_HOME=c:\delft3D | |
set PATH=%D3D_HOME%\w32\lib;%PATH% | |
%D3D_HOME%\w32\menu\bin\d3d_menu.exe |
I recommend to put this batch file in the %D3D_HOME% folder. Now you can add to the desktop a shortcut to this batch file. You can configure the shortcut such that it runs the DOS box minimized.
Success,
Bert