Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/Software/Available_Applications/ANSYS.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Below is an example of this from a fluent script.
#SBATCH --mem 512MB # Memory per node
#SBATCH --array 1-100

module purge
module load ANSYS/{{app.default}}

JOURNAL_FILE=fluent_${SLURM_JOB_ID}.in
Expand Down Expand Up @@ -401,8 +402,10 @@ solution specify as relative path, or unload compiled lib before saving
#SBATCH --ntasks 36 # Number processes
#SBATCH --mem-per-cpu 512MB # Standard for large partition

module purge
module load ANSYS/{{ applications.ANSYS.default }}
input="/share/test/ansys/mechanical/structural.dat"

cfx5solve -batch -def "${input}" -part ${SLURM_NTASKS}
```

Expand Down Expand Up @@ -441,6 +444,7 @@ xvfb-run cfx5post input.cse
#SBATCH --time 00:05:00 # Walltime
#SBATCH --mem 1500M # total mem

module purge
module load ANSYS/{{ applications.ANSYS.default }}

input=${ANSYS_ROOT}/ansys/data/verif/vm263.dat
Expand Down Expand Up @@ -539,6 +543,7 @@ Input files are typically LS-DYNA keyword decks such as `.k` files.
#SBATCH --cpus-per-task 16 # Number of CPUs to use
#SBATCH --mem-per-cpu 1G # Memory per cpu

module purge
module load ANSYS/{{ applications.ANSYS.default }}
lsdyna i=myinput.k NCPUS=$SLURM_CPUS_PER_TASK MEMORY2=1G
```
Expand Down
Loading