Professional Documents
Culture Documents
Solidworks Flow Simulation - Solidworks 2015 Training
Solidworks Flow Simulation - Solidworks 2015 Training
ENG
SOLIDWORKS® 2015
Introduction
About This Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Course Design Philosophy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Using this Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Lessons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
About the Training Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Windows® 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Conventions Used in this Book . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Use of Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
User Interface Appearance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Lesson 1:
Creating a SOLIDWORKS Flow Simulation Project
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Case Study: Manifold Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Model Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Internal Flow Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
External Flow Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Manifold Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
My.SolidWorks.com i
Contents SOLIDWORKS 2015
ii My.SolidWorks.com
SOLIDWORKS 2015 Contents
Lesson 3:
Thermal Analysis
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Case Study: Electronics Enclosure . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Fans. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Fan Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Perforated Plates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Free Area Ratio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Exercise 5: Materials with Orthotropic Thermal Conductivity . . . . 112
Lesson 4:
External Transient Analysis
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Case Study: Flow Around a Cylinder . . . . . . . . . . . . . . . . . . . . . . . . 120
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Reynolds Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
External Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Transient Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Turbulence Intensity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Solution Adaptive Mesh Refinement . . . . . . . . . . . . . . . . . . . . . . . . 124
Two Dimensional Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Computational Domain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Calculation Control Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Finish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Refinement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Saving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Drag Equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Unsteady Vortex Shedding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Time Animation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Exercise 6: Electronics Cooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
My.SolidWorks.com iii
Contents SOLIDWORKS 2015
Lesson 5:
Conjugate Heat Transfer
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Case Study: Heated Cold Plate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Conjugate Heat Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Real Gases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Goals Plot in the Solver Window . . . . . . . . . . . . . . . . . . . . . . . . 153
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Exercise 7: Heat Exchanger with Multiple Fluids . . . . . . . . . . . . . . 156
Lesson 6:
EFD Zooming
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Case Study: Electronics Enclosure . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Project Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
EFD Zooming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
EFD Zooming - Computational Domain . . . . . . . . . . . . . . . . . . 165
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Lesson 7:
Porous Media
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Case Study: Catalytic Converter. . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Porous Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Porosity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Permeability Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Dummy Bodies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Design Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Exercise 8: Channel Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
iv My.SolidWorks.com
SOLIDWORKS 2015 Contents
Lesson 8:
Rotating Reference Frames
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Rotating Reference Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Part 1: Mixing Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Case Study: Table Fan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Part 2: Sliding Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Case Study: Blower Fan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Tangential Faces of Rotors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Time Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Lesson 9:
Parametric Study
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Case Study: Piston Valve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Stages in the Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Parametric Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Steady State Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Parametric study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Part 1: Goal Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Input Variable Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
Target Value Dependence Types . . . . . . . . . . . . . . . . . . . . . . . . 221
Output Variable Initial Values . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Running Optimization Study . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Part 2: Design Scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Exercise 9: Variable Geometry Dependent Solution . . . . . . . . . . . . 229
Boundary Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Lesson 10:
Cavitation
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Case Study: Cone Valve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Cavitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
My.SolidWorks.com v
Contents SOLIDWORKS 2015
Lesson 11:
Relative Humidity
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Relative Humidity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Case Study: Cook House . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Lesson 12:
Particle Trajectory
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Case Study: Hurricane Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Particle Trajectories - Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Particle Study - Physical Settings . . . . . . . . . . . . . . . . . . . . . . . . 254
Particle Study - Wall Condition . . . . . . . . . . . . . . . . . . . . . . . . . 254
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Exercise 10: Uniform Flow Stream . . . . . . . . . . . . . . . . . . . . . . . . . 256
Lesson 13:
Supersonic Flow
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Supersonic Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Case Study: Conical Body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Drag Coefficient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Shock Waves. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Lesson 14:
FEA Load Transfer
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Case Study: Billboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
vi My.SolidWorks.com
Introduction
My.SolidWorks.com 1
Introduction SOLIDWORKS 2015
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:
I Mechanical design experience.
I Completed the course SOLIDWORKS Essentials.
I Basic understanding in the field of fluid flow and heat transfer.
I 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 My.SolidWorks.com
SOLIDWORKS 2015 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® 7 The screen shots in this manual were made using the SOLIDWORKS
software running on Windows 7. If you are not using Windows 7, or if
you have a different theme setting, you may notice slight differences in
the appearance of the menus and windows. These differences do not
affect the performance of the software.
Conventions Used This manual uses the following typographic conventions:
in this Book
Convention Meaning
My.SolidWorks.com 3
Introduction SOLIDWORKS 2015
4 My.SolidWorks.com
Lesson 1
Creating a SOLIDWORKS
Flow Simulation Project
Objectives Upon successful completion of this lesson, you will be able to:
I Understand the model preparations required for a Flow Simulation
Project.
I Create simple lids.
I Check the geometry for invalid contacts.
I Calculate the internal volume.
I Create a SOLIDWORKS Flow Simulation Project using the Project
Wizard.
I Apply flow boundary conditions.
I Apply Goals.
I Run an analysis.
I Use the Solver Monitor window.
I View the results.
My.SolidWorks.com 5
Lesson 1 SOLIDWORKS 2015
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 I 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.
I Set up flow simulation.
Use the Wizard to set up the flow simulation project.
I Apply boundary conditions.
Boundary conditions are applied to inlets and outlets.
I Declare calculation goals.
Goals can be defined that are special parameters that the user will
have information for after the analysis is run.
I Run the analysis.
1 Open SolidWorks.
6 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Note Alternatively, add-ins can be activated using the Tools, Add-Ins menu.
3 Open Assembly.
Open Coletor from the Lesson01\Case Study folder.
My.SolidWorks.com 7
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
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).
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.
8 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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 icon 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 I Click on the surface adjacent to where you would like to add the lid
Part File and open a sketch.
I Select the inside edge(s) and select Sketch Tools, Convert
Entities.
I Insert, Boss/Base, Extrude and select the Mid Plane option.
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
My.SolidWorks.com 9
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
Adding a Lid to an There are several ways to create lids within a SolidWorks assembly
Assembly File file. The following steps outline one of these recommended ways.
I Within the SolidWorks assembly mode go to Insert, Component,
New Part.
I Select the surface adjacent to where you would like to add the lid.
I Select the inside edge(s) and select Sketch Tools, Convert
Entities.
I Insert, Boss/Base, Extrude and select the Mid Plane option.
I 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.
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.
10 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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.
Checking the The SolidWorks model must be checked to determine if there are any
Geometry 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.
I Openings in the geometry that prevent SolidWorks from fully
defining a fully closed internal volume. This is for an internal
analysis only.
I 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.
My.SolidWorks.com 11
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
12 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 13
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
14 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Edge contact
8 Check geometry.
Follow step 6 on page 12 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.
My.SolidWorks.com 15
Lesson 1 SOLIDWORKS 2015
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 and select Leak Tracking.
Select one face on the inside of the
manifold, and one face on the outside of
Outside
it. face
Click Find Connection.
Inside face
16 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 17
Lesson 1 SOLIDWORKS 2015
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:
I 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.
I 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.
I Analysis type
The analysis is defined as internal or external. In addition other
features about the analysis can be defined (i.e., reference axis).
I 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).
I Wall Conditions
Defines the boundary conditions for the flow at the walls of the
SolidWorks geometry.
I Initial Conditions
Defines the initial and ambient conditions of the solids and fluids in
the model.
I 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 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Click Next.
My.SolidWorks.com 19
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
16 Select units.
20 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 21
Lesson 1 SOLIDWORKS 2015
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 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
My.SolidWorks.com 23
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
24 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Result Resolution The Result Resolution is a measure of the level of accuracy of the
results. It controls not only the resolution of the mesh, but also sets
many parameters for the solver, e.g., the convergence criteria. The
higher the Result Resolution, the finer the mesh, which means higher
total cell counts and increased physical RAM requirements.
Higher Result Resolution levels narrow the convergence criteria,
raising the number of iterations to achieve convergence, i.e. longer
CPU time to solve. Thus, the Result Resolution setting requires a
balance between precise results and computation time.
My.SolidWorks.com 25
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
23 Insert boundary
condition.
In the SOLIDWORKS
Flow Simulation analysis
tree, under Input Data,
right-click Boundary
Conditions and select
Insert Boundary
Condition.
26 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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.
25 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.
My.SolidWorks.com 27
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
28 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Where to Find It I Shortcut Menu: Right-click Goals in the Flow Simulation analysis
tree and click Insert Goals
I CommandManager: Flow Simulation > Flow Simulation
Features > Goals
I Menu: Tools, Flow Simulation, Insert, Goals
Use in Instructions Choose the type of goal you want to define.
My.SolidWorks.com 29
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
30 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Click OK.
32 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.
33 Save file.
Click File, Save to save the assembly file.
Where to Find It I Shortcut Menu: Right-click the project folder (Project 1) in the
SOLIDWORKS Flow Simulation analysis tree and click Run
I CommandManager: Flow Simulation > Run
I 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.
My.SolidWorks.com 31
Lesson 1 SOLIDWORKS 2015
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.
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.
32 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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.
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 Add All to add all the goals you want to plot.
Click OK.
My.SolidWorks.com 33
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
36 Insert preview.
With the solver running, after
a few iterations, click Insert
Preview 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 My.SolidWorks.com
SOLIDWORKS 2015 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 I Shortcut Menu: Right-click Cut Plots under Results in the Flow
Simulation analysis tree and click Insert
I CommandManager: Flow Simulation > Cut Plot
I Menu: Tools, Flow Simulation, Results, Insert, Cut Plot
My.SolidWorks.com 35
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
36 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
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.
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
My.SolidWorks.com 37
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
38 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
Click OK.
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.
44 Hide Cut Plot 2.
Right-click the Cut Plot 2 icon under Results, Cut Plots in the
SOLIDWORKS Flow Simulation analysis tree and select Hide.
Introducing: Surface A Surface Plot displays any result on any SolidWorks surface. The
Plot 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 I Shortcut Menu: Right-click Surface Plots under Results in the
Flow Simulation analysis tree and click Insert
I CommandManager: Flow Simulation > Surface Plot
I Menu: Tools, Flow Simulation, Results, Insert, Surface Plot
My.SolidWorks.com 39
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
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.
40 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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.
My.SolidWorks.com 41
Lesson 1 SOLIDWORKS 2015
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.
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.
Where to Find It I Shortcut Menu: Right-click XY Plots under Results in the Flow
Simulation analysis tree and click Insert
I CommandManager: Flow Simulation > XY Plots
I Menu: Tools, Flow Simulation, Results, Insert, XY Plots
42 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
50 Plot XY plot.
We have already created a SolidWorks sketch containing a line through
the manifold. This sketch can be created after the analysis is finished.
Take a look at Sketch-XY Plot in the SolidWorks FeatureManager
analysis tree.
In the SOLIDWORKS Flow Simulation analysis tree, under Results,
right-click the XY Plots icon and select Insert.
Under Parameters, select Pressure and Velocity.
Under Selection, select Sketch-XY Plot from the SolidWorks
FeatureManager.
Leave all options as defaults and click Show.
The window with the graphs of the selected results will open on the
bottom of the screen.
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.
My.SolidWorks.com 43
Lesson 1 SOLIDWORKS 2015
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.
44 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
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.
My.SolidWorks.com 45
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
Close the two tabs by clicking the Close Table mark at the right hand
side of the screen.
Click Export to Excel.
An Excel spreadsheet will be automatically created containing the
values in the Surface Parameter window.
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 I Shortcut Menu: Right-click Goal Plots under Results in the Flow
Simulation analysis tree and click Insert
I CommandManager: Flow Simulation > Goal Plot
I Menu: Tools, Flow Simulation, Results, Goal Plot
46 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
Creating a SOLIDWORKS Flow Simulation Project
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.
Click Show.
The table of the goal values will open on the
bottom of the screen.
My.SolidWorks.com 47
Lesson 1 SOLIDWORKS 2015
Creating a SOLIDWORKS Flow Simulation Project
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.
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 I Shortcut Menu: Right-click the Results folder and select Save
Image
I CommandManager: Flow Simulation Results > Save Image
I Menu: Tools, Flow Simulation, Results, Screen Capture, Save
Image
48 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 1
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.
My.SolidWorks.com 49
Lesson 1 SOLIDWORKS 2015
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.
50 My.SolidWorks.com
Lesson 2
Meshing
Objectives Upon successful completion of this lesson, you will be able to:
I Generate proper mesh in the presence of thin walls and narrow
channels.
I Use mesh features.
I Display mesh.
I Use Thin wall optimization feature.
I Apply manual mesh controls and use control planes.
My.SolidWorks.com 51
Lesson 2 SOLIDWORKS 2015
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
52 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
Configuration Select:
name Select Hood mesh configuration.
Project name: “Mesh 1”
Unit system SI (m-kg-s)
Analysis Type Internal
My.SolidWorks.com 53
Lesson 2 SOLIDWORKS 2015
Meshing
54 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
My.SolidWorks.com 55
Lesson 2 SOLIDWORKS 2015
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 since it is the mesh the calculation starts from,
and it could be further refined during the calculation if the solution-
adaptive meshing is enabled.
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.
Introducing: Initial The mesh is controlled by the set of parameters specified in the Initial
Mesh Mesh, Automatic Settings window or in the Wizard - Results and
Geometry Resolution window.
Where to Find It I Shortcut Menu: Right-click Input Data in the Flow Simulation
analysis tree and click Initial Mesh
I CommandManager: Flow Simulation > Initial Mesh
I Menu: Tools, Flow Simulation, Initial Mesh
56 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
Optimize Thin The Optimize thin walls resolution option should be checked
Wall Resolution whenever a flow model contains thin walls (walls with fluid on both
sides). This option improves the meshing of thin wall features and, in
many cases, reduces the overall number of cells required to mesh thin
wall features. In earlier versions of SOLIDWORKS Flow Simulation,
additional mesh refinement was required to properly resolve thin wall
features, but the refinement would cause a large increase in the number
of cells in the model, especially in the narrow channels between the
walls.
If this additional mesh refinement is critical for obtaining the proper
results and you want to perform a calculation on the same mesh as in
earlier versions of SOLIDWORKS Flow Simulation, clear the
Optimize thin walls resolution check box. In this case, the mesh will
be almost the same as in earlier versions; the main difference is the
absence of irregular cells.
6 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.
My.SolidWorks.com 57
Lesson 2 SOLIDWORKS 2015
Meshing
58 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
My.SolidWorks.com 59
Lesson 2 SOLIDWORKS 2015
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
solution accuracy, available CPU time, and computer memory. Because
Mesh
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.
Using the slider for Level of initial mesh, you can select one of eight
resolution levels. The first level will give the fastest results but the level
of accuracy may be poor. The eighth level will give the most accurate
results but may take a long time to converge. The resolution level that
will return stable results depends on the task. For the majority of tasks
you can achieve stable results starting from level three. However, some
types of tasks require increasing the result resolution level (e.g.
external flows with separation from smooth surfaces).
60 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
Discussion At this point we might be able to proceed with our analysis, however
200,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 turing
off the Automatic Settings of the Initial Mesh and setting up our
mesh manually.
Switching Off The Initial Mesh, Automatic Settings window controls the mesh
Automatic Mesh options within the entire computational domain. Deselect the
Definition Automatic Settings check box to turn off the automatic mesh
definition. SOLIDWORKS Flow Simulation gives you four tabs when
manually defining your mesh.
I Basic Mesh I Solid/Fluid Interface
I Refining Cells I Narrow Channels
My.SolidWorks.com 61
Lesson 2 SOLIDWORKS 2015
Meshing
Cell Types SOLIDWORKS Flow Simulation uses the following four types of
rectangular cells:
I Fluid cells – These are cells entirely in the fluid.
I Solid cells – These are cells entirely in the solid.
I 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.
I 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.
Solid/Fluid The Solid/Fluid Interface settings define the refinement levels for
Interface Small solid feature refinement level, Curvature refinement level,
and Tolerance refinement level. More information about these
settings can be found in the Help menu.
Refining Cells The Refining Cells settings describe the refinement level of each cell
type.
Narrow Channels The Narrow Channels settings specify additional mesh refinement in
the flow passages of the model. The Narrow 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 Narrow The Advanced narrow channel refinement option is located in the
Channel automatic settings of the Initial Mesh. This setting applies the default
Refinement Narrow channels refinement level greater than the Tolerance
refinement level by one.
62 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
16 Mesh.
Click Run.
Clear the Solve check box. Check the Mesh checkbox.
Select Run. This will only mesh the model.
17 Cut plot.
Show the Cut Plot 1 that was
previously created.
The new mesh has about 80,000
cells. The ejector region is still a bit
coarse, especially in the region near
the inlet.
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 Initial Mesh feature of SOLIDWORKS Flow
Simulation.
Introducing: Local The Local Initial Mesh option is intended for resolving the mesh
Initial Mesh around a local region (solid or fluid). The local region can be defined
by a component, face, edge, or vertex. Local mesh settings are applied
to all cells intersected by a component, face, edge, or a cell 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
SOLIDWORKS Flow Simulation, you can select the SolidWorks
component representing the fluid region in the Local Initial 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.
My.SolidWorks.com 63
Lesson 2 SOLIDWORKS 2015
Meshing
Where to Find It I Shortcut Menu: Right-click Local Initial Meshes in the Flow
Simulation analysis tree and click Insert Local Initial Mesh
I CommandManager: Flow Simulation > Flow Simulation
Features > Local Initial Mesh
I Menu: Tools, Flow Simulation, Insert, Local Initial Mesh
Note To add Local Initial Mesh to the Flow Simulation analysis tree, right-
click your study an select Customize Tree, then choose Local Initial
Mesh.
Note We also could have used automatic settings for the Local Initial Mesh.
64 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
Control Planes As we noted before, the basic mesh is formed by splitting the
computational domain into into cubes using parallel and orthogonal
planes which are aligned with the Global Coordinate System’s axes.
The Basic Mesh tab of the Initial 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.
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.
My.SolidWorks.com 65
Lesson 2 SOLIDWORKS 2015
Meshing
In the Control intervals list, there are now 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.
Click OK to close the Initial Mesh window.
22 Mesh.
Click Run.
Clear the Solve check box and select Run. This will only mesh the
model.
66 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
23 Cut plot.
Show the Cut Plot 1 that was previously
created.
The mesh is very similar, however the cells
are now symmetric about the small orifice.
24 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.
My.SolidWorks.com 67
Lesson 2 SOLIDWORKS 2015
Meshing
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 that
Component Control 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 I Shortcut Menu: Right-click Input Data in the Flow Simulation
analysis tree and click Component Control
I Menu: Tools, Flow Simulation, Component Control
25 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.
26 Rebuild.
Rebuild the Flow Simulation project by right-clicking the project name,
Mesh 1 in the Flow Simulation analysis tree and selecting Rebuild.
27 Local initial mesh.
From the Tools, Flow Simulation menu, choose: Insert, Local Initial
Mesh.
Select the LocalMesh2 part from the FeatureManager design tree.
Clear the Automatic settings to set the initial mesh manually.
In the Narrow Channels tab, specify the Characteristic number of
cells across a narrow channel to 15.
Use the slider to set the Narrow channels refinement level to 3.
Click OK.
Note When creating a Local Initial Mesh in a fluid region using a part, the
component can also be disabled in the Component Control.
68 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
28 Mesh.
Click Run.
Clear the Solve check box and select Run. This will only mesh the
model.
29 Cut plot.
Show the Cut Plot 1 that was
previously created.
The mesh has about 106,000 cells
and is well resolved for both small
geometry in the ejector as well as
flow peculiarities.
Discussion The mesh from step 28 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,
Adaptive mesh especially those where 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 I Shortcut Menu: Right-click Input Data in the Flow Simulation
analysis tree and click Calculation Control Options and select the
Refinement tab.
I Menu: Tools, Flow Simulation, Calculation Control Options
My.SolidWorks.com 69
Lesson 2 SOLIDWORKS 2015
Meshing
30 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 Initial Mesh 2 specify level=2.
Set Approximate Maximum Cells count to 750,000.
Under Refinement strategy, select Periodic Refinement.
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 28) can be split to achieve the solution-
adaptive refinement criteria, and thus governs the minimum
computational mesh cell size.
31 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.
32 Activate project.
Activate project completed.
33 Load results.
Right click the Results folder and select Load.
70 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 2
Meshing
34 Cut plot.
Show the Cut Plot 1 that was
previously created.
The mesh was refined somewhat
throughout.
35 Mesh parameters.
To determine the number of cells in the final
mesh, right-click the Results folder and select
Summary. The total number of cells increased to
approximately 120,000. Adaptive algorithm split
cells efficiently where higher gradients were
detected.
My.SolidWorks.com 71
Lesson 2 SOLIDWORKS 2015
Meshing
72 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 73
Exercise 1 SOLIDWORKS 2015
Square Ducting
Exercise 1: In this exercise, we will create a mesh for a flow analysis on the square
Square Ducting ducting.
This exercise reinforces the following skills:
I Computational Mesh on page 55.
I Geometry Resolution on page 56.
I Advanced Narrow Channel Refinement on page 62.
I Introducing: Local Initial Mesh on page 63.
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 proper 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.
74 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 1
Square Ducting
My.SolidWorks.com 75
Exercise 1 SOLIDWORKS 2015
Square Ducting
Note To display the dimension, expand the Gaps and Thin Walls part in the
FeatureManager tree. Right-click Annotations and select Show
Feature Dimensions.
8 Create mesh without running solver.
In the Flow Simulation analysis tree, right-click Mesh 1 and select
Run.
Clear the Solve check box.
The Load results check box should be selected by default. Make sure
this box is checked.
Click Run.
Note The results will be automatically loaded.
76 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 1
Square Ducting
Now, after the plot has been created, zoom into the areas around the
small gap and thin wall. Note that there are only two cells through the
gap in the top left; minimally there should be three cells (but at least
four are recommended) for such a small gap to capture the flow
gradients here.
My.SolidWorks.com 77
Exercise 1 SOLIDWORKS 2015
Square Ducting
Tip You can change the color of the cell type by clicking on the given color
and selecting the color that you want. Note the different colors for the
three cell types.
Expand the Region folder and change the dimensions in the Z-
direction to Zmin -0.25 in and Zmax 0.25 in to show only a few layers
of cells in that direction.
Click OK.
78 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 1
Square Ducting
Partial cells, shown in green, are lying both in the small gap and around
the thin wall regions. This view shows additional information about
how the solid and fluid volumes were resolved by the mesher.
Advanced Narrow We will try to improve the mesh by using another option, called
Channel Refinement Advanced narrow channel refinement, available in the Initial Mesh
options.
11 Refine mesh.
In the Flow Simulation analysis tree, right-click Input Data and select
Initial Mesh.
Select the Advanced narrow channel refinement check box located
on the bottom of the Initial Mesh dialog window.
Click OK.
12 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.
Note The results will be automatically loaded.
My.SolidWorks.com 79
Exercise 1 SOLIDWORKS 2015
Square Ducting
80 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 1
Square Ducting
Local Initial Mesh A part called local_initial_mesh to define the local initial mesh has
already been defined and added to the assembly. Currently, it is hidden
and disabled from the Flow Simulation project using Component
Control.
14 Show the local initial mesh region.
In the FeatureManager design tree, show the part called
local_initial_mesh.
Note Before defining the Local Initial 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.
15 Define the local initial mesh.
From the Tools, Flow Simulation menu, choose
Insert, Local Initial Mesh .
Select the solid body associated with the local_initial_mesh part from
the FeatureManager design tree. This will add the component to the
local mesh Region.
In the Local Initial Mesh window, select the Automatic Settings tab.
Select the Manual specification of minimum gap size check box.
In the Minimum gap size box, enter the value 0.15 in.
Select the Manual specification of the minimum wall thickness and
the Minimum wall thickness refers to the feature dimension check
boxes.
Select the 0.1 in dimension identifying the thickness of the wall.
The Advanced narrow channel refinement check box should be
selected.
My.SolidWorks.com 81
Exercise 1 SOLIDWORKS 2015
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.
19 Close the model.
82 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 2
Thin Walled Box
Exercise 2: 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:
I Geometry Resolution on page 56.
I Optimize Thin Wall Resolution on page 57.
Outlet
My.SolidWorks.com 83
Exercise 2 SOLIDWORKS 2015
Thin Walled Box
Thin Wall The Optimize thin walls resolution option resolves thin wall features
Optimization Option 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 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.
4 Set outlet boundary
condition.
In the SOLIDWORKS Flow
Simulation analysis tree, right-
click Boundary Conditions
and select Insert Boundary
Condition.
Select the inner face of the
outlet lid.
Click Pressure openings and
select Static Pressure. The
default outlet pressure and
temperature of 101325 Pa and
293.2 K are acceptable for this
problem.
Click OK.
84 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 2
Thin Walled Box
My.SolidWorks.com 85
Exercise 2 SOLIDWORKS 2015
Thin Walled Box
86 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 2
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. With
Thin Wall Optimization turned on, the current mesh is acceptable for
accurate fluid solution, as well as for the heat transfer solution in the
solid walls.
9 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.
My.SolidWorks.com 87
Exercise 2 SOLIDWORKS 2015
Thin Walled Box
88 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 3
Heat Sink
Exercise 3: In this exercise we will develop a mesh for an analysis of a heat sink.
Heat Sink This exercise reinforces the following skills:
I Optimize Thin Wall Resolution on page 57.
I Introducing: Local Initial Mesh on page 63.
I Control Planes on page 65.
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.
My.SolidWorks.com 89
Exercise 3 SOLIDWORKS 2015
Heat Sink
Notice how due to the thin wall optimization, no additional cells are
needed to resolve the thin features in the model.
90 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 3
Heat Sink
Number of Cells
My.SolidWorks.com 91
Exercise 3 SOLIDWORKS 2015
Heat Sink
Tip Rather than adding these planes then editing them, it is helpful to select
Reference Geometry as the Creating Mode and then selecting the fin
edges as shown in the figure.
92 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 3
Heat Sink
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.
My.SolidWorks.com 93
Exercise 3 SOLIDWORKS 2015
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.
94 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 4
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.
My.SolidWorks.com 95
Exercise 4 SOLIDWORKS 2015
Meshing Valve Assembly
96 My.SolidWorks.com
Lesson 3
Thermal Analysis
Objectives Upon successful completion of this lesson, you will be able to:
I Use the Engineering Database for your materials.
I Apply heat loading.
I Learn to create a fan in your model.
I Use perforated plates.
I Understand Fan Curves.
I Model an electronics enclosure.
I Learn good modeling approaches to complicated geometry.
My.SolidWorks.com 97
Lesson 3 SOLIDWORKS 2015
Thermal Analysis
Capacitors
Resistors
Op-Amp
Heat Sink
Coil
98 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 3
Thermal Analysis
3 Activate configuration.
Activate configuration Simplified. This configuration contains
simplified geometry used in this simulation.
My.SolidWorks.com 99
Lesson 3 SOLIDWORKS 2015
Thermal Analysis
100 My.SolidWorks.com
SOLIDWORKS 2015 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:
I 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).
I Fan curves defining volume flow rate (or mass flow rate) versus
static pressure difference for selected industrial fans.
I Properties of porous media.
I 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.
I Properties of radiative surfaces.
I Units in which you can see and specify data in the project.
My.SolidWorks.com 101
Lesson 3 SOLIDWORKS 2015
Thermal Analysis
Click Save.
7 Apply materials.
Under Input Data, right-click Solid Materials and select Insert
Solid Material. Apply the following Pre-Defined materials to the
parts as shown in the figure below.
Note Any materials that have not be defined will be treated as Insulator
because that is what we have defined as our Default Solid.
102 My.SolidWorks.com
SOLIDWORKS 2015 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).
I 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).
I 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.
My.SolidWorks.com 103
Lesson 3 SOLIDWORKS 2015
Thermal Analysis
Where to Find It I Shortcut Menu: Right-click Heat Sources in the Flow Simulation
analysis tree and click Insert Surface Source or Insert Volume
Source
I CommandManager: Flow Simulation > Flow Simulation
Features > Surface Source or Volume Source
I 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
104 My.SolidWorks.com
SOLIDWORKS 2015 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
Pressure Difference
the volume or mass flow rate versus the Stall Region
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 Flow Rate
operate 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:
I Shortcut Menu: Right-click Fans in the Flow Simulation analysis
tree and click Insert Fan
I CommandManager: Flow Simulation > Fan
I 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.
My.SolidWorks.com 105
Lesson 3 SOLIDWORKS 2015
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.
106 My.SolidWorks.com
SOLIDWORKS 2015 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.
I 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.
I 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.
I 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.
My.SolidWorks.com 107
Lesson 3 SOLIDWORKS 2015
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.
108 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 3
Thermal Analysis
My.SolidWorks.com 109
Lesson 3 SOLIDWORKS 2015
Thermal Analysis
110 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 111
Exercise 5 SOLIDWORKS 2015
Materials with Orthotropic Thermal Conductivity
112 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 5
Materials with Orthotropic Thermal Conductivity
Click Save.
My.SolidWorks.com 113
Exercise 5 SOLIDWORKS 2015
Materials with Orthotropic Thermal Conductivity
114 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 5
Materials with Orthotropic Thermal Conductivity
My.SolidWorks.com 115
Exercise 5 SOLIDWORKS 2015
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.
10 Outlet boundary condition 2
(lower half).
Specify an identical pressure
boundary condition for the lower
half outlet lid.
116 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 5
Materials with Orthotropic Thermal Conductivity
My.SolidWorks.com 117
Exercise 5 SOLIDWORKS 2015
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.
118 My.SolidWorks.com
Lesson 4
External Transient Analysis
Objectives Upon successful completion of this lesson, you will be able to:
I Create a 2D plane flow analysis.
I Use the Reynolds number equation to apply a velocity boundary
condition to an external analysis.
I Use the Solution Adaptive Mesh refinement option.
I Use animation techniques to visualize the results.
I Create a transient animation.
My.SolidWorks.com 119
Lesson 4 SOLIDWORKS 2015
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.
120 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 4
External Transient Analysis
My.SolidWorks.com 121
Lesson 4 SOLIDWORKS 2015
External Transient Analysis
122 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 123
Lesson 4 SOLIDWORKS 2015
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.
124 My.SolidWorks.com
SOLIDWORKS 2015 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.
My.SolidWorks.com 125
Lesson 4 SOLIDWORKS 2015
External Transient Analysis
126 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 4
External Transient Analysis
My.SolidWorks.com 127
Lesson 4 SOLIDWORKS 2015
External Transient Analysis
Important! The drag equation is based on a very idealized situation and should be
used only as an approximation.
128 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 4
External Transient Analysis
My.SolidWorks.com 129
Lesson 4 SOLIDWORKS 2015
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.
130 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 4
External Transient Analysis
My.SolidWorks.com 131
Lesson 4 SOLIDWORKS 2015
External Transient Analysis
132 My.SolidWorks.com
SOLIDWORKS 2015 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.
19 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.
My.SolidWorks.com 133
Lesson 4 SOLIDWORKS 2015
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.
134 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
Electronics Cooling
My.SolidWorks.com 135
Exercise 6 SOLIDWORKS 2015
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:
136 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
Electronics Cooling
5 Create a project.
Click Tools, Flow Simulation, Project, Wizard. Using the Wizard,
create a new project with the following properties:
My.SolidWorks.com 137
Exercise 6 SOLIDWORKS 2015
Electronics Cooling
138 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
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
My.SolidWorks.com 139
Exercise 6 SOLIDWORKS 2015
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.
9 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
140 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
Electronics Cooling
Note Since the default material was set to Ceramic Porcelain using the
Wizard, the components not selected (Substrate<1>, Stand-
offs<1>) will be automatically assigned the Ceramic Porcelain
material. You can check to see the default material by right-clicking the
Input Data folder in the SOLIDWORKS Flow Simulation analysis
tree and selecting General Settings, Solids.
My.SolidWorks.com 141
Exercise 6 SOLIDWORKS 2015
Electronics Cooling
142 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
Electronics Cooling
My.SolidWorks.com 143
Exercise 6 SOLIDWORKS 2015
Electronics Cooling
144 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 6
Electronics Cooling
22 View results.
Under Results, right-click on Goal Plots and select Insert.
Under Goals select the All button and Physical time for Abscissa.
Under Options check Group charts by parameter to see all
temperature goal plots in a single graph.
Click Export to Excel.
An Excel spreadsheet opens. The spreadsheet will show the summary
of goal temperatures for each chip as a function of physical time.
In the Excel file, you can select the Plot Data tab sheet to see the actual
values used to make the previous plot.
My.SolidWorks.com 145
Exercise 6 SOLIDWORKS 2015
Electronics Cooling
146 My.SolidWorks.com
Lesson 5
Conjugate Heat Transfer
Objectives Upon successful completion of this lesson, you will be able to:
I Create a steady state conjugate heat transfer analysis for a cold
plate using a real gas.
I Define multiple fluid regions.
I Use real gases.
I Create temperature plots in the solid and fluid regions.
My.SolidWorks.com 147
Lesson 5 SOLIDWORKS 2015
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 I Create the project.
Process Using the Wizard, the transient heat transfer analysis can be
created.
I Define fluid subdomain.
Because more than one fluid exists in the model, a separate fluid
subdomain must be defined.
I Apply boundary conditions.
The conditions for the fluid flow into and out of the enclosure must
be defined.
I Apply heat source.
A way for heat to enter the model also needs to be defined.
I Declare calculation goals.
Goals can be defined that are special parameters that the user will
have information for after the analysis is run.
I Run the analysis.
148 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 5
Conjugate Heat Transfer
My.SolidWorks.com 149
Lesson 5 SOLIDWORKS 2015
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
Results & Set the Result resolution to 3.
Geometry Select the Manual specification of the minimum gap size and enter a
Resolution value of 0.007874 m.
Select the Manual specification of the minimum wall thickness and
enter a value of 0.000889 m.
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 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.
150 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 5
Conjugate Heat Transfer
My.SolidWorks.com 151
Lesson 5 SOLIDWORKS 2015
Conjugate Heat Transfer
Click OK.
8 Define Engineering Goal.
In the SOLIDWORKS Flow Simulation analysis tree, right-click the
Goals icon and select Insert Global Goal.
In the Parameter list, click the Max check boxes for both the
Temperature (Fluid) and the Temperature (Solid).
Click OK.
152 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 5
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.
My.SolidWorks.com 153
Lesson 5 SOLIDWORKS 2015
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.
154 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 5
Conjugate Heat Transfer
The cut plot shows the temperature distribution in both the air and the
R-123 refrigerant.
15 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.
My.SolidWorks.com 155
Exercise 7 SOLIDWORKS 2015
Heat Exchanger with Multiple Fluids
156 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 7
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.
4 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.
5 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.
My.SolidWorks.com 157
Exercise 7 SOLIDWORKS 2015
Heat Exchanger with Multiple Fluids
158 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 7
Heat Exchanger with Multiple Fluids
My.SolidWorks.com 159
Exercise 7 SOLIDWORKS 2015
Heat Exchanger with Multiple Fluids
160 My.SolidWorks.com
Lesson 6
EFD Zooming
Objectives Upon successful completion of this lesson, you will be able to:
I Use EFD Zooming to solve complex models.
I Properly apply transferred boundary conditions.
My.SolidWorks.com 161
Lesson 6 SOLIDWORKS 2015
EFD Zooming
162 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 6
EFD Zooming
My.SolidWorks.com 163
Lesson 6 SOLIDWORKS 2015
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:
164 My.SolidWorks.com
SOLIDWORKS 2015 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
I The flow and solid parameters taken from the overall study at the
zoomed domain boundaries must be as uniform as possible.
I The zoomed domain boundaries should not lie too close to the
object of interest.
I 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.
My.SolidWorks.com 165
Lesson 6 SOLIDWORKS 2015
EFD Zooming
7 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 103 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.
166 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 6
EFD Zooming
My.SolidWorks.com 167
Lesson 6 SOLIDWORKS 2015
EFD Zooming
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 I Shortcut Menu: Right-click the project name in the Flow
Simulation analysis tree and click Clone Project
I CommandManager: Flow Simulation > Clone Project
I Menu: Tools, Flow Simulation, Project, Clone Project
11 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.
Introducing: Batch You can use Batch Run to solve sets of projects in a prescribed order
Run or simultaneously.
Where to Find It I Menu: Tools, Flow Simulation, choose: Solve, Batch Run
168 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 6
EFD Zooming
12 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.
13 Create cut plot.
Activate project Zooming a
(configuration CFD - 1 Fan - a)
and load the results.
In the Flow Simulation analysis
tree, under Results, right-click the
Cut Plots icon and select Insert.
In the Section plane or Planar
face box, select the Top view plane
with an Offset of 5mm.
In the Display dialog, turn
Contours on.
Select Temperature and increase Number of Levels to 100.
Click OK to close the Cut Plot window.
14 Create goal plot.
Create a Goal Plot for the maximum temperature volume goal defined
in step 10.
My.SolidWorks.com 169
Lesson 6 SOLIDWORKS 2015
EFD Zooming
15 Compare results.
Keep the cut plot view from step 13 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.
170 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 6
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.
17 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.
18 Save and close the assembly.
My.SolidWorks.com 171
Lesson 6 SOLIDWORKS 2015
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.
172 My.SolidWorks.com
Lesson 7
Porous Media
Objectives Upon successful completion of this lesson, you will be able to:
I Create a flow analysis using the porous media option.
I Use the Component Control command.
I Evaluate velocity profiles.
My.SolidWorks.com 173
Lesson 7 SOLIDWORKS 2015
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 I Create the project.
Process Using the Wizard, the internal analysis can be created.
I Apply boundary conditions.
The conditions for the fluid flow into and out of the enclosure must
be defined.
I Define the porous media.
Define the properties of the porous media and disable the solid
body that is being defined as porous.
I Declare calculation goal.
The defined calculation goal will be used to evaluate the results.
I Run the analysis.
174 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
Porous Media
Note The velocity can also be defined as a function. To achieve this, click the
Dependency button under Flow Parameters. Be sure to set the
proper coordinate system to define a variable velocity definition with
respect to a given direction.
My.SolidWorks.com 175
Lesson 7 SOLIDWORKS 2015
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.
176 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
Porous Media
My.SolidWorks.com 177
Lesson 7 SOLIDWORKS 2015
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.
178 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
Porous Media
Beside the Total Pressure list item, select the Av check box.
Select the two faces that define the inlet and outlet. Also, select the face
on the dummy body as shown in the figure.
Check Create goal for each surface under Selection.
Rename the goals as shown in the figure above.
9 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.
10 Define Engineering Goal.
In the SOLIDWORKS Flow Simulation analysis tree, right-click the
Goals icon and select Insert Equation Goal.
Select the Inlet Total Pressure goal, click -, then select the Mid-
Total Pressure goal.
Click OK.
Rename this goal Pipe Drop.
11 Define Engineering Goal.
Repeat this process to define a goal for the pressure drop across the
catalytic converter.
Name this goal Converter Drop.
12 Run the project.
Make sure that the Load results check box is checked.
Click Run.
My.SolidWorks.com 179
Lesson 7 SOLIDWORKS 2015
Porous Media
13 Cut Plot.
In the SOLIDWORKS Flow Simulation FeatureManager, right-click
the Cut Plots icon under Results and select Insert.
In the Section plane or Planar face box, select Plane2.
Under Display, click the Contours button.
Select Velocity and increase Number of Levels to 100.
Click OK.
180 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
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.
15 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.
My.SolidWorks.com 181
Lesson 7 SOLIDWORKS 2015
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.
16 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.
182 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
Porous Media
My.SolidWorks.com 183
Lesson 7 SOLIDWORKS 2015
Porous Media
20 Cut Plot.
Show the Cut Plot 1 that was created in the previous project.
184 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 7
Porous Media
22 XY plot.
Edit the definition of the XY Plot 1 that was created in the previous
project.
Click Export to Excel.
My.SolidWorks.com 185
Lesson 7 SOLIDWORKS 2015
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.
186 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 8
Channel Flow
Exercise 8: 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:
I Porous Media on page 176.
I Porosity on page 176.
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
My.SolidWorks.com 187
Exercise 8 SOLIDWORKS 2015
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
188 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 8
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.
My.SolidWorks.com 189
Exercise 8 SOLIDWORKS 2015
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.
190 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 8
Channel Flow
My.SolidWorks.com 191
Exercise 8 SOLIDWORKS 2015
Channel Flow
Note Due to the user defined inlet velocity profile the velocity is highest near
the bottom of the channel.
192 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 8
Channel Flow
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.
13 Create XY-Plot near inlet and outlet.
In the SOLIDWORKS Flow Simulation analysis tree, right-click the
XY Plots icon and select Insert.
In the SolidWorks FeatureManager tree, select Sketch2 and Sketch3.
Under Parameter list, select the Velocity (X) check box.
Click Export to Excel.
My.SolidWorks.com 193
Exercise 8 SOLIDWORKS 2015
Channel Flow
194 My.SolidWorks.com
Lesson 8
Rotating Reference Frames
Objectives Upon successful completion of this lesson, you will be able to:
I Select a proper computational approach based on the problem
parameters.
I Set up problems using Rotating Reference Flow.
My.SolidWorks.com 195
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
196 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 197
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
198 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 199
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
200 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 201
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
202 My.SolidWorks.com
SOLIDWORKS 2015 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
flows 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 (36.65 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.
My.SolidWorks.com 203
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
204 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 205
Lesson 8 SOLIDWORKS 2015
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
206 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 207
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
9 Review goals.
Several goals are already defined in the project. Review all defined
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.
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.
208 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
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.
On the Saving tab, under Full Results, check Periodic and specify
Physical time [s]. Enter 0s for Start and 0.004s for Period.
My.SolidWorks.com 209
Lesson 8 SOLIDWORKS 2015
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
210 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 8
Rotating Reference Frames
My.SolidWorks.com 211
Lesson 8 SOLIDWORKS 2015
Rotating Reference Frames
212 My.SolidWorks.com
Lesson 9
Parametric Study
Objectives Upon successful completion of this lesson, you will be able to:
I Create an analysis using the Parametric (optimization) Study
feature.
I Create a quarter model using symmetry planes.
I Properly post-process parametric analysis results.
My.SolidWorks.com 213
Lesson 9 SOLIDWORKS 2015
Parametric Study
Inlet
214 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
Parametric Study
My.SolidWorks.com 215
Lesson 9 SOLIDWORKS 2015
Parametric Study
216 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
Parametric Study
My.SolidWorks.com 217
Lesson 9 SOLIDWORKS 2015
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).
218 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
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.
8 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.
My.SolidWorks.com 219
Lesson 9 SOLIDWORKS 2015
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.
Edit Variable
Add Dimension Parameter
220 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
Parametric Study
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 12.
Types Constant is also the default dependence type setting for the target value.
The dependence
button (see the
figure in step 12) 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).
Output Variable The Initial Values button on the output
Initial Values parameters tab enables you to save calculation
time by specifying the output variable values
(i.e. solutions of the flow simulations) at the
limits of the input variables specified in step
10. If these values are unknown leave these
fields empty. SOLIDWORKS Flow Simulation
will automatically run two extra calculations to obtain solutions at the
limits of the input variable.
My.SolidWorks.com 221
Lesson 9 SOLIDWORKS 2015
Parametric Study
13 Study Options.
Click the Scenario tab.
222 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
Parametric Study
15 Review Results.
The following message indicates the end of the optimization procedure:
Solution converged.
Dismiss this message and review the optimization results.
After all studies are calculated, the solutions (design points) are
presented on the Scenario tab, with the last design point SolidWorks
configuration activated and the corresponding results files loaded.
In this project, you can see that it took 3 iterations to obtain an
optimized solution.
16 Load results.
Right-click the converged design point
(here Design Point 3), and select Create
project.
My.SolidWorks.com 223
Lesson 9 SOLIDWORKS 2015
Parametric Study
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.
17 View Cut Plot.
Right-click Cut Plot in the Results section of the Flow Simulation
analysis tree and select Insert.
Click the Contours and Vectors buttons.
Select Plane 1 (not PLANE1) from the SolidWorks FeatureManager
tree as the reference.
Select Velocity and click OK to show the plot.
224 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
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.
19 Define Goal Plot.
In the Results section of the SOLIDWORKS Flow Simulation
analysis tree, right-click Goal Plots and select Insert.
Select the check box next to SG Force (X) 1.
Click Export to Excel.
A Microsoft Excel file opens and displays information about the goal.
Click the SG Force (X) 1 tab at the bottom to display a graph of how
the optimized solution was reached.
Part 2: Design In the second part of this lesson you will define “What If” type of the
Scenario parametric study. It allows you to analyze effects of various input
parameters on the selected result quantities.
The objective of this part of the study is to determine the effect of input
pressure and the valve position on the piston force.
20 New parametric study.
Right-click the Parametric Studies
folder (under Default configuration,
Piston study in the top project tree and
select New.
My.SolidWorks.com 225
Lesson 9 SOLIDWORKS 2015
Parametric Study
226 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 9
Parametric Study
The extreme values of the piston force within the limits of both input
variables are 0.83 N and 7.99 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.
My.SolidWorks.com 227
Lesson 9 SOLIDWORKS 2015
Parametric Study
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.
28 Close assembly.
Summary In this lesson you learned how to perform an optimization using the
parametric study feature. Parametric study can be defined in two
modes: Goal Optimization and What if.
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.
The input parameters may include input variables (general settings,
mesh settings or boundary conditions), model dimensions and the
design table values. Output variable can be any defined project goal.
Results are saved for all computed projects and can be activated and
postprocessed.
228 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 9
Variable Geometry Dependent Solution
I Parametric Analysis on
page 215.
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 0.001 kg^3/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
My.SolidWorks.com 229
Exercise 9 SOLIDWORKS 2015
Variable Geometry Dependent Solution
The force generated in the spring can be expressed using the following
nonlinear equation:
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 0.001 kg^3/s. The outlet features
Conditions environmental 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.
230 My.SolidWorks.com
Lesson 10
Cavitation
Objectives Upon successful completion of this lesson, you will be able to:
I Select the cavitation flow type.
I Display cavitation results.
My.SolidWorks.com 231
Lesson 10 SOLIDWORKS 2015
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.
232 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 10
Cavitation
2 Create a project.
Create a new study using the Wizard with the following settings:
My.SolidWorks.com 233
Lesson 10 SOLIDWORKS 2015
Cavitation
234 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 10
Cavitation
The blue regions in the Cut plot represent very low density regions,
which indicate that cavitation is occurring in these regions.
My.SolidWorks.com 235
Lesson 10 SOLIDWORKS 2015
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.
236 My.SolidWorks.com
Lesson 11
Relative Humidity
Objectives Upon successful completion of this lesson, you will be able to:
I Apply Relative Humidity as a boundary condition.
I Display Relative Humidity results.
My.SolidWorks.com 237
Lesson 11 SOLIDWORKS 2015
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.
238 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 11
Relative Humidity
2 Create a project.
Create a new study using the Wizard with the following settings:
My.SolidWorks.com 239
Lesson 11 SOLIDWORKS 2015
Relative Humidity
240 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 11
Relative Humidity
My.SolidWorks.com 241
Lesson 11 SOLIDWORKS 2015
Relative Humidity
242 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 11
Relative Humidity
My.SolidWorks.com 243
Lesson 11 SOLIDWORKS 2015
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.
244 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 11
Relative Humidity
The flow trajectories will show only in the reduced region around the
mannequins.
My.SolidWorks.com 245
Lesson 11 SOLIDWORKS 2015
Relative Humidity
246 My.SolidWorks.com
Lesson 12
Particle Trajectory
Objectives Upon successful completion of this lesson, you will be able to:
I Inject a physical particle into a flow stream.
I Use the Particle Study command.
I View particle trajectory results.
My.SolidWorks.com 247
Lesson 12 SOLIDWORKS 2015
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 Inlets
evaporation. The air is then drawn in Bulbs
at the slits on the sides of the wall
faces. Due to the placement of the
slits, a swirling motion ensues and
the hurricane forms. Inlets
We will use the particle trajectory Water Bed
capability of Flow Simulation to
show how the water droplets might evaporate out of the heated bed. We
will also investigate all of the options available to us when using
particle trajectories.
Particle In accordance with the particle motion model adopted in
Trajectories - SOLIDWORKS Flow Simulation, particle trajectories are calculated in
Overview the post-processor after completing a fluid flow calculation (for either
steady state or time-dependent analysis). The particle mass and volume
flow rates are assumed to be substantially lower than those of the fluid
stream, so particle motions and temperatures have a negligible
influence on the fluid flow parameters, and particle motion obeys the
following equation:
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.
248 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 12
Particle Trajectory
My.SolidWorks.com 249
Lesson 12 SOLIDWORKS 2015
Particle Trajectory
Size (meters)
X max: 1
X min: -1
Y max: 2
Y min: -0.25
Z max: 1
Z min: -1
5 Heat Source.
Repeat the previous step and apply 600 W to
the heater component.
6 Global Goal.
Insert a global goal to calculate the Max of Temperature (Fluid).
250 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 12
Particle Trajectory
7 Component Control.
Disable the four Part1 bodies that were
created in-context. These bodies are lids for
the inlets in the generator and we do not
want to include them in the analysis. We will
use them when reviewing the results.
My.SolidWorks.com 251
Lesson 12 SOLIDWORKS 2015
Particle Trajectory
10 Flow trajectory.
Show the lid Part1 from the FeatureManager
design tree.
Use the inside surface of the lid to create a Flow
Trajectory plot.
Under Appearance, keep Pipes and enter 0.01m
for the Width.
Select Velocity and increase the Number of
Levels to 100.
Under Constraints specify the generation of the
trajectories in the Forward direction only.
Click OK.
The flow enters the slits and then begins swirling, forming a hurricane-
like cloud.
Hide the Flow Trajectory1 plot.
252 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 12
Particle Trajectory
11 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.
My.SolidWorks.com 253
Lesson 12 SOLIDWORKS 2015
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.
12 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.
13 More settings.
Under Default Wall Condition, keep
Absorption and click Next.
254 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 12
Particle Trajectory
14 Particle Study.
Under the Particle Studies folder, Show Injection 1.
15 Animate.
Right-click the Injection 1 and select Animate to animate the particle
study.
My.SolidWorks.com 255
Exercise 10 SOLIDWORKS 2015
Uniform Flow Stream
Exercise 10: 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.
256 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 10
Uniform Flow Stream
My.SolidWorks.com 257
Exercise 10 SOLIDWORKS 2015
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.
6 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.
7 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.
8 Run the analysis.
Click Run.
9 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.
258 My.SolidWorks.com
SOLIDWORKS 2015 Exercise 10
Uniform Flow Stream
My.SolidWorks.com 259
Exercise 10 SOLIDWORKS 2015
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:
I 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.
I 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.
I 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).
260 My.SolidWorks.com
Lesson 13
Supersonic Flow
Objectives Upon successful completion of this lesson, you will be able to:
I Create an external supersonic flow analysis.
I Use the solution adaptive mesh feature for supersonic flows.
I Create contour plots of Mach number.
My.SolidWorks.com 261
Lesson 13 SOLIDWORKS 2015
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
262 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 13
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
My.SolidWorks.com 263
Lesson 13 SOLIDWORKS 2015
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.
4 Setting Calculation Control Options.
Right-click Input Data in the SOLIDWORKS Flow Simulation
analysis tree and select Calculation Control Options.
Select the Finish tab.
Under Finish Conditions, select the Refinements check box and set
the value to 1.
Click the Refinement tab.
Set Global Domain refinement to Level=1.
Select the Approximate Maximum Cells check box and set the value
to 350000.
Under Refinement Settings, set Refinement Strategy to Periodic
Refinement.
Keep the rest of the parameters at their default values.
Click OK.
5 Define Engineering Goal.
Right-click the SOLIDWORKS Flow Simulation analysis tree Goals
icon and select Insert Global Goal.
In the Parameter list, find Force (X) and select the Max check box.
Click OK.
264 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 13
Supersonic Flow
My.SolidWorks.com 265
Lesson 13 SOLIDWORKS 2015
Supersonic Flow
266 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 13
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
My.SolidWorks.com 267
Lesson 13 SOLIDWORKS 2015
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.
268 My.SolidWorks.com
Lesson 14
FEA Load Transfer
Objectives Upon successful completion of this lesson, you will be able to:
I Transfer flow results to SolidWorks Simulation for a finite element
analysis.
I Create a SolidWorks Simulation study using results from
SOLIDWORKS Flow Simulation as input boundary conditions.
I View results in SolidWorks Simulation.
My.SolidWorks.com 269
Lesson 14 SOLIDWORKS 2015
FEA Load Transfer
270 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 14
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
5 Run Project.
My.SolidWorks.com 271
Lesson 14 SOLIDWORKS 2015
FEA Load Transfer
272 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 14
FEA Load Transfer
Click the ... button next to the blank space, choose the SOLIDWORKS
Flow Simulation results file, and click Open.
Keep Use reference pressure (offset) in .fld file 101325 N/m^2
selected.
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.
My.SolidWorks.com 273
Lesson 14 SOLIDWORKS 2015
FEA Load Transfer
13 Create Mesh.
Right-click Mesh in the Simulation Study tree and select Create
Mesh.
Accept the default mesh settings and click OK.
14 Run the analysis.
Right-click Wind Effects in the Simulation Study tree and select Run.
15 View Stress plot.
To view the results, expand the Results folder and double-click
Stress1.
16 View animation.
Right-click the Stress1 plot and click Animate.
Click the play button to animate the model.
Click OK when finished.
274 My.SolidWorks.com
SOLIDWORKS 2015 Lesson 14
FEA Load Transfer
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.
My.SolidWorks.com 275
Lesson 14 SOLIDWORKS 2015
FEA Load Transfer
276 My.SolidWorks.com
Index
A G R
A vortex crosses the pressure opening Geometry Resolution 56 Real Gases 149
33 Global Goal 28 Reference Axis 21
Adiabatic Wall 22 Goal Plot 32 Relative Humidity 238
Advanced Narrow Channel Refinement goal plot 46 Resistance 176
79 Goals 28 Result Resolution 60
Aerodynamic Drag Coefficient 263 I Result Resolution and Geometry Reso-
Automatic initial mesh 56 Ideal Wall 258 lution 56
B inertial forces 121 Result Resolution definition 25
Basic mesh 56 Initial Mesh 56 Reynolds Number 121
Batch Run 168 Initial mesh 56 Reynolds number 134, 262
Boundary Conditions 26 Internal Flow Analysis 7 Rotating Reference Frame 196
Bow Shock 267 Internal Fluid Volume 13, 18, 218 Rotating Region 199
C Invalid Contact 13 Roughness 22
Calculation Control Options 127 Invalid contacts 13 Run 31
Cavitation 232 Irregular cells 62 S
centrifugal 196 L Shedding Vortex 120
Check Geometry 12, 16 Lid Thickness 9 Shock Waves 267
Clone Project 168 Lids 8 Solid cells 62
Component Control 68 Local Initial Mesh 63 Solution Adaptive Mesh Refinement
Computational Domain 125, 165 M 124
Computational domain definition 26 Mach number 262 Supersonic Flow 262
Computational mesh 55 Minimum gap size 56 Surface Goal 28
Coriolis 196 Minimum wall thickness 56 Surface Parameter 45
COSMOSMotion O Surface Plot 39
Add-Ins 7 oblique shock 267 T
Create Lids 8 Optimize Thin Wall Resolution 57 Thin Wall Optimization 84
Cut Plots 35 Orthotropic 113 Time Animation 131
D P Transferred Boundary Conditions 166
Drag Coefficient 263 Parametric Analysis 215 Transient Analysis 123
Drag Equation 128 Partial cells 62 Transparency 35
E Particle Drag Coefficient 248 Turbulence 121, 134
EFD Zooming 162 Particle Motion Equation 248 Turbulence Intensity 123
Engineering Database 101, 176 Perforated Plates 107 Two Dimensional Flow 124
Engineering goals definition 28 permeability 177 U
External Flow 121 Permeability Type 176 User-Defined Material 101, 135
External Flow Analysis 7 Point Goal 28 V
F Porosity 176 Variable Inlet Velocity 189
Fan Curves 105 Porous Media 176 viscous forces 121
Fans 105 Porous Media property input 177 Volume Goal 28
Flow Trajectories 41 Prandtl-Meyer expansion fan 267 von Karman vortex street 130
Flow Trajectory 259 W
Fluid cells 62 Wizard 18
Free area ratio 108 X
XY-Plot 42
My.SolidWorks.com 277
Index SOLIDWORKS 2015
278 My.SolidWorks.com