You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bulk of the programm is contained in solver.py. schaefer_turek, rectangles and laser implement (modified) problems found in [1],[2] and [3] respectively.
Strong and Weak Formulation
The Boussinesq equations are essentially a coupled version of the Navier-Stokes and heat equation. For an incompressible fluid with velocity field $v$ and pressure field $p$, temperature field $\theta$ and space-time domain $\Omega = \Omega_s \times I$ the strong form is [4]
with suitable boundary conditions, which depend on the problem. $\rho$ and $k$ are the density and thermal conductivity respectively, while $\mathcal{f}$ describes a heat source. The last term in the first equation $-\alpha\theta g$ models the buoyancy force due to a gravitational field $g$ and thermal expansion coefficient $\alpha$. In this formulation the viscosity is temperature dependent according to the Arrhenius equation
$$
X_v:=v_D+\lbrace\theta\in L^2(I,H^1_0(\Omega)^d): \partial_t v \in L^{2}(I,(H^1_0(\Omega)^d)^*)\rbrace,
$$
$$
X_p:= L^{2}(I,L^0(\Omega)),
$$
where $L^0 := \lbrace p \in L^2(\Omega) : \int_\Omega p, dx = 0\rbrace $. Using Taylor-Hood elements in space and dG(r) in time, we obtain the weak formulation:
Find $u = (v, p, \theta) \in X_v \times X_p \times X_v$ such that
where $(\cdot, \cdot)$ is the usual $L^2$ inner product over space. Moreover, $v^0$ and $\theta^0$ are initial conditions. In practice it is computanionally expensive to use this weak form as it is, which is why we divided the time interval into slabs and performed a time marching scheme using dG(1).
Results
For the Schäfer Turek benchmark [1] with additional boundary conditions $\theta = 600$ at $\partial\Omega_\text{Cylinder}$ and $\theta=0$ at the other boundaries, and parameters $R=E_A$, $T_0=200$, $k=0.005$, $g = (0, -9.81)$ and $\alpha=0.005$, we obtain the following results as well as drag and lift values:
shaefer_turek.mp4
References
[1]
Schäfer, M. & Turek, S. & Durst, F. & Krause, E. & Rannacher, R. (1996). Benchmark Computations of Laminar Flow Around a Cylinder. DOI: 10.1007/978-3-322-89849-4_39
[2]
Cai, S. & Wang, Z. & Wang, S. & Perdikaris, P. & and Karniadakis, G. E. (2021). Physics-Informed Neural Networks for Heat Transfer Problems. DOI: 10.1115/1.4050542
[3]
Beuchler, S. & Endtmayer, B. & Lankeit, J. & Wick, T. (2024). Multigoal-oriented a posteriori error control for heated material processing using a generalized Boussinesq model. DOI: 10.5802/crmeca.160
[4]
Thiele, Jan Philipp. Doctoral dissertation at Leibniz University Hannover.
About
Tensor-product space-time Finite Element Method for the Boussinesq equations in FEniCS