CHT 002 - Conjugate heat transfer
In this example, conjugate heat transfer (CHT) in a quasi-2D Taylor-Couette flow is considered.
Model definition
The model is composed of a thin disc with two hollow concentric cylinders: the inner hollow cylinder forms a solid region and the outer hollow cylinder forms the fluid region.
The model setup is based on a paper by De Marinis et al. 1
- The outer surface (at radius ) of the outer cylinder is rotating with a tangential velocity .
- The temperature at the outer surface is fixed at .
- The inner cylinder is stationary.
- The temperature at the inner surface of the inner cylinder is fixed at .
- At the interface of the solid and fluid region (surface at ), a no-slip velocity constraint is applied.
For Taylor-Couette flow, typically a viscous fluid is considered. Here, water properties are used in fluid. However, its kinematic viscosity is increased to m²/s (instead of m²/s) to make it viscous.
For the simulation setup in Allsolve, the tangential velocity is split into its X and Y components as detailed below. The heat transfer at fluid-solid interface is strongly coupled, therefore, no additional flux boundary condition are required at the interface.
Simulation setup guide
Below, you’ll find a simplified guide for setting this up in Quanscient Allsolve.
Step 0 - Define shared expressions
Start out in the Properties
section by defining the following shared expressions:
Name | Description | Expression |
---|---|---|
Ro | outer radius [m] | 1.8 |
Rm | interface radius [m] | 0.9 |
Ri | inner radius [m] | 0.45 |
h | height [m] | 0.05 |
To | temperature at Ro [K] | 700 |
Ti | temperature at Ri [K] | 500 |
Uo | tangential velocity at Ro [m/s] | 2.0 |
w | angular velocity at Ro [rad/s] | Uo/Ro |
ksbykf | heat conductivity ratio between solid and fluid | 9.0 |
nu | kinematic viscosity of fluid [m²/s] | 1.0 |
Step 1 - Create the geometry
In the Model
section, create the model geometry by creating Cylinder elements and by using the Fragment all and Remove operations as follows.
-
Create 3 cylinders:
Name Element type Center point (m) Size (m) Rotation (deg) inner cylinder Cylinder X: 0
Radius: Ri
90
Y: 0
Height: h
0
Z: 0
0
Name Element type Center point (m) Size (m) Rotation (deg) interface cylinder Cylinder X: 0
Radius: Rm
90
Y: 0
Height: h
0
Z: 0
0
Name Element type Center point (m) Size (m) Rotation (deg) outer cylinder Cylinder X: 0
Radius: Ro
90
Y: 0
Height: h
0
Z: 0
0
-
After creating the cylinders, apply the
fragment all
operation. -
Apply the
remove
operation, with the innermost cylinder (volume1
) as target:
Now, your model geometry is finished, and should look like in the image below.
Step 2 - Define the materials
Proceed to the Properties
section to define the model materials.
Water
First, pick the Water
material from the material library and assign it to the outer cylinder (volume 3
). Save the target as a shared region.
Set the Dynamic viscosity of your water material as par.rho() * nu
.
Aluminium
Then, pick the Aluminium
material from the material library and assign it to the interface cylinder (volume 2
). Save the target as a shared region.
Set the Thermal conductivity of your aluminium material as ksbykf * 0.55
.
Here, 0.55
is the thermal conductivity of water.
Now, your model materials are defined.
Step 3 - Define the physics
Proceed to the Physics
section to define the physics.
In this example, the Laminar flow
, Heat fluid
and Heat solid
physics are required.
Laminar flow
- As laminar flow target, select the water region (volume
3
). - Add
Velocity constraint
.- As Target, select the water cylinder’s outer surface (surface
7
). - Set Constraint value to
[1, w * y; 1, -w * x; 1, 0.0]
. - This constraint essentially applies the constant tangential velocity
Uo
at the outer surface of the water cylinder.
- As Target, select the water cylinder’s outer surface (surface
- Add
Velocity constraint 2
.- As Target, select the interface surface between fluid and solid (surface
4
). - Set Constraint value to
[1, 0; 1, 0; 1, 0]
. - This is essentially a no-slip constraint at the fluid and solid interface.
- As Target, select the interface surface between fluid and solid (surface
- Add
Velocity constraint 3
.- As Target, select the water cylinder top and bottom surfaces (surfaces
8, 9
). - Set Constraint value to
[0, 0; 0, 0; 1, 0]
. - This constraint essentially stops water flow in the Z-direction through the water cylinder surfaces.
- This boundary condition is what makes the simulation quasi-2D as the velocity in the Z-direction is set to zero.
- As Target, select the water cylinder top and bottom surfaces (surfaces
- Add
Pressure constraint
.- As Target, select points
3, 4
. - Set Constraint value to
0.0
.
- As Target, select points
- Add the Laminar flow - Heat fluid coupling
Thermal fluid
.
Heat fluid
- As Heat fluid target, select the water region (volume
3
). - Add
Constraint
.- As Target, select the water cylinder outer surface
7
. - Set Temperature constraint to
To
.
- As Target, select the water cylinder outer surface
Heat solid
- As Heat solid target, select the aluminium region (volume
2
). - Add
Constraint
.- As Target, select the aluminium cylinder inner surface
1
. - Set Temperature constraint to
Ti
.
- As Target, select the aluminium cylinder inner surface
Now, your physics, their interactions and the couplings are defined. Before moving on, check that your physics tree looks like in the image below.
Step 4 - Generate the mesh
Proceed to the Simulations
section and create a new mesh.
For thin geometries like in this example, it makes sense to use mesh extrusion:
- Set Mesh quality to
Expert settings
. - Set Used mesher to
Basic
. - Set Scale factor to
0.2
. - Click
+
next to Mesh extrusion. - As Target, select both volumes
2, 3
. - This should create just one extrusion layer.
Set Sublayer count 1 to
3
. - Click
Apply & mesh
. - Click
Show preview
. Your mesh preview should look something like in the image below.
Step 5 - Simulate
In this step, we’ll look at:
- Setting up the steady state simulation
- How to calculate the analytical solution in your steady state simulation through scripting (optional)
- Setting up an additional sweep simulation (optional)
Steady state
In the Simulations
section, create a new simulation:
- In Simulation settings:
- Set Analysis type to
Steady state
. - Set Solver mode to
Iterative solver
. - Set Relative residual tolerance to
1e-6
.
- Set Analysis type to
- In Mesh, select the mesh you created.
- In Outputs:
- Add temperature field output
T
. - Add velocity field output
V
.- In Targets, select the water volume
3
.
- In Targets, select the water volume
- Add pressure field output
p
.- In Targets, select the water volume
3
.
- In Targets, select the water volume
- Add temperature field output
Run your simulation by clicking Not Run
.
Scripting the analytical solution
To calculate the analytical solution, add this snippet of code to the end of your steady state simulation.py
script file:
Sweep
Create a new simulation by copying the existing steady state simulation:
- In Simulation 1 settings:
- Click
Copy
.
- Click
- In Simulation 1 copy settings:
- Name the simulation as
Sweep
.
- Name the simulation as
- In Inputs:
- Add
ksbykf sweep
.- Set Override expression to
linspace(0.1, 20, 40)
.
- Set Override expression to
- Add
- In Outputs:
- Add custom value output:
- Name:
Max T interface
. - Output expression:
maxvalue(reg.interface_surface, T, 5)
.
- Name:
- Add custom value output:
- Name:
FSI flux
. - Output expression:
integrate(reg.interface_surface, transpose(normal(reg.aluminium)) * on(reg.aluminium, -par.k()*grad(T)), 5)
.
- Name:
- Add custom value output:
Run the sweep by clicking Not Run
.
Step 6 - Plot & visualize
In the Simulations
section, add plots to see value output results, or visualizations to see field output results.
Some examples are given below.
- Temperature field T visualized:
- Velocity field v visualized:
- Pressure field p visualized:
Results
References
Footnotes
-
De Marinis, D., de Tullio, M.D., Napolitano, M. and Pascazio, G. (2016). Improving a conjugate-heat-transfer immersed-boundary method. International Journal of Numerical Methods for Heat & Fluid Flow, Vol. 26 No. 3/4, pp. 1272-1288. https://doi.org/10.1108/HFF-11-2015-0473> ↩