Flow Sim Studentwb 2011 Eng
Flow Sim Studentwb 2011 Eng
The Introduction to Flow Analysis Applications with SolidWorks Flow Simulation and its
supporting materials is designed to assist you in learning SolidWorks Flow Simulation in
an academic setting.
Online Tutorials
The Introduction to Flow Analysis Applications with
SolidWorks Flow Simulation is a companion resource and
is supplemented by the SolidWorks Flow Simulation
Online Tutorials.
While this course focuses on the introduction to the rigid body dynamics using
SolidWorks Motion Simulation, the full product line covers a wide range of analysis areas
to consider. The paragraphs below lists the full offering of the SolidWorks Simulation
packages and modules.
Static studies provide tools for the linear stress analysis of
parts and assemblies loaded by static loads. Typical questions
that will be answered using this study type are:
Will my part break under normal operating loads?
Is the model over-designed?
Can my design be modified to increase the safety factor?
Upon successful completion of this lesson, you will be able to understand the basic
functionality of SolidWorks Flow Simulation and perform hydraulic analysis on the
following part.
If SolidWorks Flow Simulation is not in the list, you need to install SolidWorks Flow
Simulation first.
3 Click OK. The Flow Simulation menu appears on the SolidWorks menu bar.
Model Description
This is a ball valve. Turning the handle closes or
opens the valve.
The local hydraulic loss (or resistance) produced by a handle
ball valve installed in a piping system depends on the Outlet
valve design dimensions and on the handle turning
angle. The ball-to-pipe diameter ratio governs the
handle turning angle at which the valve becomes
closed.
Inlet
Note: Internal flow analyses are analyses where fluid enters a model at the inlets
and exits the model through the outlets. The exception are some natural
convection problems that may not have openings.
To perform an internal analysis all the model openings must be closed with lids, which are
needed to specify inlet and outlet flow boundary conditions on them. In any case, the
internal model space filled with a fluid must be fully closed. The lids are simply additional
extrusions covering the openings. They can be created both manually and automacially;
both of the procedures are shown below.
Not sure you have created the lids properly? SolidWorks Flow Simulation can easily
check your model for possible geometry problems.
Note: In the assembly mode, each newly created lid forms a new part saved in
the assembly folder.
The first step in performing flow analysis is to create a SolidWorks Flow Simulation
project.
Creating a Project
1 Click Flow Simulation, Project, Wizard. The project wizard guides you through the
definition of a new SolidWorks Flow Simulation project.
2 In the Project Configuration dialog box,
click Use current (40 degrees).
Each SolidWorks Flow Simulation
project is associated with a SolidWorks
configuration. You can attach the project
either to the current SolidWorks
configuration or create a new SolidWorks
configuration based on the current one.
Click Next.
Note: For steady flow problems SolidWorks Flow Simulation iterates until the
solution converges. For unsteady (transient, or time-dependent) problems
SolidWorks Flow Simulation marches in time for a period you specify.
0.04 m
Note: SolidWorks Flow Simulation calculates the default minimum gap size
and minimum wall thickness using information about the overall model
dimensions, the computational domain, and faces on which you specify
conditions and goals. However, this information may be insufficient to
recognize relatively small gaps and thin model walls. This may cause
inaccurate results. In these cases, the Minimum gap size and Minimum
wall thickness must be specified manually.
Click Finish.
The next step is the specifycation of the boundary conditions. Boundary conditions are
used to specify the fluid characteristics at the model inlets and outlets in an internal flow
analysis or on model surfaces in an external flow analysis.
3 In the Type group box, click Flow Openings and select the
Inlet Velocity item.
4 In the Flow Parameters group box, click Normal to Face
item and set the Velocity Normal to Face to 1 m/s (just type the
value, the units will appear automatically).
Accept all other parameters and click .
By specifying this condition we define that the water enters the
valve at the ball valve pipe inlet with the velocity of 1.0 m/s.
5 Select the Outlet Lid inner face.
In the graphics area, right-click outside the model and
select Insert Boundary Condition. The Boundary
Condition PropertyManager appears with the selected
face in the Faces to Apply the Boundary Condition
list.
Engineering Goals
By specifying this condition we define that the water has a static pressure of 1 atm at the
ball valve pipe exit.
The model’s hydraulic loss is calculated as the difference between the model’s inlet total
pressure and the outlet total pressure, P, divided by the dynamic pressure (dynamic head)
determined at the model inlet:
2
V
= dP --------- = dP P dyn
2
where is water density, V is water inlet velocity, Pdyn is the dynamic pressure at inlet.
Since we already know the specified water velocity (1 m ---- ) and the water density (998.1934
s
kg
------ for the specified temperature of 293.2 K), our goal is to determine the total pressure
3
m
value at the valve’s inlet and outlet.
The easiest and fastest way to find the parameter of interest is to specify the corresponding
engineering goal.
Engineering goals are the parameters which the user is interested in. Setting goals is
essentially a way of conveying to SolidWorks Flow Simulation what you are trying to get
out of the analysis, as well as means of reducing the time SolidWorks Flow Simulation
takes to reach a solution. By only selecting the variable which the user desires accurate
values for, SolidWorks Flow Simulation knows which variables are important to converge
upon (the variables selected as goals) and which can be less accurate (the variables not
selected as goals) in the interest of time. Goals can be defined over the entire domain
(Global Goals), within a selected volume (Volume Goal), on a selected area (Surface
Goal) or at a specific point of the model (Point Goal). Furthermore, SolidWorks Flow
Simulation can consider either average, minimum or maximum parameter value to define
the goal. You can also define an Equation Goal that is a goal defined by an equation
(involving basic mathematical functions) with the existing goals as variables. The
equation goal allows you to calculate the parameter of interest (i.e., pressure drop) and
keeps this information in the project for later reference.
Note: To see the parameter names more clearly, you will probably find useful
to enlarge the PropertyManager area by dragging the vertical bar to the
right.
4 Click .
5 In the SolidWorks Flow Simulation design tree click-pause-click the new
SG Av Total Pressure 1 item and rename it to SG Average Total
Pressure Inlet.
Note: Another way to rename an item is to right-click the item and select
Properties.
6 Right-click the Goals icon again and select Insert Surface Goal.
7 Click the Static Pressure 1 item in the SolidWorks Flow Simulation design tree
to select the inner face of the Outlet Lid.
8 In the Parameter list, find Total Pressure.
12 Click the Inlet Velocity 1 item to select the inner face of the Inlet Lid.
Note: To set an Equation Goal you can use only existing goals (including
previously specified Equation Goals) and constants. If constants signify
some physical parameters (i.e. length, area etc.) make sure of using the
project’s system of units. SolidWorks Flow Simulation has no
information about the physical meaning of the specified constants so you
need to specify the displayed dimensionality manually.
Now the SolidWorks Flow Simulation project is ready for the calculation. SolidWorks
Flow Simulation will finish the calculation when the steady-state average value of total
pressure calculated at the valve inlet and outlet are reached.
1 Click Insert Goal Plot on the Solver toolbar. The Add/Remove Goals dialog
box appears.
2 Click Add All to check all goals and
click OK.
Preview Results
1 While the calculation is still running,
click Insert Preview on the
Solver toolbar. The Preview
Settings dialog box appears.
2 Click the FeatureManager tab .
3 Select Plane 2.
For this model Plane 2 is a good choice to use as the preview
plane. The preview plane can be chosen anytime from the Feature
Manager.
4 Click OK to display the preview plot of the static pressure
distribution.
Note: You can specify a parameter you want to display in the preview plane,
the parameter range and display options for velocity vectors at the
Setting tab of the Preview Settings dialog box.
Note: Why does the static pressure increase at the local region inside the valve?
This is due to a deceleration (up to stagnation within a small region) of
the stream impacting the valve’s wall in this region, so the stream’s
dynamic pressure is partly transformed into the static pressure while the
stream’s total pressure is nearly constant in this region, so the static
pressure rises.
5 When the solver is finished, close the monitor by clicking File, Close.
Note: When the solver is finished, the results are loaded automatically (unless
the Load results check box in the Run window has been unchecked).
However, when working with a previously calculated project, you need
to load the results manually by clicking Flow Simulation, Results,
Load/Unload Results.
Once the calculation finishes, you can view the saved calculation results in numerous
ways and in a customized manner directly within the graphics area. The Result folder
features functions that may be used to view your results: Cut Plots (section views of
parameter distribution), 3D-Profile Plots (section views in relief representation),
Surface Plots (distribution of a parameter on a selected surface), Isosurfaces,
Flow Trajectories, Particle Studies (particle trajectories), XY Plots
(diagrams of parameter behavior along a curve or sketch), Point Parameters
(getting parameters at specified points), Surface Parameters (getting parameters at
specified surfaces), Volume Parameters (getting parameters within specified
volumes), Goals (behavior of the specified goals during the calculation), Reports
(export of project report output into MS Word) and Animation of results.
However, the cut plot is not seen through the model. In order to see the plot, you can hide
the model by clicking Flow Simulation, Results, Display, Geometry (alternatively, you
can use the standard SolidWorks Section View option) or change the model transparency
(as is done in the next step below).
1 Click the Flow Simulation, Results, Display, Geometry
to show the model. Click Flow Simulation, Results,
Display, Transparency and drag the slider to set the
value of approximately 0.85.
Click .
For better visualization of the vortex you can scale small vectors:
1 In the SolidWorks Flow Simulation design tree, under Cut Plots, right-click the
Cut Plot 1 icon and select Edit Definition.
2 In the Vectors group box,select Adjust Minimum and
Maximum. Change the Min value to 2 m/s.
Type 0.02 m in the Arrow size box.
By specifying the custom Min we change the vector length so
the vectors whose velocity is less than the specified Min value
will have the same length as the vectors whose velocity is equal
to the Min. This allows us to visualize the low velocity area in
more details.
Click OK to save the changes and exit the dialog box.
Immediately the cut plot is updated.
Rotate the model to examine the 3D structure of the vortices in more detail.
This workbook displays how the goal values had changed during
the calculation. You can take the total pressure value presented in
the Summary sheet.
Cloning Project
The current calculation yields the total hydraulic resistance including both valve's
hydraulic resistance (due to the obstacle) and the tubes' hydraulic resistance due to
friction f : = + f. To obtain the valve’s resistance, it is necessary to subtract from the
obtained data the total pressure loss due to friction in a straight pipe of the same length and
diameter. To do that, we will perform the same calculations in the ball valve model whose
handle is turned by an angle of 0o.
You can create a new SolidWorks Flow Simulation project in three ways:
• The Project Wizard is the most straightforward way of creating a SolidWorks Flow
Simulation project. It guides you step-by-step through the analysis set-up process.
• To analyze different flow or model variations, the most efficient method is to clone
(copy) your current project. The new project will have all the settings of the cloned
project, optionally including the results settings.
• You can create a SolidWorks Flow Simulation project by using a Template, either a
default template or custom template created from a previous SolidWorks Flow
Simulation project. Template contains only general project settings (the settings you
specify in the Wizard and General Settings only) and does not contain the other project
features like boundary conditions, goals, etc.
The easiest way to create a new SolidWorks configuration for 0o angle and specify the
same condition as the 40o angle project is to clone the existing 40 project.
1 Click Flow Simulation, Project, Clone Project.
4 Click OK.
Note: The symmetric conditions can be applied only if you are sure that the
flow is symmetric. Note that sometimes symmetry of both the model and
the incoming flow does not guarantee symmetry in other flow regions,
e.g. a von Karman vortex street behind a cylinder. In our case, the flow in
the straight pipe is symmetric so we can reduce the computational
domain.
• Specify a 2D plane flow. If you are fully confident that the flow is a 2D plane flow,
you can redefine the computational domain from the default 3D analysis to a 2D
plane flow analysis that results in decreases in memory and CPU time requirements.
To activate a 2D planar analysis, select 2D plane flow on the Boundary Condition
tab.
2 In the Y min box type 0.
3 In the Z min box type 0.
4 In the At Y min and At Z min lists select Symmetry.
5 Click OK.
Click Flow Simulation, Solve, Run. Then click Run to start the
calculation.
Now you can calculate the valve’s hydraulic loss in the ball valve whose handle is turned
by 40o. To determine the parameter's steady-state value more accurately, it would be more
accurate to use the values averaged over the analysis interval, which are shown in the
Averaged Value column.
Total hydraulic losses (40 deg) Friction losses (0 deg) Valve’s loss
5 Minute Assessment
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
11 How do you specify a fluid for a project?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
12 How does a user define a fluid entering the model with a velocity of 1 m/s?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
13 The model has a mirror symmetry. Is it OK then to use the Symmetry boundary
condition at the model’s symmetry plane?
_____________________________________________________________________
_____________________________________________________________________
14 How do you define a 2D XY plane flow analysis?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
15 Is it necessary to specify project goals to start the calculation?
_____________________________________________________________________
16 How do you start a calculation?
_____________________________________________________________________
17 In the case when you are working with the previously calculated project, what needs to
be done first before viewing the result information?
_____________________________________________________________________
18 What display features are available in SolidWorks Flow Simulation to view the
calculation results?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
19 How can you calculate the total pressure value for a steady state incompressible fluid?
_____________________________________________________________________
_____________________________________________________________________
20 What is the definition of the total hydraulic resistance (loss) of an obstacle in a pipe?
_____________________________________________________________________
_____________________________________________________________________
When the fluid passes through ball valve it undergoes two sudden contractions and two
sudden expansions. Let us employ SolidWorks Flow Simulation to calculate the hydraulic
loss in the simple 2D channel with the sudden expansion.
Tasks
1 Open the Bilateral expansion channel.sldprt file in the part located in
the corresponding subfolder of the SolidWorks
Curriculum_and_Courseware_2010 folder.
The model is a shell so it is fully closed (the
front face on the picture at the right is made
transparent to view the results). Therefore, inlet
_____________________________________________________________________
4 Specify that water exits the model through the outlet
opening to an area of static atmosphere pressure. What is Specify static
the value of the ambient static atmosphere pressure in Pa? atmosphere
pressure at this
_____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
9 Specify the Equation goal calculating the total hydraulic loss.
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
____________________________________________________________________
10 Run the calculation.
____________________________________________________________________
____________________________________________________________________
Lesson 1 Quiz
Directions: Answer each question by writing the correct answer or answers in the space
provided.
1 What is the specific requirement in SolidWorks Flow Simulation for internal analyses?
_____________________________________________________________________
2 What if the fluid used in my design is not defined in the Engineering Database?
_____________________________________________________________________
3 What is the reason for specifying goals in a project?
_____________________________________________________________________
_____________________________________________________________________
4 Why is it important to specify the proper minimum gap size?
_____________________________________________________________________
_____________________________________________________________________
5 How does a user define a fluid exiting the model at static atmospheric pressure?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
6 After obtaining the results you intend to recalculate after changing a boundary
condition's value. Do you have to regenerate the computational mesh?
_____________________________________________________________________
7 Can you obtain intermediate results during the calculation?
_____________________________________________________________________
8 How do you load results?
_____________________________________________________________________
_____________________________________________________________________
9 You have specified a goal. How can you see the goal value after finishing the calculation?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
10 When can the symmetry condition be applied?
_____________________________________________________________________
11 What causes hydraulic losses in a pipeline?
_____________________________________________________________________
_____________________________________________________________________