PDF

Insulation of a Pipeline Section
Introduction
As oil flows through a pipeline, heat is dissipated due to internal viscous shear in the fluid. With good insulation of the pipeline, this generated heat can be used to avoid the need of preheating of the oil, despite the fact that it needs to be transported in a cold environment over long distances.
This model uses the Nonisothermal Pipe Flow interface to set up and solve the flow and energy equations describing oil transport in a pipeline section. With the addition of an Optimization interface, the thickness of the pipeline insulation can be found such that the temperature is constant along the pipe stretch.
Note: The third study in this application requires the Optimization Module.
Model Definition
Oil flowing at a rate of 2500 m3/h enters a 150 km pipeline section with a temperature of 25°C. The average temperature outside of the pipeline is 10°C.
Figure 1: A section of pipeline transporting crude oil.
Flow Equations
The continuity and momentum equations below describe the flow of oil inside a horizontal pipe:
(1)
Above, A (SI unit: m2) is the cross section area of the pipe, ρ (SI unit: kg/m3) is the density, u (SI unit: m/s) is the fluid velocity, and p (SI unit: N/m2) is the pressure.
The second term on the right-hand side of Equation 1 describes the pressure drop due to internal viscous shear. The term contains the Darcy friction factor, fD, which is a function of the Reynolds number and the surface roughness divided by the hydraulic pipe diameter. In this example, fD is calculated from the Haaland equation (Ref. 1). It can recover both small and large relative roughness limits for a wide range of Reynolds numbers (4·103 < Re < 1·108):
(2)
The pipe flow interfaces have the Haaland equation and several other friction models predefined and automatically calculate the friction factor based on the local properties of the pipe, the fluid physical properties, and the fluid velocity.
Heat Transfer Equations
The energy equation the pipeline flow is:
(3)
where Cp (SI unit: J/(kg·K)) is the heat capacity at constant pressure, T is the temperature (SI unit: K), and k (SI unit: W/(m·K)) is the thermal conductivity. The second term on the right-hand side of Equation 3 corresponds to heat released due to the work of internal friction forces. Qwall (SI unit: W/m) is a source/sink term due to heat exchange with the surroundings through the pipe wall:
Where Z (m) is the perimeter of the pipe, h (W/(m2·K)) an overall heat transfer coefficient and Text (K) the external temperature outside the pipe.
The overall heat transfer coefficient includes contribution from internal film resistance, wall resistance, and external film resistance.
Figure 2: Wall heat transfer resistance.
For a circular pipe, assuming equal temperature around the circumference of the pipe, and that the heat transfer through the wall is quasi static, an effective hZ in Equation 3 is given by
where rnis the outer radius of wall n, hint and hext are the film heat transfer coefficients on the inside and outside of the tube, respectively, and kn is the thermal conductivity of wall n.
For this particular case, with one pipe wall and one layer of insulation, this simplifies to:
Figure 3: Pipeline cross section. A two layered wall (dark and light gray) and the film resistances on the inside and outside (light blue).
Properties of the pipe and insulation material is given in the table below.
dwall
kwall
dins
kins
The film resistance inside the pipe is given by:
with the following Nusselt correlation (Ref. 2):
The film resistance due to the external flow of air around the pipeline is:
where Nuext is calculated with a forced convection relation, assuming an average air speed of 5 m/s.
Results and Discussion
A first study calculates the temperature along the pipeline assuming perfect insulation, as well as case where the pipeline in uninsulated. Figure 4 shows that the heat generated due to friction increases the temperature of the oil by approximately 3°C over 150 km. With no pipeline insulation the temperature at the outlet is close to that of the surroundings.
Figure 4: Oil temperature as a function of position in the pipeline assuming no heat transfer across the pipe wall, heat transfer with no insulating material around the pipe, and with an optimized insulation thickness.
Optimization calculations performed under the constraint that the temperature at the outlet should be the same as inlet temperature, predicts that the thickness of the insulating material should be approximately 8.6 cm.
It is always advisable to check the Reynolds number and verify that the friction model is valid under the present flow conditions. In this case Re = 1.1·105 confirming that the Haaland equation is valid for calculating fD.
Notes About the COMSOL Implementation
The film heat transfer coefficients and wall resistance are automatically computed by COMSOL’s Wall Heat Transfer feature.
This modeling example involves three study.
1
2
3
References
1. S.E. Haaland, “Simple and Explicit Formulas for the Friction Factor in Turbulent Flow,” J. Fluids Engineering (ASME), vol. 103, no. 5, pp. 89–90, 1983.
2. F.P. Incropera and D.P. DeWitt, Fundamentals of Heat and Mass Transfer, 4th ed., John Wiley & Sons, 1996. Eq 8.62 and Eq 7.55, respectively.
Application Library path: Pipe_Flow_Module/Heat_Transfer/pipeline_insulation
Modeling Instructions
From the File menu, choose New.
New
In the New window, click  Model Wizard.
Model Wizard
1
In the Model Wizard window, Start by setting up the nonisothermal flow problem, solving for the cases of perfect insulation and no insulation of the pipeline.
2
3
In the Select Physics tree, select Fluid Flow>Nonisothermal Flow>Nonisothermal Pipe Flow (nipfl).
4
Click Add.
5
Click  Study.
6
In the Select Study tree, select General Studies>Stationary.
7
Geometry 1
Polygon 1 (pol1)
1
In the Geometry toolbar, click  More Primitives and choose Polygon.
2
In the Settings window for Polygon, locate the Coordinates section.
3
4
Click  Build Selected.
Next, import parameter values from text file.
Global Definitions
Parameters 1
1
In the Model Builder window, under Global Definitions click Parameters 1.
2
In the Settings window for Parameters, locate the Parameters section.
3
Click  Load from File.
4
Materials
Now create the crude oil material needed for the simulation. The air properties needed for the external forced convection cooling is taken from the built-in materials database.
Crude oil
1
In the Model Builder window, under Component 1 (comp1) right-click Materials and choose Blank Material.
2
Right-click Material 1 (mat1) and choose Rename.
3
In the Rename Material dialog box, type Crude oil in the New label text field.
4
5
In the Settings window for Material, locate the Material Contents section.
6
Add Material
1
In the Home toolbar, click  Add Material to open the Add Material window.
2
Go to the Add Material window.
3
4
Click Add to Component in the window toolbar.
5
In the Home toolbar, click  Add Material to close the Add Material window.
Materials
Air (mat2)
Use the default settings for the Nonisothermal Pipe Flow and the Fluid 1 nodes. You can click them if you want to inspect the defaults.
Nonisothermal Pipe Flow (nipfl)
Pipe Properties 1
1
In the Model Builder window, under Component 1 (comp1)>Nonisothermal Pipe Flow (nipfl) click Pipe Properties 1.
2
In the Settings window for Pipe Properties, locate the Pipe Shape section.
3
4
In the di text field, type 70[cm].
5
Locate the Flow Resistance section. From the Friction model list, choose Haaland.
6
From the Surface roughness list, choose Commercial steel (0.046 mm).
Temperature 1
1
In the Model Builder window, click Temperature 1.
2
In the Settings window for Temperature, locate the Temperature section.
3
In the Tin text field, type T_in.
Heat Outflow 1
1
In the Physics toolbar, click  Points and choose Heat Outflow.
2
Inlet 1
1
In the Physics toolbar, click  Points and choose Inlet.
2
3
In the Settings window for Inlet, locate the Inlet Specification section.
4
From the Specification list, choose Volumetric flow rate.
5
In the qv,0 text field, type oil_rate.
Next, set up the wall heat transfer components.
Wall Heat Transfer 1
1
In the Physics toolbar, click  Edges and choose Wall Heat Transfer.
2
3
In the Settings window for Wall Heat Transfer, locate the Heat Transfer Model section.
4
In the Text text field, type T_ext.
Internal Film Resistance 1
In the Physics toolbar, click  Attributes and choose Internal Film Resistance.
Wall Heat Transfer 1
Add two layers of wall material.
1
In the Model Builder window, click Wall Heat Transfer 1.
Steel pipe wall
1
In the Physics toolbar, click  Attributes and choose Wall Layer.
2
Right-click Wall Layer 1 and choose Rename.
3
In the Rename Wall Layer dialog box, type Steel pipe wall in the New label text field.
4
5
In the Settings window for Wall Layer, locate the Specification section.
6
From the k list, choose User defined.
7
8
From the Δw list, choose User defined.
9
Insulation layer
1
In the Physics toolbar, click  Attributes and choose Wall Layer.
2
In the Model Builder window, right-click Wall Layer 2 and choose Rename.
3
In the Rename Wall Layer dialog box, type Insulation layer in the New label text field.
4
5
In the Settings window for Wall Layer, locate the Specification section.
6
From the k list, choose User defined.
7
8
From the Δw list, choose User defined.
9
Wall Heat Transfer 1
Now add the external film resistance to model the forced convection.
1
In the Model Builder window, click Wall Heat Transfer 1.
External Film Resistance 1
1
In the Physics toolbar, click  Attributes and choose External Film Resistance.
2
In the Settings window for External Film Resistance, locate the Specification section.
3
From the Surrounding fluid list, choose Air (mat2).
4
In the uext text field, type v_air.
Mesh 1
1
In the Model Builder window, under Component 1 (comp1) click Mesh 1.
2
In the Settings window for Mesh, locate the Physics-Controlled Mesh section.
3
From the Element size list, choose Extra fine.
4
Click  Build All.
Study 1
The first study calculates the temperature for the uninsulated pipeline.
Step 1: Stationary
1
In the Model Builder window, under Study 1 click Step 1: Stationary.
2
In the Settings window for Stationary, locate the Physics and Variables Selection section.
3
Select the Modify model configuration for study step check box.
4
In the Physics and variables selection tree, select Component 1 (comp1)>Nonisothermal Pipe Flow (nipfl)>Wall Heat Transfer 1>Insulation layer.
5
Click  Disable.
6
In the Model Builder window, click Study 1.
7
In the Settings window for Study, locate the Study Settings section.
8
Clear the Generate default plots check box.
9
Right-click Study 1 and choose Rename.
10
In the Rename Study dialog box, type No insulation in the New label text field.
11
12
In the Home toolbar, click  Compute.
Results
Plot the temperature distribution along the pipeline.
1D Plot Group 1
In the Home toolbar, click  Add Plot Group and choose 1D Plot Group.
Line Graph 1
1
Right-click 1D Plot Group 1 and choose Line Graph.
2
In the Settings window for Line Graph, locate the Selection section.
3
From the Selection list, choose All edges.
4
Click Replace Expression in the upper-right corner of the y-Axis Data section. From the menu, choose Component 1 (comp1)>Nonisothermal Pipe Flow (Heat Transfer in Pipes)>T - Temperature - K.
5
Locate the y-Axis Data section. From the Unit list, choose degC.
6
Click to expand the Legends section. Select the Show legends check box.
7
From the Legends list, choose Manual.
8
9
In the 1D Plot Group 1 toolbar, click  Plot.
Add the second study for the perfect insulation case.
Add Study
1
In the Home toolbar, click  Add Study to open the Add Study window.
2
Go to the Add Study window.
3
Find the Studies subsection. In the Select Study tree, select General Studies>Stationary.
4
Click Add Study in the window toolbar.
5
In the Home toolbar, click  Add Study to close the Add Study window.
Study 2
Step 1: Stationary
1
In the Settings window for Stationary, locate the Physics and Variables Selection section.
2
Select the Modify model configuration for study step check box.
3
In the Physics and variables selection tree, select Component 1 (comp1)>Nonisothermal Pipe Flow (nipfl)>Wall Heat Transfer 1.
4
Click  Disable.
5
In the Model Builder window, click Study 2.
6
In the Settings window for Study, locate the Study Settings section.
7
Clear the Generate default plots check box.
8
Right-click Study 2 and choose Rename.
9
In the Rename Study dialog box, type Perfect insulation in the New label text field.
10
11
In the Home toolbar, click  Compute.
Results
Line Graph 2
1
In the Model Builder window, under Results>1D Plot Group 1 right-click Line Graph 1 and choose Duplicate.
2
In the Settings window for Line Graph, locate the Data section.
3
From the Dataset list, choose Perfect insulation/Solution 2 (sol2).
4
Locate the Legends section. In the table, enter the following settings:
5
In the 1D Plot Group 1 toolbar, click  Plot.
Finish the plot by adjusting the title and legend positioning.
1D Plot Group 1
1
In the Model Builder window, click 1D Plot Group 1.
2
In the Settings window for 1D Plot Group, click to expand the Title section.
3
From the Title type list, choose None.
4
Locate the Legend section. From the Position list, choose Lower left.
5
In the 1D Plot Group 1 toolbar, click  Plot.
Definitions
Next, set up the study to optimize the insulation thickness.
Integration 1 (intop1)
1
In the Definitions toolbar, click  Nonlocal Couplings and choose Integration.
2
In the Settings window for Integration, locate the Source Selection section.
3
From the Geometric entity level list, choose Point.
4
Variables 1
1
In the Definitions toolbar, click  Local Variables.
2
In the Settings window for Variables, locate the Variables section.
3
Add Study
1
In the Home toolbar, click  Add Study to open the Add Study window.
2
Go to the Add Study window.
3
Find the Studies subsection. In the Select Study tree, select General Studies>Stationary.
4
Click Add Study in the window toolbar.
5
In the Home toolbar, click  Add Study to close the Add Study window.
Study 3
Optimization
1
In the Study toolbar, click  Optimization.
2
In the Settings window for Optimization, locate the Objective Function section.
3
4
Locate the Control Variables and Parameters section. Click  Add.
5
6
In the Model Builder window, click Study 3.
7
In the Settings window for Study, locate the Study Settings section.
8
Clear the Generate default plots check box.
9
Right-click Study 3 and choose Rename.
10
In the Rename Study dialog box, type Insulation thickness optimization in the New label text field.
11
12
In the Study toolbar, click  Compute.
Results
Line Graph 3
1
In the Model Builder window, under Results>1D Plot Group 1 right-click Line Graph 2 and choose Duplicate.
2
In the Settings window for Line Graph, locate the Data section.
3
From the Dataset list, choose Insulation thickness optimization/Solution 3 (sol3).
4
Locate the Legends section. In the table, enter the following settings:
5
In the 1D Plot Group 1 toolbar, click  Plot.
Compare this plot with Figure 4.
Objective Table 2
Scroll down the table to find the resulting values of the insulation thickness.