Difference between revisions of "Step 1"

From CFD Benchmark
Jump to: navigation, search
(Notes)
(References)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Step 1 Description =
 
= Step 1 Description =
  
The 2-D TGV test case has been already well documented in the scientific literature, e.g. <ref name="abelsamie2016"/><ref name="Laizet2009"/>.
+
The '''2-D TGV''' test case has been already well documented in the scientific literature, e.g. <ref name="abelsamie2016"/><ref name="Laizet2009"/>.
 
Therefore, only a brief description is given here.  
 
Therefore, only a brief description is given here.  
 
This configuration is used as verification step, since an analytic solution exists<ref name="Taylor1937"/>.
 
This configuration is used as verification step, since an analytic solution exists<ref name="Taylor1937"/>.
  
An incompressible flow with constant density and viscosity is simulated.
+
An '''incompressible flow''' with constant density and viscosity is simulated.
  
 
The fluid is contained in a square box of dimension <math>[0;L]^2</math> with periodic boundary conditions in both directions.
 
The fluid is contained in a square box of dimension <math>[0;L]^2</math> with periodic boundary conditions in both directions.
Line 21: Line 21:
  
 
with <math>u_0 = 1 \; \mathrm{m/s}</math>.
 
with <math>u_0 = 1 \; \mathrm{m/s}</math>.
The flow is thus initially composed of four vortices, one in each quarter of the box.
+
 
The vortex turnover time is defined as <math>\tau_\mathrm{ref} = L_0/u_0 = 1\;\mathrm{s}</math>.
+
The flow is thus initially composed of '''four vortices''', one in each quarter of the box.
 +
The vortex '''turnover time''' is defined as <math>\tau_\mathrm{ref} = L_0/u_0 = 1\;\mathrm{s}</math>.
 
For non-dimensional codes, the relevant parameter for this simulation is the vortex Reynolds number, <math>Re=u_0 L_0/\nu = 1,600</math> in the present setup.  
 
For non-dimensional codes, the relevant parameter for this simulation is the vortex Reynolds number, <math>Re=u_0 L_0/\nu = 1,600</math> in the present setup.  
 
It should be noted that the theoretical solution is only stable for sufficiently small Reynolds numbers, explaining why the particular value <math>Re=1,600</math> has been chosen here, as done in many previous studies using the TGV configuration.
 
It should be noted that the theoretical solution is only stable for sufficiently small Reynolds numbers, explaining why the particular value <math>Re=1,600</math> has been chosen here, as done in many previous studies using the TGV configuration.
Line 35: Line 36:
 
v(x,y,t) = v(x,y,0) \times \mathrm{e}^{-2\nu t/L_0^2} = v(x,y,0) \times \mathrm{e}^{-2 \, (t/\tau_{\mathrm{ref}}) / \mathrm{Re}} \,.
 
v(x,y,t) = v(x,y,0) \times \mathrm{e}^{-2\nu t/L_0^2} = v(x,y,0) \times \mathrm{e}^{-2 \, (t/\tau_{\mathrm{ref}}) / \mathrm{Re}} \,.
 
</math>
 
</math>
 +
 +
[[File:vx_t2.png|250px|alt text]]
 +
[[File:vy_t2.png|250px|alt text]]
 +
[[File:wz_t2.png|250px|alt text]]
 +
  
 
All physical conditions are now completely defined and only numerical parameters remain to be set.
 
All physical conditions are now completely defined and only numerical parameters remain to be set.
Line 43: Line 49:
  
 
This step should clearly not be a big issue for any code.
 
This step should clearly not be a big issue for any code.
However, it is a good way to verify the orders of convergence (both in space and time), to check any stability issues, to measure the influence of the convergence criteria of iterative solvers (if any), etc...
+
However, it is a good way to verify the orders of '''convergence''' (both in space and time), to check any '''stability issues''', to measure the influence of the convergence criteria of iterative solvers (if any), etc...
  
 
= References =
 
= References =
 +
 
<references>
 
<references>
 
<ref name="abelsamie2016">
 
<ref name="abelsamie2016">

Latest revision as of 14:41, 25 August 2020

Step 1 Description

The 2-D TGV test case has been already well documented in the scientific literature, e.g. [1][2]. Therefore, only a brief description is given here. This configuration is used as verification step, since an analytic solution exists[3].

An incompressible flow with constant density and viscosity is simulated.

The fluid is contained in a square box of dimension with periodic boundary conditions in both directions. The value with has been arbitrarily chosen in the present benchmark for dimensional codes. The numerical value for the kinematic viscosity is chosen as to get suitable conditions, as discussed below. The initial velocity components are prescribed as follows:

with .

The flow is thus initially composed of four vortices, one in each quarter of the box. The vortex turnover time is defined as . For non-dimensional codes, the relevant parameter for this simulation is the vortex Reynolds number, in the present setup. It should be noted that the theoretical solution is only stable for sufficiently small Reynolds numbers, explaining why the particular value has been chosen here, as done in many previous studies using the TGV configuration.

A major interest of this test-case is that an analytical solution has been derived for such conditions[3]:

alt text alt text alt text


All physical conditions are now completely defined and only numerical parameters remain to be set. Based on previously published studies, the recommended parameters for time and space discretization are and grid points in each direction. The flow must be simulated for a physical time of .

Aside suggestions

This step should clearly not be a big issue for any code. However, it is a good way to verify the orders of convergence (both in space and time), to check any stability issues, to measure the influence of the convergence criteria of iterative solvers (if any), etc...

References

  1. A. Abdelsamie, G. Fru, F. Dietzsch, G. Janiga, D. Thévenin, Towards direct numerical simulations of low-Mach number turbulent reacting and two-phase flows using immersed boundaries, Comput. Fluids 131(5):123--141, 2016, Bibtex
    Author : A. Abdelsamie, G. Fru, F. Dietzsch, G. Janiga, D. Thévenin
    Title : Towards direct numerical simulations of low-Mach number turbulent reacting and two-phase flows using immersed boundaries
    In : Comput. Fluids -
    Address :
    Date : 2016
  2. S. Laizet, E. Lamballais, High-order compact schemes for incompressible flows: A simple and efficient method with quasi-spectral accuracy, J. Comput. Phys. 228:5989--6015, 2009, Bibtex
    Author : S. Laizet, E. Lamballais
    Title : High-order compact schemes for incompressible flows: A simple and efficient method with quasi-spectral accuracy
    In : J. Comput. Phys. -
    Address :
    Date : 2009
  3. 3.0 3.1 G.I. Taylor, A.E. Green, Mechanism of the production of small eddies from large ones, Proc. Royal Soc. A 158:499--521, 1937, Bibtex
    Author : G.I. Taylor, A.E. Green
    Title : Mechanism of the production of small eddies from large ones
    In : Proc. Royal Soc. A -
    Address :
    Date : 1937