The user finds here some examples illustrating the construction of the wall boundary conditions :
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.
Some abbreviations considered here :
We need just to set one WPCP.
&Heat_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set1", West_Heat_BC_Option = 0 , East_Heat_BC_Option = 0 , Back_Heat_BC_Option = 1 , Front_Heat_BC_Option = 1 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, West_Heat_Function_Type= 0 , East_Heat_Function_Type= 0 , Back_Heat_Function_Type= 0 , Front_Heat_Function_Type= 0 , South_Heat_Function_Type= 0 , North_Heat_Function_Type= 0, West_Wall_BC_Value= 305. , East_Wall_BC_Value= 295. , Back_Wall_BC_Value= 0.0 , Front_Wall_BC_Value= 0.0 , South_Wall_BC_Value= 0.0 , North_Wall_BC_Value= 0.0 / &Velocity_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set1", West_Velocity_I_BC_Option= 0 , East_Velocity_I_BC_Option= 0 , Back_Velocity_I_BC_Option= 0 , Front_Velocity_I_BC_Option= 0, South_Velocity_I_BC_Option= 0 , North_Velocity_I_BC_Option= 0 , West_Velocity_J_BC_Option= 0 , East_Velocity_J_BC_Option= 0 , Back_Velocity_J_BC_Option= 0 , Front_Velocity_J_BC_Option= 0, South_Velocity_J_BC_Option= 0 , North_Velocity_J_BC_Option= 0 , West_Velocity_K_BC_Option= 0 , East_Velocity_K_BC_Option= 0 , Back_Velocity_K_BC_Option= 0 , Front_Velocity_K_BC_Option= 0, South_Velocity_K_BC_Option= 0 , North_Velocity_K_BC_Option= 0 , West_Velocity_I_Function_Type= 0, East_Velocity_I_Function_Type= 0, Back_Velocity_I_Function_Type= 0, Front_Velocity_I_Function_Type= 0, South_Velocity_I_Function_Type= 0, North_Velocity_I_Function_Type= 0 , West_Velocity_J_Function_Type= 0, East_Velocity_J_Function_Type= 0, Back_Velocity_J_Function_Type= 0, Front_Velocity_J_Function_Type= 0, South_Velocity_J_Function_Type= 0, North_Velocity_J_Function_Type= 0 , West_Velocity_K_Function_Type= 0, East_Velocity_K_Function_Type= 0, Back_Velocity_K_Function_Type= 0, Front_Velocity_K_Function_Type= 0, South_Velocity_K_Function_Type= 0, North_Velocity_K_Function_Type= 0 , West_Wall_Velocity_I= 0.0 , East_Wall_Velocity_I= 0.0 , Back_Wall_Velocity_I= 0.0 , Front_Wall_Velocity_I= 0.0 , South_Wall_Velocity_I= 0.0 , North_Wall_Velocity_I= 0.0 , West_Wall_Velocity_J= 0.0 , East_Wall_Velocity_J= 0.0 , Back_Wall_Velocity_J= 0.0 , Front_Wall_Velocity_J= 0.0 , South_Wall_Velocity_J= 0.0 , North_Wall_Velocity_J= 0.0 , West_Wall_Velocity_K= 0.0 , East_Wall_Velocity_K= 0.0 , Back_Wall_Velocity_K= 0.0 , Front_Wall_Velocity_K= 0.0 , South_Wall_Velocity_K= 0.0 , North_Wall_Velocity_K= 0.0 /
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
&Heat_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set1", West_Heat_BC_Option = 0 , East_Heat_BC_Option = 0 , Back_Heat_BC_Option = 0 , Front_Heat_BC_Option = 0 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, West_Heat_Function_Type= 0 , East_Heat_Function_Type= 0 , Back_Heat_Function_Type= 0 , Front_Heat_Function_Type= 0 , South_Heat_Function_Type= 0 , North_Heat_Function_Type= 0, West_Wall_BC_Value= 300. , East_Wall_BC_Value= 300. , Back_Wall_BC_Value= 300.0 , Front_Wall_BC_Value= 300.0 , South_Wall_BC_Value= 0.0 , North_Wall_BC_Value= 0.0 /
The second WBCT
&Heat_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set2", West_Heat_BC_Option = 1 , East_Heat_BC_Option = 1 , Back_Heat_BC_Option = 1 , Front_Heat_BC_Option = 1 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, West_Heat_Function_Type= 0 , East_Heat_Function_Type= 0 , Back_Heat_Function_Type= 0 , Front_Heat_Function_Type= 0 , South_Heat_Function_Type= 0 , North_Heat_Function_Type= 0, West_Wall_BC_Value= -5.0 , East_Wall_BC_Value= -5.0 , Back_Wall_BC_Value= -5.0 , Front_Wall_BC_Value= -5.0 , South_Wall_BC_Value= 0.0 , North_Wall_BC_Value= 0.0 /
The first IBD (the first bar)
&Polyhedral_Immersed_Bodies Xi_1= 0.25 , Xj_1= 0.20 , Xk_1= 0.0 , Xi_2= 0.35 , Xj_2= 0.20 , Xk_2= 0.0 , Xi_3= 0.35 , Xj_3= 0.40 , Xk_3= 0.0 , Xi_4= 0.25 , Xj_4= 0.40 , Xk_4= 0.0 , Wall_BC_DataSetName ="Set2"/
The second IBD (the second bar)
&Polyhedral_Immersed_Bodies Xi_1= 0.65 , Xj_1= 0.60 , Xk_1= 0.0 , Xi_2= 0.75 , Xj_2= 0.60 , Xk_2= 0.0 , Xi_3= 0.75 , Xj_3= 0.80 , Xk_3= 0.0 , Xi_4= 0.65 , Xj_4= 0.80 , Xk_4= 0.0 , Wall_BC_DataSetName ="Set1"/
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 WBCT
&Heat_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set1", West_Heat_BC_Option = 0 , East_Heat_BC_Option = 0 , Back_Heat_BC_Option = 1 , Front_Heat_BC_Option = 1 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, West_Heat_Function_Type= 0 , East_Heat_Function_Type= 0 , Back_Heat_Function_Type= 0 , Front_Heat_Function_Type= 0 , South_Heat_Function_Type= 0 , North_Heat_Function_Type= 0, West_Wall_BC_Value= 305. , East_Wall_BC_Value= 295. , Back_Wall_BC_Value= 0.0 , Front_Wall_BC_Value= 0.0 , South_Wall_BC_Value= 0.0 , North_Wall_BC_Value= 0.0 /
The second WBCT
&Heat_Wall_Boundary_Condition_Setup Wall_BC_DataSetName ="Set2", West_Heat_BC_Option = 2 , East_Heat_BC_Option = 2 , Back_Heat_BC_Option = 2 , Front_Heat_BC_Option = 2 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, Material_Thermal_Conductivity= 1.00 , Material_Mass_Heat_Capacity= 3000.00 , Material_Density= 900.00 /
The first IBD (the bar)
&Polyhedral_Immersed_Bodies Xi_1= 0.40 , Xj_1= 0.40 , Xk_1= 0.0 , Xi_2= 0.40 , Xj_2= 0.40 , Xk_2= 0.0 , Xi_3= 0.60 , Xj_3= 0.60 , Xk_3= 0.0 , Xi_4= 0.60 , Xj_4= 0.60 , Xk_4= 0.0 , Wall_BC_DataSetName ="Set2"/
The example is very similar to the previous one but the fluid is driven by the top wall of the cavity.
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 WBCT
&Heat_Wall_Boundary_Condition_Setup West_Heat_BC_Option = 0 , East_Heat_BC_Option = 0 , Back_Heat_BC_Option = 1 , Front_Heat_BC_Option = 1 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, West_Heat_Function_Type= 0 , East_Heat_Function_Type= 0 , Back_Heat_Function_Type= 0 , Front_Heat_Function_Type= 0 , South_Heat_Function_Type= 0 , North_Heat_Function_Type= 0, West_Wall_BC_Value= 305. , East_Wall_BC_Value= 295. , Back_Wall_BC_Value= 0.0 , Front_Wall_BC_Value= 0.0 , South_Wall_BC_Value= 0.0 , North_Wall_BC_Value= 0.0 / &Velocity_Wall_Boundary_Condition_Setup West_Velocity_I_BC_Option= 0 , East_Velocity_I_BC_Option= 0 , Back_Velocity_I_BC_Option= 0 , Front_Velocity_I_BC_Option= 0, South_Velocity_I_BC_Option= 0 , North_Velocity_I_BC_Option= 0 , West_Velocity_J_BC_Option= 0 , East_Velocity_J_BC_Option= 0 , Back_Velocity_J_BC_Option= 0 , Front_Velocity_J_BC_Option= 0, South_Velocity_J_BC_Option= 0 , North_Velocity_J_BC_Option= 0 , West_Velocity_K_BC_Option= 0 , East_Velocity_K_BC_Option= 0 , Back_Velocity_K_BC_Option= 0 , Front_Velocity_K_BC_Option= 0, South_Velocity_K_BC_Option= 0 , North_Velocity_K_BC_Option= 0 , West_Velocity_I_Function_Type= 0, East_Velocity_I_Function_Type= 0, Back_Velocity_I_Function_Type= 0, Front_Velocity_I_Function_Type= 0, South_Velocity_I_Function_Type= 0, North_Velocity_I_Function_Type= 0 , West_Velocity_J_Function_Type= 0, East_Velocity_J_Function_Type= 0, Back_Velocity_J_Function_Type= 0, Front_Velocity_J_Function_Type= 0, South_Velocity_J_Function_Type= 0, North_Velocity_J_Function_Type= 0 , West_Velocity_K_Function_Type= 0, East_Velocity_K_Function_Type= 0, Back_Velocity_K_Function_Type= 0, Front_Velocity_K_Function_Type= 0, South_Velocity_K_Function_Type= 0, North_Velocity_K_Function_Type= 0 , West_Wall_Velocity_I= 0.0 , East_Wall_Velocity_I= 0.0 , Back_Wall_Velocity_I= 0.0 , Front_Wall_Velocity_I= 1.5 , South_Wall_Velocity_I= 0.0 , North_Wall_Velocity_I= 0.0 , West_Wall_Velocity_J= 0.0 , East_Wall_Velocity_J= 0.0 , Back_Wall_Velocity_J= 0.0 , Front_Wall_Velocity_J= 0.0 , South_Wall_Velocity_J= 0.0 , North_Wall_Velocity_J= 0.0 , West_Wall_Velocity_K= 0.0 , East_Wall_Velocity_K= 0.0 , Back_Wall_Velocity_K= 0.0 , Front_Wall_Velocity_K= 0.0 , South_Wall_Velocity_K= 0.0 , North_Wall_Velocity_K= 0.0 /
The second WBCT
&Heat_Wall_Boundary_Condition_Setup West_Heat_BC_Option = 2 , East_Heat_BC_Option = 2 , Back_Heat_BC_Option = 2 , Front_Heat_BC_Option = 2 , South_Heat_BC_Option = 0 , North_Heat_BC_Option = 0, Material_Thermal_Conductivity= 1.00 , Material_Mass_Heat_Capacity= 3000.00 , Material_Density= 900.00 / &Velocity_Wall_Boundary_Condition_Setup West_Velocity_I_BC_Option= 0 , East_Velocity_I_BC_Option= 0 , Back_Velocity_I_BC_Option= 0 , Front_Velocity_I_BC_Option= 0, South_Velocity_I_BC_Option= 0 , North_Velocity_I_BC_Option= 0 , West_Velocity_J_BC_Option= 0 , East_Velocity_J_BC_Option= 0 , Back_Velocity_J_BC_Option= 0 , Front_Velocity_J_BC_Option= 0, South_Velocity_J_BC_Option= 0 , North_Velocity_J_BC_Option= 0 , West_Velocity_K_BC_Option= 0 , East_Velocity_K_BC_Option= 0 , Back_Velocity_K_BC_Option= 0 , Front_Velocity_K_BC_Option= 0, South_Velocity_K_BC_Option= 0 , North_Velocity_K_BC_Option= 0 , West_Velocity_I_Function_Type= 0, East_Velocity_I_Function_Type= 0, Back_Velocity_I_Function_Type= 0, Front_Velocity_I_Function_Type= 0, South_Velocity_I_Function_Type= 0, North_Velocity_I_Function_Type= 0 , West_Velocity_J_Function_Type= 0, East_Velocity_J_Function_Type= 0, Back_Velocity_J_Function_Type= 0, Front_Velocity_J_Function_Type= 0, South_Velocity_J_Function_Type= 0, North_Velocity_J_Function_Type= 0 , West_Velocity_K_Function_Type= 0, East_Velocity_K_Function_Type= 0, Back_Velocity_K_Function_Type= 0, Front_Velocity_K_Function_Type= 0, South_Velocity_K_Function_Type= 0, North_Velocity_K_Function_Type= 0 , West_Wall_Velocity_I= 0.0 , East_Wall_Velocity_I= 0.0 , Back_Wall_Velocity_I= 0.0 , Front_Wall_Velocity_I= 0.0 , South_Wall_Velocity_I= 0.0 , North_Wall_Velocity_I= 0.0 , West_Wall_Velocity_J= 0.0 , East_Wall_Velocity_J= 0.0 , Back_Wall_Velocity_J= 0.0 , Front_Wall_Velocity_J= 0.0 , South_Wall_Velocity_J= 0.0 , North_Wall_Velocity_J= 0.0 , West_Wall_Velocity_K= 0.0 , East_Wall_Velocity_K= 0.0 , Back_Wall_Velocity_K= 0.0 , Front_Wall_Velocity_K= 0.0 , South_Wall_Velocity_K= 0.0 , North_Wall_Velocity_K= 0.0 , End_of_Data_Block= .true. /
The first IBD (the bar)
&Polyhedral_Immersed_Bodies Xi_1= 0.40 , Xj_1= 0.40 , Xk_1= 0.0 , Xi_2= 0.40 , Xj_2= 0.40 , Xk_2= 0.0 , Xi_3= 0.60 , Xj_3= 0.60 , Xk_3= 0.0 , Xi_4= 0.60 , Xj_4= 0.60 , Xk_4= 0.0 , Wall_BC_DataSetName ="Set2"/
Click here to come back to the "Heat_Wall_Boundary_Condition_Setup"
Click here to come back to the "Velocity_Wall_Boundary_Condition_Setup"
Click here to come back to the "Species_Wall_Boundary_Condition_Setup"
Click here to come back to the "Polyhedral_Immersed_Bodies"
Click here to come back to the "Cylindrical_Immersed_Bodies"