2018 - SW Simulation - Flow
2018 - SW Simulation - Flow
ENG
www.sysprice.com.br
SOLIDWORKS
Introduction
About This Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Course Design Philosophy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Using this Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Lessons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
About the Training Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
User Interface Appearance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Conventions Used in this Book . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Use of Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
More SOLIDWORKS Training Resources. . . . . . . . . . . . . . . . . . . . . . 4
Local User Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Lesson 1:
Creating a SOLIDWORKS Flow Simulation Project
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Case Study: Manifold Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
i
Contents SOLIDWORKS Simulation
Model Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Internal Flow Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
External Flow Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Manifold Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Lids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Lid Thickness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Manual Lid Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Adding a Lid to a Part File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Adding a Lid to an Assembly File . . . . . . . . . . . . . . . . . . . . . . . . 10
Checking the Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Internal Fluid Volume. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Invalid Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Project Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Reference Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Exclude Cavities Without Flow Conditions . . . . . . . . . . . . . . . . . 21
Adiabatic Wall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Roughness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Computational Domain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Load Results Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Monitoring the Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Goal Plot Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Warning Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Post-processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Scaling the Limits of the Legend . . . . . . . . . . . . . . . . . . . . . . . . . 37
Changing Legend Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Orientation of the Legend, Logarithmic Scale . . . . . . . . . . . . . . . 37
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Exercise 1: Air Conditioning Ducting . . . . . . . . . . . . . . . . . . . . . . . . 50
Lesson 2:
Meshing
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Case Study: Chemistry Hood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Computational Mesh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Basic Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Initial Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Geometry Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Minimum Gap Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Minimum Wall Thickness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Result Resolution/Level of Initial Mesh . . . . . . . . . . . . . . . . . . . . . . . 66
Manual Global Mesh Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Control Planes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
ii
SOLIDWORKS Simulation Contents
iii
Contents SOLIDWORKS Simulation
Lesson 5:
Conjugate Heat Transfer
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Case Study: Heated Cold Plate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Conjugate Heat Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Real Gases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Goals Plot in the Solver Window . . . . . . . . . . . . . . . . . . . . . . . . 164
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Exercise 9: Heat Exchanger with Multiple Fluids . . . . . . . . . . . . . . 167
Lesson 6:
EFD Zooming
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Case Study: Electronics Enclosure . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
EFD Zooming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
EFD Zooming - Computational Domain . . . . . . . . . . . . . . . . . . 175
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Lesson 7:
Porous Media
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Case Study: Catalytic Converter. . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Porous Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Porosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Permeability Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Dummy Bodies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Design Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Exercise 10: Channel Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Lesson 8:
Rotating Reference Frames
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Rotating Reference Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Part 1: Averaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Case Study: Table Fan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Noise Prediction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Broadband Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
iv
SOLIDWORKS Simulation Contents
v
Contents SOLIDWORKS Simulation
Lesson 11:
Cavitation
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Case Study: Cone Valve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Cavitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Lesson 12:
Relative Humidity
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Relative Humidity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Case Study: Cook House . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Lesson 13:
Particle Trajectory
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Case Study: Hurricane Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Particle Trajectories - Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Particle Study - Physical Settings . . . . . . . . . . . . . . . . . . . . . . . . 281
Particle Study - Wall Condition . . . . . . . . . . . . . . . . . . . . . . . . . 281
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Exercise 14: Uniform Flow Stream . . . . . . . . . . . . . . . . . . . . . . . . . 283
Lesson 14:
Supersonic Flow
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Supersonic Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Case Study: Conical Body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Drag Coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Shock Waves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Lesson 15:
FEA Load Transfer
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Case Study: Billboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
vi
Introduction
1
Introduction SOLIDWORKS Simulation
About This The goal of this course is to teach you how to set up, run and view
Course results of a fluid flow and/or heat transfer analysis using
SOLIDWORKS and the Standard version of SOLIDWORKS Flow
Simulation mechanical design automation software.
It is impractical to cover every type of computational fluid dynamics
(CFD) problem in the SOLIDWORKS Flow Simulation software and
still have the course be a reasonable length. Therefore, the focus of this
course is on the fundamental skills and concepts central to successfully
performing a CFD analysis. You should view the training course
manual as a supplement to, not a replacement for, the system
documentation and on-line help. Once you have developed a good
foundation in basic skills, you can refer to the on-line help for
information on less frequently used command options.
Prerequisites Students attending this course are expected to have:
Mechanical design experience.
Completed the course SOLIDWORKS Essentials.
Basic understanding in the field of fluid flow and heat transfer.
Experience with Windows operating system.
Course Design This course is designed around a process- or task-based approach to
Philosophy training. A process-based training course emphasizes the processes and
procedures you follow to complete a particular task. By utilizing case
studies to illustrate these processes, you learn the necessary commands,
options and menus in the context of completing a task.
Course Length The recommended minimum length of this course is 2 days.
Using this Book This training manual is intended to be used in a classroom environment
under the guidance of an experienced SOLIDWORKS Flow
Simulation instructor. It is not intended to be a self-paced tutorial.
Lessons The lessons give you the opportunity to apply and practice the material
in front of an instructor so questions can be asked and answered during
each lesson.
2
SOLIDWORKS Simulation Introduction
About the A complete set of the various files used throughout this course can be
Training Files downloaded from the SOLIDWORKS website, www.solidworks.com.
Click on the link for Support, then Training, then Training Files, then
SOLIDWORKS Simulation Training Files. Select the link for the
desired file set. There may be more than one version of each file set
available.
Direct URL:
www.solidworks.com/trainingfilessimulation
The files are supplied in signed, self-extracting executable packages.
The files are organized by lesson number. The Case Study folder
within each lesson contains the files your instructor uses while
presenting the lessons. The Exercises folder contains any files that are
required for doing the laboratory exercises.
Windows The screen shots in this manual were made using the SOLIDWORKS
software running a mixture of Windows® 7 and Windows 10. You may
notice slight differences in the appearance of the menus and windows.
These differences do not affect the performance of the software.
User Interface Throughout the development of the software, there have been some
Appearance cosmetic User Interface changes, intended to improve visibility, that do
not affect the function of the software. As a policy, dialog images in the
manuals which exhibit no functional change from the previous version
are not replaced. As such, you may see a mixture of current and “old”
UI dialogs and color schemes.
Conventions Used This manual uses the following typographic conventions:
in this Book
Convention Meaning
3
Introduction SOLIDWORKS Simulation
4
Lesson 1
Creating a SOLIDWORKS
Flow Simulation Project
Objectives Upon successful completion of this lesson, you will be able to:
Understand the model preparations required for a Flow Simulation
Project.
Create simple lids.
Check the geometry for invalid contacts.
Calculate the internal volume.
Create a SOLIDWORKS Flow Simulation Project using the Project
Wizard.
Apply flow boundary conditions.
Apply Goals.
Run an analysis.
Use the Solver Monitor window.
View the results.
5
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Case Study: In this lesson, we will learn how to set up a SOLIDWORKS Flow
Manifold Simulation project using the Wizard. Prior to setting up our project, we
Assembly will learn how to properly prepare our model for the analysis. We will
run the simulation and learn how to interpret the results. In addition, we
will see the many options available when post-processing the results.
Problem Air enters an intake manifold assembly at
Description 0.05 m3/s and flows out through the six
openings as seen in the figure. The
common goal of intake manifold design is
even distribution of the combustion
mixture to the piston heads. This will
insure optimum engine efficiency. We will
keep this in mind when analyzing our
intake assembly.
The objective of this lesson is to introduce the complete set up of a
SOLIDWORKS Flow Simulation project within SOLIDWORKS, from
model preparation to post-processing. Study goals will be defined and
discussed. In addition, the results will be post-processed using the
various options in SOLIDWORKS Flow Simulation.
Stages in the Prepare model for analysis.
Process Use the Lids tool to close the model in preparation for an internal
analysis. The Check Geometry command will be used to make
sure that your model is ready for a flow simulation.
Set up flow simulation.
Use the Wizard to set up the flow simulation project.
Apply boundary conditions.
Boundary conditions are applied to inlets and outlets.
Declare calculation goals.
Goals can be defined that are special parameters that the user will
have information for after the analysis is run.
Run the analysis.
6
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
1 Open SOLIDWORKS.
Note Alternatively, add-ins can be activated using the Tools, Add-Ins menu.
3 Open Assembly.
Open Coletor from the Lesson01\Case Study folder.
7
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Manifold Analysis Now that we know the difference between internal and external
analysis, we can characterize our manifold analysis as internal. We will
only study the flow on the inside of the manifold assembly and are not
concerned with any flows around the body. As mentioned previously, to
perform an internal flow analysis, the SOLIDWORKS model must be
fully closed using Lids.
Lids Lids are used in internal flow analysis. In this type of analysis, all
openings within a model must be covered using the SOLIDWORKS
“lids” features. The surfaces of the lids (which contact the fluid) are
used to apply boundary conditions which introduce a mass flow rate,
volume flow rate, static /total pressure, of Fan condition within a fluid
volume.
Note Situations that do not require the use of lids include external analysis
that measure flow over bodies such as: cars, planes, buildings, ...etc. In
addition, lids are not used in natural convection problems.
Introducing: Create The Create Lids tool automatically creates lids for all openings in the
Lids selected planar surface of the model. This tool is available for both part
and assembly files. The lids are necessary for an internal analysis
(problems such as flow through a ball valve or pipe).
8
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
You’ll notice that a new part called LID1 gets created in the
FeatureManager design tree. The part is a blind extrusion from the
selected planar face into the opening with a distance that was specified
as the Thickness.
Note Multiple planar faces can be selected using the Create Lids tool. If the
user is working with an assembly, new parts named LID1, LID2... will
be created. If the user is working with a single part, new LID1,
LID2...features will be created.
Tip It is good practice to rename your lids when working in an assembly.
This can avoid problems with multiple assemblies with lids open at the
same time.
Lid Thickness If necessary, the thickness of the lid can be adjusted by clicking the
Adjust Thickness button and input the value in the Thickness box
(as done in the previous step).
The thickness of an external lid for an internal analysis is usually not
important for the analysis. However, the lid should not be so thick that
the flow pattern is affected downstream in some way. If this is both an
external and internal analysis then creating a lid that is too thin will
cause the number of cells to be very high. For most cases the lid
thickness could be the same thickness used to create the neighboring
walls.
Manual Lid The Create Lids tool cannot be used if there are no planar faces to use
Creation as references. In this instance, the user must create the lids manually by
creating lid parts or features.
Adding a Lid to a Click on the surface adjacent to where you would like to add the lid
Part File and open a sketch.
Select the inside edge(s) and select Sketch Tools, Convert
Entities.
Insert, Boss/Base, Extrude and select the Mid Plane option.
9
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Note Selecting the Mid Plane option is very important. The Blind option
would create an invalid contact (disjointed body) between the lid and
the body. SOLIDWORKS Flow Simulation is unable to apply
boundary conditions onto a surface when there is an invalid contact.
Mid-Plane extrusion Blind extrusion
Adding a Lid to an There are several ways to create lids within a SOLIDWORKS
Assembly File assembly file. The following steps outline one of these recommended
ways.
Within the SOLIDWORKS assembly mode go to Insert,
Component, New Part.
Select the surface adjacent to where you would like to add the lid.
Select the inside edge(s) and select Sketch Tools, Convert
Entities.
Insert, Boss/Base, Extrude and select the Mid Plane option.
Click OK to close the part edit mode. A new Part will be added to
the assembly.
Note It's usually a good idea to create the lids as a part file within an
assembly especially if your analysis involves heat transfer. These lids
can then be assigned a different material, such as an insulator so that
the lid does not affect the heat transfer analysis.
10
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
5 Remaining lids.
Create the remaining lids on the outlet faces using the manual lid
creation method described above. Use a Mid Plane extrusion of 2mm.
Note We could have used the Create Lids tool to create the remaining lids,
however the tool would have closed all of the openings on the selected
face, therefore closing the bolt holes. This is not necessary, and this
also gives us the opportunity to practice manual lid creation.
Discussion When creating lids before the analysis, keep in mind that they have two
purposes; closing off any openings and allowing for solid geometry on
which boundary conditions (i.e. static pressure, mass flow rate, etc.) are
defined. In this model, we could have used a single part to close off all
six outlet ports as shown in the figure. This type of lid would not be
applicable if we required different boundary conditions on each outlet.
In addition, this lid is inappropriate because to evaluate the design, we
require information about the flow through each individual outlet
(remember, a well designed manifold will distribute the combustion
mixture evenly). We will see that this type of lid will make it more
difficult to obtain the information about each port.
11
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Checking the The SOLIDWORKS model must be checked to determine if there are
Geometry any problems with the geometry that may cause problems meshing the
body and fluid regions.
There are two main reasons that prevent meshing of the solid and fluid
bodies.
Openings in the geometry that prevent SOLIDWORKS from fully
defining a fully closed internal volume. This is for an internal
analysis only.
Invalid contacts exist between parts in an assembly. (An invalid
contact is defined as a line or point contact between part files.)
These will be discussed later in the lesson.
Note Invalid contacts affect both internal and external analysis.
Introducing: Check A SOLIDWORKS Flow Simulation tool,
Geometry called Check Geometry, allows users to check
the SOLIDWORKS geometry. This tool also
allows you to check bodies for possible
geometry problems (e.g., tangent contact) that
cause SOLIDWORKS Flow Simulation to
create an inadequate mesh.
The State field allows you to disable some of
the assembly components from the geometry
check.
Provided the fluid volume exists, Show Fluid
Volume command will graphically indicate it.
Check command will run the geometry check
on the assembly.
12
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Internal Fluid SOLIDWORKS Flow Simulation will also calculate the total volume
Volume of solid components and the total fluid volume.
For internal flow analysis, the internal fluid volume must be greater
than zero. If there are no invalid contacts and the internal fluid volume
is still zero, then there is a small gap or an opening that connects the
internal domain to the external space. Once the small gap or opening is
detected and corrected, rerun the Check Geometry tool to ensure that
the internal fluid volume is greater than zero.
Invalid Contacts If invalid contacts exist, SOLIDWORKS Flow Simulation will not be
able to calculate an internal fluid volume (within the computational
domain), and the Check Geometry tool will report the internal fluid
volume to be zero even if the model is perfectly closed and has no
openings or gaps. Invalid contacts must be fixed before a flow analysis
can be performed.
The invalid contacts can be fixed by either separating the two parts
with a very small distance so that they are no longer touching, or by
creating an interference fit between the two parts.
13
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
14
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Edge contact
8 Check geometry.
Follow step 6 on page 13 to check geometry for invalid contacts. Make
sure you specify Internal analysis type.
The result text window indicates 16 detected unresolved contacts,
which were fixed.
Because the invalid contacts were fixed, the Check geometry tool was
also able to calculate both the fluid and solid volumes.
Note In most of such situations, software is able to heal invalid contact and
calculate the fluid and solid volumes.
Click on any of the invalid contacts to see it in the graphics area.
Close the text area with the results, and the Check Geometry property
manager.
15
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Gap (leak)
10 Check geometry.
Follow 8 to check the geometry for invalid contacts. Make sure you
specify Internal analysis type.
The result text window indicates that the geometry
check failed. Both the solid and fluid volumes
show zero volumes indicating that they could not
be calculated.
Introducing: Leak Leaks in geometry are sometimes difficult to detect. Leak tracker tool
Tracker makes this task easy.
11 Leak tracker.
Go to Tools, Flow Simulation, Tools
Outside
and select Leak Tracking . face
16
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Note You may run the Check geometry command for the last time to verify
that your geometry is water tight.
17
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Project Wizard Project wizard is the most convenient way to create and specify the
basic configuration of your simulation project.
Introducing: Wizard The flow simulation project Wizard is used by even the most
experienced users of SOLIDWORKS Flow Simulation. It walks you
through the basic steps of setting up a flow analysis. Additional
commands may then be needed to complete the definition of more
complicated analyses. The Wizard addresses the following parts of
modeling:
Project Configuration
Select the configuration that you want to use with the simulation.
You can create a new configuration or use one that is currently
defined. It is recommended that you associate each flow simulation
project to a new configuration. This insures that your files and
results will be organized.
Unit System
Defines the unit system that will be used in the simulation. This can
be changed after finishing the Wizard in the Flow Simulation
menu by selecting Units. In addition, each custom defined unit
systems can be created that mix and match from the different
universal systems.
Analysis type
The analysis is defined as internal or external. In addition other
features about the analysis can be defined (i.e., reference axis).
Default Fluid
Defines the default fluid that is used in the analysis as well as the
type of flow it will encounter (i.e., laminar, turbulent, both).
Wall Conditions
Defines the boundary conditions for the flow at the walls of the
SOLIDWORKS geometry.
Initial Conditions
Defines the initial and ambient conditions of the solids and fluids in
the model.
Results and Geometry Resolution
Can define the density of the mesh based on the geometrical
features of the model (thickness of thin wall and gaps) as well as
the overall result accuracy.
18
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Click Next.
19
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
16 Select units.
20
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Reference Axis The Reference Axis is defined through the Wizard. It is used to define
the Dependency of a specific quantity (i.e., radiation or rotation).
Exclude Cavities The status of the Exclude cavities without flow conditions option is
Without Flow not important in this analysis; there is only one internal space within
Conditions this model. If there were multiple unconnected internal spaces, then
selecting this box would prevent SOLIDWORKS Flow Simulation
from meshing and solving for any internal spaces that do not have
boundary conditions.
Expand the Gases tree. Using the scroll box in the database of fluids,
click Air.
Click Add. This will move Air under the Project Fluids list.
Accept all other default settings.
Click Next.
21
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
In the Parameter list, the value for Default wall thermal condition is
Adiabatic wall and the value for Roughness is 0. Click Next.
Adiabatic Wall Since this project does not involve any type of heat transfer, the default
Adiabatic wall selection is recommended. Adiabatic wall assumes the
walls are perfectly insulated.
Roughness This value is used in the calculation of the velocity profile within the
boundary layer. If the default value of zero is used (recommended if the
roughness is not known), the solver assumes the walls are smooth.
Please consult the Flow Simulation help on how to determine
appropriate roughness parameters.
22
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
23
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
24
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Note To access the inner face, right-click the outer face on the lid and click
Select Other. In the Select Other window, cycle through the faces by
moving the pointer to highlight each face dynamically in the solid
geometry.
23 Set up the boundary condition.
In the Boundary Conditions
PropertyManager, under Type, select the Flow
openings button .
Still under Type, select Inlet Volume Flow.
Under Flow Parameters, click the Normal to
face button and enter 0.05 m3/s.
Click OK.
The new Inlet Volume Flow1 item appears in
the SOLIDWORKS Flow Simulation analysis
tree under Boundary Conditions.
SOLIDWORKS Flow Simulation will apply a
0.05 m3 of air per second across the inlet area,
normal to the selected face.
Note Since the volume flow rate is required as an output at each outlet, a
pressure condition should be used to identify the outlet condition. If the
pressure is not known at the outlet of each port, an ambient static
pressure condition can be used as the boundary condition across each
outlet face for this analysis.
24 Insert boundary condition.
In the SOLIDWORKS Flow Simulation
analysis tree, under Input Data, right-click the
Boundary Conditions icon and select Insert
Boundary Condition.
Select the inner face of one of the outlet ports.
25
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
26
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Where to Find It Shortcut Menu: Right-click Goals in the Flow Simulation analysis
tree and click Insert Goals
CommandManager: Flow Simulation >
Flow Simulation Features > Goals
Menu: Tools, Flow Simulation, Insert, Goals
Use in Instructions Choose the type of goal you want to define.
27
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
28
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Click OK.
31 Rename the equation goal.
Rename the equation goal to Sum of outlet flow rates.
Once the solution has converged, the sum of the outlet volume flow
rates should approximately be equal to the inlet volume boundary
condition.
29
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Mesh Density and quality of mesh influences the result resolution, or in other
words the level of accuracy of the results. In general, to achieve higher
level of result accuracy, the finer mesh is in general required which
means higher total cell counts and increased physical RAM
requirements.
Higher mesh density will require longer CPU time to solve. Thus, the
optimum mesh density requires a balance between precise results and
computation time.
Note In some situations, entering values for the Minimum gap size is
important and ensures that any small gaps are not ignored during
meshing. Since this model has a fairly uniform diameter, no minimum
gap is required.
33 Save file.
Click File, Save to save the assembly file.
Where to Find It Shortcut Menu: Right-click the project folder (Project 1) in the
SOLIDWORKS Flow Simulation analysis tree and click Run
CommandManager: Flow Simulation > Run
Menu: Tools, Flow Simulation, Solve, Run
Load Results Because the results from SOLIDWORKS Flow Simulation may
Option become large, it is necessary to Load them for post-processing. This
option automatically loads SOLIDWORKS Flow Simulation results
once the solver completes.
Note If multiple configurations/solutions are obtained, only a single solution
set can be loaded at a time. Before loading a new set of results, the
currently loaded results must be unloaded.
30
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Monitoring the The solution monitor window will appear after the solver has started.
Solver On the left of the Solver window is a log of each step taken in the
solution process. On the right is an information dialog box with mesh
information and any warnings concerning the analysis.
31
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Goal Plot Window The Goal Plot window will list each goal selected in the Add/Remove
Goals window. Here you can see the current value and graph for each
goal as well as the current progress towards completion given as a
percentage. The progress value is only an estimate, and the rate of
progress generally increases with time.
Warning Messages Warning messages are also displayed in the Info section of the Solver
window. In this analysis, you may see a warning message that reads “A
vortex crosses the pressure opening”. This message indicates that
there is a pressure difference across the outlet, which sometimes
indicates a recirculation across the outlet. After running the analysis,
the user can look at the result plots to see if the flow is entering through
the outlets. This message is only a warning and can be ignored for this
analysis, but if there was flow entering through the outlet, then the user
would have to extend the outlet until the flow vectors were all leaving
the outlet.
32
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Make sure that the check boxes next to Load Results is selected.
Click Run with default settings.
The solver should take approximately 5 minutes to run.
Note The Flow Simulation solver supports parallel computations. This
allows you to select the number of CPUs to be used in the calculation.
35 Insert goal plot.
While the solver is running, In the Solver toolbar, click Insert Goal
Plot to open the Add/Remove Goals window.
Click the top checkbox to add all the goals you want to plot.
Click OK.
33
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
36 Insert preview.
With the solver running,
after a few iterations, click
the Insert Preview button
on the Solver toolbar.
In the Preview Settings
window, selecting any
SOLIDWORKS plane
from the SOLIDWORKS
FeatureManager Tree and
clicking OK will create a
preview plot of the
solution on that plane. For
this model, the Top Plane
is a good choice to use as
the preview plane. The
preview plane can be
chosen anytime from the
SOLIDWORKS
FeatureManager.
Click the Settings tab.
In the Parameter list,
click Velocity.
Click OK.
Note The preview allows one to look at the results while the calculation is
still running. This helps to determine if all the boundary conditions are
correctly defined and gives the user an idea of how the solution will
look even at an early stage. It is important to note that at the start of the
run the results might look odd or change abruptly. However, as the run
progresses, these changes will lessen and the results will settle in on a
converged solution. The results can be displayed either in contour,
isoline or vector representation.
37 Close the Solver window.
Click File, Close. This will close the Solver window.
34
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Post- The first step to view the results is to generate a transparent view of the
processing geometry, a 'glass-body' image. This way, you can easily see where cut
planes etc. are located with respect to the geometry.
Introducing: Cut A Cut plot displays any result on any SOLIDWORKS plane. The
Plots representation can be as a contour plot, as isolines, or as vectors and
also in any combination of the above (e.g. contour with overlaid
vectors).
Where to Find It Shortcut Menu: Right-click Cut Plots under Results in the
Flow Simulation analysis tree and click Insert
CommandManager: Flow Simulation > Cut Plot
Menu: Tools, Flow Simulation, Results, Insert, Cut Plot
35
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Note The limits of the legend default to the global maximum and minimum.
Use the Adjust Maximum and Minimum button under the Contours
dialog to change them.
The maximum velocity close to 15.3 m/s is reached close to the inlet
where the rapid narrowing of the profile ends.
36
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
To modify the options for this and other plots, either double-click on
the color scale or right-click the plot name and select Edit Definition.
Double-click
37
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Note The vector Spacing, their Size, and other vector parameters can be
adjusted in the Vectors dialog of the Cut Plot window. Notice how the
flow must navigate around the sharp corners on the Ball.
38
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Introducing: Surface A Surface Plot displays any result on any SOLIDWORKS surface.
Plot The representation can be as a contour plot, as isolines, or as vectors -
and also in any combination of the above (e.g. contour with overlaid
vectors).
Where to Find It Shortcut Menu: Right-click Surface Plots under Results in the
Flow Simulation analysis tree and click Insert
CommandManager: Flow Simulation > Surface Plot
Menu: Tools, Flow Simulation, Results, Insert, Surface Plot
39
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
46 Probe.
In the Flow Simulation analysis tree, right-click Results and select
Probe. Select points of interest in the graphics window.
The pressure at those locations will appear in the graphics window.
To turn the Probe tool off, right-click Results and select Probe again.
To turn off the probe displays, right-click Results and select
Display Probes.
47 Hide Surface Plot 1.
Right-click the Surface Plot 1 and select Hide.
Introducing: Flow Using Flow trajectories, you can show the flow streamlines and paths
Trajectories of particles with mass and temperature that are inserted into the fluid.
Flow trajectories provide a very good image of the 3D fluid flow. You
can also see how parameters change along each trajectory by exporting
data into Microsoft Excel. Additionally, you can save trajectories as
SOLIDWORKS reference curves. The trajectories can also be colored
by values of whatever variable chosen in the View Settings window.
40
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Discussion Notice the trajectories that are entering and exiting through the exit lid.
This is the reason for the warning (A vortex crosses the pressure
opening) during the solution process. When flow both enters and exits
the same opening, the accuracy of the results will be affected. In a case
such as this, one would typically add the next component to the model
(such as a pipe extending the computational domain) so that the vortex
does not occur at an opening.
Another approach to deal with this warning message could be to
change the boundary condition at the pressure opening. We applied a
static pressure boundary condition to each outlet face. This applies
static pressure to both sides of the lid. In reality, we know that if the lid
was extended, the flow would experience some amount of pressure
difference. To account for this, we could have used an environment
pressure boundary condition. The environment pressure boundary
condition applies total pressure to the face of the lid where the flow
enters the model and static pressure to the face of the lid where the flow
leaves the model. This type of boundary condition will provide us with
more reliable results than the static pressure condition.
41
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Introducing: XY XY-Plot allows you to see how a parameter changes along a specified
Plots direction. To define the direction, you can use curves and sketches (2D
and 3D sketches). The data are exported into an Excel workbook,
where parameter charts and values are displayed. The charts are
displayed in separate sheets and all values are displayed in the Plot
Data sheet.
Close the plot window by clicking the close button (see the figure
above).
Still in the XY Plot property manager, click the Export to Excel button.
42
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Microsoft Excel will open and generate two lists of data points as well
as two graphs, one for Velocity and the other for Pressure. You will
need to toggle between different sheets to view each graph.
43
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
Introducing: Surface Surface Parameters can be used to determine pressures, forces, heat
Parameters flux as well as many other variables on any face within your model
contacting the fluid. For this type of analysis, it would probably be of
interest to calculate the average static pressure drop from the valve inlet
to outlet.
44
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Note The Integral table contains integrated values taken across the face of
the selected surface. We can see that the volume flow rate on this inlet
face is equal to the volume flow rate boundary condition of 0.05 m^3/s
that we specified.
Introducing: Goal The goal plot allows you to see how the goal changes throughout the
Plot flow simulation as well as the final value of the goal at the end of the
calculation.
Where to Find It Shortcut Menu: Right-click Goal Plots under Results in the Flow
Simulation analysis tree and click Insert
CommandManager: Flow Simulation > Goal Plot
Menu: Tools, Flow Simulation, Results, Goal Plot
52 Goals plot.
In the SOLIDWORKS Flow Simulation
analysis tree, under Results, right-click Goal
Plots and select Insert.
Select All Goals in the Goal Filter and check
All in the Goals to Plot list.
Under Options select Group charts by
parameter.
Click Show.
45
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
The table of the goal values will open on the bottom of the screen.
Close the goal plot window by clicking the close button (see the figure
above).
Still in the Goal Plot property manager, click the Export to Excel
button.
An Excel spreadsheet will be automatically created containing
information about the goals.
46
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Note The spreadsheet contains the final, maximum, minimum and averaged
values of the goal during the calculation. In addition, there are plots
showing how the goal changed during the calculation.
Negative values represent flow out of the computational domain.
Here, we can also verify that our inlet volume flow rate boundary
condition was also applied properly during the calculation. In addition,
the total flow out is equal to the total flow in.
Introducing: Save Postprocessing images such as cut plots and surface plots can be
Image exported in various image formats, and also in the eDrawings format.
Where to Find It Shortcut Menu: Right-click the Results folder and select Save
Image
CommandManager: Flow Simulation > Save Image
Menu: Tools, Flow Simulation, Results, Screen Capture,
Save Image
47
Lesson 1 SOLIDWORKS Simulation
Creating a SOLIDWORKS Flow Simulation Project
All plots shown in the Flow Simulation feature tree will be included.
55 Save and Close.
Save and Close the assembly.
48
SOLIDWORKS Simulation Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Discussion We specified an inlet volume flow rate of 0.05 m^3/s and have verified
that this boundary condition was applied properly using Surface
Parameters and Goal Plots that this value was applied.
Due to conservation of mass, we also know that the total volume flow
rate into the manifold should equal the total volume flow rate out of the
manifold. We can verify that this is true using the Goal Plot and
looking at our goal for the Sum of outlet flow rates.
Furthermore, we would like to determine if the design of the manifold
will result in efficient engine performance. In the beginning of the
lesson, we said that the ideal situation would have similar flow through
all of the outlet ports. When looking at our goals, we can see that the
volume flow rate can vary significantly through the outlet ports. It is up
to the engineer to decide whether design modification would be
necessary to produce a more uniform outlet flow through each port.ì
Summary In this lesson we learned how to set up a Flow Simulation project. The
Wizard was used to create all of the general settings of the analysis.
Both inlet and outlet boundary conditions were defined and a number
of goals were created. The results of the simulation was thoroughly
post-processed using many of the options available in SOLIDWORKS
Flow Simulation. The stages of flow simulation that were outlined in
this lesson will be followed throughout the book.
49
Exercise 1 SOLIDWORKS Simulation
Air Conditioning Ducting
Exercise 1: In this exercise, we will perform a steady state analysis of the main duct
Air supplying air to different rooms using four ducts.
Conditioning This exercise reinforces the following skills:
Ducting Stages in the Process on page 6
Internal Flow Analysis on page 7
Lids on page 8
Checking the Geometry on page 12
Project Wizard on page 18
50
SOLIDWORKS Simulation Exercise 1
Air Conditioning Ducting
Follow with the same steps to create lids on the remaining four outlets.
4 Check for invalid fluid geometry.
Run Check Geometry tool for Internal analysis.
The geometry should be closed correctly.
Close the Check Geometry tool.
5 Create a project.
Using the Wizard, create a new project with the following properties:
51
Exercise 1 SOLIDWORKS Simulation
Air Conditioning Ducting
Note Review step 27 on page 27 to see how to easily select all five faces
using already defined pressure outlet openings.
Click OK.
52
SOLIDWORKS Simulation Exercise 1
Air Conditioning Ducting
53
Exercise 1 SOLIDWORKS Simulation
Air Conditioning Ducting
The pressure is growing as the air approaches the last outlet located
directly across from the inlet. Pressures in the side ducts are relatively
small.
16 Hide the cut plot.
Right-click the Cut Plot 1 icon and select Hide.
17 Create Cut Plot velocity.
Follow the same process as in the previous step. Create a new cut plot
for Velocity.
Velocity is decreasing as the air moves father from the inlet lid.
54
SOLIDWORKS Simulation Exercise 1
Air Conditioning Ducting
Note Notice that there is a potential for the backflow at this outlet location.
19 Create goals plot.
In the SOLIDWORKS Flow Simulation analysis tree, under Results,
right-click Goal Plots and select Insert.
Select All Goals in the Goal Filter and check All in the Goals to Plot
list.
Under Options select Group charts by parameter.
Click Show.
The table of the goal values will open on the bottom of the screen.
55
Exercise 1 SOLIDWORKS Simulation
Air Conditioning Ducting
56
Lesson 2
Meshing
Objectives Upon successful completion of this lesson, you will be able to:
Generate proper mesh in the presence of thin walls and narrow
channels.
Use mesh features.
Display mesh.
Use Thin wall optimization feature.
Apply manual mesh controls and use control planes.
57
Lesson 2 SOLIDWORKS Simulation
Meshing
Case Study: In this lesson, we will introduce the different mesh controls available in
Chemistry Hood SOLIDWORKS Flow Simulation. You will learn many of the manual
meshing options available in SOLIDWORKS Flow Simulation that
will allow you to analyze intricate problems with small geometrical and
physical features. Using automatic mesh settings, these types of
problems would require lots of computational resources. The manual
settings allow you to analyze these problems much more efficiently.
Project A chemistry hood is shown in the figure. A chemical reaction is
Description occurring at the bottom of the blue ejector that is emitting a gas into the
environment. There is an opening at the front of the hood and an
exhaust fan causes a volume flow rate at the top opening. In addition,
three thin baffle walls separate the inlet and outlet. The goal of this
lesson is to develop an appropriate mesh to properly resolve the small
ejector opening, the thin baffle walls, as well as the rest of the model.
The mesh must be small enough to resolve the small geometry, but also
large enough so that our computer resources are not exhausted.
Exhaust
Open
Ejector
Ejector Opening
58
SOLIDWORKS Simulation Lesson 2
Meshing
Configuration Select:
name Select Hood mesh configuration.
Project name: “Mesh 1”
Unit system SI (m-kg-s)
Analysis Type Internal
59
Lesson 2 SOLIDWORKS Simulation
Meshing
60
SOLIDWORKS Simulation Lesson 2
Meshing
61
Lesson 2 SOLIDWORKS Simulation
Meshing
Initial Mesh The initial mesh is constructed from the Basic mesh by refining the
basic mesh cells in accordance with the specified mesh settings. The
mesh is named initial because it is the mesh the calculation starts from,
and it could be further refined during the calculation if the solution-
adaptive meshing is requested. Initial mesh can be created based on the
Global Mesh settings, and Local Mesh settings.
Although the automatically generated mesh is usually appropriate, thin
and small geometrical features can result in extremely high cell counts,
causing the physical RAM required to solve to increase or exceed the
amount of RAM available on your computer.
62
SOLIDWORKS Simulation Lesson 2
Meshing
Introducing: Global The global mesh controls global (entire computational domain)
Mesh refinement of the Basic mesh. It is controlled by the set of parameters
specified in the Global Mesh PropertyManager.
Where to Find It Shortcut Menu: Expand the Mesh folder in the Flow Simulation
analysis tree, right-click Global Mesh and click Edit Definition
CommandManager: Flow Simulation > Global Mesh
Menu: Tools, Flow Simulation, Global Mesh
63
Lesson 2 SOLIDWORKS Simulation
Meshing
7 Insert boundary
condition.
In the SOLIDWORKS
Flow Simulation
analysis tree, under
Input Data, right-click
Boundary
Conditions and select
Insert Boundary
Condition.
Select the tiny face of
the ejector inlet port.
In the Boundary
Conditions
PropertyManager,
under Type, select the
Flow openings
button .
Still under Type, select
Inlet Volume Flow.
Under Flow Parameters, click the Normal to face button and enter
6e-5 m^3/s.
Click OK.
Note There is a chemical reaction happening inside the ejector that is
releasing the gas into the chemistry hood through this small opening.
8 Review initial Global Mesh settings.
Similar to step 3, Edit Definition of the Global Mesh.
Notice that the Minimum Gap Size field shows a value of 0.00136 m,
but again do not active this parameter.
Click OK.
Note Because we added another boundary condition to a smaller face, the
default minimum gap size has changed to the diameter of the inlet face.
64
SOLIDWORKS Simulation Lesson 2
Meshing
65
Lesson 2 SOLIDWORKS Simulation
Meshing
Discussion We can now distinguish two very different parts of our model. The
large, open area with the thin baffle walls, and the ejector region with
small geometrical features. These regions are very different, and in
turn, their meshes should be different. We will try to solve this by
adjusting the Level of initial mesh.
Result The Result Resolution or Level of initial mesh governs the solution
Resolution/ accuracy through mesh settings and convergence criteria. The user
Level of Initial specifies a result resolution level in accordance with the desired
Mesh solution accuracy, available CPU time, and computer memory. Because
this setting has an influence on the number of generated mesh cells, a
more accurate solution requires longer CPU time and more computer
memory.
Note If you specify very small values of the Minimum gap size and
Minimum wall thickness and a high result resolution, the number of
mesh cells will dramatically increase, resulting in increases in memory
requirements and CPU time.
66
SOLIDWORKS Simulation Lesson 2
Meshing
67
Lesson 2 SOLIDWORKS Simulation
Meshing
Discussion At this point we might be able to proceed with our analysis, however
275,000 cells is still significant. In addition, the mesh is still
unnecessarily resolved in many regions where the flow field will
remain relatively unchanged. We can attempt to deal with this by
turning off the Automatic setting of the initial Global Mesh and setting
up our initial mesh manually.
Manual Global The Automatic setting of the Global Mesh controls the mesh options
Mesh Settings within the entire computational domain. Activating the Manual initial
global mesh settings gives you four tabs where manual definition can
be specified.
Basic Mesh Channels
Refining Cells Advanced Refinement
Cell Types SOLIDWORKS Flow Simulation uses the following four types of
rectangular cells:
Fluid cells – These are cells entirely in the fluid.
Solid cells – These are cells entirely in the solid.
Partial cells – These are cells partly in the solid region and partly in
the fluid region. For partial cells the following information is
known: coordinates of intersections of cell’s edges with the solid
body, solid face area within a cell, and normal to the solid face.
Irregular cells – partial cells with an undefined normal to the solid
face.
Basic Mesh The Basic Mesh settings define how the basic mesh is created. You
can specify the number of cells in the global x, y, and z direction and
the basic mesh will be constructed by dividing the computation domain
into slices by mesh planes. By default, the basic mesh planes are
arranged so that the computational domain is divided uniformly.
Refining Cells The Refining Cells settings describe the refinement level of each cell
type.
Channels The Channels settings specify additional mesh refinement in the flow
passages of the model. The Maximum Channels Refinement Level
defines the smallest size of the cells in the flow passages with respect to
the basic mesh. More information about these settings can be found in
the Help menu.
Advanced The settings define the refinement levels for Small Solid Feature
Refinement Refinement Level, Curvature Level, and Tolerance Level. More
information about these settings can be found in the Help menu.
Advanced Narrow The Advanced channel refinement option is located in the automatic
Channel Refinement settings of the global mesh. This setting applies the default Maximum
Channels Refinement Level greater than the Tolerance Refinement
level by one.
68
SOLIDWORKS Simulation Lesson 2
Meshing
Discussion The ejector inlet is still poorly resolved. We need a way to refine the
mesh in only this area without refinement anywhere else. For this, we
will use the Local Mesh feature of Flow Simulation.
69
Lesson 2 SOLIDWORKS Simulation
Meshing
Introducing: Local The Local Mesh option is intended for resolving the mesh around a
Mesh local region (solid or fluid). The local region can be defined by a
component, face, edge, or vertex, or by specifying a region using the
orthogonal, cylindrical or spherical coordinates. Local mesh settings
are applied to all cells intersected by a component, face, edge, cell or a
region enclosing the selected vertex.
If you would like to resolve the mesh within an entire fluid region, a
SOLIDWORKS solid feature is required to represent the fluid. You
must then disable the solid component representing the fluid region
using Tools, Flow Simulation, Component Control. Once disabled in
Flow Simulation, you can select the SOLIDWORKS component
representing the fluid region in the Local Mesh option.
The local mesh settings do not influence the basic mesh but are basic
mesh sensitive: all refinement levels are set with respect to the basic
mesh.
Where to Find It Shortcut Menu: Expand the Mesh folder in the Flow Simulation
analysis tree, right-click Global Mesh and click Insert Local Mesh
CommandManager: Flow Simulation >
Flow Simulation Features > Local Mesh
Menu: Tools, Flow Simulation, Insert, Local Mesh
19 Local mesh.
From the Tools, Flow Simulation menu,
choose: Insert, Local Mesh.
Keep the default Reference button clicked,
and select the small inlet on the ejector or use the
boundary condition defined on the inlet to select
the face.
70
SOLIDWORKS Simulation Lesson 2
Meshing
21 Cut plot.
Show the Cut Plot 1 that was
previously created.
The mesh has slightly more cells, but is
much more refined around the inlet
region.
Control Planes As we noted before, the basic mesh is formed by splitting the
computational domain into cubes using parallel and orthogonal planes
which are aligned with the Global Coordinate System’s axes. The
Basic Mesh tab of the Global Mesh defines the settings for how the
planes are created.
By default, three Control intervals
are created to define the cell
distribution in the x, y, and z
directions of the model. The Min
and Max fields define where the
splitting begins and ends. For
instance, the image shows the
default maximum and minimum
control planes for the x direction.
Notice that they are located at the ends of the computational domain.
Additional Control intervals can be introduced into the computational
domain to define additional planes used for splitting. The location of
the planes can be clicked on the screen or the user can select reference
geometry for a plane location. Furthermore, you can set up the how the
cells grow around the planes by editing the Number of cells or Ratio.
71
Lesson 2 SOLIDWORKS Simulation
Meshing
Discussion Although our mesh is well resolved around the orifice, it is not
symmetric about this face. This could pose problems with the boundary
condition. We would like the mesh to be created symmetrically about
the center of the small ejector inlet. Therefore, we will need to create a
plane at the center of the orifice to insure that the cells are split about
the center of the orifice.
Note The Add Plane button would be used if a control plane position was
specified by its z coordinate value.
To view added control plane intervals, switch the table presentation
mode from Planes to Intervals. Control Intervals list now shows two
plane sets in the Z direction. The first set goes from one end of the
computational domain up to the center of the orifice. The second set
goes from the center of the orifice to the other end of the computational
domain.
72
SOLIDWORKS Simulation Lesson 2
Meshing
73
Lesson 2 SOLIDWORKS Simulation
Meshing
25 Unsupress part.
In the FeatureManager design tree right-click the LocalMesh2 part
and click Unsuppress.
An error message is shown telling you that the inlet volume flow
condition is not in contact with the fluid region.
Click Close twice to close the error messages.
Discussion This error appears because the new LocalMesh2 part fully encloses
the ejector and blocks the ejector inlet boundary condition from the rest
of the fluid domain. We only want the LocalMesh2 part to define the
local mesh. We do not want to include the solid geometry in the
calculations.
Introducing: Whenever you have SOLIDWORKS geometry
Component Control that you do not want to include in your
simulation, you must disable it using
Component Control. This type of situation is
always seen when applying a local initial mesh
inside a fluid region defined by a
SOLIDWORKS part.
This situation could also be seen when Goals must be set in regions
where no solid geometry exists. If this type of goal is needed, a dummy
body can be created as a SOLIDWORKS part file to mark the region of
interest. The goals would be set on the faces of that region, then the
region would be disabled using Component Control.
Where to Find It Shortcut Menu: Right-click Input Data in the Flow Simulation
analysis tree and click Component Control
Menu: Tools, Flow Simulation, Component Control
26 Component control.
In the Tools, Flow Simulation menu, select Component Control.
Uncheck the checkbox next to the LocalMesh2 component.
The component will then be treated as fluid region.
Click OK to close the Component Control window.
27 Rebuild.
Rebuild the Flow Simulation project by right-clicking the project name,
Mesh 1 in the Flow Simulation analysis tree and selecting Rebuild.
74
SOLIDWORKS Simulation Lesson 2
Meshing
28 Local mesh.
From the Tools, Flow Simulation menu, choose: Insert,
Local Mesh .
Select the LocalMesh2 part from the FeatureManager design tree.
On the Channels tab, specify the Characteristic Number of Cells
Across Channel to 15.
Use the slider to set the Maximum Channel Refinement Level to 3.
Click OK.
Note When creating a Local Mesh in a fluid region using a part, the
component can also be disabled in the Component Control.
29 Mesh.
Click Run.
Clear the Solve check box and select Run. This will only mesh the
model.
30 Cut plot.
Show the Cut Plot 1 that was
previously created.
The mesh has about 115,000 fluid
cells and 41,000 cells in contact with
solids. Additionally, it is well
resolved for both small geometry in
the ejector as well as flow
peculiarities.
75
Lesson 2 SOLIDWORKS Simulation
Meshing
Discussion The mesh from step 29 could already be used for a reliable solution. At
times, manual design of mesh is not the most efficient approach, and
automatic mesh refining and coarsening algorithm can be utilized.
Introducing: To achieve better resolution in difficult regions, especially those where
Adaptive mesh high gradients may exist, adaptive meshing can be used. With adaptive
meshing turned on, software will automatically refine or coarsen the
mesh depending on the local gradients and other solution
characteristics. Adaptive meshing can be requested in the entire
domain, or in the local region.
Where to Find It Shortcut Menu: Right-click Input Data in the Flow Simulation
analysis tree and click Calculation Control Options and select the
Refinement tab.
CommandManager: Flow Simulation > Calculation Control
Options > and select the Refinement tab
Menu: Tools, Flow Simulation, Calculation Control Options
31 Adaptive mesh.
Right-click the Input Data folder and select Calculation Control
Options.
Select the Refinement tab.
Keep adaptive refinement for the Global Domain as Disabled.
Expand Local Regions and for Local Mesh 2 specify level=2.
Set Approximate maximum cells count to 750,000.
Under Refinement strategy, select Periodic.
Keep the rest of the options at their default setting.
Click OK.
Note The level settings controls how many times the initial mesh cell
(currently designed in step 29) can be split to achieve the solution-
adaptive refinement criteria, and thus governs the minimum
computational mesh cell size.
32 Run the project.
At this point, in order to view the refined mesh, we need to launch the
calculation to adaptively refine the mesh. Due to the time required, the
results of this simulation have already been computed, and we will use
them for the post-processing.
33 Activate project.
Activate project completed.
76
SOLIDWORKS Simulation Lesson 2
Meshing
34 Load results.
Right click the Results folder and select Load.
35 Cut plot.
Show the Cut Plot 1 that was
previously created.
The mesh was refined somewhat
throughout.
A detailed view of the ejector inlet
port shows more cells adjacent to
the inlet.
36 Mesh parameters.
To determine the number of cells in the final
mesh, right-click the Results folder and select
Summary. The mesh has about 137,400 fluid
cells and 42,500 cells in contact with solids.
Adaptive algorithm split cells efficiently where
higher gradients were detected.
77
Lesson 2 SOLIDWORKS Simulation
Meshing
78
SOLIDWORKS Simulation Lesson 2
Meshing
Summary The overall goal of this lesson was to introduce some of the many
options available when trying to generate a quality mesh using Flow
Simulation. Although the automatic mesh settings are often adequate
for many models, they can be inadequate when the model has multiple
regions where different mesh settings may be required. In these
situations, the automatic mesh settings require substantial computer
resources that could prevent the problem from solving. To deal with
this, we learned about the manual mesh settings.
We learned that a quality mesh not only requires accurate resolution of
the model geometry, but also accurate resolution in regions of flow
peculiarities. Local initial meshes were used to accurately resolve both
model geometry and flow peculiarities.
It is important to remember that developing an accurate mesh for a
model such as this can be difficult. Often times a trial and error type of
technique that was employed in the lesson will be needed when
defining the mesh settings.
It is also important to note that the accuracy of the flow simulation
results are very dependent on the quality of the mesh. Taking the time
to properly resolve your geometry and flow peculiarities using manual
settings or local initial meshes can not only provide a more accurate
result, but could also reduce the run time with respect to the automatic
settings.
Adaptive meshing algorithm helps with progressive refining and
coarsening of the mesh during the calculation. This feature is especially
valuable for regions with difficult geometries where high gradients may
exist.
79
Exercise 2 SOLIDWORKS Simulation
Square Ducting
Exercise 2: In this exercise, we will create a mesh for a flow analysis on the square
Square Ducting ducting.
This exercise reinforces the following skills:
Computational Mesh on page 62
Geometry Resolution on page 63
Advanced Narrow Channel Refinement on page 68
Introducing: Local Mesh on page 70
Problem Statement The square tube shown in the
figure has two mid-walls that
separate it into three
sections. The model has
already been simplified and a
lid has been created for the
inlet flow.
Because we only wish to
investigate the mesh
controls, a simulation has been defined that will allow us to mesh, but
not run the analysis.
1 Open an assembly file.
Open Mesh exercise from the Lesson02\Exercises\
Square Ducting folder.
2 Activate the project.
Activate the Mesh1 project. The
associated configuration Mesh exercise
will be activated automatically. With this
project, you should be able to navigate to
the Flow Simulation analysis tree and see
that the Mesh1 study has already been
defined using the Wizard.
80
SOLIDWORKS Simulation Exercise 2
Square Ducting
81
Exercise 2 SOLIDWORKS Simulation
Square Ducting
82
SOLIDWORKS Simulation Exercise 2
Square Ducting
83
Exercise 2 SOLIDWORKS Simulation
Square Ducting
The blue color indicates that basic mesh cells were not refined. These
cells are the original basic mesh cells. Red color indicates the basic
mesh cells with the highest requested basic mesh refinement level of 3
(specified in step 6).
Advanced Narrow We will try to improve the mesh by using another option of the
Channel Refinement automatic settings of the global mesh called Advanced channel
refinement, available in the Global Mesh Settings PropertyManager.
14 Refine mesh.
Edit Definition of Global Mesh.
Select the Advanced channel refinement check box.
Click OK.
84
SOLIDWORKS Simulation Exercise 2
Square Ducting
85
Exercise 2 SOLIDWORKS Simulation
Square Ducting
Note Before defining the Local Mesh, always be sure to disable it from the
project using Component Control. To do this, in the Flow Simulation
analysis tree, right-click Input Data and select Component Control.
Then, uncheck the checkboxes next to the components you wish to
disable.
18 Define the local initial mesh.
On the Flow Simulation CommandManager, expand Flow Simulation
Features and select Local Mesh .
Make sure that the Reference button is clicked. Select the solid
body associated with the local_initial_mesh part from the
FeatureManager design tree.
Check the Channels tab to expand it.
Enter 8 for Characteristic Number of Cells Across Channel, and
increase Maximum Channel Refinement Level to 7.
Click OK.
19 Modify Global Mesh settings.
Edit Definition of the Global Mesh.
Deactivate Minimum Gap Size and Minimum Wall Thickness, and
uncheck the Advanced channel refinement check box.
Click OK.
20 Create mesh without running solver.
In the Flow Simulation analysis tree, right-click Mesh 1 and select
Run.
Clear the Solve check box.
Make sure the Load results check box is checked.
Select the Mesh check box.
Click Run.
86
SOLIDWORKS Simulation Exercise 2
Square Ducting
Notice that the mesh is refined in the region of the local initial mesh,
however outside this region, the mesh remains coarse. This option can
improve computation time in complicated models where results in only
certain areas are important. Less important areas can be meshed with
coarser settings, while regions of interest can be meshed finer.
22 Close the model.
87
Exercise 3 SOLIDWORKS Simulation
Thin Walled Box
Exercise 3: In this exercise we will use the thin wall optimization feature to
Thin Walled Box perform an analysis on the thin walled box.
This exercise reinforces the following skills:
Geometry Resolution on page 63
Outlet
88
SOLIDWORKS Simulation Exercise 3
Thin Walled Box
Thin Wall Flow Simulation features modern algorithm, thin wall optimization, to
Optimization resolve regular flow near thin walls such as baffles without excessive
mesh refinement. This algorithm resolves thin wall features without
any manual refining of the mesh around the thin wall because both
sides can reside within the same cell. Cells in the thin wall regions
contain more than one fluid and/or solid volume. During the
calculation, each such volume has an individual set of parameters
depending on its type (fluid or solid).
3 Set global mesh parameters.
In the SOLIDWORKS Flow Simulation analysis tree, under Input
Data, expand the Mesh folder, right-click Global Mesh and select
Edit Definition.
Keep Level of Initial Mesh at level 3.
4 Set inlet boundary
condition.
In the SOLIDWORKS
Flow Simulation analysis
tree, expand the Input
Data folder, right-click
Boundary Conditions
and select Insert
Boundary Condition.
Select the inner face of the
inlet lid.
Click Flow openings and
select Inlet Velocity.
Under Flow Parameters,
enter 0.5 m/s in the
Normal to Face direction.
Click OK to save the boundary condition.
89
Exercise 3 SOLIDWORKS Simulation
Thin Walled Box
90
SOLIDWORKS Simulation Exercise 3
Thin Walled Box
91
Exercise 3 SOLIDWORKS Simulation
Thin Walled Box
Note The mesh created looks rather coarse in the vicinity of the thin baffle
walls. Many cells span from one side of the fluid across the thin wall to
the fluid on the other side. Traditionally, without the Thin Wall
Optimization algorithm, such a mesh would not be acceptable to
correctly resolve the fluid on both sides. Furthermore, with heat
conduction in the solid walls requested, multiples of the solid cells
would be requested through the thickness of the walls. Such conditions
would drastically increase the mesh size and computation time. It is
because of the Thin Wall Optimization that the current mesh is
acceptable for accurate fluid solution, as well as for the heat transfer
solution in the solid walls.
10 Velocity cut plot.
Right-click the Cut Plot 1 icon and select Edit Definition.
Deselect Mesh and click the Contours button.
Select Velocity as the parameter to plot.
Increase Number of Levels to 50 and click OK.
92
SOLIDWORKS Simulation Exercise 3
Thin Walled Box
93
Exercise 4 SOLIDWORKS Simulation
Heat Sink
Exercise 4: In this exercise we will develop a mesh for an analysis of a heat sink.
Heat Sink This exercise reinforces the following skills:
Introducing: Local Mesh on page 70
Control Planes on page 71
Problem Statement The solid body is generating heat and
we would like to evaluate the
performance of the fins. We must
generate an appropriate mesh for this
analysis. To do this, we will use and
evaluate two techniques; control
planes and thin wall optimization. We
will then comment on the reliability of
each technique with respect to model
results and computation time.
1 Open an assembly file.
Open heat sink from the Lesson02\Exercises\Heat Sink folder.
2 Activate the proper project.
Activate the optimization project. The associated configuration will
be activated automatically. This project already has the study defined.
We will first mesh the model using thin wall optimization.
3 Review geometry.
To properly apply our mesh
settings, we must review the
geometry. Find the minimum gap
size and minimum wall thickness to
enter into the initial mesh settings.
The minimum gap size is 0.7 in.
The minimum wall thickness is
0.05 in.
94
SOLIDWORKS Simulation Exercise 4
Heat Sink
Flow Simulation refined mesh around the thin walls. Notice, however,
that some cells are still fairly large; due to advanced algorithm no
additional cells are needed to resolve the thin wall features in the
model.
95
Exercise 4 SOLIDWORKS Simulation
Heat Sink
Number of Cells
96
SOLIDWORKS Simulation Exercise 4
Heat Sink
Click OK.
10 Create mesh.
Follow step 5 to create mesh.
When the solver is completed, approximately 355,000 cells should be
created.
11 Create cut plot.
In the Flow Simulation analysis
tree, under Results, right-click the
Cut Plots icon and select Insert.
Make sure that Top plane is
selected in the Section Plane or
Planar Face field.
Enter 1 in as the Offset.
Under Display, click the Mesh
button.
Click OK.
Notice how the mesh planes resolved the thin walls well such that no
cell is split by a solid region. In addition, the thin gaps are resolved
such that an ample number of cells cross the region.
97
Exercise 4 SOLIDWORKS Simulation
Heat Sink
Discussion The question now becomes, which mesh is better for this type of
analysis?
To properly answer that question, we need to know the results of each
analysis. If fully run, the optimization study takes about 10 minutes
while the control planes study takes about 25 minutes. Both studies
produce approximately the same maximum temperature. See below for
a cut plot of their results.
When viewed with the same scale, both studies produce nearly
identical results. As expected, the control planes study does produce
a slightly more resolved result, however this result comes at the
expense of substantially more computation and set up time. Because
the results are so similar, we can conclude that control planes will not
normally be needed to make engineering decisions. If design criteria
are stringent, the control planes will provide us with means to achieve
additional accuracy with the expense of mesh set up and computation
time. In addition, control planes are not suitable for curved geometry as
in the previous exercise.
The thin wall optimization allows the user to produce a good result
without sacrificing the computation and set up time that is required of
control planes. In addition, the thin wall optimization can not only
handle geometry that is orthogonal to the global coordinate system, but
also curved geometry.
98
SOLIDWORKS Simulation Exercise 5
Meshing Valve Assembly
Goal Mesh the valve assembly and properly resolve each of the openings.
Your mesh should feature less than 350,000 cells.
The assembly file Regulator valve for this exercise is located in the
Lesson02\Exercises folder.
Note Use local initial mesh feature to generate appropriate mesh in relatively
short time.
99
Exercise 5 SOLIDWORKS Simulation
Meshing Valve Assembly
100
Lesson 3
Thermal Analysis
Objectives Upon successful completion of this lesson, you will be able to:
Use the Engineering Database for your materials.
Apply heat loading.
Learn to create a fan in your model.
Use perforated plates.
Understand Fan Curves.
Model an electronics enclosure.
Learn good modeling approaches to complicated geometry.
101
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
Capacitors
Resistors
Op-Amp
Heat Sink
Coil
102
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
3 Activate configuration.
Activate configuration Simplified. This configuration contains
simplified geometry used in this simulation.
103
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
104
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
Introducing: So far, we have been selecting our default fluid from the list, but we
Engineering have not yet seen where this list comes from or what information is
Database located in these fluid definitions. This information is located in the
SOLIDWORKS Flow Simulation Engineering Database.
The Engineering Database contains:
Physical information on a wide variety of gases, liquids, non-
Newtonian liquids, compressible liquids and solid substances. It
includes both constant values and various physical parameters as
functions of temperature and pressure (pressure dependence is only
for a liquid's boiling and solidification points).
Fan curves defining volume flow rate (or mass flow rate) versus
static pressure difference for selected industrial fans.
Properties of porous media.
Custom visualization parameters which are defined by an equation
(basic mathematical functions) with the specified default
parameters as variables and can be visualized in addition to the
standard parameters.
Properties of radiative surfaces.
Units in which you can see and specify data in the project.
105
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
Note Any materials that have not be defined will be treated as Insulator
because that is what we have defined as our Default Solid.
106
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
Introducing: Heat You can specify Heat Sources either on a surface (Surface Source)
Source where neither Boundary Conditions (or Transferred Boundary
Condition) nor Fans are specified (i.e. through which the fluid does not
flow), or in the medium, which can be either solid or fluid (Volume
Source).
In Surface Source you can specify heat sources on solid
surfaces in the form of Heat Transfer Rate, Heat Flux if Heat
transfer in solids is not considered, and in the form of Heat
Generation Rate, Surface Heat Generation Rate if Heat
transfer in solids is under consideration (in both cases, a positive
value denotes heat generation, a negative value denotes heat
absorption).
In Volume Source you can specify internal (volume) heat
sources in the form of Temperature, Heat Generation Rate or
Volumetric Heat Generation Rate (in all cases, a positive value
denotes heat generation, a negative value denotes heat absorption).
You can use Volume Source in a component (a part or
subassembly in assemblies, as well as a body in multibody parts)
that is treated as either solid or fluid. If the component is treated as
a solid, heat transfer in solids has to be considered. If the
component is to be treated as a fluid, you must disable the
component in the Component Control dialog box.
107
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
Where to Find It Shortcut Menu: Right-click Heat Sources in the Flow Simulation
analysis tree and click Insert Surface Source or Insert Volume
Source
CommandManager: Flow Simulation > Flow Simulation
Features > Surface Source or Volume Source
Menu: Tools, Flow Simulation, Insert, Surface Source or
Volume Source
Note To add Heat Sources to the Flow Simulation analysis tree, right-click
your study and select Customize Tree, then choose Heat Sources.
Click OK.
Repeat the process for the 1W
remaining parts shown in the Coil
figure with their respective Heat
Generation Rates. 3W
Heat Sink
108
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
Fans The Fan creates a volume flow rate into or out of the boundary based
on the difference between the inlet and outlet pressures averaged over
the face. The direction of the fan can be specified as Normal to Face,
Swirl, or 3D Vector. Swirl allows for the specification of swirling flow
about a reference axis at a given angular and radial velocity at the inlet
or outlet. For more information on Fans, refer to the Flow Simulation
Help menu.
Fan Curves A fan curve is defined as the dependency of the Stall Region
Pressure Difference
volume or mass flow rate versus the pressure
difference. An example of a fan curve is shown
in the figure. Notice that most fans have a “stall
region” where at a given pressure difference,
the fan can jump between two flow rates.
It is recommended to select your fan to operate Flow Rate
on the right of the stall region to ensure
stability. Fan curves can usually be obtained from the manufacturer of
the fan.
Introducing: Fan A Fan is a type of flow boundary condition. It can be applied on
artificial lids as Inlet Fans or Outlet Fans.
Where to Find It In the Flow Simulation analysis tree, right-click your study and select
Customize Tree, then choose Fans. This will create a Fans item in the
Input Data folder of the Flow Simulation analysis tree. You can also
find Fans in the following locations:
Shortcut Menu: Right-click Fans in the Flow Simulation analysis
tree and click Insert Fan
CommandManager: Flow Simulation > Fan
Menu: Tools, Flow Simulation, Insert, Fan
Note To add Fans to the Flow Simulation analysis tree, right-click your
study and select Customize Tree, then choose Fans.
109
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
11 Create a fan.
In the Flow Simulation analysis tree, under
Input Data, right click Fans and select Insert
Fan.
Under Type, select External Inlet Fan.
Select the inside face on the Fan_Cap.
110
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
Perforated You have probably noticed that one of the simplifications of the model
Plates was to cut a large hole where there was a series of triangularly stacked
circular holes in the side of the enclosure. These holes were removed
because they are time consuming to mesh and solve. To take them into
account after removing them, we have several approaches.
Apply a pressure boundary condition and assume the holes have a
negligible effect on the flow field (what we have done now). This is
a bad approximation of this condition.
Use a porous media (discussed in Lesson 7: Porous Media) to
approximate the presence of the holes. This is an acceptable
approximation, however the properties of the porous media would
be necessary to properly model this situation. To obtain these
properties, it would be possible to remove the wall completely and
run computational experiments on the wall to calculate the
properties. This approach can be time consuming to calculate the
properties, but will provide an acceptable approximation.
Use the perforated plates option. This will give us the next best
approximation of the series of holes outside of leaving them in the
model.
In this lesson, we will choose the third option.
Introducing: Perforated plates can be defined in the Engineering Database and
Perforated Plates applied to your model.
111
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
Click Save.
Free Area Ratio The free area ratio is defined as the area
of voids divided by the area of solid. This
can be easily verified with a manual
calculation. Consider the area enclosed
by the red square.
112
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
113
Lesson 3 SOLIDWORKS Simulation
Thermal Analysis
114
SOLIDWORKS Simulation Lesson 3
Thermal Analysis
Discussion Our results show that the maximum temperature of the heat sink was
about 67°C. If this was near the critical value, another analysis may be
needed with a more refined mesh in the heat sink. Although the thin
wall optimization does a good job in this area, a more refined mesh
would provide even better results, however the run time would
increase. To deal with the larger run times, we will learn about a
technique known as EFD zooming later on in the course.
To lower the temperature of the heat sink you are encouraged to try
other fans or even create your own to try to further lower the
temperatures of these parts. Another approach could be to change the
orientation of the heat sink.
Summary In this lesson, we performed a flow analysis on an electronics
enclosure. We learned that simplifying the geometry as much as
possible for a first pass analysis will allow the simulation to run
quicker. If we were interested in the effectiveness of the heat sink, a
local initial mesh would allow for finer mesh settings in this area,
providing a more accurate result.
Goals were also created to reflect the design intent of minimizing the
temperatures of the op-amp and the heat sink. These goals allowed us
to validate our fan selection.
In addition, we learned about fans and how they are defined. Fan
curves are a measurement of the fan’s performance and should always
be obtained through the fan manufacturer. It is critical to select a fan
with a fan curve based on the operating conditions of the fan.
115
Exercise 6 SOLIDWORKS Simulation
Materials with Orthotropic Thermal Conductivity
116
SOLIDWORKS Simulation Exercise 6
Materials with Orthotropic Thermal Conductivity
Click Save.
117
Exercise 6 SOLIDWORKS Simulation
Materials with Orthotropic Thermal Conductivity
118
SOLIDWORKS Simulation Exercise 6
Materials with Orthotropic Thermal Conductivity
119
Exercise 6 SOLIDWORKS Simulation
Materials with Orthotropic Thermal Conductivity
Select the inner face of the outlet lid on the upper half of the enclosure.
Under Type, click the Pressure openings button and select Static
Pressure.
The default outlet pressure and temperature of 101325 Pa and 20.05 °C
(293.2 K) are acceptable for this problem.
Click OK.
11 Outlet boundary condition 2
(lower half).
Specify an identical pressure
boundary condition for the lower
half outlet lid.
120
SOLIDWORKS Simulation Exercise 6
Materials with Orthotropic Thermal Conductivity
121
Exercise 6 SOLIDWORKS Simulation
Materials with Orthotropic Thermal Conductivity
Note To access additional options for this and other plots, either double-click
on the color scale or right-click the Results icon and select View
Settings.
122
SOLIDWORKS Simulation Exercise 7
Electric Wire
123
Exercise 7 SOLIDWORKS Simulation
Electric Wire
124
SOLIDWORKS Simulation Exercise 7
Electric Wire
Name PVC
Density 1379 kg/m^3
Specific Heat 1004 J/(kg*K)
Thermal Conductivity 0.1 W/(m*K)
Melting Temperature 1000 K
125
Exercise 7 SOLIDWORKS Simulation
Electric Wire
You can observe that the maximum temperature on the surface reaches
approximately 86 C.
12 View goal results.
Insert new goal plot.
Under Goals select All Goals, and click the All checkbox.
Click Show.
You can again see that the average temperature on the surface of the
Insulation is 86.7 C. The heat transfer rate for the considered segment
is 0.203 W.
Introducing: Clone Clone Project allows you to copy the project to a new configuration if
Project you would like to change settings, but keep the results of the previous
project. Once the settings are changed, you can re-run the project and
view the new results to compare them to the initial design.
Where to Find It Shortcut Menu: Right-click the project name in the Flow
Simulation analysis tree and click Clone Project
CommandManager: Flow Simulation > Clone Project
Menu: Tools, Flow Simulation, Project, Clone Project
126
SOLIDWORKS Simulation Exercise 7
Electric Wire
13 Clone Project.
Right-click the project name in the Flow
Simulation analysis tree and select Clone
Project.
Under Project Name enter Layer of
Insulation 7mm.
Under Configuration choose Select and
check the checkbox next to Layer of
Insulation 7mm.
The checkbox next to Copy results should
remain unchecked.
Click OK.
127
Exercise 7 SOLIDWORKS Simulation
Electric Wire
You can observe that the maximum temperature on the surface dropped
to approximately 51 C.
17 View goal results.
Edit Definition of the existing goal plot item, and then click Show.
128
SOLIDWORKS Simulation Exercise 7
Electric Wire
129
Exercise 7 SOLIDWORKS Simulation
Electric Wire
130
Lesson 4
External Transient Analysis
Objectives Upon successful completion of this lesson, you will be able to:
Create a 2D plane flow analysis.
Use the Reynolds number equation to apply a velocity boundary
condition to an external analysis.
Use the Solution Adaptive Mesh refinement option.
Use animation techniques to visualize the results.
Create a transient animation.
131
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
Case Study: In this lesson, we will utilize two dimensional plane flow while
Flow Around a analyzing fluid flow around a cylinder. Because this flow will be
Cylinder occurring around a solid body, and not through it, it will be considered
external. The Reynolds number equation will be used in the definition
of our velocity boundary condition. We will also use the adaptive mesh
technique to ensure that a good quality mesh is used in the simulation.
The flow pattern of this example substantially depends on the Reynolds
number which is based on the cylinder diameter. At low Reynolds
numbers (4 < Re < 60), two steady vortices are formed on the rear side
of the cylinder and remain attached to the cylinder, as shown below
schematically.
Y
132
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
133
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
2 Create a Project.
Using the Wizard, create a new project with properties as follows:
134
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
Transient It is interesting to note that the Flow Simulation solver assumes that all
Analysis analyses are transient. For a “steady-state” analysis, the solver runs the
transient analysis and looks for convergence in the flow field which
would mean that the analysis has reached a steady-state.
We specifically defined this analysis as Time-dependent when setting
it up using the wizard so that we could study the development of the
separation. When that selection was made, we decided that the analysis
should be run for 80 seconds and results would be saved every 4
seconds. We chose the time of 80s to give the flow enough time to
develop and 4s so that our result would be fairly resolved.
Note that 4 seconds is not the selected time step, only the time step at
which the results will be saved. Therefore, the analysis will save results
for 21 time steps (80/4 + 1 step for the initial time). At this point, we do
not know what the solver will use for time steps, only that the results
will be saved every 4 seconds.
Discussion Consider what would happen if we attempted to solve this problem
without activating the Time-dependent flag. The solver would run the
analysis looking for the steady-state solution. Because of the nature of
this problem (the turbulent eddies shedding from the cylinder in an
oscillatory fashion), a steady-state solution does not exist and the solver
may not converge. If convergence is achieved, the solution would not
be completely accurate because of the time dependent nature of the
oscillatory shedding.
It is important to note that there are problems such as this where the
steady-state solution is either unable to converge, or does not make
physical sense because of instabilities in the flow field. In these
situations, it may be important to run the transient analysis to fully
understand the behavior of the flow field.
Turbulence Turbulent flow can be characterized into two categories; fluctuating
Intensity flow and mean flow. Turbulence intensity is defined as the fluctuating
velocity divided by the mean (i.e. free stream) velocity and multiplied
by 100.
Turbulence in general is a complicated phenomenon, and not yet fully
understood from a theoretical standpoint. A measure of the turbulence
intensity in a flow, therefore, can only be derived through a series of
experiments.
SOLIDWORKS Flow Simulation sets default values of 0.1% for
external flow and 2% for internal flows. Typically, this value is difficult
to obtain. However, the flow over a cylinder has been heavily studied
and the value of 1% has been verified both experimentally and
analytically.
135
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
Recommendation The default values for turbulence intensity have been selected to
provide the most accurate result for the widest range of problems. It is
strongly recommended to keep these default values unless the problem
is well studied and the turbulence intensity is known. We only change
the value in this example because the problem is well studied.
Solution The solution adaptive mesh refinement is turned on by default when the
Adaptive Mesh result resolution is set at 6 or greater. The solution adaptive meshing is
Refinement a procedure for adapting the computational mesh to the solution during
the calculation. The solution adaptive mesh additionally refines the
mesh cells within the high-gradient flow regions, and merges the mesh
cells within the low-gradient regions. See the figure below for an
example of the solution adaptive meshing. SOLIDWORKS Flow
Simulation allows you to change the values of the parameters
governing the default solution adaptive meshing procedures. In
addition, the solution adaptive meshing can be turned on for models
with a result resolution lower than 6, however this needs to be done
manually.
136
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
Note In the Z direction, the boundary type and size are automatically set to
Symmetry and +-0.001m, respectively.
Click OK.
No other boundary condition is needed for this problem.
137
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
Finishing The finish conditions define when the solver has decided if
convergence has been reached and what goals to include for the
solution convergence testing. It also allows you to be e-mailed when
the solution is completed. There are six different things that can be
looked at when deciding when the solver has converged:
Goals Convergence
Defines whether or not the goals have converged before the
calculation is stopped.
Physical time
Defines the maximum physical time that the analysis will run. In
our example, our maximum physical time is 80 seconds as entered
when setting up the analysis using the wizard.
Iterations
Defines the maximum number of iterations the solver will compute
before finishing the calculation.
Travels
A travel is defined as the time it takes for the flow to travel across
the computational domain. This defines the maximum number of
travels during the calculation.
Calculation time
Defines the maximum time that the calculation will take.
Refinements
This parameter defines how much the mesh may be refined during
the calculation if the adaptive mesh refinement is active.
Refinement The refinement conditions define the parameters that govern the
solution adaptive mesh refinement. For more information on these
parameters, refer to the Help menu.
Solving The Solving tab contains advanced solver related options such as Time
step, Nested iterations, Flow Freezing and others.
Saving This defines when the results are saved during the solution process.
138
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
Important! The drag equation is based on a very idealized situation and should be
used only as an approximation.
139
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
140
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
Unsteady Vortex The unsteady vortex shedding from a cylinder at Re > 60 - 100 yields
Shedding oscillations of both drag and lateral forces acting on the cylinder and a
von Karman vortex street is formed past the cylinder. An X-velocity
field over and past the cylinder is shown in the following figure.
141
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
142
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
143
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
144
SOLIDWORKS Simulation Lesson 4
External Transient Analysis
Hover with the mouse over the Animation 1 time line. The callout
should read as is shown in the figure below.
Note You can also drag the last control point (diamond shaped icon) to adjust
the duration of the Animation 1 track.
The brown colored time line indicates the instances of the results
loaded to the memory.
20 Insert Control Point.
Right-click in the time line at time equal to zero (make sure you are
adjacent to the Cut Plot 1) and select Insert Control Point.
Select just the inserted control point at time zero and drag the time line
to 10 seconds.
145
Lesson 4 SOLIDWORKS Simulation
External Transient Analysis
Discussion The example of two dimensional flow over a cylinder has been heavily
studied both experimentally and analytically. It is well known that the
drag coefficient of the cylinder actually decreases with higher Reynolds
number flows. You are encouraged to investigate this phenomenon
further by changing the Reynolds number and seeing its effect on the
drag coefficient.
The vortex shedding that was seen occurs at a given frequency that is
directly related to the Reynolds number of the flow. Knowing this
frequency can become very important when designing structures that
may be subject to this type of shedding. If the natural frequency of the
structure lies within the range of frequencies of the vortex shedding, the
structure could lose its stiffness and collapse.
Summary In this lesson, we investigated the classic fluid dynamics problem of
flow over a cylinder. Symmetry boundary conditions on an external
flow analysis were used to simplify the calculations. The solution
adaptive mesh technique was used to ensure that quality results were
obtained in the wake of the cylinder. Turbulence and vortex shedding
were observed and discussed. Finally, animation techniques were used
to visualize the flow.
146
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
147
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
Click Save.
Note You can enter material properties that are temperature dependent using
the Tables and Curves tab.
4 Add substrate material.
Switch to the Items tab and repeat the previous step to add the substrate
material with the following properties:
148
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
5 Create a project.
Click Tools, Flow Simulation, Project, Wizard. Using the Wizard,
create a new project with the following properties:
149
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
150
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
0 2
0.099 2
0.1 0
0.399 0
0.4 2
0.499 2
0.5 0
0.799 0
0.8 2
0.899 2
0.9 0
1.0 0
151
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
Cut and Paste In the Dependency table dialog box for Volume heat source, you can
Heat Source Data highlight all the values by clicking and dragging the mouse cursor
across all the values in the table. Right-clicking over the highlighted
table does not work within this function, but if you press Ctrl+C, the
data will be copied to the clipboard. When you open a new heat source
Dependency table, select the first cell in the table and press Ctrl+V,
and the values will be correctly pasted to the table. You can also modify
the time points for each chip heat load so that the heat is applied at
different intervals.
10 Open Heat Transfer.xls for inputting all chip data.
Repeat the previous step to apply volume heat source for Chip<2>,
Chip<3>, and Chip<4> using the values from the table given below or
from the table listed in the Heat Transfer.xls file.
Type in the following table values.
0 0 0 0 0 0
0.099 0 0.199 0 0.299 0
0.1 2 0.2 2 0.3 2
0.199 2 0.299 2 0.399 2
0.2 0 0.3 0 0.4 0
0.499 0 0.599 0 0.699 0
0.5 2 0.6 2 0.7 2
0.599 2 0.699 2 0.799 2
0.6 0 0.7 0 0.8 0
0.899 0 1.0 0 1.0 0
0.9 2
1.0 2
152
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
153
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
154
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
155
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
156
SOLIDWORKS Simulation Exercise 8
Electronics Cooling
In the Excel file, you can select the Plot Data tab sheet to see the actual
values used to make the previous plot.
157
Exercise 8 SOLIDWORKS Simulation
Electronics Cooling
158
Lesson 5
Conjugate Heat Transfer
Objectives Upon successful completion of this lesson, you will be able to:
Create a steady state conjugate heat transfer analysis for a cold
plate using a real gas.
Define multiple fluid regions.
Use real gases.
Create temperature plots in the solid and fluid regions.
159
Lesson 5 SOLIDWORKS Simulation
Conjugate Heat Transfer
Case Study: In this lesson, we will perform a steady state conjugate heat transfer
Heated Cold analysis using a real gas and multiple fluid domains. Multiple fluid
Plate regions will be defined. We will learn to properly post-process the
results of this type of analysis by creating various cut plots through the
results.
Project A heated cold plate sits in an
Description open air filled environment.
Heat is generated at 200 W on
the top surface of the plate.
The plate is cooled by a Outlet
cooling tube as shown in the
figure below. The tube
contains R-123 at -5°C Inlet
flowing at 0.001 kg/s through
the inlet.
Determine the steady state temperature distribution through the plate
and surrounding air.
Stages in the Create the project.
Process Using the Wizard, the transient heat transfer analysis can be
created.
Define fluid subdomain.
Because more than one fluid exists in the model, a separate fluid
subdomain must be defined.
Apply boundary conditions.
The conditions for the fluid flow into and out of the enclosure must
be defined.
Apply heat source.
A way for heat to enter the model also needs to be defined.
Declare calculation goals.
Goals can be defined that are special parameters that the user will
have information for after the analysis is run.
Run the analysis.
160
SOLIDWORKS Simulation Lesson 5
Conjugate Heat Transfer
161
Lesson 5 SOLIDWORKS Simulation
Conjugate Heat Transfer
Solids Default solid should be set to Aluminum under the Metals list.
Wall conditions The default Roughness value of 0 micro meter is acceptable for this
analysis.
Initial conditions Default conditions. Click Finish.
Note The above parameter values specifying the minimum gap size and wall
thickness relate to the inner diameter of the pipe and its wall thickness.
3 Set initial global mesh parameters.
Edit Definition of Global Mesh.
Keep Level of initial mesh at level 3.
Set Minimum Gap Size to 0.007874 m.
Click OK.
4 Set computational domain.
Under the Input Data folder, right-click Computational Domain
and select Edit Definition. Set the size of the computational domain to
the following values:
Size (meters)
X max: 0.5
X min: -0.25
Y max: 0.25
Y min: -0.10
Z max: 0.50
Z min: -0.25
The computational domain around the model can affect the results and
must be large enough to allow the flow to develop correctly and reduce
the effects of any gradients which occur around the model. The domain
specified in this lesson is designed to minimize the CPU time and RAM
required to solve, yet still give reasonably accurate results.
162
SOLIDWORKS Simulation Lesson 5
Conjugate Heat Transfer
Introducing: Fluid When multiple fluids are specified in the project, fluid subdomains
Subdomain have to be assigned to them. Any cavity without a fluid subdomain
assignment is assumed to be filled with the default fluid.
163
Lesson 5 SOLIDWORKS Simulation
Conjugate Heat Transfer
Goals Plot in the In the Goals window, each defined goal will be listed. Here you can see
Solver Window the current value and graph for each goal as well as the current progress
towards completion given as a percentage. The progress value is only
an estimate, and the rate of progress generally increases with time.
Once the solution has achieved convergence and the solver is finished,
continue on with the next step. You can also close the Solver monitor
window.
164
SOLIDWORKS Simulation Lesson 5
Conjugate Heat Transfer
The air surrounding the cold plate will be in blue, representing an air
mass fraction of 1. The liquid cooling pipes filled with R-123 does not
contain any air.
165
Lesson 5 SOLIDWORKS Simulation
Conjugate Heat Transfer
The cut plot shows the temperature distribution in both the air and the
R-123 refrigerant.
16 View Temperature Cut Plot in the vertical plane.
Define a new Cut Plot in the vertical plane. Use the SOLIDWORKS
Right plane as reference and specify 0.049 m for the Offset.
Summary In this lesson a conjugate heat transfer analysis was performed on a hot
plate sitting in air. A tube with R-123 was used to cool the hot plate. A
real gas was used to model the R-123 in the simulation and it was seen
that the gas was actually a liquid. If this occurs, the accuracy of the
results may be significantly affected because the phase change is not
modeled. The results of the model were post-processed using cut plots.
166
SOLIDWORKS Simulation Exercise 9
Heat Exchanger with Multiple Fluids
167
Exercise 9 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
Important! Though two fluids have been defined in the wizard, Flow Simulation
needs to be told where these liquids flow through the model. Thus,
Fluid Subdomains must be created. The two sub-domains must be
independent and must not have any mixing.
5 Define air sub-domain.
Right-click Fluid Subdomains in the
Input data folder and select Insert Fluid
Subdomain.
Select the inner surface of the inlet of the
outer shell.
Make sure that the Air check box is
selected.
Under the Thermodynamic Properties list, enter 450 K for the
Temperature.
Click OK.
6 Define water sub-domain.
Follow the same procedure to define the
fluid sub-domain for Water.
Use the water inlet, as shown in the
figure.
Do not modify the temperature and
pressure - this information remains
unknown.
168
SOLIDWORKS Simulation Exercise 9
Heat Exchanger with Multiple Fluids
169
Exercise 9 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
170
Lesson 6
EFD Zooming
Objectives Upon successful completion of this lesson, you will be able to:
Use EFD Zooming to solve complex models.
Properly apply transferred boundary conditions.
171
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
172
SOLIDWORKS Simulation Lesson 6
EFD Zooming
173
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
Discussion By replacing the complicated heat sink with a dummy box, we have
significantly simplified the mesh and computation without significantly
sacrificing the accuracy of our overall results. In the overall model, we
are only interested in how the flow and heat behave in general
throughout the computational domain. Replacing the heat sink with a
similarly shaped box will have little affect on the flow and heat in the
overall model.
5 Create a Project.
Activate the CFD - 1 Fan - a configuration.
Using the Wizard, create a new project with properties as follows:
Configuration Select:
name “CFD - 1 Fan - a”
Project name “Zooming a”
Unit system SI (m-kg-s)
Change the units for Temperature to °C.
Analysis Type Internal
Physical Features Select the Heat conduction in Solids check box.
Database of In the Fluids list, under Gases, double-click Air to add it to the Project
Fluids Fluids.
Solids Default solid should be set to Insulator under the Glasses and
Minerals list.
Wall conditions The default Roughness value of 0 micrometer is acceptable for this
analysis.
Initial conditions Default conditions. Click Finish.
174
SOLIDWORKS Simulation Lesson 6
EFD Zooming
Size (meters)
X max: -0.03175
X min: -0.08
Y max: 0.0298
Y min: -0.0065
Z max: 0.1416
Z min: 0.065
Click OK.
EFD Zooming - Specifying the proper computational domain for the zoomed study is
Computational very important and guidelines must be followed:
Domain The flow and solid parameters taken from the overall study at the
zoomed domain boundaries must be as uniform as possible.
The zoomed domain boundaries should not lie too close to the
object of interest.
The boundary conditions transferred at the boundaries must be
consistent with the problem statement.
In our model, we are focusing only on the heat sink, therefore our
computational domain has been adjusted accordingly. The top, bottom,
back , and right walls of the enclosure have been included in the
domain. The enclosure is assumed insulated and will not influence the
main chip temperature since it is also insulated by the airflow
separating the two. The walls that are not enclosed by the enclosure
will use the transferred boundary condition.
8 Apply materials.
Under Input Data, right-click Solid Materials and select Insert
Solid Material. Apply the Aluminum to the heat sink.
Repeat the procedure to apply PCB-4 Layers to the green PCB called
SPS_PC_Board. Use Y axis of the Global Coordinate System under
the Anisotropy dialog to specify proper material orientation (see step 8
on page 107 for more information).
Note Heat conduction in solids is activated, therefore we must define
material properties. In addition, these material properties should be the
same as those that were specified in the overall model for the boundary
conditions to be transferred properly.
175
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
176
SOLIDWORKS Simulation Lesson 6
EFD Zooming
Note Because heat conduction in solids is used in both the overall model as
well as the zoomed model, the solid temperatures are taken from the
overall model and transferred to the zoomed model as part of the
Transferred boundary condition. In addition, by selecting Ambient
as the type, the conditions at the boundaries in the overall model will be
transferred to the zoomed model in the same way that ambient
conditions are treated in external analysis.
10 Apply heat source.
Apply volume source to the heat sink part and apply 3W as the
Heat Generation Rate.
Click OK.
11 Define Engineering Goal (Volume Goal).
Define Temperature (Solid), Max, to the heat sink part.
Tip We will wait on running this project so that we can set up our project
with the design change, then use Batch Run to run both project.
12 Clone Project.
Right-click the project name in the Flow
Simulation analysis tree and select Clone
Project.
Under Project Name enter Zooming b.
Under Configuration choose Select and check
the checkbox next to CFD - 1 Fan - b.
The checkbox next to Copy results should
remain unchecked.
Click OK.
You will get two warning messages about the geometry and
computational domain. Click No through these message. To compare
the two models, we need the same computational domain and mesh
settings in both simulations.
This step will create a new project Zooming b associated with
configuration CDF - 1 Fan - b. All of the settings from the previous
project will be copied into the new project.
177
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
Introducing: Batch You can use Batch Run to solve sets of projects in a prescribed order
Run or simultaneously.
Where to Find It Menu: Tools, Flow Simulation, choose Solve, Batch Run
13 Batch Run.
From the Tools, Flow Simulation menu, choose: Solve, Batch Run.
Select the Solve box for the CFD - 1 Fan - a and CFD - 1 Fan - b
projects.
Click Run.
Note You can also move the order at which to solve them or choose to solve
them simultaneously if you have available processors. Also, if we
chose to solve all three projects simultaneously, the overall model
would need to be solved first because its results are used in the other
two projects as the Transferred Boundary Condition. If your system
features more processors and sufficient amount of memory, the fastest
way to obtain a solution is to request simultaneous calculation of both
projects with half of the total number of CPUs allocated to each.
14 Create cut plot.
Activate project Zooming a
(configuration CFD - 1 Fan - a)
and load the results.
Create a cut plot for Temperature.
Use the Top view plane Offset by 5
mm and set Number of Levels to
100.
Click OK to close the Cut Plot
window.
15 Create goal plot.
Create a Goal Plot for the
maximum temperature volume goal defined in step 11.
178
SOLIDWORKS Simulation Lesson 6
EFD Zooming
16 Compare results.
Keep the cut plot view from step 14 active.
In the Flow Simulation analysis tree, right-click Results and select
Compare.
On the Definition tab of the compare widget, in the Data to Compare
section, select Active Scene and Goal Plot 1.
In the Projects to Compare section select CFD - 1 Fan - a and CFD
- 1 - Fan - b projects.
Click Compare.
179
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
The comparison indicates that the difference in the two heat sink
configuration is minimal.
Note To enlarge any of the two plots, double click it. Also, the active scene
(result plot) requested in the comparison widget does not need to be
defined in other projects. Flow Simulation will create them in the
selected projects automatically.
18 Goals comparison.
Switch to the Goal Plot 1 tab.
Note Additional options allow you to change the abscissa, displayed value
and to export data to Excel.
Click OK to close the compare configuration widget.
19 Save and close the assembly.
180
SOLIDWORKS Simulation Lesson 6
EFD Zooming
Summary As it turns out, the difference in the two heat sink configurations is
minimal. This was not immediately apparent when the problem was
formulated.
To use the EFD Zooming technique, we simplified the overall model so
that it could be run faster. The block representing the heat sink was a
good enough approximation to solve for the overall flow field in the
model. The heat sink was then placed back into the zoomed model and
the boundary conditions were transferred to the boundaries of the
zoomed computational domain. Careful guidelines for defining the
computational domain in the zoomed model were noted and followed
as closely as possible.
The EFD Zooming technique allowed us to quickly analyze both
designs and get a better estimate for the temperature distribution
around the solid. We also used Batch Run to run our projects
simultaneously.
Results from both projects were conveniently postprocessed using the
Compare configuration mode. This mode allowed us to display results
plots, goals and parameters side by side and make the necessary design
conclusions more easily.
181
Lesson 6 SOLIDWORKS Simulation
EFD Zooming
182
Lesson 7
Porous Media
Objectives Upon successful completion of this lesson, you will be able to:
Create a flow analysis using the porous media option.
Use the Component Control command.
Evaluate velocity profiles.
183
Lesson 7 SOLIDWORKS Simulation
Porous Media
Case Study: In this lesson, we will use the porous media capability of Flow
Catalytic Simulation to analyze flow through a catalytic converter. We will use
Converter dummy bodies within the flow field to apply engineering goals. We
will compare two different porous designs and evaluate their
performance based on the development of the flow fields through the
cross section of the model.
Problem Gases released from the engine Substrate
Description during combustion are often very
toxic and need processing before
being released to the atmosphere.
The catalytic converter is used to
reduce the toxicity of the Inlet
emissions.
Flow enters the exhaust at 12 m/s.
The gases travel through the exhaust piping and enter the catalytic
converter where it is met with the substrate of the converter. The
substrate is coated with the catalyst that will react with the gases to
transform the toxic gases. A large substrate with a lot of surface area
will allow the most reaction with the gases, however it will also restrict
the flow of the exhaust gases. In addition, uniformly developed flow
entering the substrate will allow for the most efficient use of the
converter because the entire substrate will work equally.
We will use the porous media capability of Flow Simulation to model
the substrate due to its complicated geometry. In this lesson, we will
use two different types of porous media and evaluate which is most
suitable for our application.
Stages in the Create the project.
Process Using the Wizard, the internal analysis can be created.
Apply boundary conditions.
The conditions for the fluid flow into and out of the enclosure must
be defined.
Define the porous media.
Define the properties of the porous media and disable the solid
body that is being defined as porous.
Declare calculation goal.
The defined calculation goal will be used to evaluate the results.
Run the analysis.
184
SOLIDWORKS Simulation Lesson 7
Porous Media
185
Lesson 7 SOLIDWORKS Simulation
Porous Media
Porous Media SOLIDWORKS Flow Simulation is able to treat some solid bodies as
porous media with a certain resistance to fluid flow. The Engineering
Database of Flow Simulation has various materials with
predetermined properties that define the material porosity. In addition,
the porosity properties can be entered by the user.
Porosity The Porosity is defined as the total fluid volume divided by the total
volume of the porous media. Therefore, a value of 0.5 means that 50%
of the porous media is fluid. The porosity governs the flow velocity in
the porous medium channels.
Permeability Type Our porous screen is defined as isotropic, which is to say that the
porosity of the media is the same in every direction. The other options
for the Permeability Type are: Unidirectional, Axisymmetrical, or
Orthotropic. Similarly to defining elastic and thermal properties, the
resistance can be defined in given directions under the Permeability
type property.
Resistance The resistance is how the flow is resisted by the porous medium. It can
be defined by an input plot with respect to pressure drop, flow rate, or
model dimensions. In addition, it can be defined with respect to
velocity. This parameter is something that needs to be determined
beforehand as it is a property of the porous body.
186
SOLIDWORKS Simulation Lesson 7
Porous Media
187
Lesson 7 SOLIDWORKS Simulation
Porous Media
Dummy Bodies Often times, you may want to have goals set up for specific regions of
your model where there is no SOLIDWORKS geometry to select.
Without the geometry, there is no reference to select for the creation of
the goal. In situations such as these, we can use dummy
SOLIDWORKS geometry to define geometry in these regions. If this
technique is used be sure that Component Control is used to disable
the body in the flow, otherwise it would affect the flow field.
In our model, we may be interested
in the flow just as it enters into the
catalytic converter. That way we
could calculate the pressure drop
from the inlet to the converter. In
addition, we could calculate the
pressure drop across the converter Dummy Body
itself. A dummy body has been
created at the inlet of the converter
to define goals at this location.
Mid-Total
Pressure
Note You can select all three faces in a single definition, and check Create
goal for each surface under Selection.
Rename the goals as shown in the figure above.
10 Disable dummy body.
In the SOLIDWORKS Flow Simulation
analysis tree, right-click Input Data and select
Component Control.
In the Component Control dialog, disable
Dummy Body.
Click OK.
SOLIDWORKS Flow Simulation treats the
disabled component as a fluid region with the default fluid initial
conditions.
Note The two Monolith bodies should also be disabled. This should happen
by default when they are defined as porous media.
188
SOLIDWORKS Simulation Lesson 7
Porous Media
189
Lesson 7 SOLIDWORKS Simulation
Porous Media
Discussion From these two plots, we can easily see that much of the flow enters the
catalyst coated substrate at one single end. In the flow trajectory plot,
we even see that there is some backflow. Upon entering the substrate,
the flow then quickly begins to develop because it is retarded by the
porosity of the substrate. Upon reaching the outlet, the flow looks fully
developed. We can use XY Plots to verify this.
190
SOLIDWORKS Simulation Lesson 7
Porous Media
16 XY plot.
In the SOLIDWORKS Flow Simulation analysis tree, right-click the
XY Plots icon and select Insert.
In the SOLIDWORKS FeatureManager tree, select Sketch1 and
Sketch2.
Under Parameter list, select the Velocity (Z) check box.
Click Export to Excel.
191
Lesson 7 SOLIDWORKS Simulation
Porous Media
Design With all the velocity entering the substrate on one end, the converter
Modification will wear on this side much quicker. One obvious way to correct this
would be to change the geometry of the inlet. Often times, however, the
converter must fit into a tight space and geometry modifications may
not always be possible. For this case, we will try a different type of
porous media.
17 Clone Project.
Right-click the project name in the Flow Simulation analysis tree and
select Clone Project.
Enter Uni-Iso as the Project Name.
Under Configuration choose Use Current.
Click OK.
This will create a new project associated with configuration Default.
All of the settings from the previous project will be copied.
18 Define Porous Media.
In the Tools, Flow Simulation menu, select Tools, Engineering
Database.
Expand the Porous Media folder. Right-click User Defined and
select New Item.
Click the Item Properties tab.
In the Name box, type Unidirectional.
In the Porosity box, type 0.5.
For the Permeability type property make sure Unidirectional is
selected.
For the Resistance calculation formula property, click in the value
field and use the down arrow to select Dependency on velocity.
In the A box, type the value 57 kg/m^4.
In the B box, type the value 0.
Click File, Save.
Click File, Exit.
192
SOLIDWORKS Simulation Lesson 7
Porous Media
193
Lesson 7 SOLIDWORKS Simulation
Porous Media
23 XY plot.
Edit the definition of the XY Plot 1 that was created in the previous
project.
Click Export to Excel.
194
SOLIDWORKS Simulation Lesson 7
Porous Media
Discussion From these plots, we can see that the unidirectional porous medium
takes in a slightly more uniform flow field. This is because the flow can
only travel in one direction once it enters the unidirectional medium.
This could prove helpful in making the catalyst last longer.
Another way to evaluate the performance of the converter is the
amount of time it takes the flow to pass through the substrates. The
longer it takes, the more chance the flow has to react with the catalyst
to remove the toxic substances.
We can evaluate this by showing the cut
plots of the z-velocity in the two studies
with the same scale (shown to the right).
As we can see, the flow moves through Isotropic
the unidirectional medium at a
consistently low speed. The flow through
the isotropic medium may be
inconsistent, but reaches an even lower
speed at the end of the first medium.
This is because the flow in the isotropic Unidirectional
medium can expand in all directions,
allowing for the flow to slow
significantly quicker than in the
unidirectional medium.
Summary For the application of the catalytic converter, both the unidirectional
and isotropic porous medium have their advantages. The unidirectional
medium forces a more uniform velocity distribution that would allow
the converter to wear evenly. The isotropic medium allows the gas to
expand much more easily, causing lower flow speeds which allow the
gas to spend more time with the catalyst providing for more efficient
conversion. Perhaps an optimal design would have a shorter
unidirectional medium to produce a more uniform flow field. A longer,
isotropic medium could then further expand the gases and allow for
more reaction.
We also showed that with the inlet on one side of the converter there are
significant non-uniformities in the incoming flow which is detrimental
to the performance of the converter. If re-design was possible, one
might want the inlet to be head on so that the flow is uniform when it
reaches the first porous medium.
195
Exercise 10 SOLIDWORKS Simulation
Channel Flow
Exercise 10: In this exercise, we will utilize the porous media capability to perform
Channel Flow an analysis of flow through a channel with a screen. We will use a
variable velocity profile when specifying the inlet boundary condition.
This exercise reinforces the following skills:
Porous Media on page 186
Porosity on page 186
Problem Cold air flow is forced through a porous screen within a channel. At the
Statement channel inlet the velocity profile is a function of the inlet height.
Y
Air
Porous Screen X
The channel height is 0.15m, the channel length is 0.65m, the porous
screen thickness is 0.01m. All walls have a thickness of 0.01m. The
flow through a channel is symmetric, therefore two dimensional
symmetry can be used to simplify the problem.
Non-uniform inlet velocity (Air)
Porous Screen
196
SOLIDWORKS Simulation Exercise 10
Channel Flow
2 Create Project.
Create a new study using the Wizard with the following settings:
Configuration Use Current:
name “Default”
Project name “Porous”
Unit system SI (m-kg-s)
Analysis Type Internal
197
Exercise 10 SOLIDWORKS Simulation
Channel Flow
Non-uniform Inlet A boundary condition is required to describe where the fluid enters or
Velocity exits the system and can be set as a Pressure, Mass Flow, Volume Flow
or Velocity. This exercise will include a variable inlet velocity profile,
as shown below.
198
SOLIDWORKS Simulation Exercise 10
Channel Flow
Face Based - Y
X - Velocity (m/s)
direction (m)
-0.075 m 0 m/s
-0.074333333 m 16.0341 m/s
-0.0726129 m 19.2855 m/s
-0.0653871 m 22.6 m/s
-0.0540323 m 22.6 m/s
-0.0433656 m 22.6 m/s
-0.0326989 m 22.6 m/s
-0.0227204 m 22.6 m/s
-0.0134301 m 22.562 m/s
-0.0027634 m 16.9184 m/s
-0.0020753 m 16.0875 m/s
0.0072151 m 12.693 m/s
0.0175376 m 12.42 m/s
0.028204 m 13.0918 m/s
0.039559 m 12.42 m/s
0.048505 m 11.7826 m/s
0.058484 m 9.97044 m/s
0.068462 m 8.38286 m/s
0.070183 m 8.97531 m/s
0.07328 m 8.68414 m/s
0.074312 m 7.96345 m/s
0.074656 m 7.17069 m/s
0.075 m 0 m/s
Click OK twice.
Note The y-coordinates are based on the face-based local coordinate system
with an origin at the center of the selected face.
199
Exercise 10 SOLIDWORKS Simulation
Channel Flow
200
SOLIDWORKS Simulation Exercise 10
Channel Flow
Note Due to the user defined inlet velocity profile the velocity is highest near
the bottom of the channel.
13 Change the cut plot to show Dynamic Pressure.
Note You may need to add Dynamic Pressure to the list of the available
parameters. To do this, expand the Parameter pull down list and select
Add Parameter.
201
Exercise 10 SOLIDWORKS Simulation
Channel Flow
202
Lesson 8
Rotating Reference Frames
Objectives Upon successful completion of this lesson, you will be able to:
Select a proper computational approach based on the problem
parameters.
Set up problems using Rotating Reference Flow.
203
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
204
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
205
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
206
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
207
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
10 Activate project.
Activate project completed - averaging.
11 Load results.
Right click the Results folder and select Load.
12 View cut plot.
Define a cut plot for Velocity.
Use Right Plane, activate Contours and Vectors, and increase
Number of Levels to 100.
Click OK.
208
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
The pressure is lower as the air enters the fan, and it increases as the air
exists from the fan. The difference between the static pressure at the fan
exit and entrance is referred to as pressure drop.
15 Create flow trajectory.
In the Flow Simulation analysis tree, under Results, right-click the
Flow Trajectories icon and select Insert.
In the SOLIDWORKS FeatureManager fly-out tree, click the Sketch1
item. This will select the curves of Sketch1 as Reference.
Under Starting Points, in the Number of Points box, type 100.
Under Appearance, in the Width box, enter 5 mm.
Under Constraints, in the Maximum length, increase the value to
30000mm.
Click OK.
209
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
Noise Fan noise, or its acoustic emissions are now becoming important design
Prediction criteria. Better fan design will not only result in increased air flow, but
also may result in reduction of its noise.
Broadband Model In many applications noise caused by turbulent flow does not contain
specific distinct tones, but rather contains wide spectrum of
frequencies. In such situation statistical noise quantities can be readily
obtained from Proudman formula for acoustic power generated by
isotropic turbulence without mean flow. The broadband noise source
model does not require transient solutions, but also does not provide
any spectral information.
Acoustic Power, Acoustic power indicates amount of energy emitted per unit volume. It
Acoustic Power is measured in the units of W/m^3.
Level
Acoustic power level is measured in decibels, and it is calculated as
follows:
P-
L w = 10 log -----
Po
210
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
Part 2: Sliding In the second part of this lesson you will use a more robust sliding
Mesh mesh approach to simulate flow through a blower fan. This method
assumes unsteady flow field and is therefore available for transient
solutions only. While this method can be used for various flow
configurations, it is especially suitable to provide solutions in cases
where the rotor-stator interaction is strong, and in cases where the flow
exits the rotating components radially. It is computationally
significantly more demanding that the Mixing Plane approach.
Case Study: In this case study you will use sliding mesh method to analyze flow in a
Blower Fan blower fan. The basic characteristics of this model are that the flow
exits the rotor radially, and that there is strong interaction between the
rotor and stator.
Problem The blower fan shown in
Description the figure rotates at 700
rpm (73.3 rad/sec) and
moves air from one side of
the system to the other.
Analyze how the flow
moves through the fan by
using a sliding mesh
approach.
211
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
212
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
213
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
Tangential Notice that the rotating region used in this project does not include the
Faces of Rotors top and bottom faces of the flat sheet metal on the top and bottom of the
rotor. While rotating region could include them, an alternative
approach is used here.
Rotating region
Rotor top
sheet metal
Rotor
blade
214
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
215
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
9 Review goals.
Several goals are already defined in the project. Review all goals.
10 Set calculation control options.
Right-click Input data in the Flow Simulation analysis tree and select
Calculation Control Options.
On the Finish tab check Physical time and specify 0.2s. The rest of
the criteria should be unchecked.
Note The project will simulate a little more than two full rotor revolutions.
The period of one revolution (obtained from the angular velocity of 700
RPM) is 0.0857s.
On the Refinement tab make sure that Global Domain refinement is
Disabled, and local regions use global settings (disabled).
On the Solving tab, specify manual time step of 0.0002s.
216
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
Time Step Time step is very important parameter in any transient solution. Too
large a time step will cause solver to diverge or generate inaccurate
results, while too small a time step will cause simulation to run for
extremely long times. Automatic setting will, in general, use
conservative time step size, which will ensure that simulation results
are correct. Unfortunately, calculation times may be prohibitive in
traditional desktop setting.
Manual setting, on the other hand, allows operator to specify larger
time step and speed up the calculation. It is important to note, however,
that it is the responsibility of an operator to ensure that manually
specified time step is small enough to provide correct and converged
results.
In this project, we will base our time step assumption on the absolute
time required for one blade to move from its position to the position of
the neighboring blade. For the angular velocity of 700 RPM, 32 rotor
blades, the time required for a blade to move from its position to the
position of the neighboring blade is:
60 –4
t = ------------------------------ = 2.67 10 s
700 32 10
Note The time step is equal to one tenth of the time required for a blade to
move from one position to the position of its neighboring blade.
217
Lesson 8 SOLIDWORKS Simulation
Rotating Reference Frames
t=4e-3 s
Notice that close to the beginning of the simulation only air in the
direct neighborhood of the rotor moves with significant velocity.
t=0.2 s
The highest speeds indicated by the red sphere reach close to 48 m/s.
218
SOLIDWORKS Simulation Lesson 8
Rotating Reference Frames
14 Animation.
The first two revolutions of the rotor are captured in the attached
animation1.avi.
The captured event has a duration of only 0.2s with a frame rate of 100
fps. To better see the animation slow the playback speed to
approximately 25%, or less.
219
Exercise 11 SOLIDWORKS Simulation
Ceiling Fan
Rotating Reference
Frame on page 204
Part 1: Averaging on
page 204
Floor
Create rotating region.
on page 206
Create a local initial Mesh. on page 207
220
SOLIDWORKS Simulation Exercise 11
Ceiling Fan
Computational Select the Size tab and enter the following values:
Domain
Size (m)
X max: 2.25
X min.: -2.25
Y max: 2.25
Y min: -2.25
Z max: 0.29298
Z min: -2.7 m
Goal Create rotating region dummy body and select what will be included in
it. Create reasonable local mesh controls on all important regions in the
computational domain, and all important parts of the fan. Obtain the
flow profile.
The assembly file Fan_Assembly for this exercise is located in the
Lesson08\Exercises folder.
221
Exercise 11 SOLIDWORKS Simulation
Ceiling Fan
222
Lesson 9
Parametric Study
Objectives Upon successful completion of this lesson, you will be able to:
Create an analysis using the Parametric (optimization) Study
feature.
Create a quarter model using symmetry planes.
Properly post-process parametric analysis results.
223
Lesson 9 SOLIDWORKS Simulation
Parametric Study
Inlet
224
SOLIDWORKS Simulation Lesson 9
Parametric Study
225
Lesson 9 SOLIDWORKS Simulation
Parametric Study
226
SOLIDWORKS Simulation Lesson 9
Parametric Study
Click OK.
Parametric Study Parametric study allows you to launch a set of calculations with the
goal to study trends of selected quantities, or to find an optimum value
of a selected parameter until a specified goal is met (optimization).
Introducing: In parametric study, each iteration creates a new configuration with a
Parametric Study different set of parameter values (defined as dimensions or boundary
conditions) that will change the flow field. Three types of parametric
study can be defined:
One dimensional optimization (Goal Optimization)
Upon each iteration, a specified goal is calculated and compared to
the target goal (defined as constant, table, or a function). At each
iteration, the software automatically updates the variable parameter
using the secant method and solves the study. This procedure is
repeated until either the goal is met, or the maximum number of
iterations has been reached, or it is decided that the goal cannot be
reached within the variable parameter limits.
227
Lesson 9 SOLIDWORKS Simulation
Parametric Study
Where to Find It Menu: Tools, Flow Simulation, Solve, New Parametric Study
Flow Simulation Main toolbar: New Parametric Study
Part 1: Goal In this part of the lesson you will prepare a goal optimization study. The
Optimization objective is to find an optimum position of a valve.
9 Set up Parametric Study.
In the Tools, Flow Simulation menu, select Solve, New Parametric
Study to open the optimization study setup widget.
Set optimization study to the Goal Optimization mode.
Note In the Goal Optimization mode, only one variable parameter can be
varied.
228
SOLIDWORKS Simulation Lesson 9
Parametric Study
Input Variable You have an option to optimize a selected dimension or the flow
Types parameter (mass flow rate, inlet volume flow rate, etc.).
In this project we want to know the piston position that results in a 6N
force. We will therefore use the Add Dimension Parameter option to
vary the SOLIDWORKS mate controlling the position of the piston.
229
Lesson 9 SOLIDWORKS Simulation
Parametric Study
12 Specify criteria.
On the Criteria tab, click the Add Goal
button .
Target Value You have an option to specify the target value dependence type. In this
Dependence lesson, you specified a Constant target value of 6 N in step 13.
Types Constant is also the default dependence type setting for the target value.
The dependence
button (see the
figure in step 13) in
the target value dialog
allows you to specify
more complex
dependence types such as Table of values of Formula. The Formula
type enables you to create a dependence of the target value directly on
the input variable (in your case the dimension controlling the position
of the piston).
230
SOLIDWORKS Simulation Lesson 9
Parametric Study
15 Study Options.
Click the Scenario tab.
231
Lesson 9 SOLIDWORKS Simulation
Parametric Study
The optimized position of the piston is at 4.9 mm when the piston force
reaches 1.36 N (for a quarter of the piston only).
.The project setup is saved into the Flow
Simulation tree.
232
SOLIDWORKS Simulation Lesson 9
Parametric Study
18 Load results.
Right-click the converged design point (here
Design Point 3), and select Create project.
Note Alternatively, you can access all parametric study result files by right-
clicking the Results folder under the original project Piston, and
selecting Load from file. You can then navigate to the lesson folder
corresponding to the project Piston, Parametric Study, and the
subfolder with the highest number.
233
Lesson 9 SOLIDWORKS Simulation
Parametric Study
Notice that the force is close to the goal of 1.5 N and within the 1.2 N to
1.8 N convergence criterion interval.
Close the tables and click OK to close the Surface Parameters
property manager.
234
SOLIDWORKS Simulation Lesson 9
Parametric Study
235
Lesson 9 SOLIDWORKS Simulation
Parametric Study
236
SOLIDWORKS Simulation Lesson 9
Parametric Study
27 Design points.
Click the Scenario tab and review twelve design points, or input
variable combinations, at which results will be calculated.
Optionally, if your computer features sufficient resources you may
speed up the solution by setting Maximum simultaneous runs to 2.
The extreme values of the piston force within the limits of both input
variables are 0.69 N and 7.79 N (for the whole piston). While these
extremes were reached at design points 1 and 12, they can in general
occur at any considered design point.
Click OK to close the design study widget.
Note Each design point results are associated with saved Flow Simulation
project. You can activate any of these projects, load its results and
analyze them.
237
Lesson 9 SOLIDWORKS Simulation
Parametric Study
Part 3: Multi In the third part of this lesson you will define the “Design of
parameter Experiments and Optimization” type of parametric study. It allows you
Optimization to optimize your design using various input parameters.
The objective of this part of the study is to determine the optimum
position of the piston.
30 New parametric study.
Right-click the Parametric Studies folder (under Default
configuration, Piston study in the top project tree and select New.
31 Set up Parametric Study.
On the Input variables tab, make
sure that the optimization is set to
the Design of Experiments and
Optimization mode.
32 Specify the first input variable.
Follow steps 10 and 11 and specify the Piston X dimension mate
controlling the position of the piston as the first input variable
parameter.
Define the variation from 0.003m to 0.006m.
Click OK.
238
SOLIDWORKS Simulation Lesson 9
Parametric Study
239
Lesson 9 SOLIDWORKS Simulation
Parametric Study
In this case, not surprisingly, the minimum of the piston force occurs
when both input variables are at their minimums, 0.003m and 1.3 bars,
respectively. In general this does not need to be the case and the
minimum can occur at another position on the response surface.
38 Finding maximum.
To find maximum of the piston force,
change Objective Function to
Maximize.
Click Add Optimal Design Point.
An optimal point corresponding to the
maximum of the output parameter will
be added to the list of experiments.
Similarly to the case of the minimum of the piston force, the maximum
for the force occurs at the extremities of the input variables, 0.006m
and 2 bars, respectively.
39 Finding specific value.
To find a combination of the input
variables corresponding to the piston
force value of 1.5 N, change
Objective Function to Target, and
change target for SG Force (X) 1 to
1.5.
Click Add Optimal Design Point.
240
SOLIDWORKS Simulation Lesson 9
Parametric Study
1.5 N piston force therefore occurs when the piston is located at 5.7mm
and the inlet pressure is at 1.86 bars. This results is close to the result
from the Goal Optimization study (step 17). There, a lower position of
the piston, 4.9mm, resulted in somewhat smaller force of 1.36 N, which
was still withing the tolerance of that parametric study.
Note Goal optimization study kept the inlet pressure at a fixed value of 2
bars, while the Design of Experiments and Optimization study varied
this pressure from 1.3 to 2 bars. The two studies discussed in the
paragraph above are therefore not simulating the same problem.
Click OK to close the design study widget.
Note Projects can be created for each optimal design point (see step 18).
However, because optimal design points are obtained from the analysis
of the response surface, the projects will have to be solved first if
results at these optimal point are to be reviewed.
40 Close assembly.
Summary In this lesson you learned how to perform an optimization using the
parametric study feature. Parametric study can be defined in three
modes: Goal Optimization, What if scenario and Design of
Experiments and Optimization.
Goal optimization (Single variable design scenario) represents a one
dimensional optimization using the secant method. SOLIDWORKS
Flow Simulation calculates the problem with adjusted input variable as
long as the calculated value is not within the desired limits of the output
variable, or until the maximum number of iterations is reached.
What If (Multi variable design scenario) parametric study allows you to
define multiple input variables, and define their range. Flow Simulation
then calculates grid of result quantities at every combination of the
input variables. This way, you are able to study various trends in the
results quantities.
241
Lesson 9 SOLIDWORKS Simulation
Parametric Study
242
SOLIDWORKS Simulation Exercise 12
Variable Geometry Dependent Solution
Parametric Analysis on
page 225
Inlet
Problem The safety valve in the image features a spring loaded plunger. To open
Description the valve, i.e. move the plunger up, some minimum level of flow is
required. Consider the mass inflow of 1 kg/sec; this inflow is sufficient
to keep the valve open. To correctly solve this problem, you need to use
parametric study and design proper mesh, especially in the vicinity of
the plunger.
The spring is compressed by
3mm at a fully closed position.
The maximum opening of the
plunger is 30mm.
3mm
Closed
position
243
Exercise 12 SOLIDWORKS Simulation
Variable Geometry Dependent Solution
The force generated in the spring can be expressed using the following
nonlinear equation (with compression expressed in meters):
2
F N = 7708.2 compression + 2
The correct solution is with the plunger position somewhere between 7
mm to 16 mm above Sitz_SW component.
Note The dimension controlling the
position of the plunger is indicated
in the image to the right. (In this
image, the plunger opening is 2
mm.)
Boundary The water mass inflow is 1 kg^3/s. The outlet features environmental
Conditions pressure boundary condition.
Goal Mesh the valve assembly and solve the flow simulation. Your solution
needs to find the correct position of the valve opening.
The assembly file Safety valve for this exercise is located in the
Lesson09\Exercises folder.
Note Use local initial mesh to generate optimum mesh in the vicinity of the
valve.
244
Lesson 10
Free Surface
Objectives Upon successful completion of this lesson, you will be able to:
Get familiar with free surface problems.
Define correct boundary conditions for free surface models
Display free surface results.
245
Lesson 10 SOLIDWORKS Simulation
Free Surface
Case Study: This lesson covers the free flow of water, commonly referred to as free
Dam-Break surface. The objective of this lesson is to introduce the free surface
Flow flow type. The results will be post-processed using cut plots.
Gravity
Water
(initial stage) Empty space (initial stage)
Free Surface Flow Simulation allows to model two immiscible fluids with a free
surface. In the case of two liquids, they are said to be immiscible if they
are completely insoluble in each other. A free surface is an interface
between immiscible fluids, for example, a liquid and a gas. In this
simulation we will consider free surface between water and air.
However, any phase transitions (including humidity, condensation,
cavitation), rotation, surface tension and boundary layer on an interface
between immiscible fluids are currently not allowed.
Volume of Fluid In Flow Simulation free surfaces are modeled with the Volume of Fluid
(VOF) (VOF) technique by solving a single set of momentum equations and
tracking the volume fraction of each of the fluids throughout the
domain.
The VOF technique is based on the concept of a fluid volume fraction,
which must have a value between 0 and 1. In a two-phase system, in
mesh cells of liquid the fluid volume fraction would be 1, while in cells
of gas the fluid volume fraction is 0. The location of a free surface is
where the fluid volume fraction changes from 0 to 1.
246
SOLIDWORKS Simulation Lesson 10
Free Surface
247
Lesson 10 SOLIDWORKS Simulation
Free Surface
Size (m)
X max: 1.21
X min.: -0.01
Y max: 0.71
Y min: -0.01
Z max: 0.005
Z min: -0.005
248
SOLIDWORKS Simulation Lesson 10
Free Surface
6 Initial conditions.
Right-click the Initial Conditions folder and
click Insert Initial Conditions.
Under Selection, click WaterDomain solid
body.
Make sure Disable solid components option
is check.
Under Substance Concentrations, select
Water.
Keep rest of the parameters at their default
values.
Click OK.
249
Lesson 10 SOLIDWORKS Simulation
Free Surface
The blue regions in the cut plot indicate air, red regions then indicate
water.
250
SOLIDWORKS Simulation Lesson 10
Free Surface
251
Lesson 10 SOLIDWORKS Simulation
Free Surface
Experimental Experimental data for this problem is available (see References). The
Data figure below illustrates its initial configuration.
Environmental pressure
300mm
Water front
600mm
252
SOLIDWORKS Simulation Lesson 10
Free Surface
Experimental data
SOLIDWORKS Flow Simulation 1
Time [s]
253
Exercise 13 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
Exercise 13: In this exercise, we will perform a free surface analysis of an included
Heat Exchanger water jet.
with Multiple This exercise reinforces the following skills:
Fluids Free Surface on page 246
Introducing: Engineering Goals on page 26
254
SOLIDWORKS Simulation Exercise 13
Heat Exchanger with Multiple Fluids
Size (m)
X max: 1.8
X min.: -0.5
Y max: 1.3
Y min: -0.1
Z max: 0.002
Z min: -0.002
255
Exercise 13 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
256
SOLIDWORKS Simulation Exercise 13
Heat Exchanger with Multiple Fluids
The blue regions in the cut plot indicate air, red regions then indicate
water.
257
Exercise 13 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
0.604 m
Hovering with the mouse over the peak point shows that the tip of the
jet reaches approximately 0.604 m in height. This corresponds very
well with the theoretical solution of 0.612 m.
258
SOLIDWORKS Simulation Exercise 13
Heat Exchanger with Multiple Fluids
1.423 m
Hovering with the mouse over the peak point shows that the jet width
of flight is approximately 1.423 m. This corresponds very well with the
theoretical solution of 1.414 m.
259
Exercise 13 SOLIDWORKS Simulation
Heat Exchanger with Multiple Fluids
Theoretical The jet lift height can be evaluated from the following expression:
Results
2
V sin -
H = --------------------------
2g
The jet width of flight can be evaluated from the following expression:
2
L = 2V sin cos -
------------------------------------------
g
In the expressions above, g is the gravity acceleration, v is the initial
exit velocity of water, and alpha is the angle of jet inclination with
respect to the horizontal plane.
It was shown that the SOLIDWORKS Flow Simulation solution agrees
with the theoretical predictions very well.
Summary In this exercise we analyzed jet stream using the free surface feature.
The problem was defined as external analysis, with the geometry of the
jet protruding into the computational domain. The objective was to
obtain the Jet lift height, and width of flight. In both cases, numerical
results were compared very well with the theoretical results.
The cut plot for the volume fraction of water was then animated using
Transient Explorer.
260
Lesson 11
Cavitation
Objectives Upon successful completion of this lesson, you will be able to:
Select the cavitation flow type.
Display cavitation results.
261
Lesson 11 SOLIDWORKS Simulation
Cavitation
Case Study: This lesson covers the flow of water through a cone valve. The
Cone Valve objective of this lesson is to introduce the cavitation flow type option.
Symmetry will be used to simplify the analysis. The results will be
post-processed using cut plots.
Problem A pipe with a cone valve is shown in the figure. Water at 363 K flows
Description through the pipe at 3.5 m/s. The water is partially blocked by the valve
in the middle causing a dramatic pressure drop and cavitation.
Symmetry can be used to heavily simplify the calculations. Mesh
controls will be used to ensure quality results.
262
SOLIDWORKS Simulation Lesson 11
Cavitation
2 Create a project.
Create a new study using the Wizard with the following settings:
263
Lesson 11 SOLIDWORKS Simulation
Cavitation
The blue regions in the cut plot represent very low density regions,
which indicate that cavitation is occurring in these regions.
264
SOLIDWORKS Simulation Lesson 11
Cavitation
Discussion To study the effects of cavitation, we used a cut plot of the density. We
also could have used a cut plot of the water mass fraction, water
volume fraction, vapor mass fraction, or vapor volume fraction to see
where the cavitation has occurred. Note that the model does not
describe the behavior of individual bubble.
The cavitation area grows slowly during the calculation and there is
some risk that the calculation could stop before the cavitation area is
completely developed. To combat this, we specified a global goal of
average density and made sure that it was used in convergence. We also
could adjust the calculation control options to insure that the
calculation runs longer.
Summary In this lesson, we used the cavitation option to solve for the cavitation
of water flowing through a valve. We evaluated the cavitation by
showing a cut plot of the density. The low density regions represent
cavitation and the formation of a vapor. We also could have plotted the
vapor volume fraction to evaluate the cavitation.
265
Lesson 11 SOLIDWORKS Simulation
Cavitation
266
Lesson 12
Relative Humidity
Objectives Upon successful completion of this lesson, you will be able to:
Apply Relative Humidity as a boundary condition.
Display Relative Humidity results.
267
Lesson 12 SOLIDWORKS Simulation
Relative Humidity
Relative Relative humidity is defined as the ratio of the current water vapor
Humidity density to the water vapor density in saturation under the current
pressure and temperature. Relative humidity allows you to specify the
existence of water vapor in a gas or mixture of gases. Rather than
directly specifying water vapor in a Flow Simulation project, a relative
humidity can be specified within the initial or boundary condition.
Case Study: In this lesson, we will apply humidity parameters to our boundary
Cook House conditions to simulate the presence of water vapor in the gas. We will
also learn how to properly post-process the results of this type of
analysis.
Problem A cook house internal environment is controlled by a centralized
Description system. The exhaust vent blowing hot, humid air is located near the
back of the room on top of the table. There are two openings located on
either side of the room near the ceiling. One outlet has an exhaust fan
pulling air out at a defined constant flow rate, while the other one is
open to ambient air and has no fan.
268
SOLIDWORKS Simulation Lesson 12
Relative Humidity
2 Create a project.
Create a new study using the Wizard with the following settings:
269
Lesson 12 SOLIDWORKS Simulation
Relative Humidity
270
SOLIDWORKS Simulation Lesson 12
Relative Humidity
271
Lesson 12 SOLIDWORKS Simulation
Relative Humidity
272
SOLIDWORKS Simulation Lesson 12
Relative Humidity
Rotate the view so that you can inspect the flow trajectories entering
the room through the hot exhaust vent and mixing throughout the room.
273
Lesson 12 SOLIDWORKS Simulation
Relative Humidity
The flow trajectories will show only in the reduced region around the
mannequins.
274
Lesson 13
Particle Trajectory
Objectives Upon successful completion of this lesson, you will be able to:
Inject a physical particle into a flow stream.
Use the Particle Study command.
View particle trajectory results.
275
Lesson 13 SOLIDWORKS Simulation
Particle Trajectory
Case Study: In this lesson, we will perform a particle study on particles injected into
Hurricane a hurricane generator assembly. Gravity will be applied and we will
Generator learn to specify the type of solid particle injected. In addition, we will
set up different boundary conditions applied to how the particles move
in the model.
Problem A hurricane generator can be used as an educational tool when learning
Description how hurricanes form. When the sun heats the ocean water, it evaporates
to form a rising cloud of moist air. The surrounding cooler air is then
drawn into the cloud in a swirling motion.
In our generator, there are four bulbs
towards the top that generate 100 W Bulbs
of heat. At the bottom of the
generator, a 600 W heater heats water
in a bed to help the evaporation. The Inlets
air is then drawn in at the slits on the Bulbs
sides of the wall faces. Due to the
placement of the slits, a swirling
motion ensues and the hurricane
forms. Inlets
dV p f Vf – Vp Vf – Vp
m --------- = – ----------------------------------------------------- C d A + F g
dt 2
where m is the particle mass, t is time, Vp and Vf are the particle and
fluid velocities (vectors), accordingly, f is the fluid density, Cd is the
particle drag coefficient, A is the particle frontal surface area, and Fg is
the gravitational force.
276
SOLIDWORKS Simulation Lesson 13
Particle Trajectory
C d = ----- 4.12
24- + ----------------------------------------------------------
- + 0.38
R e 1 + 0.03 R + 0.48 R
e e
f Vf – Vp d
R e = ----------------------------
-
where d is the particle diameter and is the fluid dynamic viscosity.
277
Lesson 13 SOLIDWORKS Simulation
Particle Trajectory
Size (meters)
X max: 1
X min: -1
Y max: 2
Y min: -0.25
Z max: 1
Z min: -1
278
SOLIDWORKS Simulation Lesson 13
Particle Trajectory
279
Lesson 13 SOLIDWORKS Simulation
Particle Trajectory
12 Particle study.
In the SOLIDWORKS Flow Simulation analysis tree, under Results,
right-click the Particle Studies icon and select Wizard.
In the Name dialog keep Particle Study 1.
Click Next.
280
SOLIDWORKS Simulation Lesson 13
Particle Trajectory
Particle Study - This menu allows the user to specify additional physical features: the
Physical Settings Gravity, wall Erosion caused by the particles or the particle Accretion
at walls.
13 Settings.
Under Physical Features, Gravity is turned
on by default.
Keep both the Accretion and Erosion
unchecked.
Click Next.
Particle Study - This menu allows the user to specify what happens if the particle comes
Wall Condition in contact with a wall. For this lesson, we will keep the default wall
condition to Absorption which means if the particle(s) come in contact
with a wall the particle will be absorbed by that wall. The other options
allow for reflection of the particle after contact with the wall.
14 More settings.
Under Default Wall Condition, keep
Absorption and click Next.
281
Lesson 13 SOLIDWORKS Simulation
Particle Trajectory
15 Particle Study.
Under the Particle Studies folder, Show Injection 1.
16 Animate.
Right-click the Injection 1 and select Animate to animate the particle
study.
282
SOLIDWORKS Simulation Exercise 14
Uniform Flow Stream
Exercise 14: In this lesson, we will perform a particle study on particles injected into
Uniform Flow a uniform flow field. Gravity will be applied and we will learn to
Stream specify the type of solid particle injected. In addition, we will set up
different boundary conditions applied to how the particles move in the
model.
283
Exercise 14 SOLIDWORKS Simulation
Uniform Flow Stream
284
SOLIDWORKS Simulation Exercise 14
Uniform Flow Stream
Ideal Wall The Ideal Wall condition allows you to apply adiabatic, frictionless
wall boundary conditions instead of the default fluid friction wall. If
appropriate, you can also use the Ideal Wall condition to introduce a
flow symmetry plane, which can assist in reducing the computational
resources.
7 Select faces for Ideal Wall
conditions.
Select the top and bottom faces (walls).
Use the Ctrl key to accept both the top
and bottom surfaces.
Right-click the Boundary Conditions
icon and select Insert Boundary
Condition.
Under Type, click the Wall button and select Ideal Wall.
Click OK.
8 Set Engineering Goals.
Specify a surface goal for the average value of the static pressure on the
inlet face used for the velocity boundary condition.
9 Run the analysis.
Click Run.
10 Create Particle Study With One Injection.
In the SOLIDWORKS Flow Simulation analysis tree, under Results,
right-click the Particle Studies icon and select Wizard.
In the first property manager keep the default name Particle Study 1.
Click Next to define the first injection.
In the Injection 1 property manager, under Starting Points click the
Coordinates button and enter the coordinates of the injection: 0m, 0m,
0m. Click the Add point button to add point to the list.
Still in the Injection 1 property manager, specify particle Diameter of
0.001m, Iron as the Material, 1 kg/s for the Mass Flow Rate, 0 K for
the Relative initial particle Temperature, and the following Absolute
initial velocity:
Velocity in X direction = 0.6 m/s
Velocity in Y direction = 1.2 m/s
Velocity in Z direction = 0 m/s
Click Next.
11 Set particle study boundary conditions and physical features.
In the Physical Settings property manager, activate Gravity and enter
-9.81 m/s^2. in the Y-Gravity field.
Click Next.
285
Exercise 14 SOLIDWORKS Simulation
Uniform Flow Stream
Note You can Edit Definition of the Particle Study 1, turn off the gravity
and rerun the particle study to see the effects with the gravity term off.
You can also go back and use a different material, diameter, and/or
velocity to see these affects.
If time allows, you can try the following three cases:
Air flow with Vinlet = 0.002 m/s, gold particles of d = 0.5 mm,
injected at the velocity of 0.002 m/s perpendicularly to the wall.
Water flow with Vinlet = 10 m/s, iron particles of d = 1 cm, injected at
the velocities of 1, 2, 3 m/s perpendicularly to the wall.
A particle trajectory in the Y-directed gravitational field
(gravitational acceleration gy = -9.81 m/s2, air flow with Vinlet = 0.6
m/s, an iron particle of d = 1 cm, injected at the 1.34 m/s velocity at
the angle of 63.44o with the wall).
286
Lesson 14
Supersonic Flow
Objectives Upon successful completion of this lesson, you will be able to:
Create an external supersonic flow analysis.
Use the solution adaptive mesh feature for supersonic flows.
Create contour plots of Mach number.
287
Lesson 14 SOLIDWORKS Simulation
Supersonic Flow
Supersonic Flow is considered supersonic when it is traveling faster than the speed
Flow of sound. In subsonic flow, a fluid is able to react to a disturbance
because a pressure difference develops at the disturbance and
propagates downstream so that the oncoming flow can react and
change due to the disturbance.
In supersonic flow, however, these pressure differences do not develop
upstream because the fluid is moving so rapidly. The disturbance
downstream, therefore, cannot be sensed by the oncoming flow. When
the flow reaches the disturbance, a violent change in flow properties
occurs known as a shock wave.
Case Study: As can be expected, supersonic flow behaves
Conical Body very differently than subsonic flow. In this
lesson, we will study an external supersonic
flow of air over a segmental conical body. As
we have done in previous lessons, symmetry
will be used to simplify the model. The adaptive
meshing technique will be used to ensure good
quality results in the areas that result in shock
waves. We will also use engineering goals to calculate the drag
coefficient of the body.
Problem The conical body of study is shown in the figure below. The flow
Description around the body has a Mach number of 1.7, a static pressure of 1 atm,
static temperature of 660.2 K, and turbulence intensity of 1%. These
flow conditions represent a Reynolds number of 1.7×106 (defined with
respect to the body frontal diameter).
10.481
R0.300
R4.700
27o 6
R11.971 R0.57
3.225
Model sketch dimensioned in centimeters
288
SOLIDWORKS Simulation Lesson 14
Supersonic Flow
Drag Coefficient The longitudinal aerodynamic drag coefficient is defined using the drag
equation as follows:
F
t -
C = -----------------
t 2
1 U S
-----------------
2
where Ft is the aerodynamic drag force acting on the body in the t
direction, U2/2 is the incoming stream dynamic head, and S is the body
frontal cross section (being perpendicular to the body axis) area.
The longitudinal aerodynamic drag coefficient equation will be used
later in this lesson when defining the Equation Goal in Flow
Simulation.
289
Lesson 14 SOLIDWORKS Simulation
Supersonic Flow
Size (meters)
X max: 0.4
X min: -0.15
Y max: 0.25
Y min: 0
Z max: 0.25
Z min: 0
Click OK.
5 Setting Calculation Control Options.
Right-click Input Data in the SOLIDWORKS Flow Simulation
analysis tree and select Calculation Control Options.
On the Refinement tab, set Global Domain refinement to level=1.
Under Refinement Settings, select the Approximate maximum cells
check box and set the value to 350000. Set Refinement strategy to
Periodic. Keep the rest of the parameters at their default values.
Select the Finishing tab. Under Finish Conditions, select the
Refinements check box and set the value to 1.
Click OK.
6 Define Engineering Goal.
Define global goal for Force (X).
7 Define Equation Goal.
Right-click the SOLIDWORKS Flow Simulation analysis tree Goals
icon and select Insert Equation Goal.
290
SOLIDWORKS Simulation Lesson 14
Supersonic Flow
291
Lesson 14 SOLIDWORKS Simulation
Supersonic Flow
Shock Waves As stated before, a shock wave occurs when the properties of the flow
are forced to change dramatically due to the presence of a disturbance.
The shock wave seen in this example consists of two parts. First, a bow
shock exists in the direction normal to the flow. The presence of a bow
shock significantly increases the drag force on the object. An oblique
shock is also seen propagating from the edge of the cone as the flow
moves around the edge. Because the supersonic flow encounters a
convex corner, an expansion fan of rarefaction waves (often called a
Prandtl-Meyer expansion fan) are seen after the oblique shock that
further accelerate the flow. The subsonic wake region past the body can
also be seen.
Normal Shock
Oblique Shock
292
SOLIDWORKS Simulation Lesson 14
Supersonic Flow
Discussion The conical shape in this lesson has been used as a design for vehicles
that undergo re-entry into the earth’s atmosphere. It is important to
note, however, that our model does not simulate this situation. That
type of analysis would require flow with an even larger mach number,
often referred to as hypersonic flow (> Mach 5). In this type of flow,
there are further physical changes in the fluid properties of the flow
(i.e. ionization, molecular dissociation). SOLIDWORKS Flow
Simulation is not capable of modeling these effects.
Summary In this lesson, we studied supersonic flow over a conical shaped body.
Symmetry was used to simplify the analysis. In addition, the automatic
mesh refinement technique was used to ensure high quality results.
Both normal and oblique shock waves appeared as a result of the
simulation. The results were analyzed using cut plots.
293
Lesson 14 SOLIDWORKS Simulation
Supersonic Flow
294
Lesson 15
FEA Load Transfer
Objectives Upon successful completion of this lesson, you will be able to:
Transfer flow results to SOLIDWORKS Simulation for a finite
element analysis.
Create a SOLIDWORKS Simulation study using results from
SOLIDWORKS Flow Simulation as input boundary conditions.
View results in SOLIDWORKS Simulation.
295
Lesson 15 SOLIDWORKS Simulation
FEA Load Transfer
296
SOLIDWORKS Simulation Lesson 15
FEA Load Transfer
Size (m)
X max: 30.5
X min.: -30.5
Y max: 26
Y min: 0
Z max: 30.5
Z min: -24
6 Run Project.
297
Lesson 15 SOLIDWORKS Simulation
FEA Load Transfer
298
SOLIDWORKS Simulation Lesson 15
FEA Load Transfer
Note Reference pressure is obtained from Flow Simulation and its value is
typically equal to the atmospheric pressure of 101325 Pa. Use Define
reference pressure (offset) option to use different value.
Click OK.
13 Create Fixed Restraint.
Right-click Fixtures in the Simulation Study tree
and select Fixed Geometry.
Select the bottom face of the base of the billboard
and apply a Fixed Geometry restraint.
Click OK.
14 Create Mesh.
Right-click Mesh in the Simulation Study tree and select Create
Mesh.
Accept the default mesh settings and click OK.
15 Run the analysis.
Right-click Wind Effects in the Simulation Study tree and select Run.
299
Lesson 15 SOLIDWORKS Simulation
FEA Load Transfer
17 View animation.
Right-click the Stress1 plot and click Animate.
Click the play button to animate the model.
Click OK when finished.
18 View a Displacement plot.
To view the displacement of
the model, double-click the
Displacement1 plot in the
Results folder.
Summary In this lesson, we used Flow Simulation to solve for the pressure
distribution from wind on a billboard. We then used that pressure
distribution to run a linear static analysis in SOLIDWORKS
Simulation to study the response of the structure. Flow Simulation
gives us the opportunity to export results (pressure, temperature,
convection) to SOLIDWORKS Simulation for linear static analysis.
From here, we can further evaluate the response of our structures.
300
Index
301
Index SOLIDWORKS Simulation
P T
Parametric Analysis 225 Thin Wall Optimization 89
Parametric Study Time Animation 142
Goal Optimization 227 Time-Dependent Analysis 135
Multi-Variable Design Scenario Tolerance Level 68
228 Tolerance Refinement 68
Partial cells 68 Transferred Boundary Conditions 176
Particle Drag Coefficient 276 Transient Analysis 135
Particle Motion Equation 276 Transparency 35, 54
Perforated Plates 111 Travel 138
Permeability 186 Turbulence 133, 146
Permeability Type 186 Turbulence Intensity 135
Point Goal 26 Two Dimensional Flow 136
Porosity 186 U
Resistance Calculation Formula User-Defined Material 105, 147
186 V
Porous Media 186 Variable Inlet Velocity 198
Porous Media property input 186 Viscous Forces 133
Prandtl-Meyer expansion fan 292 Volume Goal 26
Project Wizard 18 Von Karman Vortex 132, 141
R W
Real Gases 161 Wizard 18
Rebuild 74 X
Reference Axis 21 XY-Plot 42
Refining Cells 68
Relative Humidity 268
Resistance 186
Result Resolution 66
Result Resolution definition 30
Reynolds Number 132, 133
Reynolds number 146, 288
Rotating Reference Frame 204
Rotating Reference Frames 204
Averaging 204
Sliding Mesh 204, 211
Rotating Region 206
Roughness 22
Run 30
S
Shedding Vortex 132
Shock Waves 292
Small Features 65
Small Solid Feature Refinement Level
68
Solid cells 68
Solution Adaptive Mesh Refinement
136
Supersonic Flow 288
Surface Goal 26
Surface Parameter 44
Surface Plot 39
302