sunfluidh:examples_wall_bc
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:examples_wall_bc [2020/01/30 10:52] – 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. | + | |
</ | </ | ||
Ligne 24: | 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 68: | Ligne 73: | ||
* 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 76: | 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 **WBCT** 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 **WBCT**__ | __The first **WBCT**__ | ||
Ligne 120: | Ligne 125: | ||
* The **WBCT** 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 130: | 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 **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 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. |
{{ : | {{ : | ||
Ligne 165: | Ligne 173: | ||
</ | </ | ||
- | ==== 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 173: | 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 **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 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. |
{{ : | {{ : | ||
Ligne 245: | Ligne 253: | ||
<note important> | <note important> | ||
* 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 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 **WBCT**. 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 **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: | * 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.1580377966.txt.gz · Dernière modification : 2020/01/30 10:52 de yann