CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Ansys 18.2 on Linux Mint 18.3 - HowTo

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By Simbelmynė
  • 1 Post By Simbelmynė

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2018, 07:21
Default Ansys 18.2 on Linux Mint 18.3 - HowTo
  #1
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 552
Rep Power: 16
Simbelmynė is on a distinguished road
Hi,

So after some searching (mainly on this forum) I managed to get a working installation of ANSYS Workbench + Fluent on Linux Mint 18.3. I put down my steps here in case someone else wish to try a Debian based distro.

1. Install the ANSYS package.
2. Make sure you have mesa-utils and rpm installed
3. Do some exports:

Code:
export LD_LIBRARY_PATH=/usr/ansys_inc/v182/Framework/bin/Linux64/Mesa:$LD_LIBRARY_PATH
export FLUENT_ARCH="lnamd64"
4. Create symbolic links:
First find the paths:
Code:
locate libGL.so 
locate libc.so
Then create the links (change paths accordingly)
Code:
sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1
sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6
5. Make sure that the user has full rights to the .ansys folder:

Code:
cd ~
sudo chown -R username:username .ansys
6. Change the command interpreter for shell scripts:

Code:
sudo dpkg-reconfigure dash
Then answer "No" to the question.
alligngr8 and M.W.G. like this.
Simbelmynė is offline   Reply With Quote

Old   January 9, 2020, 08:47
Default
  #2
Senior Member
 
Simbelmynė's Avatar
 
Join Date: May 2012
Posts: 552
Rep Power: 16
Simbelmynė is on a distinguished road
**Since it has passed too long time to edit this post I just add some more information here. It may be of value to someone**

If you do not wish to change your default shell to bash (step 6 above), then you can also modify the fluent shell scripts


There are two files that you need to edit (change version to the appropriate one if you are not using version 18.2).


Code:
/usr/ansys_inc/v182/fluent/bin/fluent
and


Code:
/usr/ansys_inc/v182/fluent/fluent18.3.0/bin/fluent
Change the top line in both files to the following

Code:
#!/bin/bash
Now you will use bash for fluent without changing your default shell.
M.W.G. likes this.
Simbelmynė is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 18:07
ANSYS to Linux mechanicaldesign ANSYS 44 December 12, 2013 22:41
ansys 11 under linux 64 bit mbn86 ANSYS 4 November 29, 2011 06:03
How can I start the ANSYS 12 workbench in LINUX Ardisia ANSYS 3 September 7, 2010 01:19


All times are GMT -4. The time now is 07:57.