Implementing the Weak Form in COMSOL Multiphysics _ COMSOL Blog
Simulation of a Geothermal System in COMSOL Multiphysics
Transcript of Simulation of a Geothermal System in COMSOL Multiphysics
![Page 1: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/1.jpg)
![Page 2: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/2.jpg)
www.cmr.no © Christian Michelsen Research AS
Simulation of a Geothermal System in COMSOL Multiphysics
Knut-Erland Brun
Comsol Workshop 10/6/2011
![Page 3: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/3.jpg)
www.cmr.no © Christian Michelsen Research AS
Outline
Background – geothermal energy
Comsol model
Geometry
Implementing physics
Meshing
Preliminary results
Outlook
3 Comsol Workshop 10/6/2011
![Page 4: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/4.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Comsol Workshop 10/6/2011 4
Illustration: Comfortbrygga.no
![Page 5: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/5.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Natural Geothermal Systems – e.g. Iceland
1-3 km – or less
Comsol Workshop 10/6/2011 5
![Page 6: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/6.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Natural Geothermal Systems – e.g. Iceland
1-3 km – or less
Enhanced Geothermal System («Hot Dry Rock»)
3-5 km – or more
Comsol Workshop 10/6/2011 6
Fracture-dominated porous media
• Earth-science module • Model fractures as internal boundaries
• BC: fluid flow along a fracture
![Page 7: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/7.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Natural Geothermal Systems – e.g. Iceland
1-3 km – or less
Enhanced Geothermal System («Hot Dry Rock»)
3-5 km – or more
Comsol Workshop 10/6/2011 7
Fracture-dominated porous media
• Earth-science module • Model fractures as internal boundaries
• BC: fluid flow along a fracture
![Page 8: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/8.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Natural Geothermal Systems – e.g. Iceland
1-3 km – or less
Enhanced Geothermal System («Hot Dry Rock»)
3-5 km – or more
Comsol Workshop 10/6/2011 8
Fracture-dominated porous media
• Jan’s work…
![Page 9: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/9.jpg)
www.cmr.no © Christian Michelsen Research AS
Geothermal energy
Geothermal Heat Pump
Natural Geothermal Systems – e.g. Iceland
1-3 km – or less
Enhanced Geothermal System («Hot Dry Rock»)
3-5 km – or more
Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 9
![Page 10: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/10.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 10
![Page 11: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/11.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 11
Jan’s best tip:
• Parameterize everything! • Total control of all ‘parameters’; initial values, BC,
subdomain settings, etc. • Easy to make parametric sweeps
• Also geometric properties and mesh-values!
![Page 12: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/12.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 12
Jan’s best tip:
• Parameterize everything! • Total control of all ‘parameters’; initial values, BC,
subdomain settings, etc. • Easy to make parametric sweeps
• Also geometric properties and mesh-values!
![Page 13: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/13.jpg)
www.cmr.no © Christian Michelsen Research AS
Wellbore Heat Exchanger – Physics/Geometry
Comsol Workshop 10/6/2011 13
Simple axial / single pipe
Axial symmetry
Flexible model: rwell : 0.10 - 0.15 m
rrock: 10 – 20 m
Depth 300 m – 5 km
![Page 14: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/14.jpg)
www.cmr.no © Christian Michelsen Research AS
Wellbore Heat Exchanger – Physics/Geometry
Comsol Workshop 10/6/2011 14
Fluid inlet
Fluid outlet
![Page 15: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/15.jpg)
www.cmr.no © Christian Michelsen Research AS
Wellbore Heat Exchanger – Physics/Geometry
Comsol Workshop 10/6/2011 15
d
rrock
rwell
Fluid inlet
Fluid outlet
![Page 16: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/16.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Heat transfer by forced convection
• 𝜙𝑇 = ℎ𝐴(𝑇ℎ − 𝑇𝑙)
• 𝑇ℎ − rock temperature
• 𝑇𝑙 − fluid temperature
Heat transfer by conduction
• 𝜙𝑇 = 𝑘𝑇𝛻𝑇
Comsol Workshop 10/6/2011 16
![Page 17: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/17.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Heat transfer by forced convection
• 𝜙𝑇 = ℎ𝐴(𝑇ℎ − 𝑇𝑙)
• 𝑇ℎ − rock temperature
• 𝑇𝑙 − fluid temperature
Heat transfer by conduction
• 𝜙𝑇 = 𝑘𝑇𝛻𝑇
Comsol Workshop 10/6/2011 17
![Page 18: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/18.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Heat transfer by forced convection
• 𝜙𝑇 = ℎ𝐴(𝑇ℎ − 𝑇𝑙)
• 𝑇ℎ − rock temperature
• 𝑇𝑙 − fluid temperature
Heat transfer by conduction
• 𝜙𝑇 = 𝑘𝑇𝛻𝑇
Comsol Workshop 10/6/2011 18
![Page 19: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/19.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 19
Heat transfer by forced convection
• Continuity or ‘Thin thermally resistive layer’?
![Page 20: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/20.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 20
![Page 21: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/21.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 21
Mesh
• Difficult geometry: • Long, thin pipe • Need small, high-quality elements in the pipe • Need large elements in rock to reduce
computation time
• Implement a mesh-refinement parameter
![Page 22: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/22.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 22
Mesh
• Difficult geometry: • Long, thin pipe • Need small, high-quality elements in the pipe • Need large elements in rock to reduce
computation time
• Implement a mesh-refinement parameter
![Page 23: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/23.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 23
Mesh
• Difficult geometry: • Long, thin pipe • Need small, high-quality elements in the pipe • Need large elements in rock to reduce
computation time
• Implement a mesh-refinement parameter
![Page 24: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/24.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 24
![Page 25: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/25.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 25
![Page 26: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/26.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 26
![Page 27: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/27.jpg)
www.cmr.no © Christian Michelsen Research AS
Comsol Model of a Wellbore Heat Exchanger
Comsol Workshop 10/6/2011 27
![Page 28: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/28.jpg)
www.cmr.no © Christian Michelsen Research AS
Preliminary results
Comsol Workshop 10/6/2011 28
The effect of a thin thermally resistive layer
![Page 29: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/29.jpg)
www.cmr.no © Christian Michelsen Research AS
Preliminary results
Comsol Workshop 10/6/2011 29
Cut-line plot
Continuity of temperature. The ‘jump’ in the rock temperature observed about
r=0.45 m is assumed due to interpolation of the solution using 2nd-degree
polynomials.
![Page 30: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/30.jpg)
www.cmr.no © Christian Michelsen Research AS
Preliminary results
Comsol Workshop 10/6/2011 30
Table plot
Outflow temperature after 200 days. Observe the small difference this layer
makes; it can be quantified to less than 0.1 ˚C
![Page 31: Simulation of a Geothermal System in COMSOL Multiphysics](https://reader035.fdocuments.in/reader035/viewer/2022071602/613d6892736caf36b75cfb74/html5/thumbnails/31.jpg)
www.cmr.no © Christian Michelsen Research AS
Outlook – further work
Study behavior for three cases – both fluid and rock temperature
500 m well
1 km well
5 km well
Imitate the behavior of a U-pipe by mirroring the model at z=-d (total
depth = 2d)
Future model: Coaxial
Comsol Workshop 10/6/2011 31