Easy Guide 14
Easy Guide 14
Composite Components
www.mentor.com
Easy Guide - Application Example
Composite Components
Using Flowmaster V7, a design engineer can combine several standard Flowmaster components to model
complex geometries of individual components.
Application Example
The following example is taken from the automotive industry and represents a silencer model for an
automotive exhaust system.
The model uses a combination of standard Flowmaster components including the Fixed Volume, Sharp
Edge Orifice and Gas Accumulator components. Each is discussed briefly below.
www.mentor.com
Easy Guide - Application Example
Accumulator Gas
This is the standard compressible accumulator component in
Flowmaster. For this application we will be using these components to
model the large volumes in the individual chambers of the silencer that
have perforations to account for the volume and mass accumulation.
www.mentor.com
Easy Guide - Application Example
Example Data
The example network data are shown below.
Components 1 and 2: Pipe: Cylindrical Gas
Pipe Diameter 0.025 m
www.mentor.com
Easy Guide - Application Example
Or Pat_node_level = Ptotal -
To validate the model, a pressure source is added at inlet and outlet and a Compressible Steady State
simulation performed.
Once our model is confirmed we are then ready to create our data form for the composite component.
There are several steps to doing this. These are listed below and we will discuss each step in detail.
• Creating new composite framework
• Building the underlying model
• Setting configured values
• Assigning a symbol
• Deducing the connections
• Create signal mappings
• Creating data form
• Defining fall through values
• Hiding unwanted fields
• Defining call up values
• Testing completed composite component
www.mentor.com
Easy Guide - Application Example
This will create an empty composite component under the User Defined folder and automatically open a
composite schematic window as shown below.
This window will look very similar to the standard schematic window with one exception. The tabs in the
Network View are different. They include Data, Connections and Data Model. These tabs will be where the
customization of the component occurs.
The first step is to rename the component. This is done by changing the name in the Property window in
the lower left hand side of the screen. For our example change the name to Main Silencer.
www.mentor.com
Easy Guide - Application Example
Note: If you are creating a composite component where the flow direction through the component is
important, place the component that is intended to be the inlet of the composite into the schematic first.
For this example it is component 1, the cylindrical pipe. This will be used later in the process for defining the
component arms.
www.mentor.com
Easy Guide - Application Example
Assigning a Symbol
After you have created your network the next step is to assign a symbol to the composite. This is done from
the Connections tab in the Network View selecting the Symbol button.
This will open the symbol selection dialogue box. Within this window use the file browser to go to the User
Defined Symbol Catalogue. This will list all of the symbols in this folder. By selecting any of the symbol
names an image of the symbol will be displayed in the lower centre of the selection box. Once you have
identified the appropriate symbol, choose the ‘Select’ button to attach it to your composite component.
Once you have done this the symbol will appear in the ‘Connections’ tab just to the right of the ‘Symbol’
button.
www.mentor.com
Easy Guide - Application Example
www.mentor.com
Easy Guide - Application Example
Flowmaster will evaluate the network and produce a connections map similar to the one below.
This mapping shows that Arm 1 of the composite component is mapped to Arm 1 of component 1 (Pipe)
and Arm 2 of the composite component is mapped to Arm 2 of component 7 (orifice).
Note: If components are added or removed from the schematic after the Arms are deduced this step must
be repeated.
Along with setting the arm mappings it also assigns a default placement for each of the arms of the
composite component. This is the physical connection point with respect to the symbol. These are initially
set to 16 for both arms and these must be changed to suit how the component is going to be used. This
number can be set to any value between 0 and 59. These numbers are associated with a position on the
symbol as is shown in the diagram below. Position 0 is the mid position on the left side of the symbol and
they increase in a anti-clockwise manner around the symbol.
www.mentor.com
Easy Guide - Application Example
For our example, use placement value of 45 for Arm 1 and 15 for Arm 2. This will produce a symbol similar to
that shown if Figure 9.
www.mentor.com
Easy Guide - Application Example
For our example we want to be able to get the pressure inside accumulator component 12 as a
measurement output. Therefore we must map the measurement output of the accumulator to the Main
Silencer composite.
This is done by selecting the ‘Add’ button just above the Signal Mappings header. This will open a new
window that lists all the components in the schematic that have signal connections. By selecting the ‘+’ next
to the component, the window will expand to show all available connections for that particular component.
These will either be designated with the letters (MO) for Measurement Output or (SI) for signal input.
www.mentor.com
Easy Guide - Application Example
For this example we expand component ‘12 Accumulator: Gas’ and it shows that it only has a Measurement
Output. To proceed, check the box next to the Measurement Output. This will open an additional window
which lists all of the variables that could be measured. Select Pressure and select the OK button. This will
update the signal mapping window to show that pressure has been selected as the Measurement Output
for that component.
Now select OK in the Signal Mapping window and the Network View window will update to show that the
measurement output mapping has been added to the composite component.
Similar to the fluid connections, the placement of the signal connections on the symbol can be changed for
this example change the placement to 50.
If there are more signal connections desired for a composite component this process can be repeated.
www.mentor.com
Easy Guide - Application Example
For this example, we will pre-set the friction data in the pipes and the loss coefficients in the fixed volume
components and polytropic index in fixed volume and accumulator components. This is done by simply
setting the values in the individual components. Below are the values we will be using for each component.
www.mentor.com
Easy Guide - Application Example
Once these individual data items are set we are then ready to create our data form for the composite
component.
www.mentor.com
Easy Guide - Application Example
Internal Pipe
2 Pipe: Cylindrical Gas Length Unique
Length
www.mentor.com
Easy Guide - Application Example
Now that we have determined all of the inputs that will be required for our silencer we are ready to build the
data form.
www.mentor.com
Easy Guide - Application Example
To create the data form we must switch to the Data Model tab in the Network Views window and select the
‘Create/ Edit’ button as is shown below.
This will then open the ‘Analytical Model Editor’. It is in this editor that we define each of the input fields and
assign their context dependency. Using our list from the previous page we can begin to add the data items
in the correct order. This is done by selecting the Add Existing button in the ‘Analytical Model Editor’ which
will open the ‘Feature Selection’ window as is shown in Figure 14 and Figure 15 respectively.
www.mentor.com
Easy Guide - Application Example
www.mentor.com
Easy Guide - Application Example
Scroll down the list and find Pipe Diameter. You will see that there are multiple entries for many of the fields.
This will allow you to use more than one instance of the input. You do need to be careful to ensure that they
are input fields and not output fields though. This is shown in the lower left hand side of the window.
Place a check mark next to the Pipe Diameter field and select OK. You will then see that this item has been
added to the Analytical Model Editor. You will also see that the Necessity table on the right side of the editor
now has several Simulation types visible.
This portion of the editor is used to tell Flowmaster which fields are mandatory, optional or context
dependent for each of the available analysis types. For the Main Silencer this will only be used in
Compressible Steady State, Compressible Transient and Compressible Flow Balancing applications. For each
of these simulation types set the requirement to Mandatory. This is done by selecting the drop down menu
next to the analysis type.
www.mentor.com
Easy Guide - Application Example
We now need to add the other required fields for our component. Repeat the process above and select the
following fields and select the same necessity type for each:
Note: there is not a default field type for Internal Pipe Length so we chose an Equivalent field simply named
Length.
www.mentor.com
Easy Guide - Application Example
The next 5 fields are very similar in that they represent volumes in the different chambers in the Silencer.
Flowmaster does not have 5 independent volume features in the standard database, but the Analytical
Model Editor provides the capability to create new features in the database. This is done by selecting the
Add New… button in the Features table. This will then open a series of windows that will step you through
creating the new feature. The first of these is the Feature Type.
www.mentor.com
Easy Guide - Application Example
This window is used to select the type of feature we would like to add. For the Volume fields we want to use
a Real data type, so this is selected and then press OK. This will then open the Feature Edit window. This
window is used to create the following items for our example:
Once these items are entered select OK and set the Necessity values as we did before.
Repeat this step for each of the volume fields for Volume 1 to Volume 5.
www.mentor.com
Easy Guide - Application Example
We need to now add the 5 remaining fields. There are existing fields in the editor to accommodate these
remaining fields. Use the Add Existing… button to include these remaining fields as per the list below.
Once these are all added select OK and return to the Data Model tab. You will be able to see all the data
items that have been added to the composite.
www.mentor.com
Easy Guide - Application Example
www.mentor.com
Easy Guide - Application Example
To create the custom name select the Length input field in the Data Model tab. This will then display the
properties of the field. These properties include Default Value, Minimum and Maximum Value and many
others. The first property in the list is Custom Name. For the Length field add “Internal Pipe Length” as the
value.
www.mentor.com
Easy Guide - Application Example
You will see the field name in the Data Model update. Repeat this for all the fields in the list. When you are
finished the Input field list should be similar to the figure below.
www.mentor.com
Easy Guide - Application Example
Now that we have all of our custom names created we are ready to associate them to the components
underneath the composite components. To do this we again look at the Data Model tab and expand the
Parts list at the bottom of the window. This shows a list of all the components and nodes that are included
in the composite component. Furthermore, if we expand any one of the components we can see all input
and output fields that are associated with that particular component. It is here where we can now link the
custom fields to the component fields.
This is done by highlighting the custom field name and checking the appropriate field name under the
individual components that you want to associate the custom field with. It is important to make sure that
the “Check for Fall Thru” radio button is selected. It should also be noted that that multiple component fields
can be associated with a single custom field.
www.mentor.com
Easy Guide - Application Example
www.mentor.com
Easy Guide - Application Example
Previously we defined field mappings which we can now use as a guide for mapping all of the fields. This
table can be rearranged to clarify the mapping
The Figure below shows the proper mapping for the Inlet Pipe Length. We can see from the Table above
that the Length of component no. 1 is the proper field to map. So first, highlight Inlet Pipe Length in the
custom fields and then expand component 1 to show all the input fields.
Flowmaster applies a sorting logic and inactivates any field that could not match the data type that you
have chosen so it is easy to see that length is the only option for this component.
Check the box next to Length.
www.mentor.com
Easy Guide - Application Example
Repeat this for each of the items in the table and take care to include all the fields when one custom field
has multiple entries.
www.mentor.com
Easy Guide - Application Example
Note: If we are interested in a particular result internal to the composite such as a node pressure we must
attach a gauge to the node and map the custom result to the result of the gauge.
For our example we are only going to be concerned with the Gas Mass and Pressure in the chambers 1 and
4. Therefore we will have 4 custom result fields to create.
To create these we again go to the Analytical Model Editor and add additional fields this time making sure
all the fields are Output fields. Similar to the Inputs we will map these to existing fields in the database.
Below are the fields that we will use.
www.mentor.com
Easy Guide - Application Example
Now that the custom result fields have been added we need to customize the names in the same manner as
we did the input fields. Use the list above to create the custom names.
The final step is to map the Pass Up values for the results. This is done in exactly the same manner as the
inputs except select the “Check for Pass Up” radio button.
www.mentor.com
Easy Guide - Application Example
Select the custom result and the appropriate result for the underlying component. Below is a table that
shows the correct mapping for our component.
www.mentor.com
Easy Guide - Application Example
Create a network like the one below with the following inputs.
www.mentor.com
Easy Guide - Application Example
Now run a compressible steady state analysis and compare the results for the Chamber 1 gas mass and
pressure with those same items for component 5 Accumulator: Gas and the results for Chamber 2 gas mass
and pressure with component 6 Accumulator: Gas.
www.mentor.com
©2014 Mentor Graphics Corporation, all rights reserved. This document contains information that is proprietary
to Mentor Graphics Corporation and may be duplicated in whole or in part by the original recipient for internal
www.mentor.com business purposes only, provided that this entire notice appears in all copies. In accepting this document, the
recipient agrees to make every reasonable effort to prevent unauthorized use of this information. All trademarks
mentioned in this publication are the trademarks of their respective owners.