Introduction to ZNTutor-CFD
-
Upload
george-mathew-thekkekara -
Category
Engineering
-
view
114 -
download
2
Transcript of Introduction to ZNTutor-CFD
© Z
eus N
um
erix
Defense | Nuclear Power | Aerospace | Infrastructure | Industry
CFD tool for learning the basics of CFD
Abhishek [email protected]
ZNTutor-CFD: An Introduction
© Z
eus N
um
erix
Overview of Presentation
Philosophy
Wizard mode
1D Shock tube problem
Converging-Diverging Nozzle
Interactive mode
Flow over a ramp
Analysis
2
© Z
eus N
um
erix
Philosophy
ZNTutor-CFD™ is aimed at introducing students and beginner engineers to CFD
It serves as a virtual fluid mechanics lab
The purpose is to give a feel of CFD but not solving industrial problems
It takes you through the whole CFD process
3
© Z
eus N
um
erix
The Two Modes
Wizard Mode
Pre-defined problems from fluid mechanics text books
Problems can be solved in few minutes
At all steps guidance is given to the user
Interactive Mode
Learn to define a problem
Make new geometries for simulation
Inbuilt geometric modeler and post-processor
4
© Z
eus N
um
erix
WIZARD MODE
Functioning of wizard mode
5
© Z
eus N
um
erix
6
Wizard Mode: GUI
Menu Bar
Problem stage
Problem selection
Commands and feedback line
© Z
eus N
um
erix
1D Shock Tube Problem
Shock tube problem is defined as sudden change of properties in space
Define Numerical Schemes – to inform participants about the merits and demerits of each scheme
Select Solver Control – define the domain, CFL, time step
Define Initial Condition – Physical properties like pressure, density, velocity
View Solution – shows the actual solution in red and the simulation result in green
7
© Z
eus N
um
erix
GUI
8
© Z
eus N
um
erix
Result: Analytical & Computed
9
© Z
eus N
um
erix
2D WIZARD
Example problem in 2D wizard
10
© Z
eus N
um
erix
The 2D Wizard
11
© Z
eus N
um
erix
The 2D Wizard
Define problem – choose from a list of problems
Define geometry – the menu gives a description of geometry and in some cases parameters can be changed
Define grid – problems give choice of structured and unstructured grid
Select solver control – choose solution algorithm, accuracy etc
Define flow condition – supply the flow conditions at which the problem is to be solved
View solution – choose initial conditions, number of iterations, time marching etc
12
© Z
eus N
um
erix
Final Grid
13
© Z
eus N
um
erix
Solution
14
© Z
eus N
um
erix
INTERACTIVE MODE
To define and solve a problem in interactive mode
15
© Z
eus N
um
erix
Problem Definition
Problem definition has to be thought of by user and then appropriate tools must be chosen to create geometry
Here we chose flow over an inclined ramp
Figure show the problem statement
Expected an oblique shock on the ramp
16
Supersonic inflow
Outflow
1 m
0.3 m
0.5 m
0.04 m
0.36 m
© Z
eus N
um
erix
Creation of Topology & Grid
17
Create a domain
Menu Grid2D Structured Create Init Block
Input X = 1.0 and Y=0.4
Divide the block in three parts
Grid2D Structured Create Input Values
Input – X = 0.5, Y=0.1
Input – X = 0.3, Y=0.2
© Z
eus N
um
erix
Complete Geometry
We can complete the geometry the moving the two vertex in bottom right upward
Select the vertex to move up
Use Grid 2D Structured Edit Edit Operation
Input X = 0, Y=0.04, Z=0
Select other vertex and repeat the same
18
Grid generated
© Z
eus N
um
erix
BCs and Clustering
Clustering means to increase the density in a location where the gradients are supposed to be high
Use Grid2D Structured Clustering All Blocks
Input: One side, 17 points, 0.4%
Boundary conditions
Select leftmost edge and assign inflow
Boundary Condition Define as Inflow
Similarly define rightmost edge as outflow
19
© Z
eus N
um
erix
Simulation
20
© Z
eus N
um
erix
Simulation
Fluid Model
Compressible flow; 2nd order accurate in space
Flow Conditions
Freestream Mach – 3.0, pressure and temperature
Execution Setup
Time marching – LOCAL – Every cell marches with own speed; CFL number
Desired residue fall for convergence; Number of iterations for convergence and display after every iteration
21
© Z
eus N
um
erix
Result
22
© Z
eus N
um
erix
Analysis
We measure the ramp angle – 11.3 degree
Shock angle obtained ~ 28 degree
Theoretical angle – 28.5 degree
Good matching between theoretical and experiment
23
Ref: Jet propulsion laboratory
© Z
eus N
um
erix
Thank You!
3 November 2014 24
© Z
eus N
um
erix
Questions?