MAIA bb96820c
Multiphysics at AIA
|
Welcome to the 4th part of the tutorial. In this part, you'll learn the theory behind the finite volume (FV) part of the code and how to use it yourself.
See Theory & Implementation Finite Volume (FV) (old).
./configure.py gnu production
FV 3D_cyl_fan
To begin with, we will run a normal FV case and change some of its numerical value to show what we can influence. In this case, a stream flows into a 3D cylinder with a 45-degree angle of rotation around the z-axis which imitates a fan. The flow around one of the pylons Mach speed 0.1 and Re 50000 is simulated.
Download the test case setup files, and create a soft link to the solver executable:
On AIA cluster, obtain an interactive sussion, then generate the grid and run simulation:
Note: For better visualization of the geometry, set outputFormat="VTU"
in properties_run.toml.
In an additional local terminal, run ParaView for post-processing:
Styling/Opacity = 0.3
.Seed Type = Point Source
, Sphere Center = [50, 185, 215]
, Sphere Radius = 5
, and cancell Show Sphere. Press apply and color the stream lines with velocity magnitude.Only one output file and pretty early (10 timesteps). Sadly not much to see... so let's continue!
cp properties_run.toml properties_restart.toml
restartFile = true
, restartTimeStep = 10
and timeSteps = 200
.rm out/QOUT* out/GEOM*
mpirun -np 12 ./maia properties_restart.toml
play
, we can see the change in the streamlines from time step 10 until time step 210. At later timesteps, flow separation after the cylinder can be observed.Now the simulated flow visualization is good, let's change the physics and numeric of the simulation.
# PHYSICS
and # NUMERICS
part.