Outils pour utilisateurs

Outils du site


sunfluidh:2d_channel_flow_with_heated_bar_incomp_flow

Ceci est une ancienne révision du document !


Click here to come back to the previous page

===========================================================================
===========================================================================
            MAIN INPUT DATA FILE : 2D CHANNEL FLOW WITH A SQUARE BAR (OBSTACLE)
                                   INCOMPRESSIBLE FLOW
                                   HEATED SQUARE BAR  AT TEMPERATURE Th = 2.Tc
                                   OTHER WALLS AT Tc
                                   TEMPERATURE OF THE INFLOW : Tc
                                   GRAVITY & BUOYANCY ARE NEGLECTED

            DIMENSIONLESS LAYOUT :

                 Length scale     : h (the channel height)
                 Reynolds number    Re_h= rho_0.U_0.h/nu= 100

                 dimensionless quantities :
                   velocity U*      = U/U_0
                   temperature T*= T/T0     with T0= Tc ---> Tc*= 1 and Th*= 2
                   kinetic viscosity= 1/Re_h

                 dimensionless domain : Lx/h= 10

                 Initialisation = uniform velocity field
                 inlet flowrate = uniform profil

INCOMPRESSIBLE DOWNSTEP FLOW

 Tc
------------------------------------------
                   |Th|
                   |__|
---> inflow                     outflow --->
      (Tc)

------------------------------------------
 Tc

J
^
|
|
---->I
===========================================================================
===========================================================================
&Version File_Version="VERSION2.0"/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                     GENERAL LAYOUT
                     (DIMENSIONLESS)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
&Fluid_Properties    Reference_Dynamic_Viscosity = 1.00D-02, Reference_Density= 1.0  , Reference_Temperature= 1.0 /

&Velocity_Initialization  I_Velocity_Reference_Value  = 1.0 , J_Velocity_Reference_Value = 0.0 , K_Velocity_Reference_Value = 0.0 /
===========================================================================
                    DOMAIN FEATURES
                     (DIMENSIONLESS)
===========================================================================
&Domain_Features Start_Coordinate_I_Direction= 0.00 , End_Coordinate_I_Direction= 10.00,
                 Start_Coordinate_J_Direction= 0.00 , End_Coordinate_J_Direction= 1.00,
                 Start_Coordinate_K_Direction= 0.00 , End_Coordinate_K_Direction= 0.00,
                 Cells_Number_I_Direction= 256 ,Cells_Number_J_Direction= 64 ,Cells_Number_K_Direction= 1,
                 Regular_Mesh= .true. /

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
              DEFINITION OF BOUNDARY CONDITIONS
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=============================================================================
                 WALL BOUNDARY CONDITION SETUP
=============================================================================
 No wall
=============================================================================
               INLET AND OUTLET BOUNDARY CONDITIONS
=============================================================================
No inlet, No outlet
=============================================================================
               BORDER BOUNDARY CONDITIONS
=============================================================================
&Border_Domain_Boundary_Conditions West_Border= 4 , East_Border= 4 , Back_Border= 4 , Front_Border= 4 , North_Border = 0 , South_Border = 0 /
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                   NUMERICAL METHODS
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Default initialization:

 Numerical scheme for Navier-Stokes equations : 2nd centrered order in space, 2nd order in time (BDF2 : 2nd oder Backward Differentiation Formulation)
                  for Poisson equation        : SOR iterative method coupled with a multigrid approach

Parameters for solving Poisson equation (multigrid parameters) :

&Numerical_Methods  Numerical_Scheme= 1 ,
                    Convective_Flux_Discretization_Type = 1
                    Numerical_Method_Poisson_Equation= 1,
                    Number_max_Grid= 6 , Number_max_Cycle= 5 , Number_Iteration= 15 ,
                    Relaxation_Coefficient = 1.80 , Convergence_Criterion = 1.D-10 /

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                   SIMULATION MANAGEMENT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Time step calculated from a CFL coefficient

&Simulation_Management    Restart_Parameter= 0 ,
                          Steady_Flow_Stopping_Criterion_Enabled = .true. , Steady_Flow_Stopping_Criterion = 1.D-22,
                          Temporal_Iterations_Number = 50000                  , Final_Time = 2.0D+01  ,
                          TimeStep_Type = 1 ,
                          CFL_min= 0.25   , CFL_max= 0.25, Iterations_For_Timestep_Linear_Progress= 1 ,
                          Timestep_Min = 2.D-01                           , Timestep_Max = 2.D-01 ,
                          Simulation_Backup_Rate                 =  200   , Simulation_Checking_Rate = 51  /

=============================================================================
                   PROBES MANAGEMENT
=============================================================================
                                                      Probes order    U    , V     , W      , T      , P      , RHO
&Probe_Quantities_Enabled  Temporal_Series_For_Quantity_Enabled(:) = .true., .true., .false., .false., .true. , .false. /

&Probe_Location  Xi= 0.0 , Xj= 0.0 , Xk= 0.0  /
&Probe_Location  Xi= 0.1 , Xj= 0.1 , Xk= 0.0 , End_of_Data_Block= .true. /
&Simulation_Management   Probe_Recording_Rate = 1 /

=============================================================================
           FIELDS RECORDING DECLARATION
=============================================================================
&Field_Recording_Setup  Precision_On_Instantaneous_Fields= 2 /
&Simulation_Management  Fields_Recording_Rate = 1.0D-00 /

&Instantaneous_Fields_Listing  Name_of_Field = "U" , Recording_Enabled = .true.  /      First velocity component
&Instantaneous_Fields_Listing  Name_of_Field = "V" , Recording_Enabled = .true.  /      Second velocity component
&Instantaneous_Fields_Listing  Name_of_Field = "W" , Recording_Enabled = .false. /      Third velocity component
&Instantaneous_Fields_Listing  Name_of_Field = "P" , Recording_Enabled = .true.  /      Pressure related to the velocity field

Click here to come back to the previous page

Traductions de cette page:
  • fr
sunfluidh/2d_channel_flow_with_heated_bar_incomp_flow.1480501867.txt.gz · Dernière modification : 2016/11/30 11:31 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki