sunfluidh:inlet_boundary_conditions_setup_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édente | ||
sunfluidh:inlet_boundary_conditions_setup_namelist [2016/11/20 11:31] – yann | sunfluidh:inlet_boundary_conditions_setup_namelist [2018/01/17 09:14] (Version actuelle) – [Define_Velocity_profile] yann | ||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
===== Full data set of the namelist ===== | ===== Full data set of the namelist ===== | ||
- | & | + | |
- | Type_of_BC= " | + | |
- | Plan_Location_Coordinate= -0.05 , | + | |
- | Start_Coordinate_of_First_Span = -0.01 , End_Coordinate_of_First_Span = 0.01 , | + | |
- | Start_Coordinate_of_Second_Span= 0.0 , End_Coordinate_of_Second_Span= 0.0 , | + | |
- | Flow_Direction= 1 , | + | |
- | Normal_Velocity_Reference_Value= 1.5E-3 | + | |
- | Define_Velocity_profile= 0 , | + | Temperature_Reference_Value= 293.0 , |
- | Species_Boundary_Condition_Type= 0 , Define_Mass_Fraction_profile= 0 , | + | Density_Reference_Value= |
- | Temporal_Variation_For_Each_Species= 0 , | + | |
- | Species_Reference_Value= | + | |
- | Time_Fct_Name= " | + | |
- | End_of_Data_Block= .true. / | + | |
+ | | ||
+ | Time_Fct_Time_Scale= 1.0 , Time_Fct_Magnitude= 0.0 , | ||
+ | | ||
| | ||
<note important> | <note important> | ||
Ligne 25: | Ligne 28: | ||
* When the the normal vector is oriented along the J-direction, | * When the the normal vector is oriented along the J-direction, | ||
* When the the normal vector is oriented along the K-direction, | * When the the normal vector is oriented along the K-direction, | ||
- | * When the inflow conditions are constant the time date can be omitted. | + | * When the inflow conditions are constant the time data can be omitted. |
+ | * By default the domain is enclosed. The boundary conditions defined by default at the ends of the domain are walls. When an inlet is placed at the end of the domain, it replaces the wall conditions over the inflow area. | ||
* Don't forget to set the boolean data “End_of_Data_Block” at the end of the namelist. A “.true.” value means the end of the data block when several namelists are used to create several inlets. | * Don't forget to set the boolean data “End_of_Data_Block” at the end of the namelist. A “.true.” value means the end of the data block when several namelists are used to create several inlets. | ||
+ | |||
+ | Find some examples [[Inlet_Outlet_Boundary_Conditions_Examples|here]] about inflow configurations. | ||
</ | </ | ||
----- | ----- | ||
Ligne 37: | Ligne 43: | ||
* Type : integer value | * Type : integer value | ||
* This data defines the orientation of the normal vector the inlet in respect with the grid {I,J,K}. The values 1, 2 or 3 point the I, J or K-direction, | * This data defines the orientation of the normal vector the inlet in respect with the grid {I,J,K}. The values 1, 2 or 3 point the I, J or K-direction, | ||
+ | * Default value : none | ||
==== Plan_Location_Coordinate ==== | ==== Plan_Location_Coordinate ==== | ||
* Type: real value | * Type: real value | ||
* Coordinate of the position of the inlet plan along the normal direction previously defined. | * Coordinate of the position of the inlet plan along the normal direction previously defined. | ||
+ | * Default value : none | ||
==== Start_Coordinate_of_First_Span | ==== Start_Coordinate_of_First_Span | ||
* Type : real value | * Type : real value | ||
* This coordinate defines the lower side of the inlet plan span along "the first direction" | * This coordinate defines the lower side of the inlet plan span along "the first direction" | ||
+ | * Default value : none | ||
==== End_Coordinate_of_First_Span | ==== End_Coordinate_of_First_Span | ||
* Type : real value | * Type : real value | ||
Ligne 49: | Ligne 58: | ||
* Type : real value | * Type : real value | ||
* This coordinate defines the lower side of the inlet plan span along "the second direction" | * This coordinate defines the lower side of the inlet plan span along "the second direction" | ||
+ | * Default value : none | ||
==== End_Coordinate_of_Second_Span | ==== End_Coordinate_of_Second_Span | ||
* Type : real value | * Type : real value | ||
* This coordinate defines the upper side of the inlet plan span along "the second direction" | * This coordinate defines the upper side of the inlet plan span along "the second direction" | ||
+ | * Default value : none | ||
==== Flow_Direction ==== | ==== Flow_Direction ==== | ||
* Type : integer value | * Type : integer value | ||
* This value is set to 1 or -1. It indicates the presumed direction of the inflow in accordance to the position of the outlet. If the inflow is oriented along the increasing or decreasing index (for a given direction) the value is set to 1 or -1, respectively. | * This value is set to 1 or -1. It indicates the presumed direction of the inflow in accordance to the position of the outlet. If the inflow is oriented along the increasing or decreasing index (for a given direction) the value is set to 1 or -1, respectively. | ||
+ | * Default value : none | ||
==== Normal_Velocity_Reference_Value ==== | ==== Normal_Velocity_Reference_Value ==== | ||
* Type : real value | * Type : real value | ||
* Reference value of the normal component of the velocity. The other ones are automatically set to zero. | * Reference value of the normal component of the velocity. The other ones are automatically set to zero. | ||
+ | * Default value : none | ||
==== Define_Velocity_profile ==== | ==== Define_Velocity_profile ==== | ||
* Type : Integer value | * Type : Integer value | ||
Ligne 64: | Ligne 77: | ||
* 1 : Parabolic profile along the first span direction (the mean velocity at the inlet is defined with the " | * 1 : Parabolic profile along the first span direction (the mean velocity at the inlet is defined with the " | ||
* 2 : Parabolic profile along the second span direction (the mean velocity at the inlet is defined with the " | * 2 : Parabolic profile along the second span direction (the mean velocity at the inlet is defined with the " | ||
+ | * Default value = 0 | ||
+ | |||
+ | When the parabolic profile is selected, it is defined from the " | ||
+ | |||
==== Variable_Flowrate | ==== Variable_Flowrate | ||
* Type : Integer value | * Type : Integer value | ||
Ligne 69: | Ligne 86: | ||
* 0 : the flowrate is constant | * 0 : the flowrate is constant | ||
* 1 : the flowrate is variable in time. The time functions can be defined by the users in the specific module of the code named " | * 1 : the flowrate is variable in time. The time functions can be defined by the users in the specific module of the code named " | ||
- | * Time_Fct_Name :character string | + | * Time_Fct_Name :character string |
* Time_Fct_Threshold : time from which the time function starts. | * Time_Fct_Threshold : time from which the time function starts. | ||
* Time_Fct_Time_Scale : time scale of the function (i.e the period for the sinusoidal function, and the time range for the linear ramp function) | * Time_Fct_Time_Scale : time scale of the function (i.e the period for the sinusoidal function, and the time range for the linear ramp function) | ||
* Time_Fct_Magnitude : magnitude of the time function. | * Time_Fct_Magnitude : magnitude of the time function. | ||
+ | * Default value= 0 | ||
==== Temperature_Reference_Value ==== | ==== Temperature_Reference_Value ==== | ||
* Type : real value | * Type : real value | ||
* Reference value of the temperature. | * Reference value of the temperature. | ||
+ | * Default value : none | ||
==== Density_Reference_Value ==== | ==== Density_Reference_Value ==== | ||
* Type : real value | * Type : real value | ||
Ligne 82: | Ligne 101: | ||
* Type : array of real values (the size is determined by the species number considered) | * Type : array of real values (the size is determined by the species number considered) | ||
* This data setup defines the reference value of mass fractions for each species | * This data setup defines the reference value of mass fractions for each species | ||
+ | * Default value : none | ||
==== Species_Boundary_Condition_Type ==== | ==== Species_Boundary_Condition_Type ==== | ||
- | * Type : integer value | + | * Type : integer value (__** Not for the release SUNFLUIDH_EDU**__ ). |
* This option defines the inlet boundary | * This option defines the inlet boundary | ||
* condition type for the density of species | * condition type for the density of species | ||
* 0 : Dirichlet condition (the mass fraction value is imposed at the center of the ghost-cell). | * 0 : Dirichlet condition (the mass fraction value is imposed at the center of the ghost-cell). | ||
- | * 1 : The mass flux value is imposed on the inlet plan. This flux is defined as the product of the variables " | + | * 1 : The mass flux value is imposed on the inlet plan. This flux is defined as $F_i=\rho.Y_i.\vec{V}$ : the product of the variables " |
+ | * Default value : none | ||
==== Define_Mass_Fraction_profile ==== | ==== Define_Mass_Fraction_profile ==== | ||
- | * Type : integer value | + | * Type : integer value (__** Not for the release SUNFLUIDH_EDU**__ ). |
* This data determines the distribution law on the first species mass fraction over the inlet (the complementary law is reported on the 2nd species by default): | * This data determines the distribution law on the first species mass fraction over the inlet (the complementary law is reported on the 2nd species by default): | ||
* 0 : Uniform profile | * 0 : Uniform profile | ||
* 1 : Heaviside profile centered on the inlet | * 1 : Heaviside profile centered on the inlet | ||
+ | * Default value : none | ||
==== Temporal_Variation_For_Each_Species ==== | ==== Temporal_Variation_For_Each_Species ==== | ||
- | * Type : array of integer value (the size is determined by the species number considered) | + | * Type : array of integer value (the size is determined by the species number considered. __** Not for the release SUNFLUIDH_EDU**__ |
* This data setup defines time function used to define the temporal variation of species. The time functions can be programmed by the user in the fortran file named " | * This data setup defines time function used to define the temporal variation of species. The time functions can be programmed by the user in the fortran file named " | ||
+ | * Default value : none | ||
==== End_of_Data_Block ==== | ==== End_of_Data_Block ==== | ||
* Type : boolean value | * Type : boolean value | ||
* Specify the end of the namelist or a group of this type of namelist (if true). | * Specify the end of the namelist or a group of this type of namelist (if true). |
sunfluidh/inlet_boundary_conditions_setup_namelist.txt · Dernière modification : 2018/01/17 09:14 de yann