fluidicpc

Public

@radiolok

Share fluidicpc

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

Openfoam preparations:

Install openfoam on Linux, or WSL full instruction

# Add the repository
curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash

# Install preferred package. Eg,
sudo apt-get install openfoam2206-default

# Use the openfoam shell session. Eg,
openfoam2206

ST41 openmpi benchmark

  1. init env variables. Your openFoam installation might be differen

source /opt/OpenFoam_v2206/etc/bashrc
  1. Prepare repo data
git clone https://github.com/radiolok/fluidicpc
cd fluidicpc/bench/st41_50u/meshCase
./Allmesh # run mesh preparation
cd ../case/
  1. Prepare data for openMPI - set slots=CPUnum in your system
vim hostfile

127.0.0.1 slots=16
  1. Set number of threads for current run
vim system/decomposeParDict

numberOfSubdomains  16;// <= change value in this line

  1. Run simulation fo 50 iterations:
./Allrun
Time = 50

smoothSolver:  Solving for Ux, Initial residual = 0.016608048, Final residual = 0.0014078031, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.0078743367, Final residual = 0.00052424984, No Iterations 1
smoothSolver:  Solving for Uz, Initial residual = 0.062228509, Final residual = 0.0056502976, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.074983923, Final residual = 0.00061506252, No Iterations 3
GAMG:  Solving for p, Initial residual = 0.001528043, Final residual = 9.3656366e-06, No Iterations 12
GAMG:  Solving for p, Initial residual = 0.00021100964, Final residual = 1.4637146e-06, No Iterations 7
GAMG:  Solving for p, Initial residual = 3.1508808e-05, Final residual = 2.0603363e-07, No Iterations 7
GAMG:  Solving for p, Initial residual = 7.9916881e-06, Final residual = 6.9259462e-08, No Iterations 4
GAMG:  Solving for p, Initial residual = 2.0248575e-06, Final residual = 1.8799949e-08, No Iterations 4
time step continuity errors : sum local = 0.00031827139, global = 4.4203807e-06, cumulative = -0.0019786412
smoothSolver:  Solving for omega, Initial residual = 0.0088505726, Final residual = 0.00054960281, No Iterations 3
smoothSolver:  Solving for k, Initial residual = 0.034761292, Final residual = 0.0020115187, No Iterations 3
ExecutionTime = 699.06 s  ClockTime = 699 s <<<=== 699s for current test

End

Finalising parallel run

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.