Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1 Setting Up Engineering Problem in Flow Simulation . . . . . . . . . . . . . . . 1-4
Selecting Geometrical and Physical Features of the Problem . . . . . . . . . . . . . . . . . 1-4
Creating the Model and the Flow Simulation Project . . . . . . . . . . . . . . . . . . . . . . . 1-4
2 Solving Engineering Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Strategy of Solving Engineering Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
Settings for Resolving the Geometrical Features of the Model and for Obtaining the Required
Solution Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Monitoring the Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Viewing and Analyzing the Obtained Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
Estimating the Reliability and Adequacy of the Obtained Solution . . . . . . . . . . . . . 1-10
3 Frequent Errors and Improper Actions . . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
The most common problem, which almost every engineer faces every day, is to design a
device or process with the desired parameters, having only limited resources both for the
design effort itself and for the resulting device or process operation. Various tools and
methods are used to solve this problem.
Flow Simulation can help the engineer to predict and optimize fluid flows and heat
transfer in a wide variety of applications, and makes solving the engineering problems
easier and faster.
In general, there are three approaches to solving engineering problems:
an experimental approach: a hardware rig or prototype, i.e., the full-scale object
and/or its model, is manufactured and the experiments needed for designing the
object are conducted with this hardware;
a computational approach: the computations needed for designing the object are
performed and their results are directly used for designing the object, without
conducting any experiments;
a computational-experimental approach combines computations and
experiments (with the manufactured full-scale object and/or its model) needed for
designing the object; their sequence and contents depend on the solved problem and
iterative procedures may be run.
Each of the first two approaches has advantages and disadvantages.
The purely experimental approach, being properly conducted, does not require additional
validation of the obtained results, but is very expensive, even if it is performed on the
object models, since testing facilities and hardware are required anyway. Moreover, if the
object models are tested, the obtained results must be scaled to the full-scale object, so
some computations are still involved.
The purely computational approach, being properly performed, is substantially less
expensive than the experimental one, both in terms of finances and time, but it requires
assurance in adequacy of the obtained computational results. Naturally, such assurance
must be based on numerous verifications and validations of the used computational codes,
both on the mathematical accuracy of the obtained results (the results adequacy to the used
mathematical model) and on the adequacy of the used mathematical model to the
governing physical processes, which is validated by comparing the computation results to
the available experimental data.
The third approach, if it combines experiments and computations reasonably, joins the
advantages of both of the first two above-mentioned approaches and avoids their
disadvantages. Complex engineering problems are solved mainly in this way. A
computational code validated on available experimental data allows quickly selecting the
optimal object design and/or its optimal operating mode. Then necessary experiments are
conducted to verify the selection.
2
Before getting acquainted with the recommended procedure of obtaining a reliable and
accurate solution of an engineering problem with Flow Simulation, it is expedient to
consider Flow Simulation features governing the below-described strategy of solving
engineering problems with Flow Simulation.
Since Flow Simulation is based on solving time-dependent Navier-Stokes equations,
steady-state problems are solved through a steady-state approach. To obtain the
steady-state solution quicker, a method of local time stepping is employed over the
computational domain considered. A multigrid method is used for accelerating the
solution convergence and suppressing parasitic oscillations. The computational domain is
designed as a parallelepiped enveloping the model with planes orthogonal to the axes of
the Cartesian Global coordinate system of the model. The computational mesh is built by
dividing the computational domain into parallelepiped cells with its sides orthogonal to
the Global coordinate system axes. (The cells lying outside the fluid-filled regions and
outside solids with heat conduction specified do not participate in the calculations).
Procedures of the computational mesh refinement (splitting) are used to resolve the model
features better, such as high-curvature surfaces in contact with fluid, thin walls surrounded
by fluid, narrow flow passages (gaps), and the specified insulator boundaries. During the
calculation the computational mesh can be refined additionally (if that is allowed by the
user-defined settings) to better resolve the high-gradient flow and solid regions revealed in
the calculation (Solution-Adaptive Meshing).
Since steady-state problems are solved in Flow Simulation through the steady-state
approach, it is necessary to determine the termination moment for the calculation properly.
If the calculation is finished too early, when the steady state solution has not been attained
yet, then the obtained solution can depend on the specified initial conditions and so be not
very reliable. On the contrary, if the calculation is finished too late, then some time is
wasted. To optimize the termination moment for the calculation and to determine physical
parameters of interest (such as a force acting on a model surface, or a model hydraulic
resistance) with a sufficient accuracy, you can specify them as the calculation goals.
The way to simulate an engineering problem with SOLIDWORKS+Flow Simulation
correctly and adequately from the physical standpoint, i.e. to state the corresponding
model problem, and to solve this model problem properly and reliably with Flow
Simulation, is described in the chapters Setting Up Engineering Problem in Flow
Simulation and Solving Engineering Problem.
It is necessary to remember that a fast but inaccurate beginning will cost you more efforts
and time spent not only for specifying the initial data, but, even worse, for the subsequent
calculations, until they finally become reliable. Therefore, we strongly recommend that
you carefully read this section.
4
to add auxiliary parts to the model such as inlet and outlet tubes for stabilization of
the flow, lids to cover the inlet and outlet openings, and parts to denote rotating
regions, local initial meshes or other areas where special conditions are applied.
All these actions, being executed properly, can be very pivotal in obtaining a reliable and
accurate solution. On the contrary, adding auxiliary parts to a model will inevitably cause
an increase of the computational mesh cells and, consequently, the required computer
memory and CPU time, therefore these parts dimensions must be adequate to the stated
problem.
If a model has not been created yet, it is expedient to consider all the above-mentioned
factors when creating it.
If all effects of these actions are not clear enough, it can be worthwhile to vary the model
parts and/or their dimensions in a series of calculations in order to determine their
influence on the obtained solution.
Then, in accordance with the problem physical features revealed and adapted to Flow
Simulation capabilities, the basic part of the Flow Simulation project is specified: the
problem type (internal or external), fluids and solids involved in the problem, physical
features considered (such as heat conduction in solids, time-dependent analysis,
gravitational effects, etc.), boundaries of the calculation domain, initial and boundary
conditions, and, if necessary, fluid subdomains, rotating regions, volume and/or surface
heat sources, fans and other features and conditions.
The specified boundary conditions, as well as heat sources, fans, and other conditions and
features must correspond to the statement of the physical problem and must not conflict
with each other.
Eventually, you specify the physical parameters of interest as the Flow Simulation project
goals. They can be local or integral, defined within the whole computational domain or in a
certain volume, on a surface or in a point. The parameters determined over some region are
expressed in the form of their minimum, or maximum, average, or bulk average values. This
allows you to increase the reliability and accuracy of determination of these parameters,
since the goal values are saved on each iteration during the calculation and can be analyzed
later. On the contrary, the convergence behavior of the parameters not specified as goals
cannot be analyzed afterwards, as they are saved only at the last iteration and, optionally, at
the user-specified iterations in transient simulations.
As soon as you have specified the basic part of the Flow Simulation project that is unlikely
to be changed in the subsequent calculations, the next step is to select the strategy of
solving the engineering problem with Flow Simulation to obtain a reliable and accurate
solution of the problem.
6
An additional item in this strategy of solving an engineering problem with Flow
Simulation consists in varying the auxiliary elements added to the model as needed to
solve the problem with Flow Simulation (such as inlet and outlet tubes attached to the inlet
and outlet openings, for internal problems), the dimensions of which are questionable
from the standpoint of their necessity and sufficiency. Those physical parameters of the
engineering problem, whose values are not known exactly and which, in your opinion, can
influence the problem solution, must be varied also. When performing these calculations,
there is no need to investigate the solution-vs.-mesh convergence again, since it has
already been achieved before. It is enough to just perform these calculations with the
project mesh settings that provided the solution with satisfactory accuracy during the
solution-vs.-mesh convergence investigation. The same applies also to the parametric
engineering calculations where you change the model geometry and/or flow parameters.
However, you must keep in mind the potential necessity for checking the
solution-vs.-mesh convergence, because in doubtful cases it must be checked again.
In spite of the apparent simplicity of the proposed strategy, its full implementation is
usually troublesome due to the substantial difficulties including, first of all, a dramatic
increase in the requirements for computer memory and CPU time when you substantially
increase the number of cells in the computational mesh. Since both the computer memory
and the time for which the engineering problem must be solved are usually restricted, the
specific implementation of this strategy eventually governs the accuracy of the problem
solution, whether it will be satisfactory or not. Perhaps, a further simplification of the
model and/or reducing the computational domain will be required.
Some specific description of this strategy is presented in the next sections of this
document.
Settings for Resolving the Geometrical Features of the Model and for
Obtaining the Required Solution Accuracy
The computational mesh variation described in the previous section is the key item of the
proposed strategy for solving engineering problems with Flow Simulation.
The level of initial mesh (result resolution level) governs the number of basic mesh cells,
the criteria for refinement (splitting) of the basic mesh to resolve the model geometry,
creating the initial mesh. The Level of initial mesh governs the initial mesh and is
accessible from the Global Mesh dialog. The Refinement level is accessible from the
Calculation Control Options dialog and controls the refinement of computational mesh
during the calculation. The geometry resolution options that also influence the initial mesh
can be changed under the Settings of the Global Mesh dialog (if the Automatic type is
selected) and under the Advanced Refinement of the Global Mesh dialog (if the Manual
type is selected) and the Settings Local Mesh dialogs. The effects of the geometry
resolution options can be altered on the other tabs of these dialogs.
8
if a steady-state problem is solved, and the physical parameters specified by you as
the project goals oscillate with iterations, then inspecting the behavior of these
parameters during the calculation will allow you to determine their values and
determination errors more accurately by averaging their values over the iterations
and determining their deviations from these average values;
if the physical parameters of interest do not change substantially during the
calculation, you can obtain their intermediate (preliminary) values beforehand and
use them for engineering analysis, while letting the calculation to continue until the
final values are reached;
if you solve a time-dependent problem, you can see the calculation results obtained
at the current physical time moment before the calculation is finished.
The first above-mentioned reason is particularly useful since it allows you to substantially
reduce the CPU time in some cases. For example, if you do not specify the high Mach
number gas flow in the project settings, whereas in fact the flow reaches high Mach
numbers, or if Flow Simulation warns you about a vortex at the model outlet, both
situations substantially reducing the calculation accuracy and making it necessary to
change some of the problem settings (specify high Mach number flow for the first case or
lengthen the model outlet tube for the second one). If you solve a steady-state problem at
the result resolution level of 7 or 8 and you see that the computational mesh refinements
performed during the calculation do not increase the number of cells in the mesh and,
therefore, do not noticeably improve the problem solution (the values of the project goals
do not change), you can finish the calculation relatively early (say, after 12 travels have
been performed).
10
3 Frequent Errors and Improper Actions
Let us consider the most common errors and improper actions that can occur when solving
engineering problems with Flow Simulation.
When Specifying Initial Data:
not considering physical features which are important for the engineering
problem under consideration: for instance, high Mach number gas flow (it must
be considered if M>3 for steady-state and M>1 for transient problems or if the
supersonic flow occurs in about a half of the computational domain or greater),
gravitational effects (must be considered if either the fluid velocity is small, the
fluid density is temperature-dependent, and a heat source is considered, or
several fluids having substantially different densities are considered in a
gravitational field), necessity of a time-dependent analysis (for instance, at the
moderate Reynolds numbers, when unsteady vortices are generated);
incorrectly specifying symmetry planes as the computational domain boundaries
(for instance, at the moderate Reynolds numbers, when unsteady vortices are
generated; you should keep in mind that the symmetry of model geometry and
initial and boundary conditions does not guarantee the symmetry of the flow
field);
if you specify symmetry planes and intend to specify a mass or volume flow rate
at a model inlet or outlet opening, please do not forget to adjust the flow rate
accordingly, instead of specifying the total flow rate: for instance, if the
symmetry plane crosses the inlet opening and splits it in two halves, specify a
half of the flow rate value;
if you specify integral boundary or volume conditions (heat transfer rates, heat
generation rate, etc.), please remember that their values specified in the Flow
Simulation dialog boxes correspond to the fraction of area or volume laying
inside the computational domain;
if you specify a flow swirl on a model inlet or outlet opening (in the Fans or
Boundary Conditions dialogs), please do not forget to properly specify their
swirl axes and the coordinate system;
if you specify a Unidirectional or Orthotropic porous medium, please do not
forget to specify their directions;
please make sure that the specified boundary conditions do not conflict with each
other. For example, if you deal with gas flows and the model inlet flow is
subsonic, whereas the flow inside the model becomes supersonic, it is incorrect
to specify flow velocity or volume flow rate as the boundary condition at the
model inlet, since they are fully determined by the geometry of the model flow
passage and the fluid specific heat ratio;
if you solve a time-dependent problem, and this problem has cyclic-in-time
boundary conditions, thus leading to a steady-state cyclic-in-time solution, to
obtain which you have to calculate the flow several times in cycle, every time
12