Documente Academic
Documente Profesional
Documente Cultură
solution accuracy
Potential problems
Volume ratio Negative
Introduces artificial, non- Jacobian/volume
physical boundaries
Flattened cells
Inconsistent interpolation
errors can be problematic Extreme aspect ratios
Particularly troublesome Not point-matched
for LES (due to sub-grid
scale modeling)
Test case: Advection only (2D)
v
Test case: Details
ScalarTransportFoam
, with constant
Square domain
200 x 200 edge points (typ.)
Uniform velocity,
Tanh temperature profile applied on Inlet BC
E-folding length 20 cells*
Diffusion disabled ( )
Rotate about center of domain
Test effects of flow-alignment
Analytic solution
Solution across domain should match inlet temperature profile
Can compute Error,
* At this resolution,
cell interpolation error
0.03%.
Test case: Details
ddtSchemes deltaT chosen to keep
{
Co < 1
default Euler;
}
endTime set at > 20
... crossing times
divSchemes
{ Tried many different
default none; schemes
div(phi,T) Gauss limitedLinear 1;
}
All cases used schemes
... listed (unless specified)
interpolationSchemes
{ Advanced schemes?
default linear;
}
Just a baseline
Overview
Types of grid-induced errors
Flow alignment effects
Skewness effects
Grid type comparison
Baseline case
Cubic cells, aligned with the flow
Structured, = 20
Cubic cells
Structured rotation
Error propagation
Mixing process
Stretched cells
Sheared hexes
Stretched cells, = 20
Sheared hexes
Stretched cells, = 90
Sheared hexes
Stretched cells, = -20
Sheared hexes
Stretched cells, = -30
Sheared hexes
Stretched cells, = -60
Sheared hexes
Scan in rotation angle
Trig class
Perhaps easiest to see
with 20 case 0
Minimum errors occur when:
1. Adjacent cell-centers are
flow aligned
2. Diagonal cell-centers are -15
flow aligned
a. = -14.94
b. = -29.78
-20
Flow-averaged spacing of
cell centers across gradient
is effectively reduced when
corners are co-linear with -30
flow
Error is averaged out (no
mixing) due to lack of
stream-wise gradients
Overview
Types of grid-induced errors
Flow alignment effects
Skewness effects
Grid type comparison
Isolated skewness
Also:
Unstructured comparison