sunfluidh:examples_wall_bc
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
sunfluidh:examples_wall_bc [2020/01/30 10:37] – créée yann | sunfluidh:examples_wall_bc [2020/01/30 15:04] (Version actuelle) – yann | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
===== Examples of wall boundary conditions | ===== Examples of wall boundary conditions | ||
- | The user finds here some examples illustrating the construction of the wall boundary conditions. | + | The user finds here some examples illustrating the construction of the wall boundary conditions |
+ | * Heated enclosed cavity : Temperature imposed on sides walls & adiabatic conditions on upper and lower walls | ||
+ | * Two bars in an enclosed cavity : One bar with imposed temperature, | ||
+ | * An enclosed cavity with a thermally conductive bar | ||
+ | * A heated bar in a lid-driven cavity | ||
<WRAP info> | <WRAP info> | ||
- | * A 2D geometrical | + | Only 2D geometrical |
- | * For the sake of clarity, the multi-species case is not considered (homogeneous fluid). The namelist associated to the species is therefore not present. | + | |
</ | </ | ||
+ | |||
+ | Some abbreviations considered here : | ||
+ | * **__WBCT__** (Wall Boundary Condition Type) refers any namelist describing the type of wall boundary conditions applied to different physical quantities (temperature, | ||
+ | * The enthalpy or temperature : [[sunfluidh: | ||
+ | * The velocity components : [[sunfluidh: | ||
+ | * The species mass fractions : [[sunfluidh: | ||
+ | |||
+ | * **__IBD__** (Immersed Body Descriptor) defines the geometry and the location of the immersed bodies | ||
----- | ----- | ||
Ligne 16: | Ligne 29: | ||
* The velocity boundary conditions are no-slip and impermeability conditions. | * The velocity boundary conditions are no-slip and impermeability conditions. | ||
* There is no immersed body. | * There is no immersed body. | ||
- | * Walls of the cavity are located at the ends of the domain. This is the basic domain configuration initialized by the code if any other boundary condition is not placed at the ends (like inlet, outlet, symmetrical or periodical boundary conditions, see namelists [[sunfluidh: | + | * Walls of the cavity are located at the ends of the domain. This is the basic domain configuration initialized by the code if any other boundary condition is not placed at the ends (like inlet, outlet, symmetrical or periodical boundary conditions) |
</ | </ | ||
{{ : | {{ : | ||
- | We need just to state one **WPCP**. | + | We need just to set one **WPCP**. |
Ligne 57: | Ligne 70: | ||
| | ||
<note important> | <note important> | ||
- | * There is just one WBCP. This name is " | + | * There is just one WBCT. This name is " |
* The no-slip and impermeable boundary conditions are actually used by default in the code. For this reason, this kind of boundary conditions could be not explicitly set. | * The no-slip and impermeable boundary conditions are actually used by default in the code. For this reason, this kind of boundary conditions could be not explicitly set. | ||
</ | </ | ||
- | ==== Enclosed cavity with two bars ==== | + | ==== Two bars in an enclosed cavity |
<WRAP info> | <WRAP info> | ||
* The domain is a square cavity with a length of $L= 1.0$ (2D geometry). | * The domain is a square cavity with a length of $L= 1.0$ (2D geometry). | ||
Ligne 68: | Ligne 81: | ||
* cooling the fluid from walls is defined with a positive heat flux | * cooling the fluid from walls is defined with a positive heat flux | ||
* Walls of the second bar are set to the same boundary conditions as the cavity : $T=300 K$. | * Walls of the second bar are set to the same boundary conditions as the cavity : $T=300 K$. | ||
- | * The velocity boundary conditions are no-slip and impermeability conditions for all the walls (cavity and bars). As they correspond to the default boundary conditions, they are not explicitly | + | * The velocity boundary conditions are no-slip and impermeability conditions for all the walls (cavity and bars). As they correspond to the default boundary conditions, they are not explicitly |
* There are two immersed bodies : the couple of bars. Each bar is a rectangle with a size of $0.1$x$0.2$. The center of the first bar is $0.3$x$0.3$, | * There are two immersed bodies : the couple of bars. Each bar is a rectangle with a size of $0.1$x$0.2$. The center of the first bar is $0.3$x$0.3$, | ||
</ | </ | ||
{{ : | {{ : | ||
- | We need to two **WBCP** for setting the two different sets of wall boundary conditions, the first one for the imposed temperature, | + | We need two **WBCT** for setting the two different sets of wall boundary conditions, the first one for the imposed temperature, |
- | __The first **WBCP**__ | + | __The first **WBCT**__ |
& | & | ||
Ligne 82: | Ligne 95: | ||
West_Wall_BC_Value= 300. , | West_Wall_BC_Value= 300. , | ||
- | __The second **WBCP**__ | + | __The second **WBCT**__ |
& | & | ||
Ligne 109: | Ligne 122: | ||
<note important> | <note important> | ||
- | * The first immersed body is linked to the second **WBCP**(imposed heat flux) and the second body is linked to the first **WBCP** (imposed temperature) by means of the variable " | + | * The first immersed body is linked to the second **WBCT**(imposed heat flux) and the second body is linked to the first **WBCT** (imposed temperature) by means of the variable " |
- | * The **WBCP** named " | + | * The **WBCT** named " |
* The rank order of the boundary conditions is unimportant. | * The rank order of the boundary conditions is unimportant. | ||
+ | * **About imposed heat flux**, keep in mind that : | ||
+ | * heating the fluid from walls is defined with a negative heat flux | ||
+ | * cooling the fluid from walls is defined with a positive heat flux | ||
</ | </ | ||
Ligne 122: | Ligne 138: | ||
* The velocity boundary conditions are no-slip and impermeable conditions for all walls. | * The velocity boundary conditions are no-slip and impermeable conditions for all walls. | ||
</ | </ | ||
- | We need to state two **WBCP** to define the two different sets of wall boundary conditions, the first one for the imposed temperature and heat flux at the walls of the cavity, the second one to define the physical properties of the bar. We also need to state one ** IBD** in order to define the position of the bar. | + | We need to set two **WBCT** to define the two different sets of wall boundary conditions, the first one for the imposed temperature and heat flux at the walls of the cavity, the second one to define the physical properties of the bar. We also need to set one ** IBD** in order to define the position of the bar. |
{{ : | {{ : | ||
- | __The first **WBCP**__ | + | __The first **WBCT**__ |
& | & | ||
Ligne 133: | Ligne 149: | ||
West_Wall_BC_Value= 305. , | West_Wall_BC_Value= 305. , | ||
- | __The second **WBCP**__ | + | __The second **WBCT**__ |
& | & | ||
Ligne 153: | Ligne 169: | ||
<note important> | <note important> | ||
- | * The **WBCP** named " | + | * The **WBCT** named " |
- | * The bar (immersed body) is linked to the second **WBCP**. | + | * The bar (immersed body) is linked to the second **WBCT**. |
</ | </ | ||
- | ==== Lid-driven cavity | + | ==== Heated bar in a lid-driven cavity ==== |
The example is very similar to the previous one but the fluid is driven by the top wall of the cavity. | The example is very similar to the previous one but the fluid is driven by the top wall of the cavity. | ||
Ligne 165: | Ligne 181: | ||
* The left and right walls of the cavity are set to 305K and 295K, respectively. | * The left and right walls of the cavity are set to 305K and 295K, respectively. | ||
* The bar is thermally conductive. Its size is $0.2$x$0.2$ and it is centered on the cavity. | * The bar is thermally conductive. Its size is $0.2$x$0.2$ and it is centered on the cavity. | ||
- | * The velocity boundary conditions are no-slip and impermeability conditions for all walls **except at the top of the cavity** where $V= 1.5m.s^{-1}$. For these reason, the wall boundary conditions for the velocity must be stated. | + | * The velocity boundary conditions are no-slip and impermeability conditions for all walls **except at the top of the cavity** where $V= 1.5m.s^{-1}$. For these reason, the wall boundary conditions for the velocity must be set. |
</ | </ | ||
- | We need to state two **WBCP** to define the two different sets of wall boundary conditions, the first one for the imposed temperature and heat flux at the walls of the cavity, the second one to define the physical properties of the bar. We also need to state one ** IBD** in order to define the position of the bar. | + | We need to set two **WBCT** to define the two different sets of wall boundary conditions, the first one for the imposed temperature and heat flux at the walls of the cavity, the second one to define the physical properties of the bar. We also need to set one ** IBD** in order to define the position of the bar. |
{{ : | {{ : | ||
- | __The first **WBCP**__ | + | __The first **WBCT**__ |
& | & | ||
Ligne 198: | Ligne 214: | ||
South_Wall_Velocity_K= 0.0 , North_Wall_Velocity_K= 0.0 / | South_Wall_Velocity_K= 0.0 , North_Wall_Velocity_K= 0.0 / | ||
- | __The second **WBCP**__ | + | __The second **WBCT**__ |
& | & | ||
Ligne 236: | Ligne 252: | ||
<note important> | <note important> | ||
- | * The first **WBCP** is automatically linked to the walls of the domain end's (cavity walls). The wall temperatures are imposed as in the previous case. Moreover the I-velocity component is set to 1.5 at the top wall (Front_Wall_Velocity_I= 1.5). | + | * The first **WBCT** is automatically linked to the walls of the domain end's (cavity walls). The wall temperatures are imposed as in the previous case. Moreover the I-velocity component is set to 1.5 at the top wall (Front_Wall_Velocity_I= 1.5). |
- | * The bar (immersed body) is linked to the second **WBCP**. The usual no-slip and impermeability boundary conditions are explicitly | + | * The bar (immersed body) is linked to the second **WBCT**. The usual no-slip and impermeability boundary conditions are explicitly |
- | * When several **WBCP** are present and at least one of them contains a specific set of velocity boundary conditions, which differ from the usual ones, the namelist [[sunfluidh: | + | * When several **WBCT** are present and at least one of them contains a specific set of velocity boundary conditions, which differ from the usual ones, the namelist [[sunfluidh: |
</ | </ | ||
sunfluidh/examples_wall_bc.1580377058.txt.gz · Dernière modification : 2020/01/30 10:37 de yann