Abstract and Applied Analysis

Volume 2014, Article ID 528602, 8 pages

http://dx.doi.org/10.1155/2014/528602

## The Flow Field Analysis and Flow Calculation of Ultrasonic Flowmeter Based on the Fluent Software

^{1}School of Automation, Chongqing University, Chongqing 400044, China^{2}Logistic Engineering University, Chongqing 400016, China^{3}Chongqing Vocational Institute of Engineering, Chongqing 400037, China

Received 26 January 2014; Accepted 3 March 2014; Published 22 May 2014

Academic Editor: Xiaojie Su

Copyright © 2014 Ling Guo et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We can build the three-dimensional structure model based on the Gambit software and achieve the distribution of flow field in the pipe and reflux flow condition at the position of transducer in regard to the real position of transducer according to the Fluent software. Under the framework, define the reflux length based on the distance of reflux along the channel and evaluate the effect of reflux on flow field. Then we can correct the power factor with the transmission speed difference method in the ideal condition and obtain the matching expression of power correction factor according to the practice model. In the end, analyze the simulation experience and produce the sample table based on the proposed model. The comparative analysis of test results and simulation results demonstrates the validity and feasibility of the proposed simulation method. The research in this paper will lay a foundation for further study on the optimization of ultrasonic flowmeter, enhance the measurement precision, and extend the application of engineering.

#### 1. Introduction

Compared with the conventional flowmeter, the ultrasonic flowmeter has a better performance since it has no moving parts, no pressure loss, wide measuring range, excellent repeatability, and high precision [1], and it is widely used in industrial production [2, 3], especially for large diameter pipes and larger flows [4, 5]. The ultrasonic flowmeter is mainly comprised of an ultrasonic transducer installed on the measuring pipe and the related sensors of temperature and pressure [6]. The ultrasonic transducer has two installations: intrusive and nonintrusive [7, 8]. With the nonintrusive installation, the signal emitted by the ultrasonic transducer needs to go through the pipe wall twice, which will weaken the strength of the signal largely, while the low SNR will affect the stability and accuracy of signal receiving. The intrusive installation is currently used in normal situations [9]. For the single-path ultrasonic flowmeter, the intrusive installation requires a through-hole in the pipe wall, where the ultrasonic transducer can be built. This structure and ultrasonic transducer generate disturbance in the flow field, cause measuring errors, and may be the key problem in the measurement of ultrasonic flowmeter. Reference [10] pointed out that the unevenness near the pipe wall induced by the ultrasonic transducer distorts the flow field and leads to lower measuring values. The measuring value would be lower by 0.05% while the length of the channel is 5 m; the measuring value would be lower by 0.35% while the length of the channel is 1 m. However, for the pipe with small diameter and low flow, the length of channel will be shorter, far less than 1 m; the reference had not stated the magnitude of error. Raišutis [11] analysed the flow at the recess in the pipe with a diameter of 70 mm; the flow field was distorted and the symmetry of the velocity distribution was destroyed; this also influenced the measurement of flow. Yet the velocity of flow was large in this reference, and the Reynolds number was large; this belonged to the turbulent flow. Zhang et al. [6] and Zheng et al. [12] did research on the non-flow-calibrated method of ultrasonic flowmeter, using the computational fluid dynamics numerical simulation method, and analyzed the influences of DN500—the multichannel transducer ultrasonic flowmeter—on the accuracy of measurement. The analysis of flow field pointed out that since there might be a reflux near the transducer, the average measurement of velocity of each channel was lower, and the measuring values of flows were lower as well.

With analysis of the related references, we found that the ultrasonic flowmeter uses double-path and multi-path measurement generally [13, 14]; the shortcomings can be listed as follows: on one hand the complex pipe structure requires higher accuracy of installation; on the other hand the use of multiple ultrasonic transducers will increase the costs; few researches have been done for the fluid with low Reynolds number in the single-path ultrasonic flowmeter. And for this kind of ultrasonic flowmeter, the intrusive installation and transducer have nonignorable disturbance on flow field.

In order to estimate the measuring errors caused by disturbance, this paper proposed a novelty model that builds the practice structure of a single-path ultrasonic transducer with a 50 mm pipe diameter and calculates the disturbance of transducer to the flow field approximately using the Fluent software for flow field analysis combined with test data; based on the above model we can analyze the measurement effects on the accuracy by quantitative methods.

This paper is structured in the following way. In Section 2, the measurement principle of the single-path ultrasonic flowmeter is presented. In Section 3, we can model and analyze the flow field based on Fluent software. The simulation results demonstrate the effectiveness and generality of the proposed algorithm in Section 4. Finally, Section 5 summarizes the conclusion.

#### 2. Measurement Principle of the Single-Path Ultrasonic Flowmeter

##### 2.1. Operational Principle

We can see the measurement principle of transmission speed difference method in the single-path ultrasonic flowmeter [15–20] from Figure 1. The diameter of the pipe is represented by , ultrasonic transducers are installed on A and B sides, which could emit and receive the ultrasonic signals, represents the distance of A and B, and is the angle of AB with the pipe axis. It will need time for the signal from A to B and the circuit delay is . For the same reason, the signal will cost time from B to A and the circuit delay is ; in addition, the actual pressure is and the actual temperature is .

It is assumed that the fluid will flow with velocity and the direction is parallel to the axis to the right, so on the channel the propagation velocity of the ultrasonic signal is composited by the acoustic velocity and component of flow velocity , then the propagation time of ultrasonic signal in both downstream and upstream directions can be shown, respectively:

Using (1), the linear mean velocity will be calculated by

Because of the presence of the actual fluid velocity distribution in the pipe cross-section, linear mean velocity is not equal to the cross-section mean velocity . Assume that there is a power correction factor between the linear mean velocity and the cross-section mean velocity , the expression is that

Then we can get that the flow of the pipe is

Considering the influences of pressure and temperature, the flow can be converted under the standard working conditions:

##### 2.2. Model of Ideal Channel

Based on the hydrodynamic theory, the fluid has viscosity so that the fluid shows different velocities at the points of different diameter in the cross-section. And the Reynolds number can be the only parameter that distinguishes moving patterns of viscous fluid. Whether the fluid moving as laminar or turbulent flow can be decided by the value of Reynolds number, there is a lower bound around 2000 for the critical Reynolds number, which transits laminar flow to turbulence. In the moving of laminar flows, the tiny disturbance in the flow field such as the roughness of pipe wall and free changes of surface will attenuate gradually so that the fluid flows as laminar flow. However, the tiny disturbance can be increased and flow becomes unstable if Reynolds number is bigger, so it is difficult to make sure the final status after disturbance increased as the equations are of nonlinearity, we can only conclude that the final stage is connected with structure of flow field and Reynolds number.

With regard to the ideal laminar flow shown in Figure 1, the fluid may flow symmetrically if the gravity effects are ignored, and the velocity will be a function of radius in the horizontal direction. Presume that the pressure drop on the pipe is and the radius of the pipe , the velocity distribution at cross-section can be shown by the Hagen-Poiseuille formula:

Based on the equation above, each point velocity distributed parabolically with radius ; the largest velocity is on the pipe axis as :

Through the simulation, we can get the flow results with parabolic distribution in Figure 2; the distribution is shown clearly.

According to the distribution of flow velocity, the cross-sectional area of the flow can be calculated as After integration: The mean flow velocity at cross-section can be presented as Under the normal circumstances, the path of ultrasonic flowmeter is installed in the middle of the pipe, then the linear mean velocity is On the basis of (4), (10), and (11), we can compute the power correction factor :

We can achieve the relationship between the cross-section mean velocity, linear mean velocity, and the maximum flow rate based on the above theory; meanwhile the relationship between the cross-section mean velocity and linear mean velocity is obtained. However, the magnitude and position of maximum velocity cannot be measured directly in practice and engineering application.

#### 3. Fluent-Based Modeling and Analysis of Flow Field

The laminar flow velocity distribution and the value of power correction factor have been derived under the ideal circumstances. However, the pipe is not smooth in practice, and the pipe will be installed with temperature and pressure sensors inside it, which may disturb the flow field making the velocity of flow field dissatisfy the standard parabolic distribution. Therefore, the power correction factor is not a fixed value.

In this paper, we design the actual structure of ultrasonic flowmeter with small diameter and small flow as shown in Figure 3. Then, the model processing of the simulation and modeling is as follows.

In the first step, we can use the Gambit software to build the geometric model of the flowmeter. The pipe is cylindrical with a 50 mm-diameter with holes at the 45-degree angle along with pipe axis, where the transducer is installed; the pressure and temperature sensors are built separately inside the two holes on the left side.

Secondly, mesh the model. Since the pipe has a through-hole structure that the transducer and sensors are installed in, the shape of flow field is not cylindrical any more. Thence, the surface and volume of flow field can ensure the grid near the transducer and sensors is dense enough and can control the number of grids by choosing tetrahedral mesh.

Next, put the grid file into the Fluent software in order to do the fluid calculation. As the pipe is of small diameter, small flow, and small Reynolds number, we should employ the laminar flow model to make the fluid calculation.

At last, set the parameters for calculations. Using the Fluent software to deal with the laminar flow model when the minimum flow is 0.6 m^{3}/h and the corresponding Reynolds number is 140. Based on the calculation above, we can set the uniform speed entrance and free exit to do the simulated calculation and analyze the output after convergence.

##### 3.1. The Disturbance of Pipe Structure in the Flow Field

In Figures 4 and 5, the fluid flows into the pipe from the right side and the flow field will be affected by the structures of the transducer and the sensor installed therefore generating reflux near the attachments of transducer and sensor at point A and B. The strength of reflux is changing every time according to Reynolds number and it will be increased when Reynolds number is bigger. The reflux will go through the test channel, produce opposite flow, and decrease the linear average velocity of the path, which may affect the measuring accuracy directly. For flowmeter with large diameter, the influences of reflux can be ignored generally. But these influences may be significant with the small-diameter and small-flow condition.

In addition, the fluid velocity has parabolic distribution in the ideal laminar flow model and is parallel to the axis, but in the actual structure we can get the curve of fluid velocity along AB in Figures 6 and 7. In Figure 6, velocity is not symmetrically distributed in the direction along AB. At point A the velocity is exactly positive which means the fluid flows to the opposite direction. The reflux will have larger influence at point A than point B. Figure 7 shows that particles were distributed along the velocity to the axis along AB; on the axis of pipe there is tiny flow to the axis, but apparent flow to the axis exists near the ends of AB.

The curve of cross-sectional velocity distribution at the midpoint of output pipe (the midpoint of AB) can be seen in Figure 8. Being influenced by actual pipe structure and transducer, it is no more standard parabolic distribution.

##### 3.2. Estimating the Influence of Reynolds Number on Reflux

To the fluid, the Reynolds number can be estimated by where is the Reynolds number, is the density of gas, is velocity of flow, and means the radius of the pipe.

In the model shown in Figure 3, the distance AB for transducer installation is 0.098 m, the air viscosity is Pa·S, and the density can be seen as 1.225 kg/m^{3}. According to whether the particles on the line in the trajectories of AB are circulated or not, we can ensure the length of reflux on the propagation path. At the same time, the length of reflux at point A is and at point B is , as in Figures 9 and 10.

Simulating under different Reynolds numbers, we can get the reflux of fluid at the transducer and the length of refluxes and ; the statistics are expressed in Table 1.

On the basis of Table 1, the length of reflux will be raised if Reynolds number is larger. The curve that shows the relationship between Reynolds number and length of reflux is drawn in Figure 11.

##### 3.3. Power Correction Factor Analysis

From (12) above, the power correction factor plays an important role in measurement accuracy of ultrasonic flowmeter, which is the key parameter of ultrasonic flowmeter calibration [9]. The value of is highly related to the Reynolds number, pipe structure, and other factors. If the pipe structure is certain, changes all the time when the Reynolds number changes. And among the references related to the power correction factor , two assumptions can be concluded.

First, assume that the fluid is flowing parallel to the pipe axis in Figure 1. But in practice, the fluid direction is influenced by the pipe shape; it will not certainly and completely be parallel to axis; the velocity of transducer and sensor is not in the horizontal direction. If the actual flowing direction is not parallel to the axis, according to (5), the measurement will generate large errors.

Second, suppose that the pipes are all smooth tubes; we can ignore the influences on the fluid of exact pipe structure. However, because of the actual structure of the transducer by intrusive installation, especially for the pipes with small diameters, the fluid flow will be affected.

In engineering, we can get the power correction factor generally from the test when correcting the flowmeter against the fluid with low Reynolds number, if, considering the actual shape, structure of pipe, and the influences on the measurement of the non-axis-parallel flowing fluid, the relationship between flow field that affects power correction factor and measurement error of pipe flow can be analyzed.

Reflux makes the linear average velocity less so that the measurement is lower and the error is negative. Now considering the influences of reflux, we can rewrite (2):

Considering that the type and size of the transducer in part A are generally the same as part B, so the hardware delay can be regarded as the same: . Then

According to the simulation output data we can get , and . Since and are errors caused by circuit board delay, which can be ignored, getting the linear average velocity by calculation, then the power correction factor is calculated basing on (3) and (4).

#### 4. Simulation

To test the effectiveness of simulation analysis, make a trial version of ultrasonic flowmeter shown in Figure 3; then test with the nozzle flow calibration test device.

##### 4.1. Time Difference Correction of Ultrasonic Propagation

The analysis from the last section leads to the conclusion that the actual structure of the pipe generates reflux at points A and B; the reflux raises the downstream ultrasonic propagation time and lowers the upstream time so that the time difference is less, the flow measurement is lower, the errors will be negative, with the same diameters, and the measuring errors will increase gradually along with the increasing entrance velocity.

To estimate the exact influences on measurement of reflux, this paper is based on the output of Fluent and counts the propagation time and time difference of ultrasonic wave between two transducers, as Table 2 states. From the table, the time difference of reflux at point A is , the time difference of reflux at point is , the downstream and upstream time difference through the AB channel is , and the unit is nanosecond (ns).

##### 4.2. Power Correction Factor

The power correction factor is calculated based on (3) and (4), and the results are shown in Table 3.

Data from Table 3 suggests that the power factor will change in the same direction with Reynolds number. This also proves that power factor may have negative errors using ideal model and the errors increase as Reynolds number increases. On the basis of Table 3 and using the logarithm of fitting method in the Matlab software, we can fit the power factor and Reynolds number as follows:

The curve that indicates the relationship between the power factor and Reynolds number is drawn in Figure 12.

##### 4.3. The Relationship of Time Difference and

During the test, represents the time difference of downstream and upstream, the related experimental results are shown in Table 4.

Based on Table 4, draw the diagram of relationships among simulated time differences, testing time differences, and Reynolds number in Figure 13.

The simulation and test outputs have the same trend with Reynolds number, but there are some offsets in Figure 13; the related seasons can be listed as follows.

Firstly, when installing two transducers along AB, some installation errors always exist.

Secondly, when building the finite element model of flow field, the meshing type and the size of grids will affect the accuracy and then generate the errors.

Thirdly, while using Fluent to simulate and calculate, the setting of related parameters in the laminar flow model will influence the accuracy of outputs.

It is effective to converge the tested and simulated results by improving the accuracy of meshing, setting the reasonable parameters and installation accuracy.

#### 5. Conclusion

In this paper, we analyze the flow field of ultrasonic mono flowmeter with small diameter and low flow and discuss the influences on the flow field and power factor of exact pipe structure and the variation using different Reynolds number. The main conclusions are as follows.(1)The installation point of ultrasonic transducer and temperature/pressure sensor will disturb the laminar flow field, the velocity will not be standard parabolic distribution any longer, and the reflux is generated at the transducer; the length of reflux has the same trend with Reynolds number.(2)Near the transducer, the reflux decreases the linear average velocity and makes the measurement of flow lower; the errors will be negative.(3)The expression of power correction factor by simulated data is fit.(4)Through the test, the effectiveness of simulation is tested. Numerical simulation method can be a good reaction to flow state of flow field; it may be an important way to design and develop ultrasonic flowmeter.

In further work, we will take into account the main reason which causes the error between the test data and the simulation data and fit the power correction factor more accurately so that the proposed method is a more effective tool.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work was supported by the Fundamental Research Funds for the Central Universities (no. CDJZR10170007).

#### References

- P.-Y. Zhang, D.-D. Zheng, T.-S. Xu, L.-X. Zhang, and H.-M. Hu, “Study on the influence of ultrasonic probes on flow field and measurement performance of ultrasonic flowmeter,”
*Journal of Experiments in Fluid Mechanics*, vol. 25, no. 3, pp. 60–65, 2011. View at Google Scholar · View at Scopus - L. C. Lynnworth, “Ultrasonic flow meters,”
*Physical Acoustics: Principles and Methods*, vol. 14, pp. 407–525, 1979. View at Google Scholar · View at Scopus - D. W. Spitzer,
*Flow Measurement: Practical Guides for Measurement and Control*, Instrument society of Amer, 1993. - D. Z. Huo, “Large flow-rate measurement and multichords ultrasonic flowmeter,” in
*Proceedings of the Flow-Rate Measurement Conference*, pp. 158–166, Zhengzhou, China, 2006. - J. G. Drenthen and G. De Boer, “The manufacturing of ultrasonic gas flow meters,”
*Flow Measurement and Instrumentation*, vol. 12, no. 2, pp. 89–99, 2001. View at Publisher · View at Google Scholar · View at Scopus - L. Zhang, T. Meng, C. Wang, H. M. Hu, and C. L. Qin, “Probe installation effects on the accuracy of feed thru ultrasonic flowmeters,”
*Chinese Journal of Scientific Instrument*, vol. 33, no. 10, pp. 2307–2314, 2012. View at Google Scholar - C. Ruppel and F. Peters, “Effects of upstream installations on the reading of an ultrasonic flowmeter,”
*Flow Measurement and Instrumentation*, vol. 15, no. 3, pp. 167–177, 2004. View at Publisher · View at Google Scholar · View at Scopus - M. L. Sanderson and H. Yeung, “Guidelines for the use of ultrasonic non-invasive metering techniques,”
*Flow Measurement and Instrumentation*, vol. 13, no. 4, pp. 125–142, 2002. View at Publisher · View at Google Scholar · View at Scopus - Y. Hu, T. Zhang, and D. D. Zheng, “Estimation on influence of probe protrusion length of ultrasonic flowmeter on measurement,”
*Journal of Tianjin University*, vol. 46, no. 9, pp. 776–783, 2013. View at Google Scholar - The American Society of Mechanical Engineer,
*ASME PTC18-2011 Hydraulic Turbines and Pump Turbines Performance Test Codes*, The American Society of Mechanical Engineer, 2011. - R. Raišutis, “Investigation of the flow velocity profile in a metering section of an invasive ultrasonic flowmeter,”
*Flow Measurement and Instrumentation*, vol. 17, no. 4, pp. 201–206, 2006. View at Publisher · View at Google Scholar · View at Scopus - D. Zheng, P. Zhang, and T. Xu, “Effect of installation position of ultrasonic flowmeter probe on flow measurement,”
*Journal of Mechanical Engineering*, vol. 47, no. 12, pp. 13–18, 2011. View at Publisher · View at Google Scholar · View at Scopus - L. Y. Zhong and L. Chang, “Modeling and simulating of multi path ultrasonic gas flowmeters,”
*Journal of Huazhong University of Science and Technology*, vol. 34, no. 4, 2006. View at Google Scholar - S. He, L. Peng, and H. Nakazato, “Computational fluid dynamics based sound path optimization for ultrasonic flow meter,”
*Chinese Journal of Scientific Instrument*, vol. 30, no. 4, pp. 852–856, 2009. View at Google Scholar · View at Scopus - X. Wang and Z. Tang, “Model simulation and error quantitative analysis of pipeline of ultrasonic gas flowmeter,”
*Chinese Journal of Scientific Instrument*, vol. 30, no. 12, pp. 2612–2618, 2009. View at Google Scholar · View at Scopus - L. S. Bao, J. D. Liang, and J. Lu, “Mathematic model of multi-path ultrasonic gas flowmeter,”
*Technical Acoustics*, vol. 29, no. 4, pp. 392–395, 2010. View at Google Scholar - Y. Li and C. Li, “Modeling and simulating of multi-path ultrasonic gas flowmeters,”
*Journal of Huazhong University of Science and Technology*, vol. 34, no. 4, pp. 852–856, 2006. View at Google Scholar · View at Scopus - J. T. Liang, J. Lu, and S. M. Zhu, “Principles and calibrations of the multipath ultrasonic gas flowmeter,”
*Chinese Journal of Scientific Instrument*, vol. 22, no. 3, 2001. View at Google Scholar - Y. L. Chen, C. M. Liu, C. Y. Chiang, S. M. Yuan, and J. H. Wang, “Building Communication Software: a project-based approach for teaching C
^{++}object-oriented Programming,”*International Journal of Innovative Computing, Information and Control*, vol. 9, no. 8, pp. 3415–3436, 2013. View at Google Scholar - K. Shirai, Y. Amano, and S. Omatu, “Process throughput analysis for manufacturing process under incomplete information based on physical approach,”
*International Journal of Innovative Computing, Information and Control*, vol. 9, no. 11, pp. 4431–4445, 2013. View at Google Scholar