Outils pour utilisateurs

Outils du site


sunfluidh:fluid_properties_namelist

Ceci est une ancienne révision du document !


Namelist "Fluid_Properties"

Most of data are initialized with a default value that could be used by the code if this data is not set to the user's value.
Data are used or not depending on the context. For this reason, useless data could be omitted in the data set.
The user must therefore ensure that useful data are explicitly stated unless he is sure that the default value is correct (if there is any doubt, you can check the file named “check_namelist_data.dat”).
Some examples are given here for helping the user about this namelist.

Full data set of the Namelist

The values are arbitrary chosen.

 &Fluid_Properties  Variable_Density          = .true. , 
                 Incomp_Multifluids           = .false.   , 
                 Constant_Mass_Flow           = .false. , 
                 MultiSpecies_Flow            = .true. ,
                 Heat_Transfer_Flow           = .false.  ,
                  Heat_Capacity_Ratio         = 1.4  ,
                 Reference_Dynamic_Viscosity  = 1.84D-05 ,
                 Reference_Dynamic_Viscosity  = 1.84D-05 , 
                 Prandtl                      = 0.71 ,
                 Reference_Temperature        = 293.0    , 
                 Reference_Density            = 1.2058789 ,
                 Reference_Density_2          = 0.4 ,
                 Molecular_Mass               = 2.9D-02            ,
                 Thermal_Expansion_Coefficient= 0.0
                 Reference_Heat_Capacity      = 1000.00  ,
                 Sutherland_Law_Enabled                                    = .false.   ,
                 Multi_Species_Mixture_Law_for_Viscosity_Enabled           = .false. ,
                 Multi_Species_Mixture_Law_for_Thermal_Conductivity_Enabled= .false. ,
                 Multi_Species_Mixture_Law_for_Mass_Diffusion_Enabled      = .false.  ,
                 Soret_Effect_Enabled                                      = .false. /
  • The values of physical quantities can be used to either initialize a field or like a reference value to calculate another physical quantities or both. For instance :
    • The temperature field is not initialized with the “Reference_Temperature”. See the namelist "Temperature_Initialization" for that.
    • for incompressible flows with heat transfer, the “Reference_Temperature” is used to define the reference temperature implied in the buoyancy force (see the namelist "Gravity".
      If the fluid is a gas, the “Reference_Temperature” is used by the code to calculate the thermal expansion coefficient implied in the buoyancy force (for that, the user must be set Thermal_Expansion_Coefficient to zero).
    • for incompressible two-phase flows, the “Reference_Density” and “Reference_Density_2” are used to initialize the density field.
    • the “Reference_Dynamic_Viscosity” (and “Reference_Dynamic_Viscosity_2” if it is used) should be in accordance with the “Reference_Temperature” when the viscosity depends on the temperature (Sutherland's law).
    • for low Mach number flows, the reference pressure value is calculated from the “Reference_Density”, “Reference_Temperature” and the “Molecular_Mass” by using the equation of state of perfect gas.

Definition of the data set


Variable_Density

  • type : Boolean value
    • true : low mach number hypothesis ( Not for the release SUNFLUIDH_EDU )
    • false : incompressible flow
  • Default value = .false.

Incomp_MultiFluids

  • type : Boolean value ( Not for the release SUNFLUIDH_EDU )
    • true : incompressible two-phase flow (only whether Variable_Density=true).
    • false : single phase flow
  • Default value = .false.

Constant_Mass_Flow

  • type = Boolean value
    • true : mass conservation
    • false : flow at constant pressure
  • Default value = .true.

MultiSpecies_Flow

  • type = boolean value
  • true : heterogeneous gas mixture ( Not for the release SUNFLUIDH_EDU )
  • false : homogeneous gas mixture
  • Default value = .false.

Heat_Transfer_Flow

  • type = boolean value
    • true : flows with heat transfer
    • false : isothermal flows
  • Default value = .false.

Reference_Temperature

  • type = real value
  • Reference value of the temperature
  • Default value= 300.0

Reference_Density

  • type = real value
  • reference value of the density
  • Default value = 1.0

Reference_Density_2

  • type = real value ( Not for the release SUNFLUIDH_EDU )
  • reference value of the 2nd fluid density for incompressible two-phase flows (used with Incomp_MultiFluids= .true.)
  • Default value= 1.0

Reference_Dynamic_Viscosity

  • type = real value
  • Reference value of the dynamic viscosity (used if the viscosity is independent of the mixture components)
  • Default value = 1.84D-05

Reference_Dynamic_Viscosity_2

  • type = real value ( Not for the release SUNFLUIDH_EDU )
  • Reference value for the 2nd dynamic viscosity of incompressible two-phase flows (used with Incomp_MultiFluids= .true.)
  • Default value= 1.84D-05

Interface_Thickness_Scale

  • type = real value ( Not for the release SUNFLUIDH_EDU )
  • Half-thickness of the interface (used with Incomp_MultiFluids= .true.).
    If Interface_Thickness_Scale= 0.0, the interface thickness is automatically estimated.
  • Default value = 0.01

Prandtl

  • type = real value
  • Prandtl number (used for calculating the thermal conductivity if it is independant of the mixture components)
  • Default value= 0.71

Molecular_Mass

  • type = real value
  • Reference value of the molecular mass (in kg/mol) of the fluid, this parameter is used if the fluid is a homogeneous gas defined in a low mach number context, without taking into account the mixture components. Equations and physical quantities are defined in a dimensional form.
  • Default value= 0.029

Thermal_Expansion_Coefficient

  • type = real value
  • This data is mainly used for incompressible flows, when the gravity/buoyancy force depends on the temperature variation.
    If this variable is set to zero, it is automatically defined as 1/Reference_Temperature by the code - perfect gas hypothesis).
    For low Mach number or incompressible two-phase flows, the gravity/buoyancy force depends on the density variation, this variable can thus be omitted.
    See the namelist "Gravity" to understand how this variable is implemented in the gravity/buoyancy force.
  • Default value = 1.0.

Reference_Heat_Capacity

  • type = real value
  • Reference value of the mass heat capacity of the fluid.
    This value is only used if the fluid is incompressible. Otherwise, it is calculated from the formulation for a perfect gas :
    Cp= (R/Molecular_Mass)*(Heat_Capacity_Ratio/(Heat_Capacity_Ratio - 1)
    where R is the perfect gas constant of perfect gas.

Sutherland_Law_Enabled

  • type : boolean value
  • true : The Sutherland 's law is used to calculate the viscosity and the thermal conductivity in respect with the temperature only. Mixture components are not considered)
  • false : The Sutherland's law is not activated
  • Default value = .false.

Multi_Species_Mixture_Law_for_Viscosity_Enabled

  • type : boolean value ( Not for the release SUNFLUIDH_EDU )
  • true : The dynamic viscosity is defined from the mixture components and temperature (from the kinetic gas theory)
  • false : The dynamic viscosity is defined from the Sutherland's law or is constant
  • Default value = .false.

Multi_Species_Mixture_Law_for_Thermal_Conductivity_Enabled

  • type : boolean value ( Not for the release SUNFLUIDH_EDU )
  • true : The thermal conductivity is defined from the mixture components and temperature (from the kinetic gas theory)
  • false : The thermal conductivity is defined from the Sutherland's law or is constant
  • Default value = .false.

Multi_Species_Mixture_Law_for_Mass_Diffusion_Enabled

  • type : boolean value ( Not for the release SUNFLUIDH_EDU )
  • true : The species diffusion coefficients are defined from the mixture components and temperature (from the kinetic gas theory)
  • false : The species diffusion coefficients are calculated from the Schmidt number
  • Default value = .false.

Soret_Effect_Enabled

  • type : boolean value ( Not for the release SUNFLUIDH_EDU )
  • the Soret mass diffusion is considered (flow with multi-components gas and temperature gradients)
  • Default value = .false.

Axisymmetric_Case_3D_Enabled

  • type : boolean value
  • true : the third velocity component is taken in to account for a 2D axisymmetric problem
  • false: the third velocity component is not taken in to account for a 2D axisymmetric problem
  • Default value = .false.
Traductions de cette page:
  • fr
sunfluidh/fluid_properties_namelist.1480584003.txt.gz · Dernière modification : 2016/12/01 10:20 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki