Outils pour utilisateurs

Outils du site


sunfluidh:examples_wall_bc

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
sunfluidh:examples_wall_bc [2020/01/30 10:57] yannsunfluidh: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, the second one with imposed heat flux  
 +   * An enclosed cavity with a thermally conductive bar 
 +   * A heated bar in a lid-driven cavity 
 <WRAP info> <WRAP info>
-   Only 2D geometrical configurations are considered. So, data associated to the 3rd direction K could be removed. They are still kept in these examples even if they are useless. +Only 2D geometrical configurations are considered. So, data associated to the 3rd direction K could be removed. They are still kept in these examples even if they are useless. 
-   * For the sake of clarity, the multi-species case is not considered (homogeneous fluid). The namelist associated to the species is therefore not present.+ 
 </WRAP> </WRAP>
  
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:inlet_boundary_conditions_setup_namelist| Inlet_Boundary_Condition]], [[sunfluidh:outlet_boundary_conditions_setup_namelist|Outlet_Boundary_Condition]], or [[sunfluidh:border_domain_boundary_conditions_namelist_setup|Border_Domain_Boundary_Conditions]]).+   * 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)
 </WRAP> </WRAP>
 {{ :sunfluidh:example_heat_driven_cavity.jpg?direct&600 |}} {{ :sunfluidh:example_heat_driven_cavity.jpg?direct&600 |}}
  
  
-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.
 </note> </note>
-==== 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 stated here.+   * 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 set here.
    * 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$, the second one is $0.7$x$0.7$    * 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$, the second one is $0.7$x$0.7$
 </WRAP> </WRAP>
 {{ :sunfluidh:example_enclosed_cavity_with_2_bars.jpg?600direct |}} {{ :sunfluidh:example_enclosed_cavity_with_2_bars.jpg?600direct |}}
-We need to two **WBCT** for setting the two different sets of wall boundary conditions, the first one for the imposed temperature, the second one for the imposed heat flux. We also need to state two ** IBD** in order to define the positions of the couple of bars.+We need two **WBCT** for setting the two different sets of wall boundary conditions, the first one for the imposed temperature, the second one for the imposed heat flux. We also need to set two ** IBD** in order to define the positions of the couple of bars.
  
 __The first **WBCT**__ __The first **WBCT**__
Ligne 120: Ligne 125:
    * The **WBCT** named "Set1" is also automatically linked to the walls of the domain end's (cavity walls).    * The **WBCT** named "Set1" is also automatically linked to the walls of the domain end's (cavity walls).
    * 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
 </note> </note>
  
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.
 </WRAP> </WRAP>
-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.
 {{ :sunfluidh:example_cavity_with_bar.jpg?direct&600 |}} {{ :sunfluidh:example_cavity_with_bar.jpg?direct&600 |}}
  
Ligne 165: Ligne 173:
 </note>   </note>  
            
-==== Lid-driven cavity with a heated bar ====+==== 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.
 </WRAP> </WRAP>
-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.
  
 {{ :sunfluidh:example_liddrivenheatedcavity.jpg?direct&600 |}} {{ :sunfluidh:example_liddrivenheatedcavity.jpg?direct&600 |}}
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 stated here because the default values are no longer available due to the previous **WBCT**.+   * The bar (immersed body) is linked to the second **WBCT**. The usual no-slip and impermeability boundary conditions are explicitly set here because the default values are no longer available due to the previous **WBCT**.
    * 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:velocity_wall_boundary_condition_setup_namelist| "Velocity_Wall_Boundary_Condition_Setup"]] must then be explicitly set for each **WBCT**, even for the usual velocity boundary conditions.    * 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:velocity_wall_boundary_condition_setup_namelist| "Velocity_Wall_Boundary_Condition_Setup"]] must then be explicitly set for each **WBCT**, even for the usual velocity boundary conditions.
 </note>   </note>  
sunfluidh/examples_wall_bc.1580378265.txt.gz · Dernière modification : 2020/01/30 10:57 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki