sunfluidh:sunfluidh_tutorials
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:sunfluidh_tutorials [2017/09/29 16:55] – yann | sunfluidh:sunfluidh_tutorials [2020/01/30 11:31] (Version actuelle) – [Data setup] yann | ||
---|---|---|---|
Ligne 18: | Ligne 18: | ||
The computation is on a 2D heated back-facing step flow. The temperature of the bottom and top walls is imposed to $T_c$ and the temperature of the step walls is $T_h$. The inflow is fixed with an uniform velocity profile $U_b$ at temperature $Tc$. We consider an incompressible flow under the Boussinesq hypothesis : the physical properties are constant and the thermal buoyancy effect is modelised by the Boussinesq hypothesis : | The computation is on a 2D heated back-facing step flow. The temperature of the bottom and top walls is imposed to $T_c$ and the temperature of the step walls is $T_h$. The inflow is fixed with an uniform velocity profile $U_b$ at temperature $Tc$. We consider an incompressible flow under the Boussinesq hypothesis : the physical properties are constant and the thermal buoyancy effect is modelised by the Boussinesq hypothesis : | ||
$F_b= -\rho_0.\beta.g_0.(T - T_0)$ (see the page [[ Gravity_Namelist | Gravity ]] for more details). | $F_b= -\rho_0.\beta.g_0.(T - T_0)$ (see the page [[ Gravity_Namelist | Gravity ]] for more details). | ||
- | We suppose the fluid as a perfect gas. As a consequence, | + | We suppose the fluid is air that behaves |
{{ : | {{ : | ||
+ | |||
+ | __The governing equations for incompressible flows are shown [[sunfluidh: | ||
==== Dimensionless data ==== | ==== Dimensionless data ==== | ||
Ligne 61: | Ligne 63: | ||
* [[ tuto1_forces |Data set on forces on the fluid]] | * [[ tuto1_forces |Data set on forces on the fluid]] | ||
* [[ tuto1_boundaryconditions |Data set on the boundary conditions]] | * [[ tuto1_boundaryconditions |Data set on the boundary conditions]] | ||
- | * [[ tuto1_boundaryconditionss |Data set on the boundary conditions]] | ||
* [[ tuto1_numericalmethods |Data set on the numerical methods]] | * [[ tuto1_numericalmethods |Data set on the numerical methods]] | ||
* [[ tuto1_simulationcontrol|Data set on the simulation control]] | * [[ tuto1_simulationcontrol|Data set on the simulation control]] | ||
* [[ tuto1_outputdata |Data set on the output data]] | * [[ tuto1_outputdata |Data set on the output data]] | ||
- | + | < | |
- | + | Boundary conditions can be difficult | |
- | ==== Simulation control data set ===== | + | |
- | + | ||
- | We here resort | + | |
- | We specify here some parameters in order to define the numerical time step as well as stop criteria and recording rates related to backup and check files. | + | |
- | Two examples are given. | + | |
- | The first one corresponds to a simulation starting at t= 0 with a variable time step. | + | |
- | + | ||
- | + | ||
- | & | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | The second example corresponds to a restart of the previous simulation with a uniform time step. | + | |
- | + | ||
- | & | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | ||
- | For more information on this data set, [[sunfluidh: | + | |
- | + | ||
- | <note important> | + | |
- | Keep in mind the time step must be chosen with caution because it can generate numerical instabilities when it is too much large. The numerical stability depends on the property of the numerical methods used for solving the conservation equations It often relies on the CFL criterion which have not to exceeded a reference value. This value depends on the numerical scheme properties as well as the computational problem. | + | |
- | * For semi-implicit schemes proposed here, a maximum CFL-value about 0.5 is generally prescribed for usual computations, | + | |
- | * For explicit schemes, the CFL criterion also depends on the viscous/ | + | |
- | When the time-step value is constant, the user can verify if the CFL criterion is respected by checking regularly the file checkcalc_xxxxx.d | + | |
</ | </ | ||
- | ==== Output data ==== | ||
- | Here we show an example of usual data acquisition : | ||
- | |||
- | * Instantaneous fields | ||
- | * Statistical fields | ||
- | * Time series from probes located at specific positions | ||
- | |||
- | The various parameters related to each type of output data are originally splitted by topic in the appropriate namelist. For a sake of clarity, they are directly regrouped for each type of output data as shown here : | ||
- | |||
- | For instantaneous fields | ||
- | |||
- | & | ||
- | & | ||
- | & | ||
- | & | ||
- | & | ||
- | & | ||
- | & | ||
- | |||
- | For statistical fields | ||
- | |||
- | & | ||
- | Time_Range_Statistic_Calculation = 1.D+00 | ||
- | When it has been covered, the results are recorded and a new statistical computation starts again | ||
- | & | ||
- | | ||
- | | ||
- | | ||
- | & | ||
- | & | ||
- | & | ||
- | |||
- | For time-series from probes | ||
- | | ||
- | & | ||
- | & | ||
- | & | ||
- | & | ||
- | |||
- | <note important> | ||
- | |||
- | Any information about these namelist are available here : | ||
- | * [[Simulation_Management_Setup_Namelist|Simulation_Management]] | ||
- | * [[Field_Recording_Setup_Namelist_Setup|Field_Recording_Setup]] | ||
- | * [[Instantaneous_Fields_Listing_Namelist_Setup|Instantaneous_Fields_Listing]] | ||
- | * [[Statistical_Fields_Listing_Namelist_Setup|Statistical_Fields_Listing]] | ||
- | * [[Probe_Quantities_Enabled_Setup_Namelist|Probe_Quantities_Enabled]] | ||
- | * [[Probe_Location_Setup_Namelist|Probe_Location]] | ||
- | </ |
sunfluidh/sunfluidh_tutorials.1506696939.txt.gz · Dernière modification : 2017/09/29 16:55 de yann