sunfluidh:species_properties_namelist
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
sunfluidh:species_properties_namelist [2016/10/08 16:34] – [List of variable and definition] yann | sunfluidh:species_properties_namelist [2016/11/28 15:55] – yann | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
- | This data setup is only used in the full version of sunfluidh for the simulation of multi-species gas flows under low-Mach number hypothesis. | + | This data setup is only used in the full version of sunfluidh for the simulation of multi-species gas flows under low-Mach number hypothesis. |
- | It is used to define every thermo-chemical properties of species to estimate physical properties of gas mixture such as heat capacity, thermal conductivity, | + | It is used to define every thermo-chemical properties of species to estimate physical properties of gas mixture such as heat capacity, thermal conductivity, |
- | Most of data are directly initialized with a default value that could be used by the code if these ones are not set a value specified by the user.\\ | + | Data could be used or not, this depends on the context. \\ |
- | Data could be used or not, this depends on the context. For this reason, useless data could be omitted in the data setup.\\ | + | |
- | The user must therefore ensure that every useful data are explicitly stated in the input3d.dat file unless he is sure that the default values are correct (if there is any doubt, you can check the file named " | + | |
- | Some examples are given here for helping the user about this namelist. | + | |
+ | |||
+ | |||
+ | ===== Full data set of the namelist ===== | ||
+ | |||
+ | An example on a Helium/Air mixture is given here for helping the user about this data set. | ||
+ | |||
+ | |||
+ | & | ||
+ | Species_Name | ||
+ | Species_molecular_Mass= 4.0D-03 , Reference_Molecular_Heat_Capacity = 5.193D+03 , Schmidt_Number | ||
+ | Electric_Charge | ||
+ | Thermochemical_Properties_Coefficients(1: | ||
+ | Thermochemical_Properties_Coefficients(1: | ||
+ | & | ||
+ | Species_Name | ||
+ | Species_molecular_Mass= 2.9D-02 , Reference_Molecular_Heat_Capacity = 1.048D+03 , Schmidt_Number | ||
+ | Electric_Charge | ||
+ | Thermochemical_Properties_Coefficients(1: | ||
+ | Thermochemical_Properties_Coefficients(1: | ||
+ | End_of_Data_Block= .true./ | ||
+ | |||
+ | <note important> | ||
+ | Don't forget to set the variable End_Of_Data_Block to .true. in the last namelist.</ | ||
+ | ----- | ||
+ | ===== Definition of the data set ===== | ||
----- | ----- | ||
- | ==== Species_Name (type = character string (6)) ==== | ||
+ | ==== Species_Name | ||
+ | * type : character string with a maximum size of 6 | ||
* Name of the species present in the gas mixture | * Name of the species present in the gas mixture | ||
+ | * Default name given by the user. | ||
- | ==== Species_molecular_Mass | + | ==== Species_molecular_Mass |
+ | * type : real value | ||
* Molecular mass (mol/kg) | * Molecular mass (mol/kg) | ||
+ | * Default value given by the user | ||
- | ==== Reference_Molecular_Heat_Capacity | + | ==== Reference_Molecular_Heat_Capacity ==== |
+ | * type : real value | ||
* Species heat capacity (J/K/kg) | * Species heat capacity (J/K/kg) | ||
+ | * Default value given by the user | ||
- | ==== Schmidt_Number | + | ==== Schmidt_Number ==== |
- | + | * type : real value | |
- | * The Schmidt number $Sch$ is used to define the diffusion coefficient of the species from the kinematic viscosity as $D_i=\nu/ | + | * The Schmidt number $Sch$ is used to define the diffusion coefficient of the species from the kinematic viscosity as $D_i=\nu/ |
- | + | * Default value given by the user | |
- | ==== Electric_Charge | + | |
+ | ==== Electric_Charge ==== | ||
+ | * type : real value | ||
* Electric charge of the ionized species in electronic unit | * Electric charge of the ionized species in electronic unit | ||
- | * Used only if chemical reactions are implied | + | * Used only if chemical reactions are implied. |
- | + | * Default value given by the user | |
- | ==== Lennard_Jones_Diameter (type = real) ==== | + | |
+ | ==== Lennard_Jones_Diameter ==== | ||
+ | * type : real value | ||
* Diameter of Lennard-Jones (m) | * Diameter of Lennard-Jones (m) | ||
+ | * Default value given by the user | ||
- | ==== Lennard_Jones_Potential | + | ==== Lennard_Jones_Potential |
+ | * type : real value | ||
* Potential of Lennard-Jones (dimensionless) | * Potential of Lennard-Jones (dimensionless) | ||
+ | * Default value given by the user | ||
- | + | ==== Thermochemical_Properties_Coefficients ==== | |
- | ==== Thermochemical_Properties_Coefficients | + | * type : real array - size array (7,2) |
* These coefficients are used to define some physical quantities such as enthalpy, entropy, heat capacity, free enthalpy of species in respect with the temperature. | * These coefficients are used to define some physical quantities such as enthalpy, entropy, heat capacity, free enthalpy of species in respect with the temperature. | ||
- | * This data setup is an array (7,2) , The first dimension corresponds to the number of coefficients considered (here 7) and the second to the number of temperature ranges considered (here 2). | + | * This data setup is an array of size (7,2) , The first dimension corresponds to the number of coefficients considered (here 7) and the second to the number of temperature ranges considered (here 2). |
* The 1st range of T is 300K ---> 1000K | * The 1st range of T is 300K ---> 1000K | ||
* The 2nd range of T is 1000K ---> 5000K | * The 2nd range of T is 1000K ---> 5000K | ||
- | | + | |
- | + | * If we note $a_i$ the coefficients that belong to a specific temperature range, we read : | |
- | ==== End_of_Data_Block | + | * The species heat capacity : $\frac{C_p}{R}= a_1 +a_2 T + a_3 T^2 + a_4 T^3 + a_5 T^4$ |
+ | * The species enthalpy : $\frac{H}{R}= a_1 T+\frac{a_2 T^2}{2} +\frac{a_3 T^3}{3}+\frac{a_4 T^4}{4} +\frac{a_5 T^5}{5}+ a_6$ | ||
+ | * The species entropy : $\frac{S}{R}= a_1\log(T) +\frac{a_2 T^2} +\frac{a_3 T^2}{2}+\frac{a_4 T^3}{3} +\frac{a_5 T^4}{4}+ a_7$ | ||
- | * Specify the end of the data setup constituted by one or several namelist " | + | ==== End_of_Data_Block ==== |
+ | * type : boolean value | ||
+ | * Specify the end of the data set constituted by one or several namelist " |
sunfluidh/species_properties_namelist.txt · Dernière modification : 2016/11/28 17:40 de yann