ansys v15 linux install

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

Upload: nicholas-giannelis

Post on 17-Dec-2015

55 views

Category:

Documents


4 download

DESCRIPTION

Manual to install Ansys v15 on redhat

TRANSCRIPT

  • 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 iscopied 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