Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docs.it4i.cz
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCS
docs.it4i.cz
Commits
f1f1b603
Commit
f1f1b603
authored
1 year ago
by
Jan Siwiec
Browse files
Options
Downloads
Plain Diff
Merge branch 'lumi-foam' into 'master'
Update 2 files See merge request
!461
parents
f97a0867
5bef0c66
Branches
Branches containing commit
No related tags found
1 merge request
!461
Update 2 files
Pipeline
#36530
passed with warnings
1 year ago
Stage: test
Stage: build
Stage: deploy
Stage: after_test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs.it4i/lumi/openfoam.md
+80
-0
80 additions, 0 deletions
docs.it4i/lumi/openfoam.md
mkdocs.yml
+1
-0
1 addition, 0 deletions
mkdocs.yml
with
81 additions
and
0 deletions
docs.it4i/lumi/openfoam.md
0 → 100644
+
80
−
0
View file @
f1f1b603
# OpenFoam
OpenFOAM is a free, open source CFD software package.
OpenFOAM has an extensive range of features to solve anything
from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.
## Install 32bit/64bit
!!! warning
There is a very small quota for maximum number of files on LUMI:
projappl (100K), scratch (2.0M), flash (1.0M) - check: `lumi-quota`.
```
#!/bin/bash
SCRATCH
=
"/pfs/lustre..."
cd
$SCRATCH
mkdir
-p
openfoam
cd
openfoam
export
EBU_USER_PREFIX
=
$PWD
/easybuild/lumi-c-23.09
module load LUMI/23.09 partition/container EasyBuild-user
#32bit - use eb file from this repository
#eb OpenFOAM-v2312-cpeGNU-23.09.eb -r
#64bit - use eb file from this repository
eb eb/OpenFOAM-v2312-64bit-cpeGNU-23.09.eb
-r
```
## Run 32bit/64bit
```
#!/bin/bash
SCRATCH
=
"/pfs/lustre..."
cd
$SCRATCH
/openfoam
export
EBU_USER_PREFIX
=
$PWD
/easybuild/lumi-c-23.09
module load LUMI/23.09 partition/container EasyBuild-user
ml OpenFOAM/v2312-cpeGNU-23.09-64bit
#32bit
#source $EBROOTOPENFOAM/etc/bashrc WM_COMPILER=Cray WM_MPLIB=CRAY-MPICH
#64bit
source
$EBROOTOPENFOAM
/etc/bashrc
WM_COMPILER
=
Cray
WM_MPLIB
=
CRAY-MPICH
WM_LABEL_SIZE
=
64
OPENFOAM_PROJECT
=
"/pfs/lustre..."
cd
$OPENFOAM_PROJECT
srun
-n
1 blockMesh
srun
-n
1 decomposePar
srun
-n
$SLURM_NTASKS
snappyHexMesh
-overwrite
-parallel
|
tee
log.snappy
srun
-n
$SLURM_NTASKS
createPatch
-overwrite
-parallel
|
tee
log.createPatch
srun
-n
$SLURM_NTASKS
transformPoints
-scale
'(0.01 0.01 0.01)'
-parallel
|
tee
log.transformPoint
srun
-n
$SLURM_NTASKS
renumberMesh
-overwrite
-parallel
|
tee
log.renum
srun
-n
$SLURM_NTASKS
pimpleFoam
-parallel
|
tee
log.pimpleFoam1
```
## License
OpenFOAM is the free, open source CFD software developed primarily by OpenCFD Ltd since 2004.
OpenCFD Ltd, owner of the OpenFOAM Trademark, is a wholly owned subsidiary of ESI Group.
ESI-OpenCFD produces the OpenFOAM® open source CFD toolbox and distributes freely
via
[
https://www.openfoam.com/
][
a
]
. OpenCFD Ltd was established in 2004 to coincide with
the release of its OpenFOAM software under general public license.
OpenFOAM is distributed under the GPL v3 license.
## References
-
Homepage:
[
http://www.openfoam.com/
][
a
]
[
a
]:
https://www.openfoam.com/
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
1
−
0
View file @
f1f1b603
...
@@ -304,6 +304,7 @@ nav:
...
@@ -304,6 +304,7 @@ nav:
-
About LUMI
:
lumi/about.md
-
About LUMI
:
lumi/about.md
-
LUMI Software
:
-
LUMI Software
:
-
General
:
lumi/software.md
-
General
:
lumi/software.md
-
OpenFoam
:
lumi/openfoam.md
-
PyTorch
:
lumi/pytorch.md
-
PyTorch
:
lumi/pytorch.md
-
LUMI Support
:
lumi/support.md
-
LUMI Support
:
lumi/support.md
-
Clouds
:
-
Clouds
:
...
...
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