Results 1 to 1 of 1

Thread: ABAQUS: Double click to open CAE *.cae, and database *.odb files in UBUNTU

  1. #1
    Join Date
    Sep 2011

    Lightbulb ABAQUS: Double click to open CAE *.cae, and database *.odb files in UBUNTU

    While one can easily install ABAQUS by following the instructions at various places on the web such as here, this is a huge inconvenience for most of the users to launch the ABAQUS CAE application everytime from terminal.

    One can definately make things more affordable and easy by associating the CAE model (*.cae) and database (*.odb) files to the ABAQUS binary files.

    This feature can make the model and database files to be directly opened in the ABAQUS CAE interface (a GUI), simply by double clicking on them from within the file manager in Ubuntu and Linux OS in general.
    This is similar to the feature already supported on Windows platform.

    Here is how to bring this feature.

    1. Open a text editor and create a 'Desktop Entry' file by adding the following contents:
      [Desktop Entry]
      Exec=env XLIB_SKIP_ARGB_VISUALS=1 /bin/bash -c 'cd $(dirname $0) && /opt/abaqus/abaqus614/6.14-1/code/bin/abq6141 cae database=$0' %u
      Comment=Open file in Abaqus CAE/Viewer
      Save the above file with the filename 'AbaqusCAE-Open.desktop' (without quotes).
    2. Place the file in the ~/.local/share/applications directory:
      mv AbaqusCAE-Open.desktop ~/.local/share/applications
    3. Finally, open the Files window (Nautilus/Nemo/Caja/Pantheon) and navigate to any directory containing a CAE model (*.cae). Right click on the *.cae file, choose 'Open with Other application', and choose 'Show other applications'.
      Here you can choose AbaqusCAE-Open from the 'Other applications' list.
      The next time you double click on any Abaqus cae model file, it will automatically open in Abaqus GUI (CAE/Viewer).
    4. Repeat the above Step No. 3 once for an Abaqus output database (*.odb) file also.

    Now you can directly open Abaqus *.cae and *.odb files in Abaqus GUI, from within any directory with a double click.

    1. You may need to make changes in the lines starting with 'Exec=' and 'Icon=' in the above Desktop Entry file, according to your ABAQUS installation directory and graphics card.
      For example, the ABAQUS installation directory in the present example is '/opt/abaqus/abaqus614/' and the graphics card is an Intel integrated graphics.
    2. To make an Abaqus CAE launcher, create a Desktop Entry file (named 'AbaqusCAE.desktop') with the following contents and place it either in /usr/share/applications or in ~/.local/share/applications directory.
      [Desktop Entry]
      Exec=env XLIB_SKIP_ARGB_VISUALS=1 /bin/bash -c 'cd $HOME/Documents/ATmp && /opt/abaqus/abaqus614/6.14-1/code/bin/abq6141 cae'
      Comment=Launch the Abaqus CAE graphical user interface
      In the above, we assume that the scratch directory is located at ~/

    Last edited by sbnwl; September 11th, 2018 at 06:21 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts