Forced convection around a cylinder
We consider the forced convection of an heat source at the entrance of a channel with a cylinder inside.
1. Running the case
The command line to run this case is
mpirun -np 4 feelpp_toolbox_heatfluid --case "github:{repo:toolbox,path:examples/modules/heatfluid/examples/TurekHron}"
--case "github:{repo:toolbox,path:examples/modules/heatfluid/examples/TurekHron}"
The report of the execution of the command above is available here. |
2. Data files
The case data files are available in Github here
3. Geometry
A channel with a cylinder inside
We consider a 2D model representative of a laminar incompressible flow around an obstacle. The flow domain, named \(\Omega_f\), is contained into the rectangle \( \lbrack 0,Long \rbrack \times \lbrack 0,Haut \rbrack \). It is characterised, in particular, by its dynamic viscosity \(\mu_f\) and by its density \(\rho_f\).
In order to describe the flow, the incompressible Navier-Stokes model is chosen for this case, define by the conservation of momentum equation and the conservation of mass equation. At them, we add the material constitutive equation, that help us to define \(\boldsymbol{\sigma}_f\)
The goal of this benchmark is to couple the Naviers-Stockes equations and the heat equations We remind that the Naviers-Stokes equation are
And the Heat equations is
The toolbox is HeatFluid
4. Input parameters
The following table displays the various fixed and variables parameters of this test-case.
Name |
Description |
Units |
\(u\) |
fluid velocity |
\(m/s\) |
\(\rho\) |
density of the fluid |
\(kg/m^3\) |
\(\nu\) |
dynamic viscosity |
\(kg/(m×s)\) |
\(p\) |
pression |
\(Pa\) |
\(f\) |
source term |
\(kg/(m^3×s)\) |
\(C_p\) |
thermal capacity |
\(J/(kg∗K)\) |
\(T\) |
Temperature |
\(K\) |
\(Q\) |
heat source |
\(W.m^{-3}\) |
\(k\) |
Thermal conductivity |
\(W⋅m^{-1}⋅K^{-1}\) |
4.1. initial condition
For the fluid:
We use a parabolic velocity profile, in order to describe the flow inlet by \( \Gamma_{in} \), which can be express by
where \(\bar{U}\) is the mean inflow velocity.
However, we want to impose a progressive increase of this velocity profile. That’s why we define
With t the time.
For the temperature:
We give as source this temperature
4.3. Boundary conditions
For the fluid:
We set
-
On \(\Gamma_{in}\), an inflow Dirichlet condition : \( \boldsymbol{u}_f=(v_{in},0) \)
-
On \(\Gamma_{wall}\) and \(\Gamma_{obst}\), a homogeneous Dirichlet condition : \( \boldsymbol{u}_f=\boldsymbol{0} \)
-
On \(\Gamma_{out}\), a Neumann condition : \( \boldsymbol{\sigma}_f\boldsymbol{ n }_f=\boldsymbol{0} \)
For the heat:
-
On \(\Gamma_{in}\), an inflow Dirichlet condition : \( \boldsymbol{T}_f=T_{in} \)