Models - Aco.flow Meter Piezoelectric Transducers
Models - Aco.flow Meter Piezoelectric Transducers
Models - Aco.flow Meter Piezoelectric Transducers
This model is licensed under the COMSOL Software License Agreement 6.1.
All trademarks are the property of their respective owners. See www.comsol.com/trademarks.
Introduction
Ultrasonic flowmeters are used to determine the velocity of the fluid flowing through a
pipe. The principle is to send an ultrasonic signal across the flow at a skew angle. In case
of no flow, the transmitting time between the transmitter and the receiver is the same for
the signals sent in the upstream and the downstream directions. Otherwise, the
downstream traveling wave moves faster than the one traveling upstream. In many cases
piezoelectric transducers are used to send and receive the ultrasonic wave.
This tutorial shows how to simulate an ultrasonic flowmeter with piezoelectric transducers
in the presence of a background flow. The simulation approach is based on the
discontinuous Galerkin (dG) method which is well suited for acoustically large transient
problems. The model is a true multiphysics problem that involves acoustic-structure
interaction in moving fluids and piezoelectric effect. The former is modeled with the
Elastic Waves, Time Explicit and the Convected Wave Equation, Time Explicit physics
interfaces coupled through the Pair Convected Acoustic-Structure Boundary, Time
Explicit multiphysics feature. The latter is handled with the Piezoelectric Effect, Time
Explicit multiphysics feature that couples the Elastic Waves, Time Explicit and the
Electrostatics physics interfaces. The model takes advantage of a geometry assembly and a
nonconforming mesh.
Model Definition
The flowmeter consists of a main pipe and a signal pipe of a smaller diameter. The signal
tube is tilted to the main pipe at the angle α = 45°. The dimensions of the pipes used in
this tutorial are the same as the ones given in the model Ultrasound Flowmeter with
Generic Time-of-Flight Configuration. The pipe walls are considered rigid. There are two
transducers placed at either end of the signal pipe. They operate as a transmitter and a
receiver. Both transducers are identical and consist of a piezoelectric unit, a matching layer,
and a damping block. An input voltage signal applied to the transmitter results in the
mechanical deformation of the piezoelectric transducer, which is due to the inverse
piezoelectric effect. The mechanical deformation in its turn generates an acoustic wave in
the fluid. When the acoustic wave reaches the receiver, the inverse process takes place: the
mechanical load is being converted into an electric signal because of the direct
piezoelectric effect.
As previously mentioned, this model studies the propagation of the acoustic wave in the
presence of a background flow. The details of the background flow computation and the
flow speed estimation using the time-of-flight method are given in the model Ultrasound
Flowmeter with Generic Time-of-Flight Configuration and thus not repeated here. The
The transmitter and the receiver can be used interchangeably; therefore, the principles of
their construction are the same. The main part is a disk made of a piezoelectric material
(here, PZT-5H) that is used for the conversion between the electric and the mechanical
waves. Its thickness is taken to be 1/2 of the wavelength.
A direct propagation of the acoustic wave from the piezoelectric material to the fluid will
result in significant reflections from the solid/fluid interface and, consequently, losses.
This is due to the impedance mismatch: for water, the characteristic acoustic impedance
Z water ≈ 1.5 MRayl, and for PZT-5H, Z PZT ≈ 34.5 MRayl. Therefore, a 1/4 wavelength
thick matching layer is required to minimize the losses. Its impedance should be close to
the geometric mean of those of the piezoelectric and the fluid materials, that is
The piezoelectric element is surrounded by a backing layer block (also called damping
block) at the back. The damping block absorbs the waves radiated from the back face of
the piezoelectric element. The properties of the used matching and damping materials are
shown in Table 1.
TABLE 1: MATCHING AND DAMPING MATERIAL PROPERTIES
The input signal applied to the transmitter is a harmonic voltage pulse of the amplitude
V0 = 50 V, the frequency f0 = 2.5 MHz, and duration of 2 μs. The voltage profile is
depicted in Figure 1.
The elastic wave in the receiver piezoelectric element is converted into an electric signal.
In Figure 4 you can see the profiles of the input voltage applied to the transducer and the
output electric signal read on the receiver.
Modeling Instructions
From the File menu, choose New.
NEW
In the New window, click Model Wizard.
MODEL WIZARD
1 In the Model Wizard window, click 3D.
2 Click Done.
GEOMETRY 1
Load the parameters that define the geometry and the physical properties of the system.
GLOBAL DEFINITIONS
Geometry Parameters
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 Browse to the model’s Application Libraries folder and double-click the file
flow_meter_piezoelectric_transducers_geometry_parameters.txt.
Model Parameters
1 In the Home toolbar, click Parameters and choose Add>Parameters.
2 In the Settings window for Parameters, locate the Parameters section.
3 Click Load from File.
4 Browse to the model’s Application Libraries folder and double-click the file
flow_meter_piezoelectric_transducers_model_parameters.txt.
GEOMETRY 1
1 In the Geometry toolbar, click Insert Sequence and choose Insert Sequence.
2 Browse to the model’s Application Libraries folder and double-click the file
flow_meter_piezoelectric_transducers_geom_sequence.mph.
GLOBAL DEFINITIONS
Rectangle 1 (rect1)
1 In the Home toolbar, click Functions and choose Global>Rectangle.
2 In the Settings window for Rectangle, locate the Parameters section.
3 In the Lower limit text field, type 0.5e-6.
4 In the Upper limit text field, type 1.5e-6.
5 Click to expand the Smoothing section. In the Size of transition zone text field, type 1e-
6.
Analytic 1 (an1)
1 In the Home toolbar, click Functions and choose Global>Analytic.
2 In the Settings window for Analytic, type Vin in the Function name text field.
3 Locate the Definition section. In the Expression text field, type V0*sin(2*pi*f0*t)*
rect1(t).
Argument Unit
t s
7 Locate the Plot Parameters section. In the table, enter the following settings:
8 Click Plot.
The input electric signal should look like the one in Figure 1.
DEFINITIONS
Water
1 In the Definitions toolbar, click Explicit.
2 Select Domains 1–3 only.
3 In the Settings window for Explicit, type Water in the Label text field.
PZT
1 In the Definitions toolbar, click Explicit.
2 Select Domains 5 and 9 only.
3 In the Settings window for Explicit, type PZT in the Label text field.
Matching
1 In the Definitions toolbar, click Explicit.
2 Select Domains 6 and 7 only.
Backing
1 In the Definitions toolbar, click Explicit.
2 Select Domains 4 and 8 only.
3 In the Settings window for Explicit, type Backing in the Label text field.
Symmetry
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, locate the Input Entities section.
3 From the Geometric entity level list, choose Boundary.
4 Select Boundaries 2, 6, 16, 22, 30, 33, 40, 46, and 55 only.
5 In the Label text field, type Symmetry.
Flow Inlet
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, locate the Input Entities section.
3 From the Geometric entity level list, choose Boundary.
4 Select Boundary 1 only.
5 In the Label text field, type Flow Inlet.
Flow Outlet
1 In the Definitions toolbar, click Explicit.
2 In the Settings window for Explicit, locate the Input Entities section.
3 From the Geometric entity level list, choose Boundary.
4 Select Boundary 19 only.
5 In the Label text field, type Flow Outlet.
Solid
1 In the Definitions toolbar, click Union.
2 In the Settings window for Union, type Solid in the Label text field.
3 Locate the Input Entities section. Under Selections to add, click Add.
4 In the Add dialog box, in the Selections to add list, choose PZT, Matching, and Backing.
5 Click OK.
Define a coordinate system that corresponds to the piezoelectric material orientation: the
Z-axis of the piezoelectric crystal points along the signal tube axis.
x y z
x1 cos(alpha) 0 -sin(alpha)
x3 sin(alpha) 0 cos(alpha)
4 Find the Simplifications subsection. Select the Assume orthonormal check box.
5 In the Label text field, type Transducer Coordinate System.
Now, proceed to setting up the physics. Note that the model geometry is an assembly and
therefore each physics interface automatically imposes the Continuity boundary condition
on all boundary pairs.
ADD PHYSICS
1 In the Home toolbar, click Add Physics to open the Add Physics window.
2 Go to the Add Physics window.
3 In the tree, select Fluid Flow>Single-Phase Flow>Turbulent Flow>Turbulent Flow, k-
ω (spf).
4 Click Add to Selection in the window toolbar.
Inlet 1
1 In the Model Builder window, right-click Turbulent Flow, k-ω (spf) and choose Inlet.
2 In the Settings window for Inlet, locate the Boundary Selection section.
3 From the Selection list, choose Flow Inlet.
4 Locate the Boundary Condition section. From the list, choose Fully developed flow.
5 Locate the Fully Developed Flow section. In the Uav text field, type Uin.
This boundary condition ensures a fully developed turbulent flow profile at the inlet.
Outlet 1
1 In the Physics toolbar, click Boundaries and choose Outlet.
Symmetry 1
1 In the Physics toolbar, click Boundaries and choose Symmetry.
2 In the Settings window for Symmetry, locate the Boundary Selection section.
3 From the Selection list, choose Symmetry.
Flow Continuity 1
1 In the Model Builder window, click Flow Continuity 1.
2 In the Settings window for Flow Continuity, locate the Advanced section.
3 Select the Disconnect pair check box.
ADD PHYSICS
1 Go to the Add Physics window.
2 In the tree, select Acoustics>Ultrasound>Convected Wave Equation, Time Explicit (cwe).
3 Click Add to Selection in the window toolbar.
Symmetry 1
1 In the Physics toolbar, click Boundaries and choose Symmetry.
2 In the Settings window for Symmetry, locate the Boundary Selection section.
3 From the Selection list, choose Symmetry.
ADD PHYSICS
1 Go to the Add Physics window.
2 In the tree, select Acoustics>Elastic Waves>Elastic Waves, Time Explicit (elte).
Piezoelectric Material 1
Right-click Component 1 (comp1)>Elastic Waves, Time Explicit (elte) and choose
Piezoelectric Material.
Piezoelectric Material 1
1 In the Model Builder window, click Piezoelectric Material 1.
2 In the Settings window for Piezoelectric Material, locate the Domain Selection section.
3 From the Selection list, choose PZT.
4 Locate the Coordinate System Selection section. From the Coordinate system list, choose
Transducer Coordinate System (sys2).
Low-Reflecting Boundary 1
1 In the Physics toolbar, click Boundaries and choose Low-Reflecting Boundary.
2 Select Boundaries 21 and 52 only.
Symmetry 1
1 In the Physics toolbar, click Boundaries and choose Symmetry.
2 In the Settings window for Symmetry, locate the Boundary Selection section.
3 From the Selection list, choose Symmetry.
Damping 1
1 In the Physics toolbar, click Attributes and choose Damping.
2 In the Settings window for Damping, locate the Domain Selection section.
3 From the Selection list, choose Matching.
Damping 2
1 In the Physics toolbar, click Attributes and choose Damping.
2 In the Settings window for Damping, locate the Domain Selection section.
3 From the Selection list, choose Backing.
4 Locate the Damping Settings section. From the Input parameters list, choose
Damping ratios.
5 In the f1 text field, type 0.99*f0.
6 In the ζ1 text field, type 0.025.
7 In the f2 text field, type 1.01*f0.
8 In the ζ2 text field, type 0.025.
Piezoelectric Material 1
In the Model Builder window, under Component 1 (comp1)>Elastic Waves,
Time Explicit (elte) click Piezoelectric Material 1.
Mechanical Damping 1
1 In the Physics toolbar, click Attributes and choose Mechanical Damping.
2 In the Settings window for Mechanical Damping, locate the Damping Settings section.
3 From the Input parameters list, choose Damping ratios.
4 In the f1 text field, type 0.99*f0.
5 In the ζ1 text field, type 0.005.
6 In the f2 text field, type 1.01*f0.
7 In the ζ2 text field, type 0.005.
ADD PHYSICS
1 Go to the Add Physics window.
ELECTROSTATICS (ES)
1 In the Settings window for Electrostatics, locate the Domain Selection section.
2 From the Selection list, choose PZT.
3 In the Model Builder window, click Electrostatics (es).
Ground 1
1 In the Physics toolbar, click Boundaries and choose Ground.
2 Select Boundaries 29 and 57 only.
Electric Potential 1
1 In the Physics toolbar, click Boundaries and choose Electric Potential.
2 Select Boundary 32 only.
3 In the Settings window for Electric Potential, locate the Electric Potential section.
4 In the V0 text field, type Vin(t).
Floating Potential 1
1 In the Physics toolbar, click Boundaries and choose Floating Potential.
2 Select Boundary 54 only.
3 In the Settings window for Floating Potential, locate the Floating Potential section.
4 Select the Floating potential group check box.
Symmetry Plane 1
1 In the Physics toolbar, click Boundaries and choose Symmetry Plane.
2 In the Settings window for Symmetry Plane, locate the Boundary Selection section.
3 From the Selection list, choose Symmetry.
ADD MATERIAL
1 In the Home toolbar, click Add Material to open the Add Material window.
2 Go to the Add Material window.
3 In the tree, select Built-in>Water, liquid.
4 Click Add to Component in the window toolbar.
5 In the tree, select Built-in>Lead Zirconate Titanate (PZT-5H).
6 Click Add to Component in the window toolbar.
7 In the Home toolbar, click Add Material to close the Add Material window.
MATERIALS
Matching Material
1 In the Model Builder window, right-click Materials and choose Blank Material.
2 In the Settings window for Material, locate the Geometric Entity Selection section.
3 From the Selection list, choose Matching.
4 In the Label text field, type Matching Material.
5 Locate the Material Contents section. In the table, enter the following settings:
Damping Material
1 Right-click Materials and choose Blank Material.
2 In the Settings window for Material, locate the Geometric Entity Selection section.
3 From the Selection list, choose Backing.
4 In the Label text field, type Damping Material.
5 Locate the Material Contents section. In the table, enter the following settings:
MESH 1 - CFD
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 In the table, clear the Use check boxes for Convected Wave Equation, Time Explicit (cwe),
Elastic Waves, Time Explicit (elte), Electrostatics (es), Piezoelectric Effect,
ROOT
In the Home toolbar, click Windows and choose Add Study.
ADD STUDY
1 Go to the Add Study window.
2 Find the Physics interfaces in study subsection. In the table, clear the Solve check boxes
for Convected Wave Equation, Time Explicit (cwe), Elastic Waves, Time Explicit (elte), and
Electrostatics (es).
3 Find the Multiphysics couplings in study subsection. In the table, clear the Solve check
boxes for Piezoelectric Effect, Time Explicit 1 (pzete1), Pair Convected Acoustic-
Structure Boundary, Time Explicit 1 (cspte1), and
Background Fluid Flow Coupling 1 (bffc1).
4 Find the Studies subsection. In the Select Study tree, select General Studies>Stationary.
5 Click Add Study in the window toolbar.
STUDY 1
Step 1: Stationary
1 In the Model Builder window, click Study 1.
2 In the Settings window for Study, locate the Study Settings section.
3 Clear the Generate default plots check box.
4 In the Label text field, type Study 1 - CFD.
5 In the Home toolbar, click Compute.
The turbulent flow interface uses linear discretization for the dependent variables. This
affects the order of the geometry shape approximation which is by default the same as the
discretization order chosen in the first physics interface present in the model tree. On the
other hand, a higher order discretization (quartic per default) is used for the acoustics
simulation. The mismatch between the geometry and the dependent variables
discretization can cause instabilities in the solution. Therefore, it is recommended that you
manually increase the geometry shape approximation order to Quadratic Lagrange. Note
COMPONENT 1 (COMP1)
1 In the Model Builder window, click Component 1 (comp1).
2 In the Settings window for Component, locate the Curved Mesh Elements section.
3 From the Geometry shape function list, choose Quadratic Lagrange.
DEFINITIONS
Create an acoustic mesh. The mesh should be fine enough to resolve the shortest
wavelength in each material. Note that the mesh element nodes on one side of the
boundary pairs do not match with those on the other side. As a result, the mesh elements
adjacent to the pairs have different size, which helps to reduce the number of DOFs in the
model.
MESH 2 - ACOUSTICS
1 In the Mesh toolbar, click Add Mesh and choose Add Mesh.
2 In the Settings window for Mesh, type Mesh 2 - Acoustics in the Label text field.
Free Triangular 1
1 In the Mesh toolbar, click Boundary and choose Free Triangular.
2 Select Boundaries 32, 35, 37, 42, 43, and 54 only.
Size 1
1 Right-click Free Triangular 1 and choose Size.
2 Select Boundaries 32 and 54 only.
3 In the Settings window for Size, locate the Element Size section.
4 Click the Custom button.
5 Locate the Element Size Parameters section.
Size 2
1 In the Model Builder window, right-click Free Triangular 1 and choose Size.
2 Select Boundaries 35, 37, 42, and 43 only.
3 In the Settings window for Size, locate the Element Size section.
4 Click the Custom button.
5 Locate the Element Size Parameters section.
6 Select the Maximum element size check box. In the associated text field, type cs_match/
f0/2.
Swept 1
1 In the Mesh toolbar, click Swept.
2 In the Settings window for Swept, locate the Domain Selection section.
3 From the Geometric entity level list, choose Domain.
4 From the Selection list, choose PZT.
Distribution 1
1 Right-click Swept 1 and choose Distribution.
2 In the Settings window for Distribution, locate the Distribution section.
3 In the Number of elements text field, type 4.
Swept 2
1 In the Mesh toolbar, click Swept.
2 In the Settings window for Swept, locate the Domain Selection section.
3 From the Geometric entity level list, choose Domain.
4 From the Selection list, choose Matching.
Distribution 1
1 Right-click Swept 2 and choose Distribution.
2 In the Settings window for Distribution, locate the Distribution section.
3 In the Number of elements text field, type 2.
Size 1
1 Right-click Free Tetrahedral 1 and choose Size.
2 In the Settings window for Size, locate the Geometric Entity Selection section.
3 From the Geometric entity level list, choose Domain.
4 From the Selection list, choose Water.
5 Locate the Element Size section. Click the Custom button.
6 Locate the Element Size Parameters section.
7 Select the Maximum element size check box. In the associated text field, type lam0/1.5.
8 Select the Minimum element size check box. In the associated text field, type lam0/3.
Size 2
1 In the Model Builder window, right-click Free Tetrahedral 1 and choose Size.
2 In the Settings window for Size, locate the Geometric Entity Selection section.
3 From the Geometric entity level list, choose Domain.
4 From the Selection list, choose Backing.
5 Locate the Element Size section. Click the Custom button.
6 Locate the Element Size Parameters section.
7 Select the Maximum element size check box. In the associated text field, type cs_damp/
f0/1.5.
ROOT
In the Home toolbar, click Windows and choose Add Study.
ADD STUDY
1 Go to the Add Study window.
2 Find the Physics interfaces in study subsection. In the table, clear the Solve check boxes
for Turbulent Flow, k-ω (spf), Convected Wave Equation, Time Explicit (cwe),
Elastic Waves, Time Explicit (elte), and Electrostatics (es).
3 Find the Multiphysics couplings in study subsection. In the table, clear the Solve check
boxes for Piezoelectric Effect, Time Explicit 1 (pzete1) and Pair Convected Acoustic-
Structure Boundary, Time Explicit 1 (cspte1).
4 Find the Studies subsection. In the Select Study tree, select
Preset Studies for Selected Multiphysics>Mapping.
5 Click Add Study in the window toolbar.
6 In the Home toolbar, click Add Study to close the Add Study window.
Step 1: Mapping
1 In the Model Builder window, under Study 2 - Mapping click Step 1: Mapping.
2 In the Settings window for Mapping, locate the Solution to Map section.
3 From the Study list, choose Study 1 - CFD, Stationary.
4 Click to expand the Destination Mesh Selection section. In the Home toolbar, click
Compute.
5 Click Windows and choose Add Study.
ADD STUDY
1 Go to the Add Study window.
2 Find the Physics interfaces in study subsection. In the table, clear the Solve check box for
Turbulent Flow, k-ω (spf).
3 Find the Multiphysics couplings in study subsection. In the table, clear the Solve check
box for Background Fluid Flow Coupling 1 (bffc1).
4 Find the Studies subsection. In the Select Study tree, select General Studies>
Time Dependent.
5 Click Add Study in the window toolbar.
6 In the Home toolbar, click Add Study to close the Add Study window.
STUDY 3 - ACOUSTICS
1 In the Model Builder window, click Study 3.
2 In the Settings window for Study, locate the Study Settings section.
3 Clear the Generate default plots check box.
4 In the Label text field, type Study 3 - Acoustics.
In the following postprocessing the Resolution is increased under the Quality section in all
acoustics plots. This is due to the discretization used for the acoustics interfaces, which is
4th order per default. So in order to properly represent the solution, the resolution needs
to be increased.
RESULTS
Surface 1
1 Right-click Background Flow Velocity and choose Surface.
2 In the Background Flow Velocity toolbar, click Plot.
The background mean flow velocity amplitude plotted on the surface of the geometry
should look like Figure 2.
Plot the pressure in the fluid and solid domains and inspect the propagating acoustic signal
at different times to get the results like the ones in Figure 3.
Surface 1
Right-click Acoustic and Elastic Pressure and choose Surface.
Surface 1
1 In the Model Builder window, expand the Results>Acoustic and Elastic Pressure node,
then click Surface 1.
2 In the Settings window for Surface, locate the Expression section.
3 In the Expression text field, type p2.
4 Locate the Coloring and Style section. Click Change Color Table.
5 In the Color Table dialog box, select Wave>Wave in the tree.
6 Click OK.
7 In the Settings window for Surface, locate the Coloring and Style section.
8 From the Scale list, choose Linear symmetric.
9 Click to expand the Quality section. From the Resolution list, choose Custom.
10 In the Element refinement text field, type 6.
11 From the Smoothing list, choose Inside geometry domains.
Selection 1
1 Right-click Surface 1 and choose Selection.
2 In the Settings window for Selection, locate the Selection section.
3 From the Selection list, choose Symmetry.
Surface 2
1 Right-click Surface 1 and choose Duplicate.
2 In the Settings window for Surface, click Replace Expression in the upper-right corner of
the Expression section. From the menu, choose Component 1 (comp1)>Elastic Waves,
Time Explicit>Stress>elte.p - Pressure - Pa.
Surface 3
1 In the Settings window for Surface, locate the Expression section.
2 In the Expression text field, type 1.
Selection 1
1 Right-click Surface 3 and choose Selection.
2 Select Boundaries 3, 4, 7–9, 11–13, 17, and 18 only.
Material Appearance 1
1 Right-click Surface 3 and choose Material Appearance.
2 In the Settings window for Material Appearance, locate the Appearance section.
3 From the Appearance list, choose Custom.
4 From the Material type list, choose Steel.
Surface 4
1 In the Settings window for Surface, locate the Expression section.
2 In the Expression text field, type 1.
Selection 1
Right-click Surface 4 and choose Selection.
Selection 1
1 In the Model Builder window, expand the Results>Acoustic and Elastic Pressure>Surface 4
node, then click Selection 1.
2 Select Boundaries 20, 23, 34, 38, 39, 44, 47, and 50 only.
Material Appearance 1
1 In the Model Builder window, right-click Surface 4 and choose Material Appearance.
2 In the Settings window for Material Appearance, locate the Appearance section.
3 From the Appearance list, choose Custom.
4 From the Color list, choose Custom.
Plot the driving voltage applied to the transmitter and the voltage signal read on the
receiver. The result should look like the one in Figure 4.
Point Graph 1
1 Right-click Sent and Received Signals and choose Point Graph.
2 Select Point 39 only.
3 In the Settings window for Point Graph, locate the y-Axis Data section.
4 In the Expression text field, type V/V0.
5 Click to expand the Quality section. Click to expand the Legends section. Select the
Show legends check box.
6 From the Legends list, choose Manual.
7 In the table, enter the following settings:
Legends
Relative driving voltage
Point Graph 2
1 Right-click Point Graph 1 and choose Duplicate.
2 In the Settings window for Point Graph, locate the Selection section.
Legends
Relative received voltage
NEW
In the New window, click Model Wizard.
MODEL WIZARD
1 In the Model Wizard window, click 3D.
2 Click Done.
Geometry Parameters
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 Browse to the model’s Application Libraries folder and double-click the file
flow_meter_piezoelectric_transducers_geometry_parameters.txt.
Model Parameters
1 In the Home toolbar, click Parameters and choose Add>Parameters.
2 In the Settings window for Parameters, locate the Parameters section.
3 Click Load from File.
4 Browse to the model’s Application Libraries folder and double-click the file
flow_meter_piezoelectric_transducers_model_parameters.txt.
GEOMETRY 1
Cylinder 1 (cyl1)
1 In the Geometry toolbar, click Cylinder.
2 In the Settings window for Cylinder, locate the Axis section.
3 From the Axis type list, choose x-axis.
4 Locate the Size and Shape section. In the Radius text field, type D/2.
5 In the Height text field, type L.
6 Click to expand the Layers section. In the table, enter the following settings:
Cylinder 2 (cyl2)
1 In the Geometry toolbar, click Cylinder.
Cylinder 3 (cyl3)
1 In the Geometry toolbar, click Cylinder.
2 In the Settings window for Cylinder, locate the Size and Shape section.
3 In the Radius text field, type D_transducer/2.
4 In the Height text field, type L_matching.
5 Locate the Position section. In the x text field, type L/2.
6 In the z text field, type L_transducer/2.
Cylinder 4 (cyl4)
1 In the Geometry toolbar, click Cylinder.
2 In the Settings window for Cylinder, locate the Size and Shape section.
3 In the Radius text field, type D_transducer/4.
4 In the Height text field, type L_piezo.
5 Locate the Position section. In the x text field, type L/2.
6 In the z text field, type L_transducer/2+L_matching.
Cylinder 5 (cyl5)
1 In the Geometry toolbar, click Cylinder.
2 In the Settings window for Cylinder, locate the Size and Shape section.
3 In the Radius text field, type D_transducer/2.
4 In the Height text field, type 2*L_piezo.
5 Locate the Position section. In the x text field, type L/2.
6 In the z text field, type L_transducer/2+L_matching.
Difference 1 (dif1)
1 In the Geometry toolbar, click Booleans and Partitions and choose Difference.
2 Select the object cyl5 only.
3 In the Settings window for Difference, locate the Difference section.
Copy 1 (copy1)
1 In the Geometry toolbar, click Transforms and choose Copy.
2 Select the objects cyl3, cyl4, and dif1 only.
3 In the Settings window for Copy, locate the Displacement section.
4 In the z text field, type -L_transducer.
Mirror 1 (mir1)
1 In the Geometry toolbar, click Transforms and choose Mirror.
2 Select the objects copy1(1), copy1(2), and copy1(3) only.
3 In the Settings window for Mirror, locate the Point on Plane of Reflection section.
4 In the z text field, type -L_transducer/2.
Rotate 1 (rot1)
1 In the Geometry toolbar, click Transforms and choose Rotate.
2 Select the objects cyl2, cyl3, cyl4, dif1, mir1(1), mir1(2), and mir1(3) only.
3 In the Settings window for Rotate, locate the Rotation section.
4 From the Axis type list, choose y-axis.
5 In the Angle text field, type alpha.
6 Locate the Point on Axis of Rotation section. In the x text field, type L/2.
Union 1 (uni1)
1 In the Geometry toolbar, click Booleans and Partitions and choose Union.
2 Select the objects del1(1) and del1(2) only.