BwUniCluster2.0/Software/Ansys: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
No edit summary
 
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Softwarepage|cae/ansys}}
<!--{| align="right" {{Table|width=40%}} -->

{|{{Softwarebox}}
{| width=600px class="wikitable"
|-
|-
! Description !! Content
! colspan="2" style="text-align:center" | Name
|-
|-
| module load
| module load
| cae/ansys
| cae/ansys
|-
| Availability
| [[bwUniCluster]]
|-
|-
| License
| License
| Academic. See: [http://www.ansys.com/Academic/educator-tools/Licensing+&+Terms+of+Use Licensing and Terms-of-Use].
| academic
|-
| Citing
| [http://www.ansys.com/academic/educator-tools/ Citations]
|-
|-
<!--|Citing
|
|- -->
| Links
| Links
| [http://www.ansys.com/ Homepage]
| [http://www.ansys.com/ Ansys Homepage] &#124; [http://www.ansys.com/Academic/educator-tools/Support+Resources Support and Resources]
|-
|-
| Graphical Interface
| Graphical Interface
| Yes
| Yes
|-
<!--| User Forum
| -->
|}
|}


= Description =
= Description =
ANSYS is a general purpose software to simulate interactions of all disciplines of physics, structural, fluid dynamics, heat transfer, electromagnetic etc. For more information about ANSYS products please visit [http://www.ansys.com/Industries/Academic/ http://www.ansys.com/Industries/Academic/]
'''ANSYS''' is a general purpose software to simulate interactions of all disciplines of physics, structural, fluid dynamics, heat transfer, electromagnetic etc. For more information about ANSYS products please visit [http://www.ansys.com/Industries/Academic/ http://www.ansys.com/Industries/Academic/]
<br>
<br>
<br>
<br>


= Versions and Availability =
= Versions and Availability =
A list of versions currently available on all bwHPC-C5-Clusters can be obtained from the
<br>
<big>


[https://cis-hpc.uni-konstanz.de/prod.cis/ Cluster Information System CIS]

</big>
{{#widget:Iframe
|url=https://cis-hpc.uni-konstanz.de/prod.cis/bwUniCluster/cae/ansys
|width=99%
|height=350
|border=1
}}
<big><p style="color: red;">Open the above links by using the right mouse button and select "open in a new window" or "open in a new tab".</p></big>


<br>
On the command line interface of a particular bwHPC cluster a list of all available ANSYS versions can be inquired as followed
<pre>
$ module avail cae/ansys
-------------------------- /opt/bwhpc/kit/modulefiles --------------------------
cae/ansys/15.0

------------------------ /opt/bwhpc/common/modulefiles -------------------------
cae/ansys/15.0_bw
</pre>
</pre>
There are two licenses. The module <pre>cae/ansys/15.0_bw</pre> uses the BW license server (25 academic research, 69 parallel processes) and <pre>cae/ansys/15.0</pre> uses the KIT license server (only members of the KIT can use it).
The cae/ansys modules are using the KIT license server and are reserved for members of the KIT only.
<br>
<br>


= Usage =
= Usage =
== Loading the Module ==
If you wish to load a specific version of ANSYS you can do so by executing e.g.:
<pre>
$ module load cae/ansys/15.0_bw
</pre>
to load the version 15.0 with the BW license.

You can load the default version of ANSYS with the command:
<pre>
$ module load cae/ansys
</pre>

== Start commands ==
To start an ANSYS Mechanical session enter
<pre>
$ ansys150
</pre>
To launch an ANSYS FLUENT session enter
<pre>
$ fluent
</pre>
The following command is to run the ANSYS Workbench
<pre>
$ runwb2
</pre>
Online documention is available from the help menu or by using the command
<pre>
$ anshelp150
</pre>
As with all processes that require more than a few minutes to run, non-trivial ANSYS solver jobs must be submitted to the cluster queueing system.
<br>

= Examples =
== ANSYS Mechanical batch jobs ==

The following script could be submitted to the queueing system to run an ANSYS Mechanical job in parallel:
{{bwFrameA|
<source lang="bash">
#!/bin/bash
module load cae/ansys
export MPIRUN_OPTIONS="-prot"
export MPI_USESRUN=1
cd Arbeitsverzeichnis
export MACHINES=`/software/bwhpc/common/cae/ansys_inc150/scc/machines.pl`
ansys150 -dis -b -j lal -machines $MACHINES < input.f18
</source>
}}

working_dir could start with $HOME or $WORK .

To submit the example script to the queueing system execute the following (32 cores, 1 GB of memory per core, max. time 600 seconds) :
<pre>
msub -l nodes=2:ppn=16,pmem=1000mb,walltime=600 Shell-Script
</pre>

== ANSYS Fluent batch jobs ==
== ANSYS Fluent batch jobs ==
see http://www.scc.kit.edu/produkte/6724.php > "Kurzanleitung" > "#FLUENT-Aufruf_auf_den_Linux-Clustern_des_SCC"
The following script "run_fluent.sh" could be submitted to the queueing system to run an ANSYS Fluent job in parallel using 4 cores on a single node:
{{bwFrameA|
<source lang="bash">
#!/bin/sh
#MSUB -l nodes=1:ppn=4
#MSUB -l walltime=0:10:00
#MSUB -l mem=16000mb

## setup environment
export MPI_USESRUN=1

## generate hosts list
export run_nodes=$(srun hostname)
echo $run_nodes | sed "s/ /\n/g" > fluent.hosts
echo "" >> fluent.hosts

## load ansys module
module load cae/ansys

## start fluent job
time fluent 3d -rsh=ssh -g -pib -cnf=fluent.hosts -i test.inp
</source>
}}
To submit the example script to the queueing system execute the following:
<pre>
$ msub run_fluent.sh
</pre>
<br>


== ANSYS CFX batch jobs ==
== ANSYS CFX batch jobs ==
see http://www.scc.kit.edu/produkte/3852.php > "Kurzanleitung" > "#CFX_auf_den_Linux-Clustern_des_SCC"
With the script "run_cfx.sh" you can submit a CFX job to the queueing system to run in parallel using 8 cores on two node with the start-method 'Platform MPI Parallel':
{{bwFrameA|
<source lang="bash">
#!/bin/sh
#MSUB -l nodes=2:ppn=4
#MSUB -l walltime=0:10:00
#MSUB -l mem=32000mb

## setup environment
export MPI_USESRUN=1

## load ansys module
module load cae/ansys

## start job
cfx5solve -def test.def -part 8 -start-method 'Platform MPI Parallel'
</source>
}}
To submit the example script to the queueing system execute:
<pre>
$ msub run_cfx.sh
</pre>
<br>

----
[[Category:Engineering software]][[Category:bwUniCluster]]

Latest revision as of 14:22, 14 March 2023

The main documentation is available via module help cae/ansys on the cluster. Most software modules for applications provide working example batch scripts.


Description Content
module load cae/ansys
License Academic. See: Licensing and Terms-of-Use.
Citing Citations
Links Ansys Homepage | Support and Resources
Graphical Interface Yes

Description

ANSYS is a general purpose software to simulate interactions of all disciplines of physics, structural, fluid dynamics, heat transfer, electromagnetic etc. For more information about ANSYS products please visit http://www.ansys.com/Industries/Academic/

Versions and Availability

The cae/ansys modules are using the KIT license server and are reserved for members of the KIT only.

Usage

ANSYS Fluent batch jobs

see http://www.scc.kit.edu/produkte/6724.php > "Kurzanleitung" > "#FLUENT-Aufruf_auf_den_Linux-Clustern_des_SCC"

ANSYS CFX batch jobs

see http://www.scc.kit.edu/produkte/3852.php > "Kurzanleitung" > "#CFX_auf_den_Linux-Clustern_des_SCC"