Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
17dde5ca
Commit
17dde5ca
authored
3 years ago
by
Jan Frenzel
Committed by
Loc Nguyen Dang Duc
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 12 suggestion(s) to 1 file(s)
parent
7feb142f
No related branches found
No related tags found
3 merge requests
!322
Merge preview into main
,
!319
Merge preview into main
,
!248
review cfd.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/cfd.md
+14
-14
14 additions, 14 deletions
doc.zih.tu-dresden.de/docs/software/cfd.md
with
14 additions
and
14 deletions
doc.zih.tu-dresden.de/docs/software/cfd.md
+
14
−
14
View file @
17dde5ca
...
...
@@ -33,20 +33,20 @@ Example for OpenFOAM job script:
#SBATCH --time=12:00:00 # walltime
#SBATCH --ntasks=60 # number of processor cores (i.e. tasks)
#SBATCH --mem-per-cpu=500M # memory per CPU core
#SBATCH -
J "Test"
# job name
#SBATCH --mail-user=m
ustermann
@tu-dresden.de # email address (only tu-dresden)
#SBATCH -
job-name="Test"
# job name
#SBATCH --mail-user=m
arie
@tu-dresden.de # email address (only tu-dresden)
#SBATCH --mail-type=ALL
OUTFILE
=
"Output"
module load OpenFOAM
source
$FOAM_BASH
cd
/scratch/
<YOURUSERNAME>
# work directory
in /scratch...!
cd
/scratch/
ws/1/marie-example-workspace
# work directory
using workspace
srun pimpleFoam
-parallel
>
"
$OUTFILE
"
```
## Ansys CFX
Ansys CFX is a powerful finite-volume-based program package for model
l
ing general fluid flow in
Ansys CFX is a powerful finite-volume-based program package for modeling general fluid flow in
complex geometries. The main components of the CFX package are the flow solver cfx5solve, the
geometry and mesh generator cfx5pre, and the post-processor cfx5post.
...
...
@@ -57,24 +57,24 @@ Example for CFX job script:
#SBATCH --time=12:00 # walltime
#SBATCH --ntasks=4 # number of processor cores (i.e. tasks)
#SBATCH --mem-per-cpu=1900M # memory per CPU core
#SBATCH --mail-user=
.......
@tu-dresden.de # email address (only tu-dresden)
#SBATCH --mail-user=
marie
@tu-dresden.de
# email address (only tu-dresden)
#SBATCH --mail-type=ALL
module load ANSYS
cd
/scratch/
<YOURUSERNAME>
# work directory
in /scratch...!
cd
/scratch/
ws/1/marie-example-workspace
# work directory
using workspace
cfx-parallel.sh
-double
-def
StaticMixer.def
```
## Ansys Fluent
Fluent need the hostnames and can be run in parallel like this:
Fluent need
s
the host
names and can be run in parallel like this:
```
bash
#!/bin/bash
#SBATCH --time=12:00 # walltime
#SBATCH --ntasks=4 # number of processor cores (i.e. tasks)
#SBATCH --mem-per-cpu=1900M # memory per CPU core
#SBATCH --mail-user=
.......
@tu-dresden.de # email address (only tu-dresden)
#SBATCH --mail-user=
marie
@tu-dresden.de
# email address (only tu-dresden)
#SBATCH --mail-type=ALL
module load ANSYS
...
...
@@ -83,28 +83,28 @@ nodeset -e $SLURM_JOB_NODELIST | xargs -n1 > hostsfile_job_$SLURM_JOBID.txt
fluent 2ddp
-t
$SLURM_NTASKS
-g
-mpi
=
intel
-pinfiniband
-cnf
=
hostsfile_job_
$SLURM_JOBID
.txt < input.in
```
To use fluent interactive, please try:
To use fluent interactive
ly
, please try:
```
console
marie@login$
module load ANSYS/19.2
marie@login$
srun
-
N
1
--cpus-per-task
=
4
--time
=
1:00:00
--pty
--x11
=
first bash
marie@login$
srun
-
-nodes
=
1
--cpus-per-task
=
4
--time
=
1:00:00
--pty
--x11
=
first bash
marie@login$
fluent &
```
## STAR-CCM+
Note: you have to use your own license in order to run STAR-CCM+ on
Tauru
s, so you have to specify
Note: you have to use your own license in order to run STAR-CCM+ on
ZIH system
s, so you have to specify
the parameters
`-licpath`
and
`-podkey`
, see the example below.
Our installation provides a script
`create_rankfile -f CCM`
that generates a hostlist from the
SLURM
job environment that can be passed to starccm+, enabling it to run across multiple nodes.
Our installation provides a script
`create_rankfile -f CCM`
that generates a host
list from the
Slurm
job environment that can be passed to
`
starccm+
`
, enabling it to run across multiple nodes.
```
bash
#!/bin/bash
#SBATCH --time=12:00 # walltime
#SBATCH --ntasks=32 # number of processor cores (i.e. tasks)
#SBATCH --mem-per-cpu=2500M # memory per CPU core
#SBATCH --mail-user=
.......
@tu-dresden.de # email address (only tu-dresden)
#SBATCH --mail-user=
marie
@tu-dresden.de
# email address (only tu-dresden)
#SBATCH --mail-type=ALL
module load STAR-CCM+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment