CFD Flashcards
what the coupling between two phases can be
Dilute systems:
1 way coupling if the continuous phase affect the dispersed
2 way if also the dispersed phase affect the continuous one
Dense systems:
4 way if the dispersed phase interact with itself (when alpha_p>1e-3
how to evaluate phase coupling
with the particle response time
tau_v = rho_dd^2/(18mu_c)
tau_f = L_c/U_c
stokes = tau_v/tau_f
St«1 : 1 way coupling
St»1 : 2 way coupling
What is the geometry of a finite volume?
Each cell store the value of the quantity at cell centroid P
Faces and face center are called f
vector between centroid is d
d intersection with face f is f_i
Pf is the vector from P to face center f
S_f is the normal from face center f and his magnitude is the area of the face
if d ==S_f the mesh is orthogonal
transport equation
unsteady + convective = diffusion + source
look on notes for form
I use gauss on the convective and diffusion
I average convective, diffusion and source terms
How does the code solve the trasport equations and how does it calculate the values at the interface?
To get the value at faces I can use linear approximation, upwind of first or second order, quick or other methods.
If mesh is not ortogonal the solver will deal with it somehow (each solver is different on that)
At this point I discretize in space and time and build a matrix for each cell that will solve for the desired values.
The more ortogonal the mesh, the more diagonally dominated the matrix will be, the faster the solver would be
mesh types
in 2d: triangular, quadrilateral or polygonal
in 3d: thetraedral, pyramidal, prismatic, hexahedral, polyhedral
Structured vs unstructured mesh
Structured mesh are:
- vertical and horizontal lines crosses one time
- for simple geometry
- faster to build
- slower to get same accuracy as unstructured for same number of cell
- diagonal dominate matrix
Unstructred mesh are:
- for complicated geometries
- can change dimension in different part of the domain
- slower to build
- better accuracy
- sparse matrix
hexahedral vs thetahedral
Hexahedral (cubes):
- fewer elements
- faster
- more accurate
- naturally isotropic
- better for boundary layers
Thetahedral:
- better for complex geometries
- better mesh quality
- can connect smoothly different cell size
CFD vs FEA
CFD needs a boundary layer and a cell refinement towards the obstacles
skewness
Sk = max(sigma_max-sigma_e/(180-sigma_e), sigma_e-sigma_min/sigma_e)
sigma_e = 60° for triangles; 90° for quadrilateral
for triangles and thetahedrons:
Sk = optimal.cell.size-cell.size/optimal.cell.size
where the optimal is the inscribed in the same circunference
Sk = 0: GOOD
Sk = 1: BAD
Aspect ratio
for triangles and thetahedrons:
AR = f*(R/r)
f = 1/2(triangle) ; 1/3(thetahedron)
R = circumscribed circumference
r = inscirbed circunference
for squares and hexahedrons:
AR = max(e1, e2, …, en)/min(e1, e2, …, en)
e1 = (a+c)/2 ; e2 = (b+d)/2, …
n = 2 (2D) ; 3 (3D)
Ortogonal quality
for each phase is calculated:
-PfSf/(abs(Pf)abs(Sf))
-Sfd/(abs(Sf)abs(d))
OQ = min(previous value for each face)
OQ = 1: GOOD
OQ = 0 : BAD
Size ratio
SR = (dx_max/dx_min - 1) %
where dx are the length of 2 adiacent cells in the same direction.
SR should be lower than 20%
kolmogorv theory
It’s based on the creration of energy at big eddy scale and dissipation at small eddy scale.
Hp of local isotropy: for high Re, the small scale is statistically isotropic
1 Hp of similarity: for high Re, small scale is described by nu and eps.
2 Hp of similarity: for high Re, intermediate scale is described by eps.
Energy at wavelenght k is E(k) = Ceps^(2/3)k^(-5/3)
Reynolds stress
It emerges in momentum equation when substituing the velocity with the average plus fluctutation.
tau_ij = - avg(u_iu_jrho)
It introduce 6 unkonwn that needs to be modeled.
Baussinesq hp says that they are proportional to mu_t velocity gradient + k, where mu_t = Costrhok^2/eps is the turbulent viscosity and k = 0.5(avg(x’^2)+avg(y’ì2)+avg(z’^2)) is the turbulent kinetic energy per unit mass