0% found this document useful (0 votes)
253 views2 pages

Ansys V15 Linux Install

The document provides instructions for: 1. Installing and configuring Red Hat Enterprise Linux 6.4 as a desktop environment for running ANSYS, including installing additional libraries, updating packages, and configuring security settings. 2. Configuring the user's bash profile to include ANSYS paths and libraries for running simulations. 3. Setting up a directory structure and generating journal files to perform a system coupling simulation between ANSYS Fluent and ANSYS Mechanical using the ANSYS System Coupling tool.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
253 views2 pages

Ansys V15 Linux Install

The document provides instructions for: 1. Installing and configuring Red Hat Enterprise Linux 6.4 as a desktop environment for running ANSYS, including installing additional libraries, updating packages, and configuring security settings. 2. Configuring the user's bash profile to include ANSYS paths and libraries for running simulations. 3. Setting up a directory structure and generating journal files to perform a system coupling simulation between ANSYS Fluent and ANSYS Mechanical using the ANSYS System Coupling tool.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

I.

RHEL 6.4

Download and install RHEL 6.4 as a desktop


Set username to Nicholas to allow research license for university
Register redhat with wget command:
# wget -qO - https://rhnss.usyd.edu.au/pub/bootstrap/bootstrap_updates-only.sh | /bin/bash
Install additional libraries required by ANSYS, given in ansysPackages.sh (command is repeated below):
yum -y install libXp.x86_64 xorg-x11-fonts-cyrillic.noarch xterm.x86_64 openmotif.x86_64
compat-libstdc++-33.x86_64 libstdc++.x86_64 libstdc++.i686 gcc-c++.x86_64
compat-libstdc++-33.i686 libstdc++-devel.x86_64 libstdc++-devel.i686 compat-gcc-34.x86_64
gtk2.i686 libSM.i686 xorg-x11-fonts-ISO8859-1-75dpi.noarch
Update and upgrade RHEL with:
yum upgrade
yum install
Perform all security updates.
Run ANSYS install as root - note you will need to allow TCP: do this by altering /etc/gdm/custom.conf
[xdmcp]
Enable=true
[security]
DisallowTCP=false
AllowRemoteRoot=true
And then run init 3 and init 5 commands (must be done as root)
Must alter .bash profile in user home to include ansys paths and ld libraries:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
PATH=$PATH:/usr/ansys_inc/v150/Framework/bin/Linux64:/usr/ansys_inc/v150/aisol/lib/linx64:
/usr/ansys_inc/v150/commonfiles/MainWin/linx64/mw/lib-amd64_linux_optimized:
/usr/ansys_inc/v150/commonfiles/CPython/linx64/python/lib:
/usr/ansys_inc/v150/commonfiles/CPython/2_7_3/linx64/Release/python/lib:
/usr/ansys_inc/v150/ansys/bin:/usr/ansys_inc/v150/fluent/bin:
/usr/ansys_inc/v150/polyflow/polyflow15.0.0/lnamd64/libs/add_libs
export PATH

1 of 2
American Institute of Aeronautics and Astronautics

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/ansys_inc/v150/Framework/bin/Linux64:
/usr/ansys_inc/v150/commonfiles/MainWin/linx64/mw/lib-amd64_linux_optimized:
/usr/ansys_inc/v150/aisol/lib/linx64:/usr/ansys_inc/v150/commonfiles/CPython/linx64/python/lib:
/usr/ansys_inc/v150/commonfiles/CPython/2_7_3/linx64/Release/python/lib:
/usr/ansys_inc/v150/polyflow/polyflow15.0.0/lnamd64/libs/add_libs
export LD_LIBRARY_PATH
May also want to add ifup eth0 to the bash profile to connect to the internet automatically on startup.
Must add ansLib.conf to /etc/ld.conf.d/ folder to have ansys library dependencies resolved:
/usr/ansys_inc/v150/Framework/bin/Linux64:
/usr/ansys_inc/v150/commonfiles/MainWin/linx64/mw/lib-amd64_linux_optimized

Should be good to go!

II.

System Coupling Command Line Run

Set up directory structure with fluid, structural and coupling subdirectories (make sure fluid.cas is
copied into fluid sub-directory).
Generate fluent journal file for case and place in main coupling directory, something along the lines of:
file/start-transcript "Solution 1.trn"
file set-batch-options , yes ,
file/read-case/fluidFlow.cas
s i i
(sc-solve)
wcd FLUENTRestart.cas.gz
exit
ok
In coupling directory:
/ansys_inc/v150/aisol/.workbench -cmd ansys.services.systemcoupling.exe
-inputFile ../coupling.sci
Check the scServer file to extract port, host and solution order
In fluid directory:
/ansys_inc/v150/fluent/bin/fluent 3ddp -g -driver null -scport=xxxxx
-schost=pcd-14-139.aeromech.usyd.edu.au -scname=Solution 1
-i ../fluidFlow.jou > FLUENT.out
Note that after -g may not require -driver null
In structural directory:
/ansys_inc/v150/ansys/bin/ansys150 -b -scport xxxxx
-schost pcd-14-139.aeromech.usyd.edu.au
-scname "Solution" < ../structural.dat > ANSYS.out

2 of 2
American Institute of Aeronautics and Astronautics

You might also like