Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2
AcuSolve Tutorials
Special Notice: Pre-release versions of Altair software are provided ‘as is’, without warranty of any
kind. Usage of pre-release versions is strictly limited to non-production purposes.
HyperWorks® products:
Altair intellectual property rights are protected under U.S. and international laws and treaties.
Additionally, Altair software is protected under patent #6,859,792 and other patents pending. All other
marks are the property of their respective owners.
ALTAIR ENGINEERING INC. Proprietary and Confidential. Contains Trade Secret Information.
Not for use or disclosure outside of Altair and its licensed clients. Information contained in Altair
software shall not be decompiled, disassembled, “unlocked”, reverse translated, reverse engineered, or
publicly displayed or publicly performed in any manner. Usage of the software is only as explicitly
permitted in the end user software license agreement. Copyright notice does not imply publication.
AcuConsole contains material licensed from Intelligent Light (www.ilight.com) and used by permission.
Altair Engineering Inc. and its subsidiaries and affiliates reserve the right to embed software security
mechanisms in the Software for the purpose of detecting the installation and/or use of illegal copies of
the Software. The Software may collect and transmit non-proprietary data about those illegal copies.
Data collected will not include any customer data created by or used in connection with the Software
and will not be provided to any third party, except as may be required by law or legal process or to
enforce our rights with respect to the use of any illegal copies of the Software. By using the Software,
each user consents to such detection and collection of data, as well as its transmission and use if an
illegal copy of the Software is detected. No steps may be taken to avoid or detect the purpose of any
such security mechanisms.
Contents
2 Turbulence.................................................................................................................... 10
1
Technical Support
Altair provides comprehensive software support via web FAQs, tutorials, training classes, telephone,
and e-mail.
The Altair web site is a valuable online companion to Altair software. Visit www.altairhyperworks.com
for tips and tricks, training course schedules, training/tutorial videos, and other useful information.
Altair training courses provide a hands-on introduction to our products, focusing on overall
functionality. Courses are conducted at our main and regional offices or at your facility. If you are
interested in training at your facility, please contact your account manager for more details. If you do
not know who your account manager is, please send an e-mail to training@altair.com and your account
manager will contact you.
When contacting Altair support, please specify the product and version number you are using along
with a detailed description of the problem. Many times, it is very beneficial for the support engineer to
know what type of workstation, operating system, RAM, and graphics board you have, so please have
that information ready. If you send an e-mail, please specify the workstation type, operating system,
RAM, and graphics board information in the e-mail.
To contact an Altair support representative, reference the following table or the information available
on the HyperWorks website:
http://www.altairhyperworks.com/ClientCenterHWSupportProduct.aspx
For questions or comments about this help system, send an email to hwsupport@altair.com.
In addition, the following countries have resellers for Altair Engineering: Colombia, Czech Republic,
Ecuador, Israel, Russia, Netherlands, Turkey, Poland, Singapore, Vietnam, Indonesia
Official offices with resellers: Canada, China, France, Germany, India, Malaysia, Italy, Japan, Korea,
Spain, Taiwan, United Kingdom, USA
See www.altair.com for complete contact information.
3 Heat Transfer............................................................................................................. 195
2
4 Multiphase................................................................................................................... 458
3
5.4 ACU-5200: Rigid-Body Dynamics of a Check Valve.......................................................645
5.4.1 Analyzing the Problem................................................................................... 646
5.4.2 Defining the Simulation Parameters................................................................. 654
5.4.3 Importing the Geometry and Defining the Model............................................... 660
5.4.4 Creating Surface Groups and Applying Surface Attributes................................... 669
5.4.5 Assigning Mesh Controls.................................................................................679
5.4.6 Computing the Solution and Reviewing the Results............................................ 688
5.5 ACU-5201: Coupled Simulation of a Check Valve using AcuSolve and MotionSolve.............701
5.5.1 Analyzing the Problem................................................................................... 702
5.5.2 Defining the Simulation Parameters................................................................. 709
5.5.3 Importing the Geometry and Defining the Model............................................... 716
5.5.4 Creating Surface Groups and Applying Surface Attributes................................... 721
5.5.5 Assigning Mesh Controls.................................................................................730
5.5.6 Computing the Solution and Reviewing the Results............................................ 739
5.5.7 Summary..................................................................................................... 756
5.6 ACU-5300: Ship Hull Static....................................................................................... 757
5.6.1 Analyzing the Problem................................................................................... 759
5.6.2 Defining the Simulation Parameters................................................................. 763
5.6.3 Importing the Geometry and Defining the Model............................................... 769
5.6.4 Creating Surface Groups and Applying Surface Parameters................................. 775
5.6.5 Assigning Mesh Controls.................................................................................787
5.6.6 Computing the Solution and Reviewing the Results............................................ 794
5.6.7 Summary..................................................................................................... 799
5.7 ACU-5301: Ship Hull Dynamics..................................................................................800
5.7.1 Analyzing the Problem................................................................................... 801
5.7.2 Defining the Simulation Parameters................................................................. 808
5.7.3 Computing the Solution and Reviewing the Results............................................ 819
5.7.4 Summary..................................................................................................... 825
5.8 ACU-5400: Piezoelectric Flow Energy Harvester: A Fluid-Structure
Interaction (P-FSI)......................................................................................................... 826
5.8.1 Analyzing the Problem................................................................................... 828
5.8.2 Introduction to Theory................................................................................... 831
5.8.3 Defining the Simulation Parameters................................................................. 833
5.8.4 Importing the Geometry and Defining the Model............................................... 836
5.8.5 Assigning Mesh Controls.................................................................................848
5.8.6 Computing the Solution and Reviewing the Results............................................ 867
5.8.7 Post-Processing with AcuFieldView................................................................... 870
5.8.8 Summary..................................................................................................... 880
5.9 ACU-5401: Piezoelectric Flow Energy Harvester - PFSI & IMM........................................881
5.9.1 Analyzing the Problem................................................................................... 883
4
5.9.2 Defining the Simulation Parameters................................................................. 888
5.9.3 Importing the Geometry and Defining the Model............................................... 893
5.9.4 Assigning Mesh Controls.................................................................................904
5.9.5 Computing the Solution and Reviewing the Results............................................ 922
5.9.6 Summary..................................................................................................... 935
5.10 ACU-5402: Piezoelectric Flow Energy Harvester with Rigid Body Rotation....................... 936
5.10.1 Analyzing the Problem................................................................................. 937
5.10.2 Defining the Simulation Parameters............................................................... 940
5.10.3 Computing the Solution and Reviewing the Results.......................................... 951
5.10.4 Post-Processing with AcuFieldView................................................................. 954
5.10.5 Summary....................................................................................................963
6 AcuTrace...................................................................................................................... 964
5
Introduction to AcuSolve Tutorials 1
1 Introduction to AcuSolve Tutorials
This guide contains a collection of simulation cases with explicit instructions for setting up, solving
and post-processing. A range of tutorials are included to illustrate the basic AcuSolve workflow and to
provide guidance for setting up a variety of problems.
1.1.1 Objectives
1.1.2 Prerequisites
No experience with AcuSolve is needed prior to running through the tutorials included in this guide.
It is expected that you have some exposure to basic principles of engineering and computer assisted
engineering. It is strongly recommended that you complete ACU-2000: Turbulent Flow in a Mixing Bowl
prior to running any of the other tutorials. This tutorial walks you through the basic simulation workflow
and the use of AcuConsole, the graphical user interface for AcuSolve. The subsequent tutorials are
written to be used as stand-alone guides so that you can work through them in any order.
The basic workflow for setting up, solving and post-processing a problem with AcuSolve consists of the
following tasks:
1. Analyze the problem and identify the important attributes that need to be provided to AcuSolve.
2. Start AcuConsole and create the simulation database.
3. Set general simulation attributes.
4. Set solution strategy attributes.
5. Set material model attributes.
6. Import the geometry for the simulation.
7. Apply attributes to volumes.
8. Create surfaces, such as inlet, outlet and wall, and apply boundary conditions.
9. Set global meshing attributes.
10. Set user-defined zones for mesh refinements to areas not linked to a particular surface.
11. Set surface meshing attributes.
While all steps needed to complete these tutorials are explicitly mentioned, default values, initial
conditions, and discussions of other turbulence models are intentionally left out of the tutorials.
For tutorials that illustrate more complicated problems, such as those involving transient physics or
mesh motion, details of additional tasks are provided in the tutorial.
The AcuSolve tutorials are prepared using AcuConsole, AcuSolve, AcuProbe and AcuFieldView on a
workstation running a Windows operating system. While the steps for starting AcuConsole on Windows
differ from those steps on Linux or OS X (Mac), other steps can be completed on all supported operating
systems.
Supporting files are provided for use in completing the tutorials. These files are located in a
compressed .zip archive located in the <AcuSolve installation directory>\model_files
\tutorials directory. Copy Acu_tutorial_inputs.zip to a directory and expand it to a location of
your choice. You will need to know this location in order to load files for any given tutorial.
Different type styles are used to indicate workspace items and inputs, for example:
A mini flow chart is used to indicate menu selections that lead to a specific command or dialog box, for
example,
Open View > Defined Views and set the view to +Z.
This indicates that the View menu is clicked, then the Defined Views menu item is selected, and that
the button labeled +Z is clicked on the dialog box that is opened.
A mini flow chart is also used to indicate items in the Data Tree to be expanded, for example,
Expand the Model > Surfaces > Small Inlet tree item.
This indicates that first the Model tree item is expanded, then the Surfaces item underneath it is
expanded, and finally, the Small Inlet item under Surfaces is expanded.
This tutorial provides the instructions for setting up, solving, and viewing results of a simulation of 3D
turbulent flow in a mixing elbow. It is designed to introduce you to the AcuSolve tool set with a simple
problem.
In order to run this tutorial, you will need access to a licensed version of AcuSolve 2017.2. As this is
the first tutorial in the introductory tutorial sequence, no prior experience with AcuConsole, AcuSolve, or
AcuFieldView is expected.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 1. This is a typical
industrial example for mixing in a pipe by injecting high-velocity fluid from a small inlet into relatively
low-velocity fluid in the main pipe. It consists of a 90° mixing elbow with water entering through two
inlets with different velocities. The geometry is symmetric about the XY midplane of the pipe, as shown
in the figure. This symmetry allows the flow to be modeled with the use of a symmetry plane. The use
of a symmetry plane leads to reduced computation time while still providing an accurate solution.
Details of the problem characteristics are shown in the following images extracted from a sample
worksheet that was created prior to setting up the case for AcuSolve.
The diameter of the large inlet is 0.1 m, and the inlet velocity (v) is 0.4 m/s. The diameter of the small
inlet is 0.025 m, and the inlet velocity is 1.2 m/s.
Figure 2:
The fluid in this problem is water, with the following properties that do not change with temperature; a
3 -3
density (ρ) of 1000 kg/m , a molecular viscosity (μ) of 1 X 10 kg/m-sec, a conductivity (k) of 0.598
W/m-K, and a specific heat (cp) of 4183 J/kg-K, as shown in the worksheet.
Figure 3:
Based on mass conservation, the combined flow rate (Q) yields a velocity of 0.475 m/s downstream of
the small inlet. This value is useful in determining the Reynolds number, which in turn can be used to
determine if the flow should be modeled as turbulent, or if it should be modeled as laminar.
Figure 4:
In order to determine whether the modeled flow would be turbulent or whether it would be laminar, the
Reynolds number (Re) should be calculated. The Reynolds number is given by:
where ρ is the fluid density, v is the fluid velocity, D is the diameter of the flow region, and μ is the
molecular viscosity of the fluid. When the Reynolds number is above 4,000, it is generally accepted that
flow should be modeled as turbulent.
The Reynolds numbers of 40,000 at the large inlet, 30,000 at the small inlet, and 47,500 for the
combined flow indicate that the flow is turbulent throughout the flow domain.
Figure 5:
Figure 6:
In addition to setting appropriate conditions to capture the physics of the simulation, it is important
to generate a mesh that is sufficiently refined to provide good results. In this tutorial the global mesh
size is set to provide at least 30 mesh elements around the circumference of the large inlet. For this
problem, the global mesh size is 0.0106 m. This mesh size was chosen to provide a quick turnaround
time for the model. For real-world simulations, you would modify your mesh settings after an initial
solution until a mesh-independent solution is reached (that is, a solution that does not change with
further mesh refinement).
Figure 7:
AcuSolve allows for mesh refinements in a user-defined region that is independent of geometric
components of the problem such as volumes, model surfaces, or edges. It is useful to refine the mesh
in areas where gradients in pressure, velocity, eddy viscosity, and the like are steep.
Figure 8:
Once a solution is calculated, results of interest are the steady state velocity contours on the symmetry
plane, velocity vectors on the symmetry plane, and pressure contours on the symmetry plane.
Starting AcuConsole
AcuConsole is the workspace that is used for building simulations and running them with AcuSolve.
Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
Start AcuConsole on Linux by entering AcuConsole in a terminal window that has the AcuSolve
environment configured. Please refer to the Hyperworks Installation Guide for instructions on
configuring AcuSolve on Linux.
• Menu bar
• Toolbar
• Data Tree
• Data Tree Manager
• View Manager toolbar
• Modeling window
• Detail panels
• Information window
When AcuConsole is first opened, the Data Tree, detail panel, modeling window and Information window
are empty. The following figure from a partially defined case is used to illustrate the parts of the
workspace.
View
Data Tree Manager
Manager Toolbar
Data Tree
Graphics
Window
Detail
Panel
Information
Window
Figure 9:
The items in the Data Tree are separated into two main areas, Global and Model. The Global tree item
contains geometry independent settings that apply to the AcuSolve simulation, such as the physics to
be modeled, the solution strategy, material properties and geometry independent mesh controls. The
Model branch in the Data Tree contains settings that apply to specific portions of the geometry of the
model, such as boundary conditions, material used for a volume region and meshing attributes that
apply to a specific component of the model geometry.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group attributes, adding geometry components to groups
and assigning mesh controls and boundary conditions to the groups. Next you will generate a mesh
and run AcuSolve to converge on a steady state solution. Finally, you will visualize the results using
AcuFieldView.
In the next steps you will create a database for the storage of AcuConsole settings and set the location
for saving mesh and solution information for AcuSolve.
1. Click the File menu, then click New to open the New data base dialog.
Tip: You can also open the New data base dialog by clicking on the toolbar.
2. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
3. Create a new folder named Mixing_Elbow and open this folder.
4. Enter Mixing_Elbow as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In the next steps you will set parameters that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
The physical models that you define for this tutorial correspond to steady state, turbulent flow. You will
also provide some general information about the AcuSolve case, such as a title and subtitle.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 10:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 11:
Tip: You can also open a panel by right clicking a tree item and clicking Open on
the context menu.
Figure 12:
Note: The detail panel can be resized by dragging the right frame of the panel.
In the next steps you will set parameters that control the behavior of AcuSolve as it progresses during
the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Enter 0.4 for the Relaxation factor.
The relaxation factor is used to improve convergence of the solution. Typically a value between
0.2 and 0.4 provides a good balance between achieving a smooth progression of the solution and
the extra compute time needed to reach convergence. Higher relaxation factors cause AcuSolve
to take more time steps to reach a steady state solution. A high relaxation factor is sometimes
necessary in order to achieve convergence for very complex applications.
Figure 13:
Figure 14:
Figure 15:
2. Double-click Water in the Data Tree to open the Water detail panel.
The Material type for water is Fluid.
3
3. Click the Density tab. Verify that the density of water is 1000.0 kg/m .
4. Click the Specific Heat tab. Verify that the specific heat of water is 4183.0 J/kg-K.
5. Click the Viscosity tab. Verify that the viscosity of water is 0.001 kg/m-sec.
6. Click the Conductivity tab. Verify that the conductivity of water is 0.598 W/m-K.
Figure 16:
7. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
You will import the geometry in the next part of this tutorial. You will need to know the location of
mixingElbow.x_t in order to complete these steps. This file contains the solid model of the mixing
elbow in the Parasolid ASCII format.
At this point, your modeling window should look similar to what is shown in Figure 17.
The color of objects shown in the modeling window in this tutorial and those displayed on your
screen may differ. The default color scheme in AcuConsole is "random," in which colors are
randomly assigned to groups as they are created. In addition, this tutorial was developed on
Windows. If you are running this tutorial on a different operating system, you may notice a slight
difference between the images displayed on your screen and the images shown in the tutorial.
In the next steps you will do some basic manipulations of the mixing elbow view to help you become
familiar with the mouse actions in the modeling window. The mouse buttons that are used for rotating,
panning, and zooming are shown in the following table:
rotate left
zoom right
Note: You will only see half of the pipe when you manipulate the view. As this
geometry is symmetric around the midplane only half of the geometry needs to
be modeled, which reduces computation time.
Figure 18:
b) Drag the cursor to the right to move the model to the right.
c) Drag the cursor to the left to move the model to the left.
d) Restore the initial view by clicking on the View Manager toolbar.
3. Zoom in on and out from the view.
a) Right-click in the modeling window.
b) Drag the cursor up to zoom out from the view.
c) Drag the cursor down to zoom in on the view
d) Restore the initial view by clicking on the View Manager toolbar.
Note: You can also fit the model to the window by clicking on the View
Manager toolbar.
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group, toggle the display, and assign the material
for the volume as water.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 19:
Note: By default, when an item in the Data Tree is specified, the corresponding
geometric elements are highlighted in the modeling window.
Figure 20:
For the next set of steps it is useful to turn off the display of Elbow Volume by clicking so that it
is in the off ( ) state.
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs, and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem, and add surfaces to the groups.
In the next steps you will define a surface group for the large inlet, set the inlet velocity, and add the
main inlet from the geometry to the surface group.
Figure 21:
Figure 22:
Figure 23:
e) Click Done to add this geometry surface to the Large Inlet surface group.
Note: You can also use the middle mouse button to complete the addition of
geometry components to a group.
In the next steps you will define a surface group for the small inlet, assign the appropriate attributes,
and add the small inlet from the geometry to the surface group.
Figure 24:
Figure 25:
a) In the Data Tree, right-click Small Inlet and click Add to.
b) Rotate the model to expose the small inlet by Ctrl+left-clicking near the bottom of the
geometry and moving the cursor toward the top of the window.
Note: If you need to zoom in or out, Ctrl+right-click and drag the cursor down
or up. You can also restore the initial view by clicking .
Figure 26:
In the next steps you will define a surface group for the pipe walls, assign the appropriate attributes,
and add the elbow pipe walls from the geometry to the surface group.
Figure 27:
Figure 28:
In the next steps you will define a surface group for the side pipe wall, assign the appropriate
attributes, and add the side pipe wall from the geometry to the surface group.
Figure 29:
In the next steps you will define a surface group for the outlet, assign the appropriate attributes and
add the outlet from the geometry to the surface group.
b) Rotate the model to expose the outlet by Ctrl+left-clicking near the top of the geometry and
moving the cursor toward the bottom of the window.
c) Click on the outlet face.
Figure 30:
This geometry is symmetric about the XY midplane, and can therefore be modeled with half of the
geometry. In order to take advantage of this, the midplane needs to be identified as a symmetry plane.
The symmetry boundary condition enforces constraints such that the flow field from one side of the
plane is a mirror image of that on the other side.
In the next steps you will rename the default surface and apply appropriate settings.
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group. In the previous steps, you selected geometry surfaces to be placed in the groups that
you created. At this point, all that is left in the default surface group is the symmetry plane. Rather than
create a new container, add the symmetry surface in the geometry to it, and then delete the default
surface container, you will rename the existing container.
Figure 31:
Now that the simulation has been defined, parameters need to be added to define the mesh sizes that
will be created by the mesher.
AcuConsole supports three levels of meshing control, global, zone and geometric.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups, or edge groups.
In the next steps you will set global meshing parameters. In subsequent steps you will create zone and
surface meshing parameters.
Figure 32:
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Expand the Global Data Tree item.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.0106 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 30 mesh elements around the
circumference of the main pipe.
6. Turn off the Curvature refinement parameters option.
Figure 33:
In addition to setting meshing characteristics for the whole problem, you can assign meshing
parameters to a zone within the problem where you want to be able to resolve flow with a mesh that
is more refined than the global mesh. A zone mesh refinement can be created using basic shapes to
control the mesh size within that shape. These types of mesh refinement are used when refinement is
needed in an area that does not correspond to a geometric item.
In the next steps you will define mesh controls for a region around the small pipe and extending into
the main pipe by using a zone mesh control. The region of interest for this refinement is a cylinder that
encloses the small pipe and extends into the main pipe.
Figure 34:
Figure 35:
Note: When setting mesh size for refinement zones, the best practice is to choose a
1 1 1
value that is the global mesh size divided by a power of two, that is, /2, /4, /8, and
the like.
Figure 36:
Figure 37:
In the following steps you will set meshing parameters that will allow for localized control of the mesh
size on surface groups that you created earlier in this tutorial. Specifically, you will set local meshing
parameters that control the growth of boundary layer elements normal to the surfaces of the main pipe
and of the side pipe.
In the next steps you will set parameters that control the mesh size normal to the large pipe wall
(boundary layer mesh controls).
1. Expand the Model > Surfaces > Large Pipe tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing parameters when creating the
mesh on the surface of the pipe walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Set the Resolve option to Total Layer Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
effective resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options. In this tutorial you will specify the height of the first layer, a stretch
ratio for successive layers (growth rate), and the total number of layers to generate. AcuConsole
will resolve the total layer height from the attributes that you provide. That is, total layer height
will be computed based on the height of the first element, the growth rate, and the number of
layers that you provide in the next few steps.
6. Keep the default value, 0.001 m, for First element height.
7. Enter 1.3 for the Growth rate.
8. Enter 4 for the Number of layers.
Figure 38:
In the following steps you will set meshing parameters that will allow for localized control of the mesh
size near the walls of the small pipe.
Note: You will set the same attributes as for the large pipe.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
4. Turn on the Boundary layer flag option.
5. Set the Resolve option to Total Layer Height.
6. Enter 1.3 for the Growth rate.
7. Enter 4 for the Number of layers.
Figure 39:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 40:
Figure 41: Mesh Details Around the Pipe Intersection Viewed on the Symmetry Plane
Note that the mesh size in the main pipe decreases from left to right in the transition from a
region where global settings determine the size to the zone around the small pipe where the
settings are for a finer mesh.
5. Save the database to create a backup of your settings.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 42:
Based on these settings, AcuConsole will generate the AcuSolve input files, then launch the solver.
AcuSolve will run on a single processor to calculate the steady state solution for this problem.
2. Click Ok to start the solution process.
During meshing an AcuTail window will open. Meshing progress is reported in this window. A
summary of the meshing process indicates that the mesh has been generated.
The information provided in the summary is based on the number of processors used by AcuSolve.
If you used a different number of processors than indicated in this tutorial, the summary for your
run may be slightly different than the summary shown.
Figure 43:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the next steps you will start AcuFieldView, manipulate the view of the model, display velocity
contours and vectors on the symmetry plane, and display pressure contours on the symmetry plane.
Starting AcuFieldView
When you start AcuFieldView from AcuConsole, the results from the last time step of the solution
that were written to disk will be loaded for post-processing.
Viewer
Toolbar
Graphics
Side
window
Toolbar
When AcuFieldView is started directly from AcuConsole, the model will be displayed in an isometric view
with a Boundary Surface dialog open. The initial view is shown in perspective, with an outline around
the model. You will manipulate the view in the next steps, and in later steps will view different flow
characteristics using the Boundary Surface dialog.
Figure 45:
Figure 46:
Figure 47:
2.
Turn off the display of the outline around the model by clicking on the toolbar.
3. Change the view from perspective to orthographic.
a) Click on the View menu.
b) Click Perspective to disable this option.
Figure 48:
Figure 49:
rotate middle
zoom right
In the next steps you will create a boundary surface to display contours of velocity magnitude on the
symmetry plane.
1.
Click the icon to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Note: You may need to scroll down in the list to find velocity_magnitude.
c) Click Calculate.
4. Set the symmetry plane as the location for display of the contours.
a) Click OSF: Symmetry in the list of BOUNDARY TYPES.
b) Click OK.
Figure 50:
The contours reflect the velocity profiles at the inlets, and show that at the elbow there is a
momentum transfer between the high-velocity side inlet flow and the flow in the main pipe,
represented by the change in the velocity magnitude.
5. Add a legend to the view.
a) In the Boundary Surface dialog, click the Legend tab .
b) Enable the Show Legend option.
c) Enable the Frame option.
d) In the Color group, next to Geometric, click the white color swatch, and then select the
black color swatch to set the color for the legend values to black.
e) Click the white color swatch next to the Title field and set the color for the title to black.
f) Move the legend by Shift+left-clicking and dragging the legend to the left.
Figure 51:
In the next steps you will create a new boundary surface and display velocity vectors on that surface.
The Skip option determines the percentage of vectors to skip from being displayed. The
setting of 37.5% will result in 62.5% of the vectors being displayed.
f) Close the dialog.
4. Set the symmetry plane as the location for display of the vectors.
a) Click OSF: Symmetry in the BOUNDARY TYPES list.
b) Click OK.
Figure 52:
5. Zoom in on the junction of the small inlet with the main pipe to view details of velocity vectors.
a)
Click on the toolbar.
b) Draw a box around the junction of the two pipes.
Figure 53:
Note: The Show Legend option for the velocity contour (Surface ID 1) is disabled in
order to capture this image.
The velocity vectors indicate the direction of flow. Notice that the velocity vector length
corresponds with the velocity contours. The vectors in the high-velocity region (red) are longest,
and those in the low-velocity region (blue) are shortest.
In the next steps you will create a boundary surface and display contours of pressure on the symmetry
plane.
Note: Click on the Transform Controls toolbar to resize and center the view.
Figure 54:
7. Change the color mapping to better resolve differences in the pressure contours.
When the scalar function for pressure is calculated by AcuFieldView, minimum and maximum
values are calculated for use in a colormap for the contour display. You can edit the coloring to
better resolve differences in the pressure distribution.
a) Set the Surface ID in the Boundary Surface dialog to 3.
Note: You could also make this the current surface by double-clicking the
surface in the modeling window.
Figure 55:
Notice that the Min: value for the Function Range changes when the Local option is toggled.
Notice also that the contours, especially near junction of the small pipe and the inside of the
bend in the main pipe, change as the option is toggled.
8. Add a legend to the view.
a) Click the Legend tab in the Boundary Surface dialog.
b) If needed, change the Surface ID to 3.
c) Enable the Show Legend option.
d) Enable the Frame option.
e) Move the legend by Shift+left-clicking and dragging the legend to the left.
Figure 56:
2.1.6 Summary
In this tutorial you worked through a basic workflow to set up a simulation of flow through a mixing
elbow. Once the case was set up, you generated a mesh and computed a solution using AcuSolve.
Results were post-processed in AcuFieldView to allow you to create contour and vector views along the
symmetry plane of the model. In other tutorials, this basic workflow will be reinforced while additional
modeling capabilities are introduced.
This tutorial provides the instructions for setting up and using the SST and K-Omega turbulence
models in AcuSolve. The application that is investigated is the flow over a NACA0012 airfoil at an
angle of attack of 5 degrees. AcuSolve is used to extract the lift and drag forces on the airfoil. This
tutorial is designed to introduce you to a number of modeling concepts necessary to perform external
aerodynamic simulations using the SST and K-Omega turbulence models.
The basic steps in any CFD simulation were shown in the tutorial, Flow in a Mixing Elbow. The following
additional capabilities of AcuSolve are introduced in this tutorial:
• Use of the SST and/or K-Omega turbulence models
• Use of the farfield boundary condition type
• Use of the Variable Manager to store variables and expressions
• Entry of expressions into the panel area.
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy NACA0012.x_t from <AcuSolve installation directory>
\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in the figure below. It consists of
a cylindrical bounding region containing air that flows past a NACA0012 airfoil profile. The simulation
is performed as 2D by including only a single layer of extruded elements in the airfoil span direction.
The velocity vector at the far field boundary of the domain is specified to yield an angle of attack of
5 degrees and a Reynolds Number of 1.0e6. The airfoil chord is 1 meter, and standard air material
properties are used for the simulation.
Figure 57:
The diameter of the cylindrical bounding volume for the airfoil is set to 500 times the airfoil chord. This
large bounding volume is selected to ensure that the farfield boundaries are sufficiently far from the
airfoil to prevent any influence of blockage of the domain on the solution.
The initial simulation of this airfoil will be considered fully turbulent and use the SST turbulence model.
These simulation conditions correspond to a scenario where the boundary layer on the leading edge of
the airfoil is tripped with some type of roughness elements to produce a fully turbulent boundary layer
over the length of the airfoil.
Starting AcuConsole
In this tutorial, you will begin by creating a database and loading some predefined variables, populating
the geometry-independent settings, loading the geometry, creating groups, setting group attributes,
adding geometry components to groups and assigning mesh controls and boundary conditions to the
groups. Next you will generate a mesh and run AcuSolve to converge on a steady state solution. Finally,
you will review the results using AcuFieldView and AcuProbe.
In the next steps you will start AcuConsole, create the database for storage of AcuConsole settings and
set the location for saving mesh and solution information for AcuSolve.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named TurbulentAirfoil_SST and open this folder.
5. Enter Turbulent_Airfoil_SST as the File name for the database.
Note: In order for other application to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In this step, you will use the Variable Manager in AcuConsole to create a list of expressions that will be
used during the model setup process.
The Variable Manager is a useful utility that allows you to define variables and expressions that can later
be referenced as inputs to the various settings used throughout the process of building your model.
When a model is constructed in terms of variables, it is very easy to update the entire model with a
simple change of a single parameter from the Variable Manager. This process will be illustrated in this
tutorial.
The AcuConsole expression syntax has two different types of entry methods. The first entry method is
known as immediate evaluation, and uses the = sign to perform assignments of values to a variable.
For example, consider an inlet boundary to a model with an area of 2 m and an average velocity of
2 m/s. If you want to create a variable called volumeFlowRate, you can enter the expression into the
Variable Manager as follows:
Name Expression
volumeFlowRate =2*2
When using the = syntax, the expression is immediately evaluated when you click out of the text entry
area and the equation used to compute that expression is not stored in the database. However, if
you wish to store the expression as a relationship, you can use the relational expression definition by
replacing the = with :=. In that case, AcuConsole stores the expression and evaluates it when needed.
This means that you can define expressions that are functions of other expressions and changes to one
will be propagated to all other dependent expressions. For example, if you want to redefine the inlet
flow rate using a relational expression, you can do that as follows:
Name Expression
inletArea 2.0
averageVelocity 2.0
volumeFlowRate :=inletArea*averageVelocity
Using this syntax, the formula for volumeFlowRate is stored in the database and will automatically
update whenever the inletArea or averageVelocity are updated. Any variables that are defined in the
Variable Manager can be referenced when specifying an integer or floating point value in the panels
area. The same expression syntax can be used.
Figure 58:
Table 1:
Once the expressions are entered, the Variable Manager should appear similar to what is shown
below:
Figure 59:
7. At this point all variables and expressions are defined and you can close the Variable Manager by
selecting Close.
In the next steps you will set parameters that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
The general attributes that you will set for this tutorial are for turbulent flow, and steady state time
analysis.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 60:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 61:
Figure 62:
Figure 63:
8. Select the SST turbulence model. Note that the SST and K-Omega models both require the same
set of inputs. So, the steps in this tutorial also apply to the K-omega model. If you wish to use the
K-Omega model instead of SST, you can select it from this menu.
Figure 64:
In the next steps you will set the parameters that control the behavior of AcuSolve as it progresses
during the transient solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Enter 0.4 for Relaxation factor.
This value is used to improve convergence of the solution. Typically a value between 0.2 and 0.4
provides a good balance between achieving a smooth progression of the solution and the extra
compute time needed to reach convergence. Higher relaxation factors cause AcuSolve to take
more time steps to reach a steady state solution. A high relaxation factor is sometimes necessary
in order to achieve convergence for very complex applications.
Figure 65:
In the next steps you will modify the pre-defined material properties of air using an expression that was
created in the Variable Manager.
Figure 66:
2. Double-click Air in the Data Tree to open the Air detail panel.
3. Click the Density tab and in the Density value field, enter :=rho.
This sets the value of density to be equal to the value entered in the Variable Manager.
4. Click the Viscosity tab and enter :=mu in the Viscosity field.
This sets the value of viscosity to be equal to the value entered in the Variable Manager.
In the next steps you will define the nodal initial conditions.
Figure 67:
1. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
You will import the geometry in the next part of this tutorial. You will need to know the location of
NACA0012.x_t in order to complete these steps. This file contains the solid model of airfoil in the
Parasolid ASCII format.
Volume groups are containers used for storing information about volumes. This information includes the
list of geometric volumes associated with the container, as well as parameters such as material models
and mesh sizing information.
When the geometry was imported into AcuConsole, all volumes were placed into the default volume
container.
In the next steps you will rename the default group to Fluid, set the material for that group and add the
volume from the geometry to that volume group.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
c) Enter Fluid.
5. Expand Fluid in the Data Tree.
6. Double-click Element Set to open the Element Set detail panel.
7. Ensure that the Material model is set to Air.
Figure 68:
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as parameters such as boundary
conditions, surface outputs and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate parameters for each group in
the problem and add surfaces to the groups.
In the next steps you will define a surface group for the farfield boundary, set the inlet velocity and add
the corresponding surface from the geometry to this group.
Figure 69:
7. Double-click Simple Boundary Condition under Far Field to open the Simple Boundary
Condition detail panel.
8. Change the Type to Far Field.
When using the Far field boundary condition, you need to enter the vector direction of the flow
velocity. Based on this direction, AcuSolve determines whether each element face should be
acting as an inlet or an outlet. Using this direction vector, in conjunction with the outward facing
normal at each element, it applies the appropriate boundary conditions to the faces of the
model. For faces where the flow is entering the model, a nodal boundary condition for velocity
and turbulence variables is assigned. For faces where the flow is exiting the model, an element
boundary condition for pressure is assigned, that is, an outflow condition.
To facilitate ease in changing the angle of attack for this simulation, you will set the inlet velocity
vector at the far field boundary using the variables that were previously defined. Set the values
using the following inputs.
9. For X Velocity, enter :=xVelocity.
10. For Y Velocity, enter :=yVelocity.
When using the SST or k-omega turbulence models, you need to provide values for the Kinetic
energy and Eddy frequency at far field boundaries. AcuConsole supports various different ways
of doing this. You can specify the values directly using turbulence input type = Direct, or you can
have AcuConsole compute the values based on an estimation of the Turbulence Intensity and
Length Scale or based on an estimation of the Turbulence Intensity and Viscosity Ratio. For this
case, we will use the Turbulence Intensity and Viscosity Ratio.
11. Set Turbulence input type to Intensity Viscosity Ratio.
12. Set Turbulence intensity type to Value.
13. Set Percent turbulence intensity to :=turbIntensity*100
14. Set Turbulence viscosity ratio to :=viscosityRatio.
Figure 70:
In the next steps you will define surface groups for slip and wall boundaries.
Figure 71:
Figure 72:
Figure 73:
Now that the simulation has been defined, parameters need to be added to define the mesh sizes that
will be created by the mesher.
AcuConsole supports three levels of meshing control, global, zone and geometric.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups or edge groups.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Set Absolute mesh size to :=globalMeshSize.
6. Set the Curvature refinement parameters to Off.
7. Set the Mesh growth rate to 1.2.
When this option is set, the mesher will ensure that the mesh grows smoothly when transitioning
between different size. Note that the growth rate of 1.2 does not directly corresponds to a change
in length scale of adjacent elements of 1.2, but rather a gradual expansion. The mesh growth rate
can be adjusted between a value of 1 and 2. Values closer to 1.0 indicate a smoother transition,
whereas a value closer to 2.0 indicates a faster transition. A value of 1.0 disables this setting
and reverts to the default meshing behavior. It should be noted that this option can significantly
increase the time necessary to produce the mesh as well as the total number of nodes/elements
created by the mesher.
8. Set Maximum sweep angle to :=sweepAngle.
This setting instructs the mesher to use the sweepAngle parameter to define the maximum angle
between radial element lines when creating radial edge blends during the boundary layer meshing
process.
Figure 74:
Due to the large range of mesh sizes that will be created on the surface of the airfoil, you will need to
instruct the boundary layer mesher how to resolve poor quality elements that result from the requested
boundary layer controls. For example, you request the boundary layers to grow to a constant height
across the airfoil surface, but the local surface element size varies drastically. So, in some areas this will
lead to boundary layer elements that are much taller than they are wide. The mesher views this as a
poor quality element and needs to resolve this in some manner. There are two mechanisms by which to
resolve this:
• Locally reduce the number of layers in the boundary layer stack to maintain high quality boundary
layer elements.
• Locally reduce the height of the boundary layer stack, but keep the total number of layers
constant. Using this approach, the height of each layer is scaled by a constant factor to reduce the
total height of the stack and avoid the creation of the poor quality boundary layer elements.
For this simulation, the mesher will locally reduce the height of the boundary layer stack.
Figure 75:
The surface mesh size on the airfoil is controlled through a combination of the mesh size set on the
perimeter edges of the airfoil and the mesh size applied directly to the surface. In this tutorial you
will also use the region of influence option of the surface mesh to create a refined mesh at a specified
distance from the airfoil surface.
Figure 76:
To create an optimum mesh on the surface of the airfoil, it is necessary to have high levels of
refinement near the leading and trailing edges and a large element size near the mid chord. Since the
surface mesh size was set to constant to serve as the size that is propagated into the volume for the
region of influence refinement, you will use an edge mesh parameter to control the placement of nodes
along the airfoil surface. To accomplish this, you will first need to create an edge group that contains
the perimeter edges of the airfoil.
Figure 77:
c) Select Done.
4. Activate Edge Mesh Attributes and then double-click on it.
5. Set the Mesh size type to Absolute Expression.
Figure 78:
6. Click on the Absolute mesh size expression button to open a text editor where you can write
an expression for the mesh size.
This expression will be evaluated by the mesher to determine the local mesh size that should be
used at each location on edges in the edge set.
sizeMin = 0.0025
sizeMax = 0.1
xMin =(0.0)
xMax =(1.0)
xCenter =((xMin+xMax)/2.0)
dx = ((xMax-xMin)/2.0)
power = (ln(sizeMax/sizeMin))
expVal = sizeMin*exp(power*fac)
linVal = sizeMin+(sizeMax-sizeMin)*fac
value = expVal
This expression takes the min and max surface mesh size (sizeMin and sizeMax) along with the
location of the leading and trailing edge (xMin and xMax) and computes a logarithmic expansion
of the surface mesh size as a function of distance from the leading and trailing edges. The mesh
size at the leading and trailing edge corresponds to sizeMin and the size at the mid chord location
corresponds to sizeMax.
Figure 79:
8. Click Ok to close this text editor area and accept the expression.
The final step in the setup of the meshing for the airfoil is the creation of a mesh extrusion attribute.
This extrusion will be defined such that a single element is created across the span of the airfoil.
Figure 80:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 81:
In the next steps, you will launch AcuSolve to compute the solution for this case.
Figure 82:
Figure 83:
While AcuSolve is running, you can monitor the kinetic energy using AcuProbe.
1.
Click on the toolbar to open the AcuProbe dialog.
2. Clear the plot by right-clicking Residual Ratio and selecting Plot None.
3. Expand Residual Ratio and All.
Figure 84:
Figure 85:
Starting AcuFieldView
In the next steps you will create a boundary surface to display contours of a new variable, called
the square root of the eddy period. When solving for the SST and k-omega turbulence models,
AcuSolve introduces three new variables to the output; kinetic_energy (k), eddy_frequency (ω) and
sqrt_eddy_per ( ). The sqrt_eddy_per variable is useful for visualizing the turbulent time scale
since the eddy_frequency variable has such a large range of values, it is often times easier to visualize
sqrt_eddy_per.
These steps are provided with the assumption that you are able to manipulate the view in AcuFieldView.
If you are unfamiliar with basic AcuFieldView operations, refer to Manipulate the Model View in
AcuFieldView.
1.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Note: You may have to scroll down to find sqrt_eddy_period. This is a new variable
and it represents one over the square root of omega. It has been added as it is a
more well bounded variable to plot, as compared to the eddy frequency.
Figure 86:
4. Zoom into the airfoil to view the sqrt_eddy_period around the airfoil.
Figure 87:
Because this database was set up using variables and expressions, it is easy to re-run the simulation
again using a different angle of attack. To accomplish this, open the Variable Manager, and set “alpha”
to 0.0. Because the xVelocity and yVelocity variables that were defined for the initial and boundary
conditions are a function of this parameter, the database will automatically be updated to reflect the
new settings. You can simply write the input again and run the solver to obtain the zero angle of attack
solution.
This tutorial provides the instructions for setting up, solving and viewing results for a steady simulation
of transition flow over a S809 airfoil using the SA transition models. AcuSolve is used to compute the
intermittency and predict the point where the boundary layer transitions from the laminar mode to
turbulence mode. This tutorial is designed to introduce you to the modeling concepts necessary to
perform simulations using the transition models coupled with the SA Turbulence model.
The basic steps in a CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow and
the steps to set up external turbulent flow were shown in ACU-2100: Turbulent Flow Over an Airfoil
Using the SST Turbulence Model. The following additional capabilities of AcuSolve are introduced in this
tutorial:
• Use of the Gamma transition model
• Use of the Gamma-ReTheta transition model
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract s809_blunt.x_t from Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem and determine the
important parameters that need to be provided to AcuSolve. Parameters can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The diameter of the cylindrical bounding volume for the airfoil is set to 500 times the airfoil chord. This
large bounding volume is selected to ensure that the farfield boundaries are sufficiently far from the
airfoil to prevent any influence of blockage of the domain on the solution.
The simulation will be carried out by activating the turbulence transition models. The underlying
turbulence model used will be the one-equation Spalart-Allmaras model. The problem will be solved
with the transition models available in AcuSolve – the one-equation Gamma and the two-equation
Gamma-ReTheta transition models. As the name suggests, the transition models predict the point
where the boundary layer transitions from the laminar mode to turbulence mode. When in the
turbulence regime, the underlying turbulence model, SA in this case, will be used to determine the flow
characteristics.
A transition from laminar flow to turbulent flow occurs due to various external factors such as
freestream turbulence level (vertical disturbances), sound waves (acoustic disturbances), temperature
fluctuations (entropy disturbances), streamwise pressure gradients, surface roughness, surface
curvature, and vibration. Depending on the external factor or factors, the development of various
transition (instability) mechanisms cause the flow to trip from laminar to turbulent. Here are three main
mechanisms responsible for transition:
1. Natural Transition: In the laminar flow regime, viscous forces usually damp out the disturbances.
However, when the free stream turbulence is low (below 1 percent) and the Reynolds number
is higher than the critical Reynolds number, viscous forces destabilize the shear layer, causing
the fluid to transition to a turbulent regime via the development of the three initial disturbances
(waves, vorticity and vortex breakdown). This mechanism is called the Natural Transition. It is
usually very subtle and progresses very slowly, over a long distance scale.
2. Bypass Transition: When the initial disturbances are high (due to surface roughness or freestream
turbulence levels higher than 1%), turbulence are generated without development of the three
initial disturbances (T-S waves, spanwise vorticity, and vortex breakdown) observed in the natural
transition.
3. Separated-Inducted Transition: When a laminar flow experiences adverse pressure gradients
(such as airfoil suction surfaces and flow over a sphere), the fluid flow detaches from the wall
surface. If the disturbances are low, separation can cause the generation of structures found in
natural transition. Larger disturbances generate Kelvin-Helmholtz instabilities, where vortices roll
up before breaking down into turbulence. The process involved in separation-induced transition
depends on the size of the adverse pressure gradient and the presence of additional disturbances
(for example, obstacles).
Since transition affects the flow development, lift, drag, heat transfer, and others, it is important to
predict the transition phenomena properly. It is known that conventional turbulence models over-predict
the wall-shear stress for transitional flows. Thus, transition models can be used to improve the accuracy
of CFD solutions when flows encounter transition in the boundary layer.
The purpose of this tutorial is to provide the instructions for setting up the steady transition simulation
of the S809 airfoil using the SST transition models. To keep the total computing time within 5 minutes,
some of the meshing guidelines described above have not been followed. However, you must follow
these guidelines when solving a problem if a high accuracy in results is desired.
This tutorial consists of two parts. In the first part, you will setup and solve the problem, using the
Gamma transition model. After successfully having run the problem with the Gamma model, you will
modify the database setup to use the Gamma-ReTheta transition model, and generate the solution
again.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group attributes, adding geometry
components to groups and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
review some characteristics using AcuFieldView.
In the next steps you will start AcuConsole, create the database for storage of the simulation settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named SA_Transition_Models and open this folder.
5. Enter sa_transition as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In this step, you will use the Variable Manager in AcuConsole to create a list of expressions that will be
used during the model setup process.
Figure 89:
Table 2:
Once the expressions are entered, the Variable Manager should appear similar to what is shown
below:
Figure 90:
7. At this point all variables and expressions are defined and you can close the Variable Manager by
selecting Close.
In the next steps you will set attributes that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 91:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 92:
Figure 93:
Figure 94:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Set the Max time steps to 100.
4. Set the Convergence tolerance to 0.0001.
5. Enter 0.5 for Relaxation factor.
6. Ensure that both the Turbulence and Turbulence transition flags are set to On.
Figure 95:
AcuConsole has three pre-defined standard materials, Air, Aluminium, and Water, with standard
parameters defined. In the next steps you will check and if needed modify the material characteristics
of the predefined "Air" model to match the desired properties for this problem.
Figure 96:
2. Double-click Air in the Data Tree to open the Air detail panel.
The Material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. In the Density tab check the following.
The remaining thermal and other material properties are not critical to this simulation. However, you
may browse through the tabs to check the complete material specification.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
1. Under Global in the Data Tree, double-click Nodal Initial Condition to open the dialog in the
detail panel.
2. Set the X velocity to :=xVel.
3. Set the Y velocity to :=yVel.
This will set the X and Y velocities equal to the values specified in the Variable Manager.
For the Spalart-Allmaras turbulence model, you need to provide the initial value for Eddy viscosity.
For the Gamma transition model, you need to provide the initial value for Intermittency, or . If you
have a reasonable estimate of these values, you can enter them directly in the nodal initial condition
fields. One option is to use the same values that are assigned at the inlet boundary. In the absence
of good estimates for the initial conditions, it is also possible to let AcuSolve perform an automatic
initialization of the turbulence and transition variables. By setting these values to zero, AcuSolve will
trigger an automatic initialization of these variables.
4. Set the Eddy viscosity and Intermittency to 0.0 to trigger the automatic initialization.
Figure 97:
You will import the geometry in the next part of this tutorial. You will need to know the location of
s809_blunt.x_t in order to complete these steps. This file contains the solid model of airfoil in the
Parasolid ASCII format.
For this tutorial, the default values for the Import Geometry dialog are used to load the geometry.
If you have previously used AcuConsole, be sure that any settings that you might have altered are
manually changed to match the default values shown in the figure. With the default settings, volumes
from the CAD model are added to a default volume group. Surfaces from the CAD model are added to
a default surface group. You will work with groups later in this tutorial to create new groups, set flow
parameters, add geometric components, and set meshing parameters.
5. Click OK to complete the geometry import.
Figure 98:
Figure 99:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When a new geometry is imported, by default AcuConsole will place all volumes from a geometry in a
single volume container named "default". You should be able to see it in the data tree upon successful
import of your model in the last step, under Model > Volumes > default.
Since the model for this tutorial has only a single volume, it will be the only volume in the default
volume group when the geometry is imported. Even when there is a single volume in the model, it is
advisable to rename the volume for ease of identification in future. In the next steps you will rename
the default volume group container, and set the material and other properties for it.
1. Minimize Global in the Data Tree Manager and expand the Model tree item by clicking .
2. Right-click on Surfaces and select Display off to turn off the display of surfaces
3. Expand the Volumes tree item.
4. Toggle the display of the default volume container by clicking and next to the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press the Enter key on your keyboard. If you move the input focus away
from the item without entering it, your changes will be lost.
d) Click on the drop-down selector next to Material model and select Air.
Figure 100:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem and add surfaces to the groups.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, etc. which can sometimes be cumbersome (especially for
models with too many surfaces). To make it easier, less error prone, and for saving time two new
dialogs are provided in AcuConsole which you can use to verify and provide the information for all
surface or volume entities at once. They are the Volume Manager and Surface Manager. In this section
some features of Surface Manager are exploited.
1. Right-click on Volumes and select Display off to turn off the display of Volumes.
2. Right-click Surfaces and select Surface Manager.
3. In the Surface Manager dialog, click New 3 times to create 3 new surface groups.
4. Turn display off for all surfaces except for default surface.
5. Rename Surface Names (column 1) for Surface 1 to Surface 3, and set the Simple BC Active and
Simple BC Type columns as per the table shown below.
Figure 101:
Figure 102:
7. Assign the outer peripheral surface of the domain to the farfield surface group. Use the following
figure as the reference for selecting the required surfaces.
Figure 103:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to wall. In the previous steps,
you assigned some surfaces to various other surface groups that you created. At this point, all
that is left in the airfoil surface group are the surfaces which make up the airfoil.
8. Close the Surface Manager dialog.
a) In the Data Tree, under Surfaces, expand the farfield surface group.
b) Double-click Simple Boundary Condition to open the detail panel.
c) Ensure the Type is set to Far Field.
When using the Far field boundary condition, you need to enter the vector direction of the
flow velocity. Based on this direction, AcuSolve determines whether each element face should
be acting as an inlet or an outlet. Using this direction vector, in conjunction with the outward
facing normal at each element, it applies the appropriate boundary conditions to the faces
of the model. For faces where the flow is entering the model, a nodal boundary condition for
velocity and turbulence variables is assigned. For faces where the flow is exiting the model,
an element boundary condition for pressure is assigned (that is, an outflow condition).
To facilitate ease in changing the angle of attack for this simulation, you will set the inlet
velocity vector at the far field boundary using the variables that were previously defined. Set
the values using the following inputs.
d) For X Velocity, enter :=xVel.
e) For Y Velocity, enter :=yVel.
f) Check that the Turbulence input type is set to Auto.
With the Auto setting, AcuSolve will automatically compute the values for the turbulence
variables to be applied at the inflow nodes of the boundaries.
g) Set the Turbulence intensity type to Auto from the drop down selector menu.
Figure 104:
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
a) Click the drop-down control next to Mesh size type.
b) Click Absolute.
5. Set Absolute mesh size to 200.0 m.
6. Set the Mesh growth rate to 1.4.
7. Set Maximum sweep angle to 5.0 degrees.
Figure 105:
For this simulation, the mesher will locally reduce the height of the boundary layer stack but will
keep the total number of layers constant. Using this approach, the height of each layer is scaled by
a constant factor to reduce the total height of the stack and avoid the creation of the poor quality
boundary layer elements.
Figure 106:
Surface mesh attributes are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh attributes such as surface mesh attributes are not mandatory to be set. When a local mesh
attribute is not found for a component, the global attributes will be used as the mesh generation control
for that component. If a local mesh attribute is present, it will take precedence over the global setting.
In the next steps you will set the surface meshing attributes for the airfoil surface group.
Figure 107:
To create an optimum mesh on the surface of the airfoil, it is necessary to have high levels of
refinement near the leading and trailing edges and a large element size near the mid chord. Since our
surface mesh size was set to constant to serve as the size that is propagated into the volume for the
region of influence refinement, you will use an edge mesh attribute to control the placement of nodes
along the airfoil surface. To accomplish this, you will first need to create an edge group that contains
the perimeter edges of the airfoil.
Figure 108:
sizeMin = 0.002
sizeMax = 0.05
xMin = (0.0)
xMax = (1.0)
xCenter = ((xMin+xMax)/2.0)
dx = ((xMax-xMin)/2.0)
expVal = sizeMin*exp(power*fac)
linVal = sizeMin+(sizeMax-sizeMin)*fac
value = expVal
This expression takes the min and max surface mesh size (sizeMin and sizeMax) along with the
location of the leading and trailing edge (xMin and xMax) and computes a logarithmic expansion
of the surface mesh size as a function of distance from the leading and trailing edges. The mesh
size at the leading and trailing edge corresponds to sizeMin and the size at the mid chord location
corresponds to sizeMax.
8. Select Ok to close this text editor area and accept the expression.
The present simulation is equivalent to a representation of a 2D cross section of the model. In AcuSolve
2D models are simulated by having just one element across the faces of the cross section. Thus when
these faces are set up with a similar boundary condition, it coerces the corresponding nodes across the
faces to have same results. In this problem, these faces are the negative and positive z-surfaces. This
kind of mesh is achieved in AcuSolve with mesh extrusion process. In the following steps you will define
the process of extrusion of the mesh between these surfaces.
Figure 109:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 110:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. You can visualize the mesh in the visualization area now. Turn on the display of surfaces, and set
the display type to solid and wire.
5. You can rotate and zoom in the model to analyse the various mesh regions.
Figure 111:
No TOC
Running AcuSolve
In the next steps, you will launch AcuSolve to compute the solution for this case.
Figure 112:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Double-click Residual Ratio to expand the tree.
3. Right-click Final and click Plot All.
This will plot the residuals for all the variables, pressure, velocity, eddy viscosity, and
intermittency, in the plot area.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 113:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 114:
The traction values on the airfoil surface have nearly converged. When using correlation-based
transition models, it is always a good practice to examine not only the residuals but also the
actual solution quantities of interest for convergence before accepting the solution. In some other
cases, it is also possible that the flow field has converged even while the residuals show minor
oscillations. The user thus should observe both in tandem before taking an informed decision
about the validity of the solution.
7. You can also save the plots as an image.
a) From the AcuProbe dialog, click File > Save.
b) Enter a name for the image and click Save.
The tutorial has been written with the assumption that you have become familiar with the AcuFieldView
interface and basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel menu to
create and modify surfaces in AcuFieldView
• How to move the data around the graphics window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Figure 115:
Setting Up AcuFieldView
Figure 116:
Figure 117:
1. From the Surface tab in the Boundary Surface dialog, turn off the Visibility for the active
boundary surfaces.
2.
Click the icon to open the Coordinate Surface dialog.
3. Click Create to create a new coordinate surface.
4. Select Z as the Coordinate Plane.
This will create a coordinate surface at the mid – Z coordinate plane. The coordinate surface
created is the mid plane between the two side surfaces in the model.
5. Change the Coloring to Scalar.
6. Change the Display Type to Smooth.
7. For Scalar Function, select eddy_viscosity.
Figure 118:
You can clearly see the turbulent flow developing at about halfway through the chord of the airfoil.
Before the onset of turbulence, the boundary layer on the airfoil surface is laminar.
9. For Scalar Function, select Intermittency.
Figure 119:
A closer look at the contour plot of intermittency will show that the value of intermittency
transitions to one at the point where the flow transitions from laminar to turbulent. In the region
where the flow is laminar, from the leading edge of the airfoil to the halfway, the intermittency is
zero.
At this stage you have successfully setup and ran the S809 airfoil problem with the Gamma transition
model and Spalart-Allmaras turbulence model. In this part of the tutorial you will modify your open
database to setup the problem so as to use the Gamma-ReTheta transition model.
1. Close the open AcuFieldView window and return to the open AcuConsole window.
2. Save the database to retain the setup for the Gamma transition model.
3. Create a new directory within your existing working directory, or at any other location of your
choice, and name it SA_Gamma_Re_Theta.
4. Click File > Save As
5. Navigate into the SA_Gamma_Re_Theta directory. Enter sa_transition_gammaretheta as the File
name for the database, or choose any name of your preference.
6. Save the database to create a backup of your settings.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Problem Description to open the Problem Description detail panel.
4. Enter SA Transition Gamma Re-Theta as the new Sub title for this case.
5. Change the Turbulence transition model from Gamma to Gamma-Re Theta.
Figure 120:
The Gamma-Re Theta transition model is a two equation model and introduces a new variable,
transition Re-theta, or . Like other variables, an initial value for this variable also needs to be
provided. As before, you will set it to zero to trigger the automatic initialization of by AcuSolve.
1. Double-click Nodal Initial Condition in the data tree to open the detail panel.
2. Set the Transition re theta to 0.0 to trigger the automatic initialization.
Figure 121:
The remaining settings in the setup need not be modified. You can now launch AcuSolve to get the
solution of the S809 airfoil problem with the Gamma-Re-theta transition case. Follow the same
steps as in the previous case to post-process the results.
Figure 122:
2.3.7 Summary
In this AcuSolve tutorial you successfully set up and solved a turbulence transition problem. The
underlying turbulence model employed was the Spalart-Allmaras model. The problem simulated a
S809 wind turbine airfoil in an external flow field. You started the tutorial by creating a database
in AcuConsole, importing and meshing the geometry, and setting up the simulation parameters.
The database was initially set up with the one-equation Gamma transition model. Once the case
was setup, the solution was generated with AcuSolve. Results were post-processed in AcuProbe and
AcuFieldView. In AcuFieldView you observed the inter-relation between onset of turbulence viscosity
and intermittency. After successfully getting a solution for the Gamma transition model, you modified
the database to use the two-equation Gamma-Re-Theta as the transition model.
This tutorial provides the instructions for setting up, solving and viewing results for a steady simulation
of transition flow over a S809 airfoil using the SST (Shear Stress Transport k-ω) turbulence model with
transition models (Gamma or Gamma-ReTheta). AcuSolve is used to compute the intermittency and
predict the point where the boundary layer transitions from the laminar mode to turbulence mode. This
tutorial is designed to introduce you to the modeling concepts necessary to perform simulations using
the transition models coupled with the SST Turbulence model.
The basic steps in a CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow and the
steps to set up external turbulent flow were shown in ACU-2200: Transition Flow over an Airfoil Using
the SA Transition Models. The following additional capabilities of AcuSolve are introduced in this tutorial:
• Use of the SST turbulence model with the Gamma transition model
• Use of the SST turbulence model with Gamma-ReTheta transition model
Prerequisites
You should have already run through the tutorials, ACU-2000: Turbulent Flow in a Mixing Elbow and
ACU-2200: Transition Flow over an Airfoil Using the SA Transition Models. It is assumed that you have
some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You will also need access to a licensed
version of AcuSolve 2017.2.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract s809_blunt.x_t from Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem and determine the
important parameters that need to be provided to AcuSolve. Parameters can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 125. It consists of a
cylindrical bounding region containing air that flows past a S809 airfoil profile. The simulation is
performed as the two-dimensional problem by including only a single layer of extruded elements in the
airfoil span direction. The velocity vector at the far field boundary of the domain is specified to yield
an angle of attack of one degree and a Reynolds Number of ~250000. The airfoil chord is 1 m, and
standard air material properties are used for the simulation.
The diameter of the cylindrical bounding volume for the airfoil is set to 500 times the airfoil chord. This
large bounding volume is selected to ensure that the farfield boundaries are sufficiently far from the
airfoil to prevent any influence of blockage of the domain on the solution.
The simulation will be carried out by activating the turbulence transition models. The underlying
turbulence model used will be the two-equation SST turbulence model. The problem will be solved with
the transition models available in AcuSolve – the one-equation Gamma and the two-equation Gamma-
ReTheta transition models. As the name suggests, the transition models predict the point where the
boundary layer transitions from the laminar mode to turbulence mode. When in the turbulence regime,
the SST turbulence model will be used to determine the flow characteristics.
A transition from laminar flow to turbulent flow occurs due to various external factors such as
freestream turbulence level (vertical disturbances), sound waves (acoustic disturbances), temperature
fluctuations (entropy disturbances), streamwise pressure gradients, surface roughness, surface
curvature, and vibration. Depending on the external factor or factors, the development of various
transition (instability) mechanisms cause the flow to trip from laminar to turbulent. Here are three main
mechanisms responsible for transition:
1. Natural Transition: In the laminar flow regime, viscous forces usually damp out the disturbances.
However, when the free stream turbulence is low (below 1 percent) and the Reynolds number
is higher than the critical Reynolds number, viscous forces destabilize the shear layer, causing
the fluid to transition to a turbulent regime via the development of the three initial disturbances
(waves, vorticity and vortex breakdown). This mechanism is called the Natural Transition. It is
usually very subtle and progresses very slowly, over a long distance scale.
2. Bypass Transition: When the initial disturbances are high (due to surface roughness or freestream
turbulence levels higher than 1%), turbulence are generated without development of the three
initial disturbances (T-S waves, spanwise vorticity, and vortex breakdown) observed in the natural
transition.
3. Separated-Inducted Transition: When a laminar flow experiences adverse pressure gradients
(such as airfoil suction surfaces and flow over a sphere), the fluid flow detaches from the wall
surface. If the disturbances are low, separation can cause the generation of structures found in
natural transition. Larger disturbances generate Kelvin-Helmholtz instabilities, where vortices roll
up before breaking down into turbulence. The process involved in separation-induced transition
depends on the size of the adverse pressure gradient and the presence of additional disturbances
(for example, obstacles).
Since transition affects the flow development, lift, drag, heat transfer, and others, it is important to
predict the transition phenomena properly. It is known that conventional turbulence models over-predict
the wall-shear stress for transitional flows. Thus, transition models can be used to improve the accuracy
of CFD solutions when flows encounter transition in the boundary layer.
The purpose of this tutorial is to provide the instructions for setting up the steady transition simulation
of the S809 airfoil using the SST transition models. To keep the total computing time within 5 minutes,
some of the meshing guidelines described above have not been followed. However, you must follow
these guidelines when solving a problem if a high accuracy in results is desired.
This tutorial consists of two parts. In the first part, you will setup and solve the problem, using the
Gamma transition model. After successfully having run the problem with the Gamma model, you will
modify the database setup to use the Gamma-ReTheta transition model, and generate the solution
again.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group attributes, adding geometry
components to groups and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
review some characteristics using AcuFieldView.
In the next steps you will start AcuConsole, create the database for storage of the simulation settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named SST_Transition_Models and open this folder.
5. Enter sst_transition as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In this step, you will use the Variable Manager in AcuConsole to create a list of expressions that will be
used during the model setup process.
Figure 126:
Table 3:
Once the expressions are entered, the Variable Manager should appear similar to what is shown
below:
Figure 127:
7. At this point all variables and expressions are defined and you can close the Variable Manager by
selecting Close.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the data tree and
makes navigation of the entries easier.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 128:
Figure 129:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Set the Max time steps to 100.
4. Set the Convergence tolerance to 0.0001.
5. Enter 0.5 for Relaxation factor.
6. Ensure that both the Turbulence and Turbulence transition flags are set to On.
Figure 130:
AcuConsole has three pre-defined standard materials, Air, Aluminium, and Water, with standard
parameters defined. In the next steps you will check and if needed modify the material characteristics
of the predefined "Air" model to match the desired properties for this problem.
Figure 131:
2. Double-click Air in the Data Tree to open the Air detail panel.
The Material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. In the Density tab check the following.
a) The Type is set to Constant
3
b) The Density value is set to 1.225 kg/m
4. Click the Viscosity tab.
-5
The viscosity of air is 1.781 x 10 kg/m - sec
The remaining thermal and other material properties are not critical to this simulation. However, you
may browse through the tabs to check the complete material specification.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
1. Under Global in the Data Tree, double-click Nodal Initial Condition to open the dialog in the
detail panel.
2. Set the X velocity to :=xVel.
3. Set the Y velocity to :=yVel.
This will set the X and Y velocities equal to the values specified in the Variable Manager.
4. Ensure all initial condition types in this panel are set to Constant.
For the SST turbulence model, you need to provide the initial value for kinetic energy and eddy
frequency. For the Gamma transition model, you need to provide the initial value for Intermittency,
or . If you have a reasonable estimate of these values, you can enter them directly in the nodal
initial condition fields. One option is to use the same values that are assigned at the inlet boundary.
In the absence of good estimates for the initial conditions, it is also possible to let AcuSolve perform
an automatic initialization of the turbulence and transition variables. By setting these values to zero,
AcuSolve will trigger an automatic initialization of these variables.
5. Set the Kinetic energy, Eddy frequency and Intermittency to 0.0 to trigger the automatic
initialization.
Figure 132:
You will import the geometry in the next part of this tutorial. You will need to know the location of
s809_blunt.x_t in order to complete these steps. This file contains the solid model of airfoil in the
Parasolid ASCII format.
For this tutorial, the default values for the Import Geometry dialog are used to load the geometry.
If you have previously used AcuConsole, be sure that any settings that you might have altered are
manually changed to match the default values shown in the figure. With the default settings, volumes
from the CAD model are added to a default volume group. Surfaces from the CAD model are added to
a default surface group. You will work with groups later in this tutorial to create new groups, set flow
parameters, add geometric components, and set meshing parameters.
5. Click OK to complete the geometry import.
Figure 133:
Figure 134:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When a new geometry is imported, by default AcuConsole will place all volumes from a geometry in a
single volume container named "default". You should be able to see it in the data tree upon successful
import of your model in the last step, under Model > Volumes > default.
Since the model for this tutorial has only a single volume, it will be the only volume in the default
volume group when the geometry is imported. Even when there is a single volume in the model, it is
advisable to rename the volume for ease of identification in future. In the next steps you will rename
the default volume group container, and set the material and other properties for it.
1. Minimize Global in the Data Tree Manager and expand the Model tree item by clicking .
2. Right-click on Surfaces and select Display off to turn off the display of surfaces
3. Expand the Volumes tree item.
4. Toggle the display of the default volume container by clicking and next to the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press the Enter key on your keyboard. If you move the input focus away
from the item without entering it, your changes will be lost.
d) Click on the drop-down selector next to Material model and select Air.
Figure 135:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem and add surfaces to the groups.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, etc. which can sometimes be cumbersome (especially for
models with too many surfaces). To make it easier, less error prone, and for saving time two new
dialogs are provided in AcuConsole which you can use to verify and provide the information for all
surface or volume entities at once. They are the Volume Manager and Surface Manager. In this section
some features of Surface Manager are exploited.
1. Right-click on Volumes and select Display off to turn off the display of Volumes.
2. Right-click Surfaces and select Surface Manager.
3. In the Surface Manager dialog, click New 3 times to create 3 new surface groups.
4. Turn display off for all surfaces except for default surface.
5. Rename Surface Names (column 1) for Surface 1 to Surface 3, and set the Simple BC Active and
Simple BC Type columns as per the table shown below.
Figure 136:
Figure 137:
7. Assign the outer peripheral surface of the domain to the farfield surface group. Use the following
figure as the reference for selecting the required surfaces.
Figure 138:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to wall. In the previous steps,
you assigned some surfaces to various other surface groups that you created. At this point, all
that is left in the airfoil surface group are the surfaces which make up the airfoil.
8. Close the Surface Manager dialog.
a) In the Data Tree, under Surfaces, expand the farfield surface group.
b) Double-click Simple Boundary Condition to open the detail panel.
c) Ensure the Type is set to Far Field.
When using the Far field boundary condition, you need to enter the vector direction of the
flow velocity. Based on this direction, AcuSolve determines whether each element face should
be acting as an inlet or an outlet. Using this direction vector, in conjunction with the outward
facing normal at each element, it applies the appropriate boundary conditions to the faces
of the model. For faces where the flow is entering the model, a nodal boundary condition for
velocity and turbulence variables is assigned. For faces where the flow is exiting the model,
an element boundary condition for pressure is assigned (that is, an outflow condition).
To facilitate ease in changing the angle of attack for this simulation, you will set the inlet
velocity vector at the far field boundary using the variables that were previously defined. Set
the values using the following inputs.
d) For X Velocity, enter :=xVel.
e) For Y Velocity, enter :=yVel.
f) Check that the Turbulence input type is set to Auto.
With the Auto setting, AcuSolve will automatically compute the values for the turbulence
variables to be applied at the inflow nodes of the boundaries.
g) Set the Turbulence intensity type to Auto from the drop down selector menu.
Figure 139:
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
a) Click the drop-down control next to Mesh size type.
b) Click Absolute.
5. Set Absolute mesh size to 200.0 m.
6. Set the Mesh growth rate to 1.4.
7. Set Maximum sweep angle to 5.0 degrees.
Figure 140:
For this simulation, the mesher will locally reduce the height of the boundary layer stack but will
keep the total number of layers constant. Using this approach, the height of each layer is scaled by
a constant factor to reduce the total height of the stack and avoid the creation of the poor quality
boundary layer elements.
Figure 141:
Surface mesh attributes are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh attributes such as surface mesh attributes are not mandatory to be set. When a local mesh
attribute is not found for a component, the global attributes will be used as the mesh generation control
for that component. If a local mesh attribute is present, it will take precedence over the global setting.
In the next steps you will set the surface meshing attributes for the airfoil surface group.
Figure 142:
To create an optimum mesh on the surface of the airfoil, it is necessary to have high levels of
refinement near the leading and trailing edges and a large element size near the mid chord. Since our
surface mesh size was set to constant to serve as the size that is propagated into the volume for the
region of influence refinement, you will use an edge mesh attribute to control the placement of nodes
along the airfoil surface. To accomplish this, you will first need to create an edge group that contains
the perimeter edges of the airfoil.
Figure 143:
sizeMin = 0.002
sizeMax = 0.05
xMin = (0.0)
xMax = (1.0)
xCenter = ((xMin+xMax)/2.0)
dx = ((xMax-xMin)/2.0)
expVal = sizeMin*exp(power*fac)
linVal = sizeMin+(sizeMax-sizeMin)*fac
value = expVal
This expression takes the min and max surface mesh size (sizeMin and sizeMax) along with the
location of the leading and trailing edge (xMin and xMax) and computes a logarithmic expansion
of the surface mesh size as a function of distance from the leading and trailing edges. The mesh
size at the leading and trailing edge corresponds to sizeMin and the size at the mid chord location
corresponds to sizeMax.
8. Select Ok to close this text editor area and accept the expression.
The present simulation is equivalent to a representation of a 2D cross section of the model. In AcuSolve
2D models are simulated by having just one element across the faces of the cross section. Thus when
these faces are set up with a similar boundary condition, it coerces the corresponding nodes across the
faces to have same results. In this problem, these faces are the negative and positive z-surfaces. This
kind of mesh is achieved in AcuSolve with mesh extrusion process. In the following steps you will define
the process of extrusion of the mesh between these surfaces.
Figure 144:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 145:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. You can visualize the mesh in the visualization area now. Turn on the display of surfaces, and set
the display type to solid and wire.
5. You can rotate and zoom in the model to analyse the various mesh regions.
Figure 146:
Running AcuSolve
In the next steps, you will launch AcuSolve to compute the solution for this case.
Figure 147:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Double-click Residual Ratio to expand the tree.
3. Right-click Final and click Plot All.
This will plot the residuals for all the variables, pressure, velocity, eddy viscosity, and
intermittency, in the plot area.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 148:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 149:
The traction values on the airfoil surface have nearly converged. When using correlation-based
transition models, it is always a good practice to examine not only the residuals but also the
actual solution quantities of interest for convergence before accepting the solution. In some other
cases, it is also possible that the flow field has converged even while the residuals show minor
oscillations. The user thus should observe both in tandem before taking an informed decision
about the validity of the solution.
7. You can also save the plots as an image.
a) From the AcuProbe dialog, click File > Save.
b) Enter a name for the image and click Save.
The tutorial has been written with the assumption that you have become familiar with the AcuFieldView
interface and basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel menu to
create and modify surfaces in AcuFieldView
• How to move the data around the graphics window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Figure 150:
Setting Up AcuFieldView
Figure 151:
Figure 152:
1. From the Surface tab in the Boundary Surface dialog, turn off the Visibility for the active
boundary surfaces.
2.
Click the icon to open the Coordinate Surface dialog.
3. Click Create to create a new coordinate surface.
4. Select Z as the Coordinate Plane.
This will create a coordinate surface at the mid – Z coordinate plane. The coordinate surface
created is the mid plane between the two side surfaces in the model.
5. Change the Coloring to Scalar.
6. Change the Display Type to Smooth.
7. For Scalar Function, select kinetic_energy.
Figure 153:
You can clearly see the turbulent flow developing at about halfway through the chord of the airfoil.
Before the onset of turbulence, the boundary layer on the airfoil surface is laminar.
10. Open the Coordinate Surface dialog, click Select next to Scalar Function and select
Intermittency.
Figure 154:
A closer look at the contour plot of intermittency will show that the value of intermittency
transitions to one at the point where the flow transitions from laminar to turbulent. In the region
where the flow is laminar, from the leading edge of the airfoil to the halfway, the intermittency is
zero.
At this stage you have successfully setup and ran the S809 airfoil problem with the Gamma transition
model and SST turbulence model. In this part of the tutorial you will modify your open database to
setup the problem so as to use the Gamma-ReTheta transition model.
1. Close the open AcuFieldView window and return to the open AcuConsole window.
2. Save the database to retain the setup for the Gamma transition model.
3. Create a new directory within your existing working directory, or at any other location of your
choice, and name it SST_Gamma_ReTheta.
4. Click File > Save As
5. Navigate into the SST_Gamma_Re_Theta directory. Enter sst_transition_gammaretheta as the
File name for the database, or choose any name of your preference.
6. Save the database to create a backup of your settings.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 155:
Figure 156:
The Gamma-ReTheta transition model is a two equation model and introduces a new variable, transition
ReTheta, or . Like other variables, an initial value for this variable also needs to be provided. As
before, you will set it to zero to trigger the automatic initialization of by AcuSolve.
1. Double-click Nodal Initial Condition in the data tree to open the detail panel.
2. Set Transition re theta to 0.0 to trigger the automatic initialization.
The remaining settings in the setup need not be modified. You can now launch AcuSolve to get
the solution of the S809 airfoil problem with the Gamma-ReTheta transition case. Follow the same
steps as in the previous case to post-process the results.
Figure 157:
2.4.6 Summary
In this AcuSolve tutorial you successfully set up and solved a turbulence transition problem. The
underlying turbulence model employed was the SST model. The problem simulated a S809 wind turbine
airfoil in an external flow field. You started the tutorial by creating a database in AcuConsole, importing
and meshing the geometry, and setting up the simulation parameters. The database was initially set up
with the one-equation Gamma transition model. Once the case was setup, the solution was generated
with AcuSolve. Results were post-processed in AcuProbe and AcuFieldView. In AcuFieldView you
observed the inter-relation between onset of turbulence viscosity and intermittency. After successfully
getting a solution for the Gamma transition model, you modified the database to use the two-equation
Gamma-ReTheta as the transition model.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of a
hot cylinder contained within another air-filled cylinder. In this simulation, an internally heated cylinder
is surrounded by air which heats up as it comes in contact with the surface of the inner cylinder. The
localized heating near the surface induces a buoyancy driven flow in the air, generating convection
currents. This tutorial is designed to introduce you to modeling concepts related to natural convection
simulations.
The basic steps in a CFD simulation have been discussed in the earlier tutorials. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Creating and specifying a new custom material in AcuConsole
• Specifying a volume group as a heat source
• Using the Boussinesq density model in buoyancy driven flows, such as cases involving natural
convection
• Set up periodic boundary conditions
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract twin_cylinder.x_t from Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve. Parameters can be based on
geometrical elements (such as inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The system being simulated contains an internally-heated cylinder, which is surrounded by a cylindrical
ring of a larger diameter. The annular volume between the two cylinders is filled with a fluid (air). The
inner cylinder thus acts a heat source, and the fluid in contact with the surface of this heat source is
heated up. This hot fluid, being lower in density than the cold fluid, then rises up to the upper part of
the annulus due to buoyancy effects, and displaces the cold fluid at top. At the same time, the film of
fluid which was in contact with the heating surface is replaced by the surrounding cold fluid. This new
film of cold fluid goes through the same process until eventually a steady state convection current is
achieved, or the inner cylinder ceases to generate heat and slowly the whole system achieves an equal
temperature.
The system being simulated can be considered similar to a heat exchanger wherein the inner cylinder is
akin to a tube through which a hot fluid passes by, and the air which surrounds this inner tube extracts
heat from the inner tube. Another analogy can be of a wire carrying high current enclosed in an air
cooled chamber. As the current heats up the wire due to resistance, the air around the wire keeps the
wire temperature within control by extracting heat from the wire surface.
The schematics of the problem which will be addressed in this tutorial is shown in Figure 158. The inner
cylinder is a solid volume with internal heat generation, and the outer cylinder is a fluid volume with air
as the fluid. Both cylinders are assumed to be infinitely long and the system will be modeled using half
symmetry and periodicity. The cylinders are infinite in z-direction and hence periodicity will be applied
along this direction.
Natural Convection
Convection is a heat transfer mechanism where the transfer of heat energy happens through the motion
of matter. Since the definition of convection involves motion of matter a fluid state is usually present in
convection. Usually this type of heat transfer takes place between a hot or a cold surface and a fluid.
The film of fluid in contact with the surface absorbs heat from or transfers heat to the surface and is
then replaced by a new film. This movement of fluid may either be governed by an external source,
such as a fan or pump, or due to internal changes in the fluid properties. When no external sources are
responsible for the fluid motion the heat transfer mechanism at work is called the Natural Convection.
The driving force for motion of the fluid in a natural convection is density changes in the fluid due to
temperature gradients induced in the fluid by heat transfer.
The natural convection mechanism works similarly as described above, whilst discussion of the problem.
The fluid which is in contact with the surface absorbs or transfers heat from the surface and becomes
hotter or colder than the surrounding fluid. Driven by buoyancy forces due to difference in densities
caused by the temperature gradient, the fluid is displaced upwards or downwards. Surrounding fluid
fills in the void created by the displaced fluid, which then undergoes the same process again. This gives
rise to a convection current which drives the hot fluid to the top and cold fluid to the bottom of the
convection cell. Buoyancy effects are driven by gravity, therefore natural convection requires presence
of a gravitational force to work. It must be noted, however, that gravity is not the driving force behind
the fluid movement. Presence of gravity only enables displacement of the fluid due to the density
changes caused by temperature gradients.
Mathematical determination of the onset of natural convection is done through a dimensionless number
called the Rayleigh number (Ra). The Rayleigh number is defined as:
where:
• is the characteristic length (m)
• is the Rayleigh number for characteristic length
2
• is acceleration due to gravity (m/s )
• is the surface temperature (K)
• is the quiescent temperature (fluid temperature far from the surface of the object) (K)
2
• is the kinematic viscosity (m /s)
2
• α is the thermal diffusivity (m /s)
• β is the thermal expansion coefficient (equals to for ideal gases where is absolute
temperature).
The fluid properties , α and β are evaluated at the film temperature, , which is defined as:
When the Rayleigh number is below a critical value for the fluid heat transfer is primarily in the form of
conduction. When it exceeds this critical value the dominant heat transfer mechanism is convection.
The Boussinesq density model is an approximation method applied to buoyancy driven flows, such as
natural convection flows. In the Boussinesq approximation, the density variation terms are neglected
everywhere except when multiplied by acceleration due to gravity, . The basis of this approximation
is that since temperature changes are small, the resultant changes in density are small as well and
thus can be neglected. However, when multiplied by , the resultant term gives rise to forces which no
longer are negligible. The Boussinesq approximation is:
where
3
• is the instantaneous density at temperature (kg/m )
3
• is the density at reference temperature (kg/m )
As stated in the approximation, the Boussinesq density model is only applicable when density variations
are small. A general guideline is to check for the condition to be true. This indirectly puts a
limitation on this model to be used to only for cases where expected temperature differences within the
fluid are not large.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next, you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics of the results using AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
3. Create a new directory in this location. Name it Natural_convection and navigate into this
directory.
4. Enter NaturalConvection as the file name for the database, or choose any name of your
preference.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the data tree and
makes navigation of the entries easier.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 159:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 160:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 161:
In the next steps you will set the parameters that control the behavior of AcuSolve as it progresses
during the solution.
1. Double-click Auto Solution Strategy in the Data Tree to open the Auto Solution Strategy
detail panel.
2. Check that Analysis type is set to Steady State.
3. Set the Max time steps to 100.
4. Change the Convergence tolerance to 0.0001.
5. Enter 0.25 for the Relaxation factor.
6. Check that Flow and Temperature are set to On.
7. Change the Temperature flow to On.
Changing the Temperature flow flag to On will instruct the solver to solve thermal-flow
problems in fully coupled mode. Otherwise these problems are solved with a staggered strategy.
In fully-coupled mode, the flow and temperature equations are solved simultaneously, while
in the staggered approach, the flow equation will usually be solved first considering constant
temperature, and then the temperature equation will be solved as the next step.
Figure 162:
AcuConsole has three pre-defined materials, Air, Aluminum and Water, with standard parameters
defined. In the next steps you will check and modify the material characteristics of the predefined Air
model to match the desired properties for this problem. Since this a natural convection problem the
density type for air will be set to use the Boussinesq approximation. Subsequently, you will create a new
custom material and assign relevant material properties to it.
1. Double-click Material Model in the Data Tree to expand it.
Figure 163:
2. Double-click Air in the Data Tree to open the Air detail panel.
The material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. Click the Density tab. Change the density type to Boussinesq.
Figure 164:
-5
4. Click the Viscosity tab. The viscosity of air is 1.781 x 10 kg/m – sec.
5. Click the Specific Heat tab and make sure the Specific heat value is 1005.0 J/kg-K.
6. Similarly check the Conductivity tab and make sure the values are as follows:
a) Conductivity: 0.02521 W/m-K
b) Turbulent Prandtl number: 0.91
7. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
8. Right-click Material Model in the Data Tree and select New from the context menu that
appears.
A new entry, Material Model 1, will be created in the Data Tree under the Material Model branch.
Figure 165:
The body force commands add volumetric source terms to the governing conservation equations. Two
types of body forces will be used in this tutorial.
The first one is the gravitational force on the fluid due to inertia of the fluid. As discussed in Analyzing
the Problem, gravity is an important aspect of the simulation. In fact, for thermal problems solved in
AcuSolve with the Boussinesq approximation, the gravity is scaled by the product of the expansivity
and the temperature minus reference temperature, while density remains constant. This variation in the
gravitational force on fluid regions with different temperatures is what generated convection currents.
2
For this tutorial gravity is defined as equal to standard gravity (g = 9.81 m/s ) along the negative Y-
axis, which is the downward direction in the model.
The second body force which will be used in this model is the volumetric heat source, which specifies
the heat energy source term per unit volume. This will be used to simulate the heat-generating inner
cylinder in our model.
Figure 166:
Note: The definition of gravity here will have no effect on the simulation unless it is
assigned to some volume set in the model.
6. Create a new body force by right-clicking on Body Force in the Data Tree and selecting New in
the context menu that appears.
A new entry, Body Force 1, will be created under the Body Force branch.
7. Right-click on Body Force 1, select Rename in the context menu, and type in Heat Source as
the entity name.
Figure 167:
Time History Output commands enables you to extract the nodal solution at any point within the
domain.
1. In the tree, double-click on Output, then right-click on Time History Output, and select New.
A new entry, Time History Output 1, will be created in the Data Tree under the Time History
Output branch.
Figure 168:
2. Right-click on Time History Output 1, select Rename, and type in Monitor points as the
entity name.
3. Double click Monitor points to open the detail panel. In the detail panel,
a) Change the Type to Coordinates.
b) Click Open Array.
c) In the Array Editor, add a new row by clicking Add Row .
d) Fill in the values as follows:
Figure 169:
4. Click OK.
5. Set Time step frequency to 1.
This will save the results for the defined time history points at every time step.
6. Save the database.
1. Double-click on Nodal Initial Condition in the Data Tree to open the detail panel.
2. Set the Temperature to 80° C.
a) The default unit for temperature input is K. You can change the unit for temperature by
clicking on unit to the right of the input field, and selecting oC from the appearing menu.
b) Alternatively, enter 353.15 K in the temperature field.
Figure 170:
You will import the geometry in the next part of this tutorial. You will need to know the location of
twin_cylinder.x_t in order to complete these steps. This file contains information about the geometry
in Parasolid ASCII format.
Figure 171:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will create volume groups for each volume in the model, assign volumes to the
respective volume groups, rename the default volume group container, and set the materials and other
properties for each volume group.
Figure 172:
Follow the instructions in the Add to dialog if you need to manipulate the display to select
the correct portion of the geometry.
d) Click Done to add the selected volume to the solid volume group.
5. Set up the solid volume element set.
The material model for this volume will be set to Stainless Steel, which is the custom material
model you created earlier in this tutorial, specifically for this solid volume. Also the solid volume is
to be set up as the heat source
a) Expand the solid volume group in the tree.
b) Double-click Element Set to open the Element Set detail panel.
c) Change the Medium to Solid.
d) Change the Material model to Stainless Steel.
e) Change the Body force to Heat Source.
6. In the Data Tree, right-click on default and rename it to fluid.
7. Set up the Fluid volume element set.
a) Expand the fluid volume group in the tree.
b) Double click Element Set under fluid to open it in the detail panel.
c) Ensure that the Medium for the volume is set to Fluid. If not, change it to Fluid.
d) Change the Material model to Air.
e) Change the Body force to Gravity.
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome, especially for
models with too many surfaces. To make it easier, less error prone, and to save time, two new dialogs
are provided in AcuConsole. Use the Volume Manager and Surface Manager to verify and provide
the information for all surface or volume entities at once. In this section some features of Surface
Manager are exploited.
1. Turn-off display for Volumes by right-clicking on Volumes and selecting Display off .
2. Right-click on Surfaces in the Data Tree and select Surface Manager.
3. In the Surface Manager dialog, click New six times to create six new surface groups.
Figure 173:
If you cannot see the Simple BC Active and Simple BC Type columns, click on Columns , select
these two columns from the list and click Ok.
Figure 174:
4. Turn off the display for all surfaces except for the default surface.
5. Rename Surface 1 through Surface 6 according to the image below.
6. Set the Simple BC Active and Simple BC Type columns as per Figure 175.
Figure 175:
Figure 176:
8. Assign the outer wall of the geometry to the outer_wall surface group. Use Figure 177 as the
reference for selecting the required surfaces.
Figure 177:
Figure 178:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to inner_walls. In the previous steps,
you assigned some surfaces to various other surface groups that you created. At this point, all that is
left in the inner_walls surface group are the surfaces which make up the contact boundary between
the inner cylinder and the fluid volume.
10. Close the Surface Manager.
The modeling for this simulation was done using half symmetry. The model is only a partial
representation of the system, the complete geometry of which is a cylinder. Hence it is appropriate to
set the surface that you chose as symmetry_plane with a symmetry boundary condition to simulate that
effect.
This change was completed using the Surface Manager in the last section. The following steps are
thus optional.
1. Update symmetry_plane.
a) Expand the symmetry_plane surface in the tree.
Figure 179:
3. Update inner_wall
The inner walls form the boundary surface of the inner cylinder volume, and enclose the fluid
volume on the inside. Since the inner cylinder is a solid medium, this contact boundary will be a
wall.
a) Expand the inner_wall surface group in the tree.
b) Double click Simple Boundary Condition under inner_wall to open the Simple Boundary
Condition detail panel.
c) Ensure that the Type is set to Wall.
d) Verify Wall velocity type is set to Match Mesh Velocity.
4. Update the periodic surfaces solid_pos_z, solid_neg_z, fluid_pos_z, and fluid_neg_z
Physically the simulation domain is assumed to extend infinitely in the z-direction. However, only
a small section of the cross section is being modelled and the solution is assumed to be consistent
along the z-direction. Thus, these periodic surfaces are not physical boundaries but the solution on
these surfaces is constrained to be equal by periodicity. This is achieved via a periodic boundary
condition in AcuConsole, which links the corresponding pairs of nodes on the two surfaces which
are to be constrained with a periodic boundary condition.
Periodicity can be defined before proceeding with mesh generation. With this workflow, when the
mesh is generated, AcuMeshSim, which is the mesh generation engine for AcuSolve, will read the
defined periodicity constraints and ensure a periodic mesh on the specified surface pairs.
Figure 180:
Use the following figure for reference for setting up the periodic BC.
Figure 181:
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
Figure 182:
Surface mesh attributes are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh attributes such as surface mesh attributes are not mandatory to be set. When a local mesh
attribute is not found for a component, the global attributes will be used as the mesh generation control
for that component. If a local mesh attribute is present, it will take precedence over the global setting.
In the next steps you will set the surface meshing attributes for the inner_wall surface, to add boundary
layers to the surface. Then you will propagate these mesh attributes to the outer_wall.
Option Description
Number of layers 8
Figure 183:
Instead of repeating the above steps for the outer_wall surface, you can choose to propagate the
mesh attribute settings for inner_wall surface group to outer_wall surface group.
10. Under the inner_wall suface, right-click Surface Mesh Attributes and select Propagate.
Figure 184:
11. In the Propagate dialog, select the surface outer_wall and click Propagate.
Figure 185:
The present simulation is equivalent to a 2D representation of the model, which actually extends
infinitely in both sides along the z-direction. In AcuSolve, 2D models are simulated by having just one
element across the faces of the cross section. Thus when these faces are set up with a similar boundary
condition, it coerces the corresponding nodes across the faces to have same results. In this problem,
these faces are the negative and positive z-surfaces. This kind of mesh is achieved in AcuSolve with
mesh extrusion process. In the following steps, the process of extrusion of the mesh between these
surfaces is defined.
Figure 186:
Figure 187:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 188:
Figure 189:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail window and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window. Turn on the display of surfaces, and set the display
type to solid and wire.
5. Rotate and zoom in the model to analyze the various mesh regions.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 190:
A summary of the solution process indicates that the simulation has been completed.
Figure 191:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the Data Tree on the left, expand Residual Ratio. Right-click Final and select Plot All.
This will plot the residuals for the three variables, pressure, temperature and velocity in the plot
area.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 192:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 193:
The node 1 lies in the bottom half of the model and the node 2 in the upper half. The temperature
distribution in the above plot shows that in steady state upper half of the cylinder annulus is
occupied by the hotter air and lower half has the colder air.
7. You can also save the plots as an image.
a) From the AcuProbe dialog, click File > Save.
b) Enter a name for the image and click Save.
8. The time series data of the variables can also be exported as a text file for further post-
processing.
a) Right-click on the variable that you want to export and click Export.
b) Enter a File name and choose .txt for the Save as type.
c) Click Save.
The tutorial has been written with the assumption that you have become familiar with the AcuFieldView
interface and basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the toolbar or the Visualization panels from the
main menu to create and modify surfaces in AcuFieldView.
• How to move the data around the modeling window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Starting AcuFieldView
Figure 194:
Figure 195:
Figure 196:
Figure 197:
Figure 198:
Creating the Boundary Surface Showing Temperature for the Outer Surfaces with
Mesh
1. Orient the geometry as shown in the figure below, so that the symmetry plane and periodic
surfaces are visible.
2.
Click the Boundary Surface icon to open the Boundary Surface dialog.
3. Click the Legend tab and check the Show Legend checkbox.
4. Change the color of labels to black from the color palette.
5. If desired, change the number of labels to show more labels.
6. Change the Annotation title color to black.
Note: You can move the legend using Shift + left click, and resize it using Shift +
right click.
Figure 199:
1. In the Surface tab in the Boundary Surface dialog box, click Visibility to turn it off.
Figure 200:
1. In the Surface tab in the Boundary Surface dialog box, click Create to create a new Boundary
Surface set.
2. Set the DISPLAY TYPE to Vectors.
3. Change the COLORING to Scalar.
4. In the Scalar Function list, select Velocity as the scalar function to be displayed.
5. Next to Vectors, click Options.
6. Activate Head Scaling and set it at 1.
7. Set the Length Scale to 4.
8. Activate the Skip option, and set the value to 50%.
Figure 201:
3.1.6 Summary
In this AcuSolve tutorial you successfully set up and solved a natural convection problem. The problem
simulated a hot cylinder placed in the center of another air-filled cylindrical volume. Air is modeled
using a Boussinesq density approximation model which is used for buoyancy driven flows, such as those
involving natural convection. As the film of air in vicinity of the surface of the hot inner cylinder heats
up, it generates convection currents within the annular volume.
You started the tutorial by creating a database in AcuConsole, importing and meshing the geometry and
setting up the basic simulation parameters. The hot inner cylinder was represented by a solid volume
also acting as a heat source. Once the case was setup, the solution was generated with AcuSolve.
Results were post-processed in AcuFieldView where you generated a temperature profile, and a velocity
vector profile, on a cross-section of the model.
New features that were introduced in this tutorial include creating and specifying a new custom material
in AcuConsole, specifying a volume group as a heat source using the Boussinesq density model and
setting up periodic boundary conditions.
This tutorial provides the instructions for setting up, solving, and viewing results for a simulation of 3D
turbulent-flow with conjugate heat transfer in a mixing elbow. It is designed to introduce you to the
AcuSolve tool set with a simple problem.
The basic steps in any CFD simulation were shown in the tutorial ACU-2000: Turbulent Flow in a Mixing
Elbow. The following additional capabilities of AcuSolve are introduced in this tutorial:
• Simulating heat transfer within a fluid
• Simulating heat transfer between a fluid and a solid (conjugate heat transfer)
• Creation of a new material model
• Modeling of surfaces shared between solid and fluid volumes
• Propagation (copying) of settings from one surface group to another
Prerequisites
You should have already run through the introductory tutorial, Flow in a Mixing Elbow. It is assumed
that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You will also need access
to a licensed version of AcuSolve 2017.2.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 202. It consists of a
mixing elbow made of stainless steel with water entering through two inlets with different velocities and
with different temperatures. The geometry is symmetric about the XY midplane of the pipe, as shown in
the figure. This symmetry allows the flow to be modeled with the use of a symmetry plane. The use of a
symmetry plane leads to reduced computation time while still providing an accurate solution.
Details of the problem characteristics are shown in the following images extracted from a sample
worksheet that was created prior to setting up the case for AcuSolve.
The diameter of the large inlet is 0.1 m, the inlet velocity (v) is 0.4 m/s and the temperature (T) of the
fluid entering the large inlet is 295 K. The diameter of the small inlet is .025 m, the velocity is 1.2 m/s,
and the temperature of the fluid entering the small inlet is 320 K. The pipe wall has a thickness of 0.005
m.
Figure 203:
The fluid in this problem is water, with the following properties that do not change with temperature; a
3 -3
density (ρ) of 1000 kg/m , a molecular viscosity (μ) of 1 X 10 kg/m-sec, a conductivity (k) of 0.598
W/m-K, and a specific heat (cp) of 4183 J/kg-K, as shown in the worksheet.
Figure 204:
3
The pipe walls are made of stainless steel with a density of 8030 kg/m , a conductivity of 16.2 W/m-K,
and a specific heat of 500 J/kg-K.
Figure 205:
Based on mass conservation, the combined flow rate (Q) yields a velocity of 0.475 m/s downstream of
the small inlet. This value is useful in determining the Reynolds number, which in turn can be used to
determine if the flow should be modeled as turbulent, or if it should be modeled as laminar.
Figure 206:
In order to determine whether the modeled flow would be turbulent or whether it would be laminar, the
Reynolds number (Re) should be calculated. The Reynolds number is given by:
where ρ is the fluid density, v is the fluid velocity, D is the diameter of the flow region, and μ is the
molecular viscosity of the fluid. When the Reynolds number is above 4,000, it is generally accepted that
flow should be modeled as turbulent.
The Reynolds numbers of 40,000 at the large inlet, 30,000 at the small inlet, and 47,500 for the
combined flow indicate that the flow is turbulent throughout the flow domain.
Figure 207:
The simulation will be set up to model steady state, turbulent flow with varying temperature. In
addition, the thermal characteristics of the flow will be modeled using advection and diffusion equations.
Figure 208:
In addition to setting appropriate conditions to capture the physics of the simulation, it is important
to generate a mesh that is sufficiently refined to provide good results. In this tutorial the global mesh
size is set to provide at least 30 mesh elements around the circumference of the large inlet. For this
problem, the global mesh size is 0.0106 m. This mesh size was chosen to provide a quick turnaround
time for the model. For real-world simulations, you would modify your mesh settings after an initial
solution until a mesh-independent solution is reached (that is, a solution that does not change with
further mesh refinement).
Figure 209:
AcuSolve allows for mesh refinements in a user-defined region that is independent of geometric
components of the problem such as volumes, model surfaces, or edges. It is useful to refine the mesh
in areas where gradients in pressure, velocity, eddy viscosity, and the like are steep. For this problem,
the flow entering the large pipe from the side pipe creates large velocity gradients that need to be
resolved. A mesh refinement zone is used to capture the flow in this region.
Figure 210:
Once a solution is calculated, the flow properties of interest are the steady state temperature contours
on the symmetry plane, velocity vectors on the symmetry plane, temperature contours on the pipe
walls, and temperature contours at the pipe outlet.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group attributes, adding geometry components to
groups, and assigning mesh controls and boundary conditions to the groups. Next you will generate
a mesh and run AcuSolve to converge on a steady state solution. Finally, you will visualize the results
using AcuFieldView.
In the next steps you will start AcuConsole, create the database for storage of AcuConsole settings and
set the location for saving mesh and solution information for AcuSolve.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> > AcuSolve > AcuConsole.
2. Click the File > New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In the next steps you will set parameters that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
The general parameters that you will set for this tutorial are for turbulent flow, steady state time
analysis and for thermal analysis using advection-diffusion equations.
1. Click BAS in the Data Tree Manager to filter all but the basic settings in the Data Tree.
Figure 211:
Note: You can also expand a tree item by clicking next to the item name.
Figure 212:
Figure 213:
In the next steps you will set the parameters that control the behavior of AcuSolve as it progresses
during the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Enter 0.4 for the Relaxation factor.
The relaxation factor is used to improve convergence of the solution. Typically a value between
0.2 and 0.4 provides a good balance between achieving a smooth progression of the solution and
the extra compute time needed to reach convergence. Higher relaxation factors cause AcuSolve
to take more time steps to reach a steady state solution. A high relaxation factor is sometimes
necessary in order to achieve convergence for very complex applications.
Figure 214:
In the next steps you will verify that the pre-defined material properties of water match the desired
properties for this problem. You will also create a new material, stainless steel, and set the desired
material properties.
Figure 215:
Figure 216:
2. Double-click Water in the Data Tree to open the Water detail panel.
The Material type for water is Fluid. The default material type for any new material created in
AcuConsole is Fluid.
3
3. Click the Density tab. Verify that the density of water is 1000.0 kg/m .
4. Click the Specific Heat tab. Verify that the specific heat of water is 4183.0 J/kg-K.
5. Click the Viscosity tab. Verify that the viscosity of water is 0.001 kg/m-sec.
6. Click the Conductivity tab. Verify that the conductivity of water is 0.598 W/m-K.
7. Create a new material model for stainless steel.
Figure 217:
Note: Changes made in AcuConsole are saved into the database file (*.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
You will import the geometry in the next part of this tutorial. You will need to know the location of
mixingElbowHeat.x_t in order to complete these steps. This file contains the solid model of the mixing
elbow in the Parasolid ASCII format.
Figure 218:
The color of objects shown in the modeling window in this tutorial and those displayed on your
screen may differ. The default color scheme in AcuConsole is "random," in which colors are
randomly assigned to groups as they are created. In addition, this tutorial was developed on
Windows. If you are running this tutorial on a different operating system, you may notice a slight
difference between the images displayed on your screen and the images shown in the tutorial.
Volume groups are containers used for storing information about volumes. This information includes the
list of geometric volumes associated with the container, as well as parameters such as material models
and mesh sizing information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will create a new group for the steel wall volume; set the material for that group;
add the volumes from the geometry to that volume group; rename the default volume group to Fluid
and set the material for that group; then add the volumes from the geometry to that group.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Note: When an item in the Data Tree is renamed, the change is not saved until you
press Enter. If you move the input focus away from the item without entering it, your
changes will be lost.
6. Set the material model for the volume to use the Stainless Steel.
a) Expand the Steel Walls volume in the tree.
b) Double-click Element Set to open the Element Set detail panel.
c) Change the Medium to Solid to define this volume as a solid.
d) For Material model, click Stainless Steel.
Figure 219:
7. Add the pipe wall components in the geometry to this volume group.
a) Right-click Steel Walls under Volumes in the Data Tree.
b) Click Add to.
c) Click the outer surface of the pipe wall.
If you rotate the view, by Ctrl+left-clicking, you can see that only the outer volume is
highlighted.
Figure 220:
d) Click Done to add this geometry volume to the Steel Walls volume group.
Note: You can also use the middle mouse button to complete the addition of
geometry components to a group.
a) Right-click default under Volumes and click Rename on the context menu.
b) Enter Fluid .
9. Set the material model used for the fluid in the simulation.
Figure 221:
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs, and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem, and add surfaces to the groups.
In the next steps you will define a surface group for the large inlet, set the inlet velocity, and add the
main inlet from the geometry to the surface group.
Figure 222:
Figure 223:
Figure 224:
Note: You can also use the middle mouse button to complete the addition of
geometry components to a group.
In the next steps you will define a surface group for the small inlet, assign the appropriate attributes,
and add the small inlet from the geometry to the surface group.
Figure 225:
1. Create a new surface group and rename the surface to Small Inlet.
2. Expand the Small Inlet surface in the tree.
3. Double-click Simple Boundary Condition under Small Inlet to open the Simple Boundary
Condition detail panel.
4. Change the Type to Inflow.
5. Change the Inflow type to Average Velocity.
6. Set the Average velocity to 1.2 m/sec.
7. Set the Temperature to 320 K.
Figure 226:
Note: If you need to zoom in or out, Ctrl+right-click and drag the cursor down
or up. You can also restore the initial view by clicking .
Figure 227:
In the next steps you will define a surface group for the outlet, assign the appropriate attributes and
add the outlet from the geometry to the surface group.
Figure 228:
Figure 229:
Setting Wall Boundary Conditions for the Steel Pipe Outer Walls
In the next steps you will define a surface group for the steel pipe outer walls, assign the appropriate
attributes and add the pipe walls from the geometry to the surface group. In this simulation, you
will not be modeling the air surrounding the pipe. However, you will specify a convective heat
transfer coefficient and reference temperature to account for heat transfer from the pipe walls to the
surroundings.
1. Create a new surface group and rename the surface to Steel Pipe - Outer Walls.
2. Double-click Simple Boundary Condition under Steel Pipe - Outer Walls to open the Simple
Boundary Condition detail panel.
3. Enter 100 for the Convective heat flux coefficient and verify that the units are J/m2-sec-K.
This convective heat transfer coefficient is chosen to model the heat transfer between the steel
pipe and the surrounding air.
4. Enter 302.594 for the Convective heat flux reference temperature and verify that the units
are K.
This temperature value specifies that the surroundings of the pipe are at a constant temperature
of 302.594 K.
Figure 230:
Figure 231:
In the next steps you will define a surface group for the steel pipe inner wall, assign the appropriate
attributes, and add the pipe walls from the geometry to the surface group.
1. Create a new surface group and rename the surface to Steel Pipe - Inner Walls.
2. Disable boundary conditions for this surface.
For this simulation, no boundary conditions will be used for the inner surface of the steel pipe.
Where there is an interface between two volumes (fluid/solid or fluid/fluid), AcuConsole treats the
interface as two surfaces. This allows you to set different attributes, such as boundary conditions
or local meshing attributes, on either side of the interface. You will set boundary conditions for the
large pipe wall (the second surface at this interface) later in this tutorial.
a) Expand the Steel Pipe - Inner Walls surface in the tree.
b) Click the checkbox next to Simple Boundary Condition to disable boundary conditions.
3. Turn off the display of the Steel Pipe - Outer Walls.
• Click next to the surface so that it is in the display off state ( ),
or,
• Right-click Steel Pipe - Outer Walls in the tree, and click Display off.
Turning off the display of the outer walls will make it easier to add geometric surfaces to the inner
wall group.
4. Add geometry surfaces to the Steel Pipe - Inner Walls group.
a) Right-click Steel Pipe - Inner Walls and click Add to.
b) Click the pipe near the main inlet, the pipe near the elbow, the pipe near the outlet, and the
pipe near the side inlet to select the four surfaces that make up the inner surface of the steel
pipe wall.
Figure 232:
At this point, the inner walls of the steel pipe should be highlighted.
c) Click Done to associate these geometry surfaces with the surface settings of the Steel Pipe
- Inner Walls group.
In the next steps you will define a surface group for the pipe walls, assign the appropriate attributes,
and add the elbow pipe walls from the geometry to the surface group.
1. Create a new surface group and rename the surface to Large Pipe.
2. Expand the Large Pipe surface in the tree.
3. Double-click Simple Boundary Condition under Large Pipe to open the Simple Boundary
Condition detail panel.
The default wall settings will be used for the pipe wall.
4. Turn off the display of the Steel Pipe - Inner Walls.
Turning off the display of the inner walls of the steel pipe will make it easier to add geometric
surfaces to the pipe group.
5. Add geometry surfaces to this group.
a) Right-click Large Pipe and click Add to.
b) Click on the pipe near the large inlet, the pipe near the elbow, and the pipe near the outlet to
select the three surfaces that make up the main pipe wall.
Figure 233:
In the next steps you will define a surface group for the side pipe wall, assign the appropriate
parameters, and add the side pipe wall from the geometry to the surface group.
1. Create a new surface group and rename the surface to Small Pipe.
2. Expand the Small Pipe surface in the tree.
3. Double-click Simple Boundary Condition under Small Pipe to open the Simple Boundary
Condition detail panel.
As with the large pipe, the default boundary condition Type is Wall. The default is appropriate for
this group and no other changes are needed.
4. Add geometry surfaces to this group.
a) Right-click Small Pipe and click Add to.
b) Rotate the model to expose the side pipe by Ctrl+left-clicking near the bottom of the
geometry and moving the cursor toward the top of the window.
c) Click on the pipe near the side inlet.
Figure 234:
This geometry is symmetric about the XY midplane, and can therefore be modeled with half of the
geometry. In order to take advantage of this, the midplane needs to be identified as a symmetry plane.
The symmetry boundary condition enforces constraints such that the flow field from one side of the
plane is a mirror image of that on the other side.
In the next steps you will create a surface group for the symmetry plane of the pipe, assign the
appropriate attributes, and add the side pipe wall from the geometry to the surface group.
1. Create a new surface group and rename it to Symmetry.
2. Expand the Symmetry surface in the tree.
3. Double-click Simple Boundary Condition under Symmetry to open the Simple Boundary
Condition detail panel.
4. Change the Type to Symmetry.
5. Turn off the display of all surface items except Symmetry and default.
6. Add geometric faces to this group.
Figure 235:
In the next steps you will define a surface group for the ends of the steel pipe, assign the appropriate
attributes, and add the pipe ends from the geometry to the surface group.
Note: You may need to rotate the graphic to see that the pipe end at the large
inlet is highlighted.
Figure 236:
Setting Symmetry Boundary Conditions for the Steel Pipe Symmetry Plane
Now that the simulation has been defined, parameters need to be added to define the mesh sizes that
will be created by the mesher.
AcuConsole supports three levels of meshing control; global, zone, and geometric.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups, or edge groups.
In the next steps you will set global meshing parameters. In subsequent steps you will create zone and
surface meshing parameters.
Figure 237:
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Expand the Global Data Tree item.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.0106 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 30 mesh elements around the
circumference of the main pipe.
6. Turn off the Curvature refinement parameters option.
Figure 238:
In addition to setting meshing characteristics for the whole problem, you can assign meshing
parameters to a zone within the problem where you want to be able to resolve flow with a mesh that
is more refined than the global mesh. A zone mesh refinement can be created using basic shapes to
control the mesh size within that shape. These types of mesh refinement are used when refinement is
needed in an area that does not correspond to a geometric item.
In the next steps you will define mesh controls for a region around the small pipe and extending into
the main pipe by using a zone mesh control. The region of interest for this refinement is a cylinder that
encloses the small pipe and extends into the main pipe.
Figure 239:
Figure 240:
Note: When setting mesh size for refinement zones, the best practice is to choose
1 1 1
a value that is the global mesh size divided by a power of 2, that is, /2, /4, /8, and
the like.
10. Set the location of the mesh refinement by defining the center points of the end faces of the
cylinder.
a) Click Open Array to open the Array Editor dialog.
b) Enter 0.143 for X-coordinate 1 and 2.
c) Enter -0.232 for Y-coordinate 1.
d) Enter -0.025 for Y-coordinate 2.
e) Enter 0.0 for Z-coordinate 2.
f) Click OK.
Figure 241:
Figure 242:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size on surface groups that you created earlier in this tutorial. Specifically, you will set local meshing
attributes that control the growth of boundary layer elements normal to the surfaces of the main pipe
and of the side pipe.
In the next steps you will set parameters that control the mesh size normal to the large pipe wall
(boundary layer mesh controls).
1. Expand the Model > Surfaces > Large Pipe tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing attributes when creating the
mesh on the surface of the pipe walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Set the Resolve option to Total Layer Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
effective resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options. In this tutorial you will specify the height of the first layer, a stretch
ratio for successive layers (growth rate), and the total number of layers to generate. AcuConsole
will resolve the total layer height from the attributes that you provide. That is, total layer height
will be computed based on the height of the first element, the growth rate, and the number of
layers that you provide in the next few steps.
6. Keep the default value, 0.001 m, for First element height
7. Enter 1.3 for the Growth rate.
8. Enter 4 for the Number of layers.
Figure 243:
The local mesh settings for the small pipe are the same as for the large pipe. AcuConsole has the
capability to propagate, or "copy and paste," settings from one group to another. In the following steps
you will propagate the local mesh settings from the large pipe surface group to the small pipe surface
group.
1. Right-click Surface Mesh Attributes under Large Pipe and click Propagate.
Figure 244:
Figure 245:
3. Click Propagate to paste the settings for the Large Pipe surface to the Small Pipe surface.
If you examine the Surface Mesh Attributes for the Small Pipe, you will see that the settings are the
same as those for the Large Pipe.
In the following steps you will set meshing parameters that will allow for localized control of the mesh
size near the outer walls of the steel pipe.
1. Expand the Model > Surfaces > Steel Pipe - Outer Walls tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing parameters when creating the
mesh on the surface of the pipe walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls. For the inner and outer walls of the steel pipe, you will set parameters to create a mesh one
layer thick with a height of 0.002 m.
5. Set the Resolve option to Total Layer Height.
6. Enter 0.002 m for First element height.
7. Enter 1 for the Number of layers.
Figure 246:
The local mesh settings for the inner walls of the pipe are the same as for the outer walls. In the
following steps you will propagate the local mesh settings from the surface group containing the steel
pipe outer walls to the surface group containing the steel pipe inner walls.
1. Right-click Surface Mesh Attributes under Steel Pipe - Outer Walls and click Propagate.
2. Scroll down the list of surfaces and click Steel Pipe - Inner Walls.
3. Click Propagate to paste the settings for the Steel Pipe - Outer Walls surface to the Steel Pipe -
Inner Walls surface.
4. If you examine the Surface Mesh Attributes for the Steel Pipe - Inner Walls, you will see that the
settings are the same as those for the Steel Pipe - Outer Walls.
5. Save the database to create a backup of your settings.
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
During meshing an AcuTail window will open. Meshing progress is reported in this window. A
summary of the meshing process indicates that the mesh has been generated.
Figure 247:
Figure 248: Mesh Details Around the Pipe Intersection Viewed on the Symmetry Plane
Note that the mesh size in the main pipe decreases from left to right in the transition from a
region where global settings determine the size to the zone around the small pipe where the
settings are for a finer mesh.
6. Save the database to create a backup of your settings.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Based on these settings, AcuConsole will generate the AcuSolve input files, then launch the solver.
AcuSolve will run on a single processor to calculate the steady state solution for this problem.
2. Click Ok to start the solution process.
As the solution progresses, an AcuTail dialog will open. Solution progress is reported in this
dialog. A summary of the solution process indicates that the simulation has been completed. The
information provided in the summary is based on the number of processors used by AcuSolve. If
you used a different number of processors than indicated in this tutorial, the summary for your
run may be slightly different than the summary shown.
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated toAcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the next steps you will start AcuFieldView, manipulate the view of the model, display temperature
contours and velocity vectors on the symmetry plane, display temperature contours on the pipe wall
symmetry plane and display temperature contours at the outlet.
Starting AcuFieldView
When AcuFieldView is started directly from AcuConsole, the model will be displayed in an isometric view
with a Boundary Surface dialog open. The initial view is shown in perspective, with an outline around
the model. You will manipulate the view in the next steps, and in later steps will view different flow
characteristics using the Boundary Surface dialog.
Figure 249:
Figure 250:
Figure 251:
2.
Turn off the display of the outline around the model by clicking on the toolbar.
3. Change the view from perspective to orthographic.
a) Click on the View menu.
b) Click Perspective to disable this option.
Figure 252:
Figure 253:
b)
Click .
You will see the view change as soon as you click a button in the Defined Views dialog.
rotate middle
zoom right
In the next steps you will create a boundary surface to display contours of fluid temperature on the
symmetry plane.
1.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Figure 254:
Figure 255:
f) Move the legend by Shift+left-clicking and dragging the legend to the left.
Figure 256:
In the next steps you will create a new boundary surface and display velocity vectors on that surface.
Figure 257:
Figure 258:
5. Zoom in on the junction of the small inlet with the main pipe to view details of velocity vectors.
a)
Click on the toolbar.
b) Draw a box around the junction of the two pipes.
Figure 259:
Note: The Show Legend option for the temperature contour (Surface ID 1) is
disabled in order to capture this image.
The velocity vectors indicate the direction of flow. The vector length indicates the magnitude
of the flow velocity. Adding velocity vectors to a view with temperature contours allows you to
visualize temperature and velocity simultaneously.
In the next steps you will create a boundary surface to display contours of temperature on the stainless
steel pipe walls at the symmetry plane.
1. Click on the Transform Controls toolbar to center the visible surfaces and to fit the view in the
window.
2.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
3. Disable the visibility of the temperature contours on the symmetry plane and of the velocity
vectors.
a) Set the Surface ID to 1.
b) Disable the Visibility option on the Surface tab.
c) Set the Surface ID to 2.
d) Disable the Visibility option on the Surface tab.
4. Click Create on the Surface tab of the Boundary Surface dialog.
The new Surface ID will be 3.
5. Enable the Smooth option in the DISPLAY TYPE control group.
6. Enable the Scalar option in the COLORING control group.
7. Set temperature as the scalar property to display.
a) Click Select in the Scalar Function control group to open the Function Selection dialog.
b) Select temperature from the list.
c) Click Calculate.
8. Set the stainless-steel pipe symmetry plane as the location for display of the contours.
a) Scroll up in the list of BOUNDARY TYPES and click OSF:Steel Pipe - Symmetry.
b) Click OK.
Figure 260:
In the next steps you will create a boundary surface to display contours of temperature at the outlet.
1.
Click the icon to open the Boundary Surface dialog.
2. Click Create on the Surface tab of the Boundary Surface dialog.
The new Surface ID will be 4.
Figure 261:
Figure 262:
9. Change the color scale to better resolve differences in the temperature contours.
When the scalar function for temperature is calculated by AcuFieldView, minimum and maximum
values are calculated for use in a colormap for the contour display. You can edit the coloring to
better resolve differences in the pressure distribution.
Note: You could also make this the current surface by double-clicking the
surface in the modeling window.
Figure 263:
Notice that the Min: and Max: values for the Function Range change when the Local option is
toggled.
c) Enable the Local option.
Figure 264:
3.2.6 Summary
In this tutorial you worked through a basic workflow to set up a simulation of conjugate heat transfer
in a mixing elbow. Once the case was set up, you generated a mesh and generated a solution using
AcuSolve. Results were post-processed in AcuFieldView to allow you to create contour and vector
views along the symmetry plane of the model. New features introduced in this tutorial include: flows of
different temperatures, simulating heat transfer within a fluid, simulating heat transfer between a fluid
and a solid (conjugate heat transfer), creation of a new material model, modeling of shared surfaces
at fluid/solid interfaces, and copying and pasting (propagation) of settings from one surface group to
another.
This tutorial provides the instructions for setting up, solving and viewing results of 3D, turbulent flow
with conjugate heat transfer in a mixing elbow. It is designed to introduce you to the AcuSolve tool set
with a simple problem.
The basic steps in any CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow.
Details of the setup for the static simulation of this problem are shown in ACU-3100: Conjugate Heat
Transfer in a Mixing Elbow. The following additional capabilities of AcuSolve are introduced in this
tutorial:
• Simulating transient flow characteristics
• Creating and applying multiplier functions
• Using the restart capability
• Decoupling of the flow and temperature simulations ("frozen" flow field for thermal simulations)
• Creating an animation from transient results
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy the MixingElbow_ColdSlug.acs directory and its
contents from <AcuSolve installation directory>\model files\tutorials\AcuSolve
\Acu_tutorial_inputs.zip to a working directory.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem is divided into two components, a steady state solution and a transient solution. The flow
and thermal fields that are established in the steady simulation will be used as a starting point for the
transient simulation. The use of these "frozen" flow and thermal fields dramatically reduces the overall
solution time necessary to solve the thermal transient model. This technique of solving temperature
separate from the flow field is a powerful feature that can be applied to a broad class of problems.
Note that this simulation approach relies on decoupling of the thermal and momentum fields. If there is
strong coupling between the flow and thermal fields (that is, through temperature-dependent material
properties), this approach cannot be applied.
The steady state portion of the problem is shown schematically in Figure 265. It consists of a mixing
elbow made of stainless steel with water entering through two inlets with different velocities and with
different temperatures.
This case is the same as the one used in ACU-3100: Conjugate Heat Transfer in a Mixing Elbow. The
geometry is symmetric about the XY midplane of the pipe, as shown in the figure. This symmetry
allows the flow to be modeled with the use of a symmetry plane. The use of a symmetry plane leads to
reduced computation time while still providing an accurate solution.
Details of the problem characteristics are shown in the following images extracted from a sample
worksheet that was created prior to setting up the case for AcuSolve.
The diameter of the large inlet is 0.1 m, the inlet velocity (v) is 0.4 m/s and the temperature (T) of the
fluid entering the large inlet is 295 K. The diameter of the small inlet is .025 m, the velocity is 1.2 m/s,
and the temperature of the fluid entering the small inlet is 320 K. The pipe wall has a thickness of 0.005
m.
Figure 266:
The fluid in this problem is water, with the following properties that do not change with temperature; a
3 -3
density (ρ) of 1000 kg/m , a molecular viscosity (μ) of 1 X 10 kg/m-sec, a conductivity (k) of 0.598
W/m-K, and a specific heat (cp) of 4183 J/kg-K, as shown in the worksheet.
Figure 267:
3
The pipe walls are made of stainless steel with a density of 8030 kg/m , a conductivity of 16.2 W/m-K,
and a specific heat of 500 J/kg-K.
Figure 268:
Based on mass conservation, the combined flow rate (Q) yields a velocity of 0.475 m/s downstream of
the small inlet. This value is useful in determining the Reynolds number, which in turn can be used to
determine if the flow should be modeled as turbulent, or if it should be modeled as laminar.
Figure 269:
In order to determine whether the modeled flow would be turbulent or whether it would be laminar, the
Reynolds number (Re) should be calculated. The Reynolds number is given by:
where ρ is the fluid density, v is the fluid velocity, D is the diameter of the flow region, and μ is the
molecular viscosity of the fluid. When the Reynolds number is above 4,000, it is generally accepted that
flow should be modeled as turbulent.
The Reynolds numbers of 40,000 at the large inlet, 30,000 at the small inlet, and 47,500 for the
combined flow indicate that the flow is turbulent throughout the flow domain.
Figure 270:
The simulation will be set up to model steady state, turbulent flow. In addition, the thermal
characteristics of the flow will be modeled using advection and diffusion equations.
The simulation will be set up to model steady state, turbulent flow. In addition, the thermal
characteristics of the flow will be modeled using advection and diffusion equations. The simulation will
be set up to model steady state, turbulent flow with varying temperature.
Figure 271:
In addition to setting appropriate conditions to capture the physics of the simulation, it is important
to generate a mesh that is sufficiently refined to provide good results. In this tutorial the global mesh
size is set to provide at least 30 mesh elements around the circumference of the large inlet. For this
problem, the global mesh size is 0.0106 m. This mesh size was chosen to provide a quick turnaround
time for the model. For real-world simulations, you would modify your mesh settings after an initial
solution until a mesh-independent solution is reached (that is, a solution that does not change with
further mesh refinement).
AcuSolve allows for mesh refinements in a user-defined region that is independent of geometric
components of the problem such as volumes, model surfaces, or edges. It is useful to refine the mesh
in areas where gradients in pressure, velocity, eddy viscosity, and the like are steep. For this problem ,
the flow entering the large pipe from the side pipe creates large velocity gradients that need to be
resolved. A mesh refinement zone is used to capture the flow in this region.
Figure 272:
Once a steady state solution is calculated, you will create a transient database, modify settings, and
solve for the transient temperature characteristics of the problem.
The starting point for the transient portion of the problem is shown schematically in Figure 273. It
consists of a mixing elbow with a steady state solution for flow and temperature. A cold slug of water is
injected at both inlets during the simulation. The temperature excursion drops the temperature at both
inlets to 283.15 K for a duration of 1.0 s.
symmetry plane
stainless steel
water
large inlet
flow direction
v = 0.4 m/sec
T0 = 295 K
Tmin = 283.15 K
symmetry plane
small inlet
flow direction
v = 1.2 m/sec
T0= 320 K
Tmin = 283.15 K
The temperature profile at the inlets is shown in Figure 274. The temperature of the water flowing in
the large inlet at t=0 is 295 K and the temperature of the fluid flowing in the small inlet at t=0 is 320
K. The temperature is held constant for 0.2 s, then is ramped down at both inlets and reaches 283.15
K at 0.4 s into the simulation. The temperature is held constant for 1 s. The temperature is ramped up
beginning at 1.4 s, and by 1.6 s the inlet temperatures are back to their initial states.
For this case, the minimum duration would be the time it takes for the cold slug to move completely
through the domain. This minimum period is given by the steady state transit time through the domain
added to the duration of the cold slug.
Transit time can be estimated using the inlet velocity at the large inlet and the estimated length of the
flow path. The flow path is made up of a straight section 0.2 m long (l1), a 90-degree elbow section
with an average radius of 0.15 m (lelbow), and another straight section 0.2 m long (l2).
Figure 275:
The inlet velocity for the large inlet is 0.4 m/s. Given a flow path of 0.6356 m, the transit time will
be approximately 1.6 s. In order to predict the movement of the cold slug through the domain, our
simulation period would be at least 3.2 s.
Figure 276:
To allow time for the thermal conditions to return to the steady state, additional time can be added to
the simulation. For this case 1.3 s will be added for a total simulation period of 4.5 s.
Figure 277:
Another critical decision in a transient simulation is choosing the time increment. The time increment
is the change in time during a given time step of the simulation. It is important to choose a time
increment that is short enough to capture the changes in flow properties of interest, but does not
require unnecessary computation time.
There are two methods commonly used for determining an appropriate time increment. The first
method involves identification of the time scales of the transient behaviors of interest and setting the
time increment to sufficiently resolve those behaviors. The second method involves setting a limit on
the number of mesh elements that the flow can cross in a given time step. A convenient metric for
the number of mesh elements crossed per time step is the Courant-Friederichs-Lewy number, or CFL
number. With this method, the time increment can be computed from the mesh size, the flow velocity,
and the desired CFL number. In this tutorial, the time increment was calculated using the global mesh
size and a CFL number of 2, ensuring that any portion of the cold slug will not advance past more than
2 mesh elements within a given step. For a real-world problem, you would base your calculations on the
mesh size at in the mesh zone of interest.
Figure 278:
The temperature change at the large inlet is from 295 K to 283.15 K. At the small inlet the temperature
changes from 320 K to 283.15 K. The ratio of the cold slug temperature to the initial temperature of the
large inlet flow is 0.9598. The ratio of the cold slug temperature to the initial temperature of the small
inlet flow is 0.8848. These values will be used in creating multiplier functions to model the transient
temperatures at the inlets.
Figure 279:
Once a transient solution is calculated, the results of interest are the transient thermal characteristics of
the fluid and pipe walls at different times in the simulation.
In the next steps you will start AcuConsole and open a database that is set up for a steady state
simulation for flow and conjugate heat transfer. You will then run AcuSolve to calculate a steady state
solution, view the results with AcuFieldView, and save the database for the transient simulation.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Open mixingElbow_ColdSlug.acs.
a) Click the File menu, then Open.
b) Browse to the Mixing_Elbow_Cold_Slug\Completed-Steady directory.
c) Click mixingElbow_ColdSlug.acs and Open to open the database.
3. Run AcuSolve to solve the steady state problem.
a) Click on the toolbar to open the Launch AcuSolve dialog.
Figure 280:
Based on these settings, AcuConsole will generate the AcuSolve input files, then launch the
solver. AcuSolve will run on a single processor to calculate the steady state solution for this
problem.
b) Click Ok to start the solution process.
During meshing an AcuTail window will open. Meshing progress is reported in this window. A
summary of the meshing process indicates that the mesh has been generated.
Figure 281:
The steady state flow field was calculated as the starting point for the transient simulation of
temperature. For instructions on visualising steady state results, refer to ACU-3100: Conjugate Heat
Transfer in a Mixing Elbow.
The transient portion of the simulation will use the same geometry and many of the same attributes
as used in the steady state simulation. As such, you can create a copy of the steady state database
and then modify the settings as needed to set up the transient simulation. You will save the transient
database in a different directory to avoid confusion of the steady and transient runs.
In the next steps you will modify global settings needed for the transient portion of the simulation.
The general attributes that you will modify for the transient simulation are the subtitle and the analysis
type.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 282:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 283:
Figure 284:
In the next steps you will set attributes that control the behavior of AcuSolve as it progresses during
the transient solution.
Figure 285:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Enter 0 for Max time steps.
This value indicates that AcuSolve should ignore this setting and calculate the maximum number
of time steps using the final time and the time increment.
3. Enter 4.5 sec for the Final time.
Figure 286:
In the next steps you will set an attribute that impacts how often results from the transient simulation
are written to disk. Writing the results every three time steps produces a collection of output states
that can be used to create an animation of the simulation once the run has completed. Note that more
frequent output can be used, but it will result in higher disk space usage.
Figure 287:
AcuSolve provides the ability to scale values as a function of time and/or time step during a simulation.
This is achieved through the use of a multiplier function. In this tutorial, the inlet temperature varies as
the simulation progresses. By taking advantage of multiplier functions, you can easily set up functions
to model the temperature changes at the inlets.
In the next steps you will create a multiplier function for the temperature at the large inlet, duplicate
it, and modify the copy to be used with the small inlet. These multiplier functions will be applied to the
large and small inlets later in this tutorial.
Figure 288:
In this tutorial, the inlet temperatures drop from initial conditions to 283.15 K, are held at that
temperature, and then ramp back up to the initial temperatures.
Figure 289:
To make the creation of the multiplier functions as simple as possible, you will use the PB* filter in the
Data Tree Manager.
1. Click PB* in the Data Tree Manager to show all problem-definition settings.
Figure 290:
2. Right-click Multiplier Function under Global in the Data Tree and click New to create a new
multiplier function.
3. Rename the multiplier function.
Figure 291:
6. Add the curve-fit values for the large inlet temperature profile.
a) Click Open Array to open the Array Editor dialog.
Figure 292:
b) Click Add.
c) Enter 0.2 in the X column and 1 in the Y column.
d) Click Add again and enter 0.4 in the X column and 0.9598 in the Y column.
These entries will be used to indicate the ratio of the initial temperature to temperature at
different times during the simulation.
e) Repeat this process until you have entered all of the values shown in the following table.
X (sec) Y
0.0 1
0.2 1
0.4 0.9598
1.4 0.9598
1.6 1
4.5 1
f) Click Plot to expand the Array Editor dialog to display the plot of the curve fit values.
You may need to expand the dialog by dragging the right edge in order to see the plot.
Figure 293:
g) Click OK.
7. Duplicate the multiplier function.
Note: The Type of Piecewise Linear is inherited from the multiplier function
for the large inlet.
X (sec) Y
0.0 1.0
0.2 1.0
0.4 0.8848
1.4 0.8848
1.6 1.0
4.5 1.0
d) Click OK.
In the following steps you will set the inlet boundary conditions that produce the time varying
temperatures at the large and small inlets. This will be achieved by modifying the boundary conditions
to use the multiplier functions that you created earlier in this tutorial.
In the next steps you will associate the Temp - large inlet multiplier function with the large inlet
boundary condition.
1. Click BC in the Data Tree Manager to show only items related to setting boundary conditions.
2. Expand the Model > Surfaces > Large Inlet tree item.
3. Double-click Simple Boundary Condition under Large Pipe to open the Simple Boundary
Condition detail panel.
4. Click On next to Advanced features to expose additional options.
5. Change Temperature multiplier function to Temp - large inlet.
This instructs AcuSolve to determine the inlet boundary value for temperature by first evaluating
the multiplier function, then multiplying its value by the specified value of temperature. Since the
multiplier-function value changes as a function of time, the inlet temperature will change as a
function of time.
Figure 294:
In the next steps you will associate the Temp - small inlet multiplier function with the small inlet
boundary condition.
1. Expand the Model > Surfaces > Small Inlet tree item.
2. Double-click Simple Boundary Condition under Small Pipe to open the Simple Boundary
Condition detail panel.
3. Click On next to Advanced features to expose additional options.
4. Change Temperature multiplier function to Temp - small inlet.
Figure 295:
In the next steps you will modify the AcuSolve settings to run the transient solution. The main feature
that you will use is a restart. A restart allows you to start a solution based on the results of a previous
solution. In this case, the flow and thermal field from the initial solution that you performed in this
tutorial will be used as the starting point. Since the flow and turbulence equations were turned off when
defining the solution strategy, the temperature field is the only one that will be solved.
Note: You can drag the right edge of the dialog to make it wider.
From run 0
Figure 296:
Figure 297:
Now that transient results have been calculated, you are ready to review the flow field with
AcuFieldView. AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve.
AcuFieldView can be started directly from AcuConsole, or it can be started from the Start menu, or
from a command line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is
calculated by AcuSolve.
In the following steps you will display the temperature contours for the fluid and for the pipe walls on
the symmetry plane, add velocity vectors to the view, then animate the results.
Starting AcuFieldView
In the next steps you will create a boundary surface to display contours of fluid and solid temperature
on the symmetry plane at the end, middle, and beginning of the transient simulation. The first
visualization will be for the last time step in the simulation, which is the last set of results loaded from
AcuSolve when AcuFieldView was started.
1.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Figure 298:
i) Move the legend by Shift+left-clicking and dragging the legend to the left.
Figure 299:
This image was created with a white background, perspective turned off, outlines turned off, and
the viewing direction set to +Z.
When AcuFieldView is run from a transient AcuSolve case, the results from the final time step are
shown by default.
10. Display contours of temperature at the middle of the transient simulation.
a) Click the Tools menu and then click Transient Data to open the Transient Data Controls
dialog.
Figure 300:
Note: Note that the slider under SOLUTION TIME is all the way to the right.
The contours currently displayed are from the end of the simulation.
a) Move the slider control to TIME STEP 42, or enter 42 in the field, and click Apply.
The resulting contours show the thermal conditions at time step 42.
Figure 301:
Figure 302:
Note that the contours from the beginning of the simulation are similar to those from the end of
the simulation. The conditions changed as the cold slug propagated through the pipe, and then
returned to initial conditions. The contours from the middle of the simulation show that the steel-
wall temperature near the intersection of the small pipe was higher than for the nearby water,
reflecting a lag in the temperature change of the wall compared to the water.
In the next steps you will create a new boundary surface and display velocity vectors on that surface.
The resulting visualization will be compared to the one created for the steady state solution.
This sets the color of the vectors to a constant color. By default, the color is black.
3. Set vector options.
a) Click the Vectors radio button.
b) Click Options next to Vectors to open the Vector Options dialog.
Figure 303:
The setting of 87.5% will result in 12.5% of the vectors being displayed.
The setting of 25% will result in 75% of the vectors being displayed.
f) Close the dialog.
4. Set the symmetry plane as the location for display of the vectors.
a) Click OSF: Symmetry in the list of BOUNDARY TYPES.
b) Click OK.
Figure 304:
In the next steps you will view the transient thermal data for the cold slug.
2. Click the Tools menu and then click Transient Data to open the Transient Data Controls
dialog.
Figure 305:
3. Click Sweep.
As AcuFieldView prepares the sweep, you will see the controls advance on the Transient Data
Controls dialog, and you will see the visualization update at each time step. Once the sweep is
finished, it will play continuously until you change the controls.
4. Change the playback rate.
a) Click the View menu and then click Minimum Time Between Frames.
Figure 306:
In the next steps you will create a transient sweep and save it as an animation that can be viewed
independently of AcuFieldView.
1. Click the Tools menu and then click Transient Data to open the Transient Data Controls
dialog.
2. Click Tools > Flipbook Build Mode.
3. Click OK to dismiss the Flipbook Size Warning dialog.
The Sweep button on the Transient Data Controls dialog will have changed to Build.
Figure 307:
4. Use the slider control to set the SOLUTION TIME to the first time step and click Apply.
5. Click Build.
As AcuFieldView builds the flipbook animation, you will see the controls on the Transient Data
Controls dialog advance. Once the flipbook is built, a Flipbook Controls dialog will allow you to
play or save the animation.
Figure 308:
6.
Click to play the animation.
Figure 309:
3.3.5 Summary
In this tutorial you worked through a basic workflow to set up a transient simulation case. You were
provided with a fully set up steady state case to use as initial conditions for the transient simulation.
The transient simulation was carried out using the "frozen flow" methodology to simulate the transient
temperature field without recomputing the velocity field. Once the transient case was set up and solved,
results were post-processed in AcuFieldView to allow you to create contour and vector views along the
symmetry plane of the model, and to animate the temperature contours. New features introduced in
this tutorial include transient simulation, multiplier functions, restarts, frozen flow and animation of
transient results.
This tutorial provides the instructions for setting up, solving and viewing results for a steady simulation
of air flow through a greenhouse using enclosure radiation and porous media. In this simulation,
AcuSolve is used to compute the motion and the resulting pressure drop created due to presence of
a porous media (tomato crops) as well as temperature distributions across the greenhouse due to
radiation. This tutorial is designed to introduce you to a number of modeling concepts necessary to
perform simulations that use porous media and enclosure radiation.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Modeling porous material medium
• Modeling enclosure radiation and use of radiation symmetry planes
• Post-processing with AcuProbe
• Post-processing the nodal output with AcuFieldView to get velocity and temperature fields from
multiple data sets
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract Greenhouse_Enclosure.x_t from Acu_tutorial_input.zip.
The problem to be addressed in this tutorial is shown schematically in Figure 310 and Figure 311. It
consists of a low cost gable type greenhouse with tomato plants modeled as porous media, and four
inlets and outlet vents. Soil heating cables are used under the plants to keep the greenhouse warm
during night time. The fluid enters through the inlet vents, passes through the tomato plants, and then
exits the greenhouse through the outlet vents located on the roof.
Greenhouses are high-tech structures dedicated to the horticultural needs of plants, particularly
flowers, vegetables and fruits. Environmental properties such as temperature, light exposure, irrigation,
fertilization, humidity and ventilation can be precisely controlled for optimal crop growth.
The geometry is symmetric about the length and width of the greenhouse, as shown in Figure 311. This
symmetry allows the flow and radiation to be modeled with the use of symmetry planes. The use of a
symmetry plane leads to reduced computation time while still providing an accurate solution.
Air enters the inlet vent at an average speed of 0.8 m/s and temperature 293 K which is considered the
temperature of ambient air around the greenhouse. The outlet vent is considered a constant pressure (p
= patm) outlet boundary.
The fluid in this problem is air, which has the following material properties:
3
• Density (ρ): 1.225 kg/m
-5
• Viscosity (µ): 1.781 X 10 kg/m-s
• Specific Heat (Cp): 1005 J/kg-K
• Conductivity (k): 0.0251 W/m-K
The density variation will be calculated according to the Boussinesq model in order to take into account
the natural convection effects.
The simulation will be set up to model steady state, turbulent flow in order to determine the climate
distribution inside the greenhouse at night.
The tomato crops inside the greenhouse are modeled as porous media. The air flow for a porous media
is governed by the Darcy-Forchheimer equation given by:
where
• is the permeability of the medium
• is the dimensionless inertial factor
The permeability value for tomato crops is 0.017 and the dimensionless inertial factor is 0.25. The
resulting pressure drop equation is given by:
For greenhouse applications where the permeability of the crops is significant the viscous contribution
due to porous media is negligible, so the pressure gradient depends on the quadratic term alone.
The thermal properties of the plants are taken into account through the effective value of thermal
conductivity and specific heat using weighted arithmetic mean considering the volume percentage of
solid material to be 60 percent.
The effective thermal conductivity and specific heat can be determined as:
The enclosure radiation inside the greenhouse is modeled using the Stefan-Boltzmann law. The
emissivity values for materials are as follows:
• Air (Outside): 0.05
• Plants: 0.46
• Ground: 0.9
• Walls: 0.7
In addition to setting appropriate conditions for the simulation, it is important to generate a mesh
that will be sufficiently refined to provide good results. For this problem the global mesh size is set
to provide at least 20 elements along the biggest dimensions of the greenhouse, that is, length and
height.
Note that higher mesh densities are required where velocity, pressure and eddy viscosity gradients are
larger. Local mesh refinements are used for the volume region containing the porous media and the
inlet and outlet surfaces. Proper boundary layer parameters need to be set to keep the y+ near the
wall surface to a reasonable level. The mesh density used in this tutorial is coarse and is intended to
illustrate the process of setting up the model and to retain a reasonable run time. A significantly higher
mesh density is needed to achieve a grid converged solution.
Once a solution is calculated, the flow properties of interest are the temperature distribution between
the ground and roof and the pressure drop across the porous media.
No TOC
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group parameters, adding geometry components to
groups, and assigning mesh controls and boundary conditions to the groups. Next you will generate a
mesh and run AcuSolve to compute the steady state solution. Finally, you will visualize the results using
AcuFieldView.
In the next steps you will start AcuConsole and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named Greenhouse_Enclosure_Night and open this folder.
5. Enter Greenhouse_Enclosure_Night as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
6. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
In next steps you will set the parameters that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. This filter limits the options in the Data Tree to show
only the basic settings.
The physical models that you define for this tutorial correspond to steady state, turbulent flow.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 312:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 313:
Figure 314:
Tip:
You may need to widen the detail panel from the default size by dragging the right
edge of the panel frame.
In the next steps you will set attributes that control the behavior of AcuSolve as it progresses during
the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Enter 100 for Max time steps.
4. Check that the Convergence tolerance is set to 0.001 seconds.
5. Set the Relaxation factor to 0.4.
The relaxation factor is used to improve convergence of the solution. Typically a value between
0.2 and 0.4 provides a good balance between achieving a smooth progression of the solution and
the extra compute time needed to reach convergence. Higher relaxation factors cause AcuSolve
to take more time steps to reach a steady state solution. A high relaxation factor is sometimes
necessary in order to achieve convergence for very complex applications.
Figure 315:
AcuConsole has three pre-defined materials, Air, Aluminum and Water. You will need to modify the
material properties of Air and create a new material model which would model the properties of tomato
plants as porous media. AcuConsole has a porosity option under material properties to model porous
medium.
In the next steps you will modify the density of air to model natural convection using Boussinesq
approximation. Additionally, you will create a new material model named Porous_Plants and assign the
material properties associated with it.
Figure 316:
Figure 317:
Figure 318:
The emissivity model option specifies an ideal grey-surface emissivity model for the radiation equation.
AcuConsole has a pre defined emissivity model for a black body. You will need to create additional
emissivity models for the ambient air outside, greenhouse walls, plants and the floor surface covered by
soil.
In the next steps you will create new emissivity models and then assign the emissivity values
associated with them.
1. Click RAD in the Data Tree Manager to filter all but the radiation settings in the Data Tree.
Figure 319:
8. Similarly, create three more emissivity models named Ground, Plants and Walls and set their
emissivity values as 0.9, 0.46 and 0.7, respectively.
You will import the geometry in the next part of this tutorial. You will need to know the location of
Greenhouse_Enclosure.x_t in order to complete these steps. This file contains the model of the
greenhouse in the Parasolid ASCII format.
Figure 324:
Radiation symmetry planes can be used to compute enclosure radiation heat transfer on geometrical
models that are a half, quarter, or eighth of the corresponding full models. The radiation facets are
reflected across each symmetry plane to create the full model. All planes must be mutually orthogonal.
In the next steps you will define the number of symmetry planes, their orientation and a coordinate
point on which the symmetry planes intersect.
Figure 325:
4. Click Open Array next to Symmetry center to open the Array Editor for the symmetry center.
5. Enter the coordinates of center as (2.0, 0.0 and 1.0).
Figure 326:
6. Click Show to see the center point. You may need to increase the width to see the point.
7. Click Open Array next to Symmetry direction-1 to open the Array Editor for the first symmetry
direction.
8. Enter the directions as (0,1,0).
9. Click Show to see the direction on the geometry.
10. Similarly set the second symmetry direction as (1,0,0).
Volume groups are containers used for storing information about a volume region. This information
includes the list of geometric volumes associated with the container, as well as attributes such as
material models and mesh size information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group, create a new volume group and assign the
material for that group.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 327:
Figure 328:
When the geometry was loaded into AcuConsole, all geometry volumes were placed in the default
volume group container. At this point, all of the volume in the default volume group is the flow
region. Rather than create a new container, add the flow volume in the geometry to it, and then
delete the default volume container, you will rename the container and modify the parameters for
this group.
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
• Inlet
• Outlet
• Greenhouse_Walls
• Plant_Cover_Upstream
• Plant_Cover_Downstream
• Plant_Cover_Sides
• Symmetry_1
• Symmetry_2
• Ground
In the next steps you will define a surface group for the inlet, assign the appropriate settings, and add
the inlet from the geometry to the surface group.
Figure 331:
c) Click Done to add this geometry surface to the Inlet surface group.
You can also use the middle mouse button to complete the addition of geometry components
to a group.
In the next steps you will define a surface group for the outlet, assign the appropriate settings and add
the outlet from the geometry to the surface group.
1. Right-click Surfaces > New to create a new surface group.
2. Rename Surface 1 to Outlet.
3. Expand the Outlet surface group in the Data Tree.
4. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 332:
c) Click Done to associate this geometry surface with the surface settings of the Outlet group.
In the next steps you will define a surface group for the walls, assign the appropriate settings and add
the faces from the geometry to the surface group.
Figure 334:
c) Click Done to associate this geometry surface with the Greenhouse_Walls surface container.
In the next steps you will define a surface group for the ground, assign the appropriate settings and add
the faces from the geometry to the surface group.
Figure 336:
c) Click Done to add this geometry surface to the Ground surface group.
In the next steps you will define surface groups for the symmetry planes, assign the appropriate
settings and add the symmetry plane surfaces from the geometry to the surface.
1. Turn off the visibility for the Inlet, Outlet, Greenhouse_Walls and Ground surfaces.
2. Right-click Surfaces > New to create a new surface group.
3. Rename Surface 1 to Symmetry 1.
4. Expand the Symmetry_1 surface in the Data Tree.
5. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
6. Double-click Simple Boundary Condition under Symmetry_1 to open the detail panel.
7. Change the Type to Symmetry.
8. Add the geometry surface to the Symmetry_1 group.
a) Right-click Symmetry_1 > Add to.
b) Click the symmetry surface in the +X direction.
At this point, the symmetry surface should be highlighted by the color gray.
c) Click Done to add this geometry surface to the Symmetry_1 surface group.
Figure 337:
9. Similarly, create another surface group named Symmetry_2 with simple boundary condition of
Type Symmetry and assign the symmetry surface in the +Y direction.
Figure 338:
In the next steps you will define surface groups for the plant cover, assign the appropriate settings and
add the plant cover surfaces from the geometry to the surface group.
1. Turn off the visibility for the Symmetry_1 and Symmetry_2 surfaces.
2. Right-click Surfaces > New to create a new surface group.
3. Rename the surface to Plant_Cover_Upstream.
4. Turn off the simple boundary condition for this surface by unchecking the box next to Simple
Boundary Condition.
Figure 339:
Figure 340:
At this point, the Plant_Cover_Upstream surface should be highlighted by the color gray.
c) Click Done to add this geometry surface to the Plant_Cover_Upstream surface group.
d) Turn off the display for the surface.
There are two sets of surfaces for the plant surfaces which belong to different volume sets.
In this case they can be moved into the same surface group.
e) Right-click Plant_Upstream_Cover > Add to.
f) Select the remaining Plant_Cover_Upstream surface.
g) Click Done to associate this geometry surface with the surface settings of the
Plant_Cover_Upstream group.
Note that no boundary conditions are applied to this surface at this point. The grouping
operation was performed to identify that these surfaces are internal and that flow will be
allowed to pass through them freely. These surfaces can still be used for output purposes,
however.
6. Click RAD in the Data Tree Manager.
7. Under Plant_Cover_Upstream, activate the Radiation Surface to open the detail panel.
8. Change the Type to Wall.
9. Change the Emissivity model to Plants.
10. Similarly create another surface group named Plant_Cover_Downstream with simple boundary
condition turned off.
11. Assign the surface opposite to Plant_Cover_Upstream as Plant_Cover_Downstream.
Note that you will need to assign the surface group again after turning off the visibility.
12. Rename the default group to Plant_Cover_Sides.
13. Turn off the simple boundary condition for this surface by unchecking the box next to Simple
Boundary Condition.
Figure 341:
14. Assign plant emissivity models to Plant_Cover_Downstream and Plant_Cover_Sides surfaces using
the Radiation Surface option.
Now that the flow characteristics have been set for the whole problem and for the individual surfaces,
attributes need to be added to make sure that a sufficiently refined mesh is generated.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups or edge groups.
In the next steps you will set global meshing attributes. In subsequent steps you will set the volume
and surface meshing attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Check that the Mesh size type to Absolute.
5. Enter 0.1 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 33 mesh elements on the inlet.
6. Set the Mesh growth rate to 1.1.
This option is used to control the rate at which the mesh transitions between regions of different
surface and volume size. By default, the mesher will increase in size at a rate of approximately
2:1 between regions of adjacent size within the mesh. By setting this option to a value between
1.0 and 2.0, the mesh transition will be smoother across the size transitions.
Figure 342:
In the following steps you will set the meshing attributes that will allow for localized control of the mesh
size on the volume groups that you created earlier. Specifically, you will set local meshing attributes that
control the size of elements inside the Greenhouse_Plants volume group.
1. Expand the Model > Volume > Greenhouse_Plants Data Tree item.
2. Click the checkbox next to Volume Mesh Attributes to enable the settings and open the Volume
Mesh Attributes detail panel.
3. Enter 0.05 as the Absolute mesh size.
In the following steps you will set the meshing attributes that will allow for localized control of the mesh
size on the surface groups that you created earlier. Specifically, you will set local meshing attributes for
inlet and outlet. You will also set attributes that control the growth of boundary layer elements normal
to the surfaces of the greenhouse walls and ground.
• Inlet
• Outlet
• Greenhouse_Walls
• Ground
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the inlet.
1. Expand the Model > Surfaces > Inlet Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Enter 0.05 as the Absolute mesh size.
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the outlet.
1. Expand the Model > Surfaces > Outlet Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Enter 0.08 as the Absolute mesh size.
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the greenhouse walls. The mesh size on the wall will be inherited from the global mesh size
that was defined earlier. The settings that follow will only control the growth of the boundary layer from
the walls.
1. Expand the Model > Surfaces > Greenhouse_Walls Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing attributes when creating the
mesh on the surface of the walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Set the Boundary layer type to Full Control.
6. Set Resolve to First Element Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
efficient resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options.
When Boundary layer type is set to Full Control and the First Layer Height is resolved, the Total
layer height, Number of layers and the Growth rate are specified. Boundary layer elements will
be grown until the mesh size of the top layer matches the mesh size of the volume into which the
boundary layer elements are grown.
7. Enter 0.05 m for the Total layer height.
8. Enter 1.1 for the Growth rate.
9. Enter 4 for the Number of layers.
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the fan blades.
1. Expand the Model > Surfaces > Ground Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Change the Mesh size type to None.
4. Turn on the Boundary layer flag option.
5. Set the Boundary layer type to Full Control.
6. Set Resolve to First Element Height.
7. Enter 0.075 m for the Total layer height.
8. Enter 1.1 for the Growth rate.
9. Enter 4 for the Number of layers.
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 348:
3. Examine the mesh in the modeling window. For the purposes of this tutorial, the following steps
lead to the display of inlet, outlet and greenhouse walls.
a) Right-click Volumes > Display off.
b) Right-click Surfaces > Display on.
c) Right-click Surfaces > Display type > solid & wire.
4. Rotate, move or zoom the view to examine the mesh.
5. Right-click on the model and select cut plane visualization to view the mesh near the plants.
Running AcuSolve
In the next steps you will run AcuSolve to compute the solution for this case.
Figure 351:
While AcuSolve is running you can monitor the results using AcuProbe.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the AcuProbe dialog double-click Residual Ratio to expand the tree.
3. Right-click Final > Plot All.
The residual ratio measures how well the solution matches the governing equations.
Figure 352:
The pressure drop between the upstream and downstream surfaces of the plant cover can be viewed
using a user function at the end of the simulation using AcuProbe.
1.
In the AcuProbe dialog double-click the icon.
2. Enter the name in the User Function dialog as Pres_Drop.
3. In the dialog type P_1 =.
4. Double-click Surface Output to expand the tree.
5. Double-click Plant_Cover_Upstream tri3 Greenhouse_Plants tet4 to expand the tree.
6. Right-click pressure > Copy Name.
7. Paste the value in the User Function dialog for Plant_Cover_Upstream pressure.
8. Repeat the above steps for Plant_Cover_Downstream tri3 Greenhouse_Plants tet4 pressure.
9. Type value = P_1 – P_2.
Figure 353:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 354:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView, use multiple data sets to display velocity magnitude
and temperature on the full geometry at the mid-plane surfaces and boundary surfaces of the
greenhouse.
Starting AcuFieldView
Figure 355:
When you start AcuFieldView from AcuConsole, the results from the last time step of the solution
that were written to disk will be loaded for post-processing.
Creating Boundary Surface Showing Temperature for the Outer Surfaces with
Mesh
1. Disable perspective view from viewer options by clicking Viewer Options and unchecking the
Perspective checkbox.
2. Disable the axis markers from the viewer options.
3. Orient the geometry so you can see inlet, outlet and greenhouse wall surfaces, as shown in the
figure.
4. Click boundary surfaces. Temperature will already be selected as the scalar function.
5. Select the inlet, outlet, ground and greenhouse wall surfaces from boundary types.
6. Click the Colormap tab and then select the checkbox for Local to display the local range of
values of temperature for the selected surfaces.
7. Turn on the legend on the Legends tab and change the color to black from the color palette.
You can move the legend using Ctrl + left click.
8. Change the annotation color to black.
Figure 356:
1. Click File > Data Input > AcuSolve [Direct Reader] to open the reader for .log files to be
read.
2. Select the Append option to add another data set to AcuFieldView for post-processing.
3. Select the checkbox for Read Extended Variables to read extended variables from the file.
Figure 357:
4. Click Read Grids & Results Data... and select the Greenhouse_Enclosure_Night.1.Log from
your working directory.
5. Click Open.
6. The Function Subset Selection dialog opens. Check that all of the variables are selected and
click OK.
Figure 358:
Figure 359:
You can move between datasets using the +,- signs next to the dataset number or directly type
the number of datasets you want to view.
2. Go to the first dataset and activate the Mirror checkbox under DUPLICATION.
Figure 360:
Figure 361:
5. Repeat the steps in the previous section to show the temperature on the inlet, outlet, ground and
greenhouse wall surfaces for this dataset.
You can skip turning on the legend again since these datasets are duplicates of each other.
6. Go back to the Dataset Controls dialog and under TRANSLATE enter -4 for the X value.
Figure 362:
Figure 363:
Figure 364:
Figure 365:
1.
Click the icon to open the Coodinate Surface dialog and create a new surface at the mid –X
coordinate surface.
2. Select the Scalar Function as velocity_magnitude.
3. Change the DISPLAY TYPE to Vectors.
Figure 366:
Figure 367:
Figure 368:
6. Click the Colormap tab in the Coordinate Surface dialog and then set the coloring to Local.
7. Turn on the legend and set the ANNOTATION coloring to black.
1. Turn off the display for the coordinate surface showing the velocity vectors.
2.
Click the icon to open the Coodinate Surface dialog and create a new surface at the mid –Y
coordinate surface.
3. Under COORD PLANE enter -0.7 as the Current value.
This is the y coordinate for the mid plane between greenhouse plants.
Figure 369:
Figure 370:
No TOC
3.4.7 Summary
In this tutorial you worked through a basic workflow to set up a steady state simulation with enclosure
radiation and porous media in a greenhouse. Once the case was set up, you generated a mesh and
generated a solution using AcuSolve. AcuProbe was used to post-process the pressure drop across the
porous plants in the greenhouse. Results were also post-processed in AcuFieldView to allow you to
create multiple datasets to view the velocity vectors and temperature contours on the full geometry.
New features introduced in this tutorial include using the enclosure radiation feature, creating a porous
material medium, creating symmetry radiation surfaces and creating multiple datasets in AcuFieldView.
This tutorial provides the instructions for setting up, solving and viewing results for a steady simulation
of air flow through a greenhouse using solar and enclosure radiation along with thermal shell and
porous media. In this simulation, AcuSolve is used to compute the temperature and solar flux
distribution due solar radiation incident on the roof which is modeled as a thermal shell. This tutorial is
designed to introduce you to a number of modeling concepts necessary to perform simulations that use
thermal shells and solar radiation.
The basic steps in any CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow
and the steps to set up enclosure radiation and porous media were shown in ACU-3200: Greenhouse
Nocturnal Climate Simulation-Enclosure Radiation and Porous Media. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Modeling thermal shells
• Modeling solar radiation and use of acuSflux script
• Post-processing with AcuProbe
• Post-processing the nodal output with AcuFieldView to get solar flux and temperature fields
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow and ACU-3200: Greenhouse Nocturnal Climate Simulation-Enclosure Radiation and Porous Media.
It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You will also
need access to a licensed version of AcuSolve 2017.2.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract Greenhouse_Solar.x_t, solar_flux.dat and Greenhouse_Enclosure_Night.acs from
Acu_tutorial_input.zip.
The problem to be addressed in this tutorial is shown schematically in Figure 371. It consists of a low
cost gable type greenhouse with tomato plants modeled as porous media, and four inlets and outlet
vents. The roof of the greenhouse is modeled as a thermal shell with three layers in order to account for
heat transfer due to its thickness. The fluid enters through the inlet vents, passes through the tomato
plants, and then exits the greenhouse through the outlet vents located on the roof.
Greenhouses are high-tech structures dedicated to the horticultural needs of plants, particularly
flowers, vegetables and fruits. Environmental properties such as temperature, light exposure, irrigation,
fertilization, humidity and ventilation can be precisely controlled for optimal crop growth.
Air enters the inlet vent at an average speed of 1.8 m/s and temperature 303 K which is considered the
temperature of ambient air around the greenhouse. The outlet vent is considered a constant pressure (p
= patm) outlet boundary.
The fluid in this problem is air, which has the following material properties:
3
• Density (ρ): 1.225 kg/m
-5
• Viscosity (µ): 1.781 X 10 kg/m-s
• Specific Heat (Cp): 1005 J/kg-K
• Conductivity (k): 0.0251 W/m-K
The density variation will be calculated according to the Boussinesq model in order to take into account
the natural convection effects.
The simulation will be set up to model steady state, turbulent flow in order to determine the climate
distribution inside the greenhouse at day time, due to the incident solar radiation.
The incident solar radiation is computed using the acuSflux script provided with the installation. The
location is selected as Sunnyvale California, USA at latitude 37.3688° N and longitude 122.0363° W.
The date is selected as 30th August 2016. The time of the day is taken as 10:30 am in the morning.
The solar radiation is modeled by adding the solar fluxes to the thermal energy equation computed
using a ray trace algorithm. The ray trace algorithm uses the Monte Carlo method to compute exchange
factors and the solar heat flux on every surface.
The interaction of a solar ray photon with a surface may occur in five different ways:
• Specular transmission : Photon passes straight through a surface with no change of direction.
• Diffuse transmission : Photon penetrates the surface, but its outgoing energy is uniformly
distributed in solid angle over the hemisphere, weighted by projected surface area.
• Specular reflection : angle of reflection is equal to the angle of incidence.
• Diffuse reflections : similar to diffuse transmission, except the hemisphere over which the
outgoing energy is distributed is on the same side of the surface as the incident photon.
• Absorption : Photon may be absorbed by the surface.
These five interactions are associated with five surface properties that together obey the following
constraint:
For computation purposes all of the surfaces are assumed to be gray bodies, that is, emissivity and
absorption are assumed to be independent of wavelength. Further from Kirchhoff’s law of radiation
absorptivity is assumed to be equal to the emissivity of the material.
The cover material on the roof of the greenhouse is semi-transparent and the plants, ground and walls
are diffusively radiating opaque surfaces.
• Plants:
• Ground:
• Walls:
Thermal shells are used to model the energy equation in solid materials where the thinness of
the geometry makes it inconvenient to use it as solid. A solid or shell element set solves only the
temperature and mesh displacement equations, while all other equations, such as flow, turbulence, and
species, are ignored.
Geometrically, the shell is infinitely thin, so that the pairs of nodes in an element that are on opposite
sides of the shell have the same coordinates. The shell medium supports only wedges and bricks.
For a single layer thermal shell the complete 3D heat transfer equation is solved considering the
complete volume element of thickness specified. For multiple layer thermal shell, between the two sides
of the shell, the element is divided up into a number of layers. Each layer is assigned a material model
and a thickness and a one dimensional heat equation is solved through the shell thickness.
The roof of the greenhouse is modeled as a thermal shell with four layers each of thickness 0.25 cm.
The material model of the thermal shell has the following properties:
3
• Density (ρ): 930 kg/m
• Specific Heat (Cp): 2000 J/kg-K
• Conductivity (k): 0.35 W/m-K
Note: For the analysis of porous media and enclosure radiation properties, please refer
to ACU-3200: Greenhouse Nocturnal Climate Simulation-Enclosure Radiation and Porous
Media.
In addition to setting appropriate conditions for the simulation, it is important to generate a mesh
that will be sufficiently refined to provide good results. For this problem the global mesh size is set to
provide at least 33 elements along the biggest dimensions of the greenhouse, the length.
Note that higher mesh densities are required where velocity, pressure, and eddy viscosity gradients
are larger. Local mesh refinements are used for the volume region containing the porous media and
the inlet and outlet surfaces. Proper boundary layer parameters need to be set to keep the y+ near the
wall surface to a reasonable level. The mesh density used in this tutorial is coarse and is intended to
illustrate the process of setting up the model and to retain a reasonable run time. A significantly higher
mesh density is needed to achieve a grid converged solution.
Once a solution is calculated, the flow properties of interest are the temperature distribution on the
ground and roof and the solar flux on the roof of the greenhouse.
Starting AcuConsole
In this tutorial, you will begin by opening an existing database, modifying and adding the geometry-
independent settings, replacing the geometry, creating additional groups, setting group parameters,
adding geometry components to groups, and assigning mesh controls and boundary conditions to
the groups. Next you will generate a mesh and thermal shell with its associated properties. Then you
will run AcuSolve to compute the steady state solution. Finally, you will visualize the results using
AcuFieldView.
In the next steps you will start AcuConsole open and rename the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. From the File menu, click Open to open the Open data base dialog.
Note: You can also open the dialog by clicking on the toolbar.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set the parameters that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. This filter limits the options in the Data Tree to show
only the basic settings.
The physical models that you define for this tutorial correspond to steady state, turbulent flow.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 372:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 373:
Figure 374:
Tip: You may need to widen the detail panel from the default size by dragging the
right edge of the panel frame.
In the next steps you will set the parameters that control the behavior of AcuSolve as it progresses
during the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Ensure that Max time steps is set to 100.
4. Check that the Convergence tolerance is set to 0.001 seconds.
5. Set the Relaxation factor to 0.4.
The relaxation factor is used to improve convergence of the solution. Typically a value between
0.2 and 0.4 provides a good balance between achieving a smooth progression of the solution and
the extra compute time needed to reach convergence. Higher relaxation factors cause AcuSolve
to take more time steps to reach a steady state solution. A high relaxation factor is sometimes
necessary in order to achieve convergence for very complex applications.
Figure 375:
AcuConsole has three pre-defined materials, Air, Aluminum and Water. You will need to modify the
material properties of Aluminum and create a new material model which would model the properties of
cover material for defining the thermal shell in the later steps.
In the next steps you will modify the density of aluminum. Additionally, you will create a new material
model named Cover_Shell and assign the material properties associated with it.
Figure 376:
2. Right-click Aluminum in the Data Tree and select Duplicate to make a copy of the Aluminum
material model.
3. Right-click Copy of Aluminum in the Data Tree and select Rename. Enter Cover_Shell as the
new name.
4. Double-click Cover_Shell to open the detail panel.
5. Check that the Material type for Cover_Shell is Solid.
The default material type for any new material created in AcuConsole is Fluid.
6. Click the Density tab.
3
The density of cover is 930.0 kg/m .
7. Click the Specific Heat tab. The specific heat of plants is 2000 J/kg-K.
8. Click the Conductivity tab. The conductivity of cover is 0.35 W/m-K.
9. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
The solar radiation models command specifies an ideal grey-surface solar radiation model to calculate
the solar heat flux. AcuConsole has a predefined solar radiation model for a black body. You will need
to create additional solar radiation models for the roof, greenhouse walls, plants and the floor surface
covered by soil.
In the next steps you will create new solar radiation models and the assign the values associated with
them.
1. Click RAD in the Data Tree Manager to filter all but the radiation settings in the Data Tree.
2. Double-click Solar Radiation Model in the Data Tree to expand it.
3. Right-click Solar Radiation Model in the Data Tree and select New to make a new solar
radiation model.
A new solar radiation model will be created with the name Solar Radiation Model 1.
4. Right-click Solar Radiation Model 1 and select Rename.
5. Enter Cover as the new name.
6. Double-click Cover to open the detail panel.
7. Check that Type is set as Constant for all the parameters.
8. Enter the values for the cover material as shown in the image below.
9. Similarly create three more solar radiation models named: Ground, Plants and Walls and set their
solar radiation values as shown below.
The solar radiation parameters command specifies the global parameters for solar radiation heat flux.
2
AcuConsole has a predefined solar radiation flux of -1352.0 W/m in the –Z direction.
The value would be read from the file solar_flux.dat generated by the acuSflux script.
Tip: To generate the solar_flux.dat file, execute the following command from the
command line:
You will import the geometry in the next part of this tutorial. You will need to know the location of
Greenhouse_Solar.x_t in order to complete these steps. This file contains the model of the greenhouse
in the Parasolid ASCII format.
For this tutorial, the default values for the Import Geometry dialog are used to load the geometry.
If you have previously used AcuConsole, any changes to these settings will be preserved between
AcuConsole sessions. Make sure that any settings that you might have altered are manually changed
to match the default values shown. With the default settings, volumes from the CAD model are
added to a default volume group. Surfaces from the CAD model are added to a default surface group.
You will work with groups later in this tutorial to create new groups, set simulation attributes, add
geometric components, and set meshing attributes
6. Click Ok to complete the geometry import.
Figure 381:
Volume groups are containers used for storing information about a volume region. This information
includes the list of geometric volumes associated with the container, as well as attributes such as
material models and mesh size information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will assign the volumes to existing volume groups.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 382:
Figure 383:
Figure 384:
Figure 385:
8. Check that the material model for the volume Greenhouse_Plants is set to Porous_Plants.
a) Expand the Greenhouse_Plants volume.
b) Double-click Element Set under Greenhouse_Main to open the Element Set detail panel.
c) Check that the Material model is set as Porous_Plants.
Figure 386:
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs, and mesh sizing information.
When the geometry was replaced into AcuConsole, all surfaces are placed in the surface container
named "default" and the existing surface groups becoming empty.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
• Inlets_1
• Inlets_2
• Outlet
• Greenhouse_Walls
• Plant_Cover
• Roof
• Ground
In the next steps you will create a copy of surface group Inlet, rename them to Inlets_1 and Inlets_2,
assign the appropriate settings, and add the inlets from the geometry to the surface groups.
Figure 387:
Figure 388:
Figure 389:
c) Click Done to add this geometry surface to the Inlet surface group.
You can also use the middle mouse button to complete the addition of geometry components
to a group.
13. Propagate the settings for Simple Boundary Condition and Radiation Surface to the Inlets_2
surface group.
Note: You may need to switch between BAS and RAD in the Data Tree Manager or
display all the attributes by selecting the ALL filter.
Figure 390:
At this point, the inlets should be highlighted by grey color. If it is difficult to find the inlet
surfaces, change the display type to outline to see where the inlets are located.
In the next steps you will assign the appropriate settings, and add the outlet from the geometry to the
surface group
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Outlet surface group in the Data Tree.
Figure 391:
Figure 392:
c) Click Done to associate this geometry surface with the surface settings of the Outlet group.
In the next steps you will define a surface group for the walls, assign the appropriate settings and add
the faces from the geometry to the surface group.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Greenhouse_Walls surface in the Data Tree.
3. Under Greenhouse_Walls, double-click Simple Boundary Condition and check that the Type is
set to Wall.
4. Click RAD in the Data Tree Manager.
5. Check that the Type is set to Wall.
6. Check that the Emissivity model is set to Walls.
7. Under Greenhouse_Walls, activate the Radiation Surface to open the detail panel.
Figure 393:
8. In the Data Tree, click the Solar Radiation Surface checkbox to activate and open the detail panel.
9. For Side of Surface, select Inward.
10. For Solar Radiation model, select Walls.
Figure 394:
Figure 395:
c) Click Done to associate this geometry surface with the Greenhouse_Walls surface container.
In the next steps you will define a surface group for the ground, assign the appropriate settings and add
the faces from the geometry to the surface group.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Ground surface.
3. Double-click Simple Boundary Condition to open the detail panel.
4. Check that the Type is set to Wall.
5. Set the Temperature BC type to Flux.
The default value of 0 is used for the Heat Flux for the ground.
Figure 396:
Figure 397:
Figure 398:
c) Click Done to add this geometry surface to the Ground surface group.
In the next steps you will define surface groups for the plant cover, assign the appropriate settings and
add the plant cover surfaces from the geometry to the surface group.
1. Turn off the visibility for the Ground, Walls, Inlets and Outlet surfaces.
2. Rename the surface Plant_Cover_Upstream to Plant_Cover.
3. Add the geometry surface to the Plant_Cover surface group.
a) Right-click Plant_Cover > Add to.
b) Click all the plant surfaces.
If it is difficult to find the surface, turn on the visibility for the volume group and set the
display type to Outline.
Figure 399:
Figure 400:
In the next steps you will define surface groups for the roof, assign the appropriate settings and add the
roof surface from the geometry to the surface group.
Figure 401:
8. In the Data Tree, click the Solar Radiation Surface checkbox to activate and open the detail
panel.
9. For Side of Surface, select Inward.
10. For Solar Radiation model, select Cover.
Figure 402:
Note: At this point, all remaining volume containers, including the default container,
should be empty.
12. Right-click on Surfaces and click Purge to remove the empty volume containers.
No TOC
Now that the flow characteristics have been set for the whole problem and for the individual surfaces,
attributes need to be added to make sure that a sufficiently refined mesh is generated.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups or edge groups.
In the next steps you will set global meshing attributes. In subsequent steps you will set the volume
and surface meshing attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Check that the Mesh size type to Absolute.
5. Enter 0.1 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 33 mesh elements on the inlet.
6. Set the Mesh growth rate to 1.1.
This option is used to control the rate at which the mesh transitions between regions of different
surface and volume size. By default, the mesher will increase in size at a rate of approximately
2:1 between regions of adjacent size within the mesh. By setting this option to a value between
1.0 and 2.0, the mesh transition will be smoother across the size transitions.
Figure 403:
In the following steps you will set the meshing attributes that will allow for localized control of the mesh
size on the volume groups that you created earlier. Specifically, you will set local meshing attributes that
control the size of elements inside the Greenhouse_Plants volume group.
1. Expand the Model > Volume > Greenhouse_Plants Data Tree item.
2. Click the checkbox next to Volume Mesh Attributes to enable the settings and open the Volume
Mesh Attributes detail panel.
3. Enter 0.07 as the Absolute mesh size.
Figure 404:
In the following steps you will set the meshing attributes that will allow for localized control of the mesh
size on the surface groups that you created earlier. Specifically, you will set local meshing attributes for
inlet and outlet. You will also set attributes that control the growth of boundary layer elements normal
to the surfaces of the greenhouse walls and ground.
• Inlets_1
• Inlets_2
• Outlet
• Greenhouse_Walls
• Ground
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the inlet.
1. Expand the Model > Surfaces > Inlets_2 Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Check that 0.05 is set as the Absolute mesh size.
4. Repeat for Inlets_1.
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the outlet.
1. Expand the Model > Surfaces > Outlet Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Enter 0.02 as the Absolute mesh size.
Setting Surface Meshing Attributes for the Greenhouse Walls and Roof
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the greenhouse walls. The mesh size on the wall will be inherited from the global mesh size
that was defined earlier. The settings that follow will only control the growth of the boundary layer from
the walls.
1. Expand the Model > Surfaces > Greenhouse_Walls Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Check that the Mesh size type is set to None.
This option indicates that the mesher will use the global meshing attributes when creating the
mesh on the surface of the walls.
4. Turn On the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Check that the Boundary layer type is set to Full Control.
6. Set Resolve to First Element Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
efficient resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options.
When Boundary layer type is set to Full Control and the First Layer Height is resolved, the Total
layer height, Number of layers and the Growth rate are specified. Boundary layer elements will
be grown until the mesh size of the top layer matches the mesh size of the volume into which the
boundary layer elements are grown.
7. Enter 0.1 m for the Total layer height.
8. Enter 1.1 for the Growth rate.
9. Enter 4 for the Number of layers.
Figure 405:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the fan blades.
1. Expand the Model > Surfaces > Ground Data Tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
3. Check that the Mesh size type is set to None.
4. Check that the Boundary layer flag option is turned on.
5. Set the Boundary layer type to Full Control.
6. Set Resolve to First Element Height.
7. Enter 0.08 m for the Total layer height.
8. Enter 1.1 for the Growth rate.
9. Enter 4 for the Number of layers.
Figure 406:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 407:
3. Examine the mesh in the modeling window. For the purposes of this tutorial, the following steps
lead to the display of inlet, outlet and greenhouse walls.
a) Right-click Volumes > Display off.
b) Right-click Surfaces > Display on.
c) Right-click Surfaces > Display type > solid & wire.
4. Rotate, move or zoom the view to examine the mesh.
In the following steps you will generate the thermal shell, assign the number of layers, material
properties as well as radiation and solar radiation properties.
Figure 409:
3. The generated thermal shell will be exactly on the Top surface. Click Display On and Display Off
the display to visualize the surfaces.
4. Rename the default surface to Shell_Top.
5. Double-click Element Set to open the detail panel.
6. Check that the Medium is set to Thermal Shell.
7. For Number of shell layers, enter 4.
Figure 410:
8. Next to Shell thickness, click Open Array to open the Array Editor dialog to specify the
thickness of each shell.
9. Change the unit to cm and enter 0.25 for all the layers.
Figure 411:
Note: You might get a warning stating that number of rows are less than the table.
Click Yes to add None as the default material model for each shell.
12. Select the Cover_Shell as the material model for all the layers by clicking on the drop down
arrow.
Figure 412:
Since this surface belongs to the ‘default_shell’ volume, Simple Boundary Condition is disabled.
15. Click RAD in the Data Tree Manager.
16. In the Data Tree, under Shell_Top, click the Solar Radiation Surface checkbox to activate and
open the detail panel.
17. For Side of Surface, select Outward.
18. For Solar Radiation model, select Cover.
Figure 413:
No TOC
Running AcuSolve
In the next steps you will run AcuSolve to compute the solution for this case.
Based on these settings, AcuConsole will generate the AcuSolve input files, then launch the solver.
3. Click Ok to start the solution process.
As the solution progresses, an AcuTail dialog will open. Solution progress is reported in this
dialog.
Figure 414:
While AcuSolve is running you can monitor the results using AcuProbe.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the AcuProbe dialog double-click Residual Ratio to expand the tree.
3. Right-click Final > Plot All.
The residual ratio measures how well the solution matches the governing equations.
Figure 415:
The temperature on the roof of the greenhouse and the plant cover can be viewed at the end of
simulation using AcuProbe.
1. In the AcuProbe dialog double-click Radiation Output to expand the tree.
2. Double-click Plant_Cover tri3 Greenhouse_Plants tet4 to expand the tree.
3. Right-click on temperature and click Plot.
4. Repeat the above steps for the Roof.
Figure 416:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView to display temperature on the plants and roof and heat
flux on the roof of the greenhouse.
Starting AcuFieldView
1. Click Viewer Options and uncheck the Perspective checkbox to disable perspective view.
2. In the Viewer Options dialog, disable the axis markers.
3. Orient the geometry so you can see inlet, outlet and greenhouse wall surfaces.
4.
Click the icon to open the Boundary Surface dialog.
5. Check that Temperature is already selected as the Scalar Function.
6. Select the Plant_Cover tri3 Greenhouse_Plants tet4 surface from the BOUNDARY TYPES list.
7. Click the Colormap tab and then select the checkbox for Local to display the local range of
values of temperature for the selected surfaces.
8. Turn on the Legend on the Legends tab and change the color to black from the color palette.
You can move the legend using Ctrl + left click.
9. Change the annotation color to black.
Figure 417:
Creating the Boundary Surface Showing the Temperature and Heat Flux for the
Roof
1. In the Boundary Conditions dialog, select the Shell_Top surface from the BOUNDARY TYPES
list. Temperature should already be selected as the scalar function.
Figure 418:
Figure 419:
No TOC
3.5.6 Summary
In this tutorial you worked through a basic workflow to set up a steady state simulation with solar
radiation and thermal shell in a greenhouse. Once the case was set up, you generated a mesh and
generated a solution using AcuSolve. Then you generated the thermal shell and assigned radiation
properties to it. AcuProbe was used to post-process the temperature on the plant cover and roof
surfaces. Results were also post-processed in AcuFieldView to allow you visualize temperature contours
on the plant cover and roof, and heat flux values on the roof. New features introduced in this tutorial
include the solar radiation feature and thermal shell.
• 4.1 ACU-4000: Dam Break Simulation: Two Phase Problem (p. 459)
• 4.2 ACU-4001: Water Filling in a Tank (p. 486)
AcuSolve Tutorials
4 Multiphase p.459
This tutorial provides the instructions for setting up, solving and viewing results for a transient dam
break simulation using the level set method. In this simulation, a square column of water is initially
held at rest by walls in one end of a reservoir. The simulation begins when the walls holding the water
column are removed and the water is free to flow out. The simulation can be used to visualize and study
the surge patterns as the column of water rushes out, as in a dam wall break.
The basic steps in a CFD simulation have been discussed in the earlier tutorials. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Two-phase flow simulation using the level set method
• Transient simulation
• Use of a script for the water volume fraction initialization
• Post-processing with AcuFieldView
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract damBreak2D.x_t from the Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve. Parameters can be based on
geometrical elements (such as inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
In general, multiphase flows are mainly observed in real life environment, consisting of two or more
fluids (gas, liquid, or solid). They have possible combinations of gas-liquid (dissolved gas), liquid-liquid
(oil in water), liquid-solid (immersed particles), as well as gas-liquid-solid. The first two are examples
of two-phase immiscible flows. The two-phase immiscible flows can be solved by tracking the interface
between the two-phases. This tutorial will guide you through how to set up the two-phase flow problem
using the level set method.
The system being simulated contains a reservoir, along one corner of which stands a square water
column, held in place by walls. At time t = 0 the walls are removed. As the walls are removed, the
water column is now free to flow out and flow surges towards the other end of the reservoir. The
simulation can be used to visualize and study the surge patterns as the column of water rushes out, as
in a dam wall break.
The schematics of the problem which will be addressed in this tutorial is shown in Figure 420. The
system will be modeled as a two-dimensional problem by including only a single layer of extruded
elements in the spanwise direction.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics using AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Dam_break and open it.
5. Enter damBreak_2D as the file name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 421:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 422:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Note: Once this option is toggled on, the "Level Set" in the Multiphase equation
pull down list is displayed. The additional multiphase model, VOF (Volume of Fluids)
approach, will be introduced in a later release.
Figure 423:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Transient.
3. Set the Max time steps to 0.
4. Set the Final time to 1.0 secs.
5. Set the Initial time increment to 0.002498.
When setting up a transient analysis, if the Max time steps option is set to zero, this option is
ignored. In such a case, the Final time must be specified. AcuSolve will then run until this final
time is reached, incrementing with the specified initial time increment at each time step.
6. Check that the Convergence tolerance is set to 0.001 seconds.
7. Set the Max stagger iterations to 5.
Figure 424:
You will import the geometry in the next part of this tutorial. You will need to know the location of
damBreak2D.x_t in order to complete these steps. This file contains information about the geometry in
Parasolid ASCII format.
Figure 425:
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material properties of air and water match
the desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 426:
2. Double-click Air in the Data Tree to open the Air detail panel.
The material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. In the Density tab, check the following:
a) The Type is set to Constant.
3
b) The Density value is 1.225 kg/m .
-5
4. Click the Viscosity tab. The viscosity of air is 1.781 x 10 kg/m – sec.
5. Double-click Water in the Data Tree to open the detail panel.
The Material type for water is Fluid.
6. In the Density tab, check the following:
a) The Type is set to Constant.
3
b) The Density value is 1000 kg/m .
7. Click the Viscosity tab. The viscosity of water is 0.001 kg/m – sec.
The remaining thermal and other material properties are not critical to this simulation. However, you
may browse through the tabs to check the complete material specification
8. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
When Multifield is activated in the Problem Description, by selecting a Multifield equation, AcuConsole
automatically generates the necessary set of parameters required to complete the multifield model
definition. These include defining the fields in the model, and also specifying the interaction models
between the fields.
In this section you will go through and observe the multifield parameters for the simulation as
generated by AcuConsole.
The body force commands add volumetric source terms to the governing conservation equations. In
this tutorial, gravitational body force will be applied to the fluid fields. Gravity will be defined as equal
to standard gravity (g = 9.81 m/s2) along the negative Y-axis, which is the downward direction in the
model.
Figure 427:
Note: The definition of gravity here will have no effect on the simulation unless it is
assigned to some volume set in the model.
The nodal output command specifies the nodal output parameters, for example, output frequency and
number of saved states.
1. Expand the Output tree, then double-click Nodal Output to open the Nodal Output detail
panel.
2. Set Time step frequency to 1.
This will save the nodal outputs at every time step.
3. Set Output initial condition to On.
This will instruct the solver to write the initial state of the problem as the first output file.
4. Make sure that the Number of saved states is set to 0.
Setting this option to zero will instruct the solver to save all of the solution state files.
Figure 428:
1. Double-click on Nodal Initial Condition in the Data Tree to open the detail panel.
2. Set the Pressure initial condition type to Script.
3. Click Open text next to Pressure script to open the text editor.
4. Enter the following script in the text editor:
value = 0.0
if (x<0.05715 and y<0.05715): value=9.81*1000.0*(0.05715-y)
This script will set the pressure initial condition in the domain. The region where x < 0.05715
and y < 0.05715 represents the region where the water column is initially held, bound by the
dam walls. Within this region, the pressure is defined by the hydrostatic pressure level within the
water column. For all other nodes in the domain, the pressure is set to zero. At these nodes, the
pressure value represents the atmospheric pressure.
5. Click Ok to close the text editor.
value = 0.0
if (x<0.05715 and y<0.05715): value=1.0
This script will set the initial volume fraction of the field water in the domain. For the nodes where
x < 0.05715 and y < 0.05715 (the region occupied by the water column), the volume fraction
of water will be set to 1. For all other nodes, the volume fraction of water will be set to zero. At
these nodes, the volume fraction of air will be 1, as the sum of volume fractions of the field should
always be unity.
10. Click Ok to close the text editor.
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
Since the model for this tutorial has only a single volume, it will be the only volume in the default
volume group when the geometry is imported. Even when there is a single volume in the model, it is
advisable to rename the volume for ease of identification in future. In the next steps you will rename
the default volume group container, and set the material and other properties for it.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
a) Right-click on default.
b) Click Rename.
c) Enter Fluid as the new name and click Enter.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press Enter on your keyboard. If you move the input focus away from the
item without entering it, your changes will be lost.
Figure 429:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome (especially
for models with too many surfaces). To make it easier, less error prone, and for saving time two new
dialogs are provided in AcuConsole which you can use to verify and provide the information for all
surface or volume entities at once. They are the Volume Manager and Surface Manager. In this section
some features of the Surface Manager are exploited.
1. In the Data Tree, right-click on Volumes and select Display off to turn off the display of
volumes.
2. Right-click on Surfaces and select Surface Manager.
3. In the Surface Manager dialog, click New 2 times to create 2 new surface groups.
Note: If you cannot see the Simple BC Active and Simple BC Type columns, click
Columns, select these two columns from the list, and click Ok.
4. Turn the display off for all surfaces except for default surface.
5. Rename Surface Names (column 1) for Surface 1 to Surface 2, and set the Simple BC Active and
Simple BC Type columns as per the table shown below.
Figure 430:
Figure 431:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the
default surface group container. This default surface group was renamed to sides. In the
previous steps, you assigned some surfaces to various other surface groups that you created.
At this point, all that is left in the sides surface group are the surfaces which make up the
sides of the reservoir.
7. Close the Surface Manager dialog.
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
a) Click the drop-down control next to Mesh size type.
b) Click Absolute.
5. Set Absolute mesh size to 0.002748 m.
Figure 432:
Surface mesh parameters are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh parameters such as surface mesh parameters are not mandatory to be set. When a
local mesh parameter is not found for a component, the global parameters will be used as the mesh
generation control for that component. If a local mesh parameter is present, it will take precedence
over the global setting.
In the current model, any local mesh parameters specific to a surface entity are not required.
The present simulation is equivalent to a representation of a 2D cross section of the model. In AcuSolve
2D models are simulated by having just one element across the faces of the cross section. Thus when
these faces are set up with a similar boundary condition, it coerces the corresponding nodes across the
faces to have same results. In this problem, these faces are the negative and positive z-surfaces. This
kind of mesh is achieved in AcuSolve with mesh extrusion process. In the following steps you will define
the process of extrusion of the mesh between these surfaces.
Figure 433:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 434:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. You can visualize the mesh in the visualization area now. Turn on the display of surfaces, and set
the display type to solid and wire.
5. You can rotate and zoom in the model to analyse the various mesh regions.
No TOC
Running AcuSolve
In the next steps, you will launch AcuSolve to compute the solution for this case.
Figure 435:
The tutorial has been written with the assumption that you have become familiar with the AcuFieldView
interface and basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel menu to
create and modify surfaces in AcuFieldView
• How to move the data around the graphics window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Figure 436:
Setting Up AcuFieldView
Figure 437:
Figure 438:
1. From the Surface tab in the Boundary Surface dialog, turn off the Visibility for the active
boundary surfaces.
2. Click Create to create a new Boundary Surface set.
3. For the new set:
a) Turn on the visibility.
b) Set the Display Type to Outlines.
c) For Boundary Types, select All.
4. Click Ok.
5.
Click the icon to open the Coordinate Surface dialog.
6. Click Create to create a new coordinate surface.
7. Select Z as the Coordinate Plane.
This will create a coordinate surface at the mid – Z coordinate plane. The coordinate surface
created is the mid plane between the two side surfaces in the model.
8. Change the Coloring to Scalar.
9. Change the Display Type to Smooth.
10. For Scalar Function, select volume_fraction-Water.
11. In the Colormap tab, set the maximum and minimum threshold values to 0.501 and 0.499
respectively.
12. From the Defined Views list, select +Z as the viewing direction.
Your view should be similar to Figure 439.
Figure 439:
If the Sweep Control in this dialog says Sweep instead of Build, the Flipbook Build Mode is not active.
In Sweep mode, you will be able to create and visualize the animation but you will not be able to save
it. To be able to save the animation, enable the Flipbook Build Mode.
5. Drag the time step slider to its leftmost position. Alternatively, enter zero in the Time Step or
Solution Time box.
6. Click Apply.
The displayed state now corresponds to the initial state of the domain.
Figure 440:
7. Click Build.
AcuFieldView will now build the frame-by-frame animation of the solution progressing through all
the available time steps. You will be able to see the progress in the Building Flipbook dialog.
Once the Build process is complete, a Flipbook Controls dialog will appear.
8. In the Flipbook Controls dialog, click Frame Rate.
9. For Minimum time, enter 0.1 seconds and click Close.
10.
Click Play to play the animation.
11. To save the animation, click Pause , and then click Save.
12. Provide a file name in the Flipbook File Save dialog, and click Save.
4.1.5 Summary
In this AcuSolve tutorial you successfully set up and solved a multiphase flow problem. The problem
simulated a dam break scenario. A column of water initially held in place by walls in one end of the
reservoir is let free to flow at the start of the simulation. You started the tutorial by creating a database
in AcuConsole, importing and meshing the geometry, and setting up the simulation parameters. Air and
water are modelled as different fields occupying a single volume. Once the case was setup, the solution
was generated with AcuSolve. Results were post-processed in AcuFieldView where you generated an
animation of the water flow as it surges once the walls restricting the water column are removed.
New features that were introduced in this tutorial include: setting up a multiphase flow simulation in
AcuSolve with two fluids.
This tutorial provides the instructions for setting up, solving and viewing results for a transient
simulation of a two-phase flow in a square tank using the level set model. In this simulation, AcuSolve
is used to compute the time-varying water-level interface due to presence of water through the inlet
and the outlet of the tank. This tutorial is designed to introduce you to a number of modeling concept
necessary to perform two-phase simulations.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Two-phase flow solution
• Transient simulation
• Use of a script for the water volume fraction initialization
• Post-processing with AcuFieldView
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract tank2D.x_t from Acu_tutorial_input.zip.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve. Parameters can be based on
geometrical elements (such as inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity).
In general, multiphase flows are mainly observed in real life environment, consisting of two or more
fluids (gas, liquid, or solid). They have possible combinations of gas-liquid (dissolved gas), liquid-liquid
(oil in water), liquid-solid (immersed particles), as well as gas-liquid-solid. The first two are examples
of two-phase immiscible flows. The two-phase immiscible flows can be solved by tracking the interface
between the two-phases. This tutorial will guide you through how to set up the two-phase flow problem
using the level set method.
Figure 1 shows a schematic of the half-filled water tank at time t = 0. From t = 0 onwards, water is
injected through the inlet, at a velocity of 1.5 m/s. As the water fills in through the inlet, the water-air
interface can be visualized in a transient simulation.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics of the results using AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Tank_Filling and open it.
5. Enter tankFilling_2D as the file name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 442:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 443:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Note: Once this option is toggled on, the "Level Set" in the Multiphase equation
pull down list is displayed. The additional multiphase model, VOF (Volume of Fluids)
approach, will be introduced in a later release.
Figure 444:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Transient.
3. Set the Max time steps to 0.
4. Set the Final time to 3.0 secs.
5. Set the Initial time increment to 0.01 secs.
When setting up a transient analysis, if the Max time steps option is set to zero, this option is
ignored. In such a case, the Final time must be specified. AcuSolve will then run until this final
time is reached, incrementing with the specified initial time increment at each time step.
6. Check that the Convergence tolerance is set to 0.001.
7. Set the Max stagger iterations to 4.
Figure 445:
You will import the geometry in the next part of this tutorial. You will need to know the location of
tank2D.x_t in order to complete these steps. This file contains information about the geometry in
Parasolid ASCII format.
Figure 446:
For this tutorial, the default values for the Import Geometry dialog are used to load the
geometry. If you have previously used AcuConsole, be sure that any settings that you might have
altered are manually changed to match the default values shown in the figure. With the default
settings, volumes from the CAD model are added to a default volume group. Surfaces from the
CAD model are added to a default surface group. You will work with groups later in this tutorial to
create new groups, set flow parameters, add geometric components, and set meshing parameters.
5. Click Ok to complete the geometry import.
Figure 447:
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material properties of air and water match
the desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 448:
2. Double-click Air in the Data Tree to open the Air detail panel.
The material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. In the Density tab, check the following:
a) The Type is set to Constant.
3
b) The Density value is 1.225 kg/m .
-5
4. Click the Viscosity tab. The viscosity of air is 1.781 x 10 kg/m – sec.
5. Double-click Water in the Data Tree to open the detail panel.
The Material type for water is Fluid.
6. In the Density tab, check the following:
a) The Type is set to Constant.
3
b) The Density value is 1000 kg/m .
7. Click the Viscosity tab. The viscosity of water is 0.001 kg/m – sec.
The remaining thermal and other material properties are not critical to this simulation. However, you
may browse through the tabs to check the complete material specification
8. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
In this section you will define the multifield parameters for the simulation. These include defining the
fields in the model, and also specifying the interaction models between the fields.
The body force commands add volumetric source terms to the governing conservation equations. In
this tutorial, gravitational body force will be applied to the fluid fields. Gravity will be defined as equal
to standard gravity (g = 9.81 m/s2) along the negative Y-axis, which is the downward direction in the
model.
Figure 449:
Note: The definition of gravity here will have no effect on the simulation unless it is
assigned to some volume set in the model.
The nodal output command specifies the nodal output parameters, for example, output frequency and
number of saved states.
1. Expand the Output tree, then double-click Nodal Output to open the Nodal Output detail
panel.
2. Set Time step frequency to 1.
This will save the nodal outputs at every time step.
3. Set Output initial condition to On.
This will instruct the solver to write the initial state of the problem as the first output file.
4. Make sure that the Number of saved states is set to 0.
Setting this option to zero will instruct the solver to save all of the solution state files.
Figure 450:
1. Double-click on Nodal Initial Condition in the Data Tree to open the detail panel.
2. In the Select Fluid field, select Water from the drop-down selector menu.
3. Set the Water initial condition type to Script.
4. Click Open text next to Water volume fraction script to open the text editor.
5. Enter the following script in the text editor:
value = 0.0
if y <= 0.0 : value = 1.0
The script above will set the initial volume fraction of the field water in the domain. For the nodes
where y <= 0.0 (bottom half of the domain), the volume fraction of water will be set to 1. For all
other nodes (top half of the domain), the volume fraction of water will be set to zero. At these
nodes, the volume fraction of air will be 1, as the sum of volume fractions of the field should
always be unity.
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
Since the model for this tutorial has only a single volume, it will be the only volume in the default
volume group when the geometry is imported. Even when there is a single volume in the model, it is
advisable to rename the volume for ease of identification in future. In the next steps you will rename
the default volume group container, and set the material and other properties for it.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press Enter on your keyboard. If you move the input focus away from the
item without entering it, your changes will be lost.
Figure 451:
No TOC
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome (especially
for models with too many surfaces). To make it easier, less error prone, and for saving time two new
dialogs are provided in AcuConsole which you can use to verify and provide the information for all
surface or volume entities at once. They are the Volume Manager and Surface Manager. In this section
some features of the Surface Manager are exploited.
1. In the Data Tree, right-click on Volumes and select Display off to turn off the display of
volumes.
2. Right-click on Surfaces and select Surface Manager.
3. In the Surface Manager dialog, click New four times to create four new surface groups.
Note: If you cannot see the Simple BC Active and Simple BC Type columns, click
Columns, select these two columns from the list, and click Ok.
4. Turn the display off for all surfaces except for default surface.
5. Rename Surface Names (column 1) for Surface 1 to Surface 5, and set the Simple BC Active and
Simple BC Type columns as per the table shown below.
Figure 452:
Figure 453:
7. Assign the surface with the maximum x-coordinate to inlet surface group.
8. Assign the surface with the minimum x-coordinate to outlet surface group.
Use the following figure as the reference for selecting the required surfaces.
Figure 454:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to sides. In the previous steps,
you assigned some surfaces to various other surface groups that you created. At this point, all
that is left in the sides surface group are the surfaces which make up the sides of the reservoir.
9. Close the Surface Manager dialog.
Inlet
As mentioned earlier, the inlet in this problem is a water inlet with inlet velocity set as 1.5 m/s.
7. Set the Incoming fluid field to Water from the drop down selector menu.
Figure 455:
Outlet
Figure 456:
Wall
Figure 457:
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Set Absolute mesh size to 0.12.
Figure 458:
Surface mesh parameters are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh parameters such as surface mesh parameters are not mandatory to be set. When a
local mesh parameter is not found for a component, the global parameters will be used as the mesh
generation control for that component. If a local mesh parameter is present, it will take precedence
over the global setting.
In the next steps you will set the surface meshing attributes for the wall surface group.
In the last section, it was mentioned that surface mesh attributes are local mesh attributes that are
applied to a specific surface. Similarly, there is a provision for edge mesh attributes that are local to a
specific edge in the model. However, at times it is desired to specify a mesh attribute local to a region
independent of the CAD entities in the model. This can be achieved using Zone Mesh Attributes. It
is possible to specify a zone in the shape of a box, cylinder or a sphere for example, with local mesh
control attributes to be used within that zone. Wherever this zone overlaps the CAD model, the zonal
mesh attributes will be used instead of the global mesh attributes.
In the following steps, you will define a mesh refinement zone, and set up the zonal mesh attributes for
it to be used in the model. A box-shaped refinement zone will be used in the region where a water-air
interface is expected.
1. Right-click Zone Mesh Attributes under the Global branch in the Data Tree and click New.
2. Rename Zone Mesh Attributes 1 to Free surface region.
3. Double-click Free surface region to open the detail panel.
4. Change the Mesh zone type to Box.
5. Click Open Array.
6. Enter the values in the Array Editor as shown below and click OK.
Figure 459:
Figure 460:
Figure 461:
The present simulation is equivalent to a representation of a 2D cross section of the model. In AcuSolve
2D models are simulated by having just one element across the faces of the cross section. Thus when
these faces are set up with a similar boundary condition, it coerces the corresponding nodes across the
faces to have same results. In this problem, these faces are the negative and positive z-surfaces. This
kind of mesh is achieved in AcuSolve with mesh extrusion process. In the following steps you will define
the process of extrusion of the mesh between these surfaces.
Figure 462:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 463:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. You can visualize the mesh in the visualization area now. Turn on the display of surfaces, and set
the display type to solid and wire.
5. You can rotate and zoom in the model to analyse the various mesh regions.
No TOC
Running AcuSolve
In the next steps, you will launch AcuSolve to compute the solution for this case.
The tutorial has been written with the assumption that you have become familiar with the AcuFieldView
interface and basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel menu to
create and modify surfaces in AcuFieldView
• How to move the data around the graphics window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with transient analysis data.
Figure 464:
Setting Up AcuFieldView
Figure 465:
Figure 466:
1. From the Surface tab in the Boundary Surface dialog, turn off the Visibility for the active
boundary surfaces.
2. Click Create to create a new Boundary Surface set.
3. For the new set:
a) Turn on the visibility.
Figure 467:
If the Sweep Control in this dialog says Sweep instead of Build, the Flipbook Build Mode is not active.
In Sweep mode, you will be able to create and visualize the animation but you will not be able to save
it. To be able to save the animation, enable the Flipbook Build Mode.
5. Drag the time step slider to its leftmost position. Alternatively, enter zero in the Time Step or
Solution Time box.
6. Click Apply.
The displayed state now corresponds to the initial state of the domain.
Figure 468:
7. Click Build.
AcuFieldView will now build the frame-by-frame animation of the solution progressing through all
the available time steps. You will be able to see the progress in the Building Flipbook dialog.
Once the Build process is complete, a Flipbook Controls dialog will appear.
No TOC
4.2.7 Summary
In this AcuSolve tutorial you successfully set up and solved a multiphase flow problem. The problem
simulated a square shaped water tank in which water is being injected through an inlet. The tank also
has an open outlet. As the water fills in through the inlet, the air-water interface in the tank can be
visualized. You started the tutorial by creating a database in AcuConsole, importing and meshing the
geometry, and setting up the simulation parameters. Air and water are modelled as different fields
occupying a single volume. Once the case was setup, the solution was generated with AcuSolve. Results
were post-processed in AcuFieldView where you generated an animation of the water flow. New features
that were introduced in this tutorial include: setting up a multiphase flow simulation in AcuSolve with
two fluids.
This tutorial provides the instructions for setting up, solving and viewing results for a steady simulation
of a centrifugal air blower utilizing reference frames. In this simulation, AcuSolve is used to compute
the motion of fluid due to the rotation of the impeller blades as well as the resulting pressure drop
created between the inlet and outlet after the blades have been rotating for a long time. This tutorial is
designed to introduce you to a number of modelling concepts necessary to perform simulations that use
multiple reference frames.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Rotating reference frame
• Assigning of reference frame to volume and surface sets
• Post-processing using user function with AcuProbe
• Post-processing the nodal output with AcuFieldView to get pressure and velocity fields.
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract Centrifugal_Blower.x_t from Acu_tutorial_input.zip.
The problem to be addressed in this tutorial is shown schematically in Figure 469 and Figure 470. It
consists of a centrifugal blower with a wheel of backward curved blades, and a housing with inlet and
outlet ducts. The fluid through the inlet plane enters the hub of the blade wheel, radially accelerates
due to centrifugal force as it flows over the blades, and then exits the blower housing through the outlet
plane. Because of relatively cheaper and simpler than axial fans, centrifugal blowers have been widely
used in HVAC (heating, ventilating, and air conditioning) systems of buildings.
The diameter of the inlet plane is 0.1 m and the length of the inlet duct is 0.15 m. The housing width is
0.1 m and the radius of the housing from the blade wheel hub varies from 0.113 to 0.18 m.
The fan blades have a mean chord length and width of 0.05 m. The maximum thickness of the blades
is 0.003 m. The fan blades have an angular velocity of -1500 RPM. The negative sign describes the
direction of the angular velocity vector which in this case is in the –Z direction (clockwise rotation).
The boundary condition at the inlet is taken as stagnation pressure rather than mass flow rate so that
AcuSolve calculates mass flow rates and pressure rise based on impeller rotation.
3
The fluid in this problem is air, which has a density (ρ) of 1.225 kg/m and a viscosity (μ) of 1.781 X
-5
10 kg/m-sec.
In addition to setting appropriate conditions for the simulation, it is important to generate a mesh
that will be sufficiently refined to provide good results. For this problem the global mesh size is set to
provide approximately 16 elements around the circumference of the inlet which results in a mesh size
of 0.02 m. Note that higher mesh densities are required where velocity, pressure and eddy viscosity
gradients are larger. In this application, the flow will accelerate as it passes through radial flow paths
between the fan blades. This leads to the higher gradients that need finer mesh resolution. Proper
boundary layer parameters need to be set to keep the y+ near the wall surface to a reasonable level.
The mesh density used in this tutorial is coarse and is intended to illustrate the process of setting up the
model and to retain a reasonable run time. A significantly higher mesh density is needed to achieve a
grid converged solution.
Once a solution is calculated, the flow properties of interest are the mass flow rate at the outlet and the
pressure drop across the inlet and outlet. These parameters define the performance characteristics.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group parameters, adding geometry components to
groups, and assigning mesh controls and boundary conditions to the groups. Next you will generate a
mesh and run AcuSolve to compute the steady state solution. Finally, you will visualize the results using
AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Blower_MRF_Steady and open it.
5. Enter Blower_MRF_Steady as the file name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
The physical models that you define for this tutorial correspond to steady state, turbulent flow.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 471:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 472:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 473:
In the next steps you will set parameters that control the behavior of AcuSolve as it progresses during
the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Set the Max time steps as 100.
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material properties of air match the
desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 474:
2. Double-click Air in the Data Tree to open the Air detail panel.
The material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. Click the Density tab. The density of air is 1.225 kg/m3.
-5
4. Click the Viscosity tab. The viscosity of air is 1.781 x 10 kg/m – sec.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
You will import the geometry in the next part of this tutorial. You will need to know the location of
Centrifugal_Blower.x_t in order to complete these steps. This file contains information about the
geometry in Parasolid ASCII format.
Figure 475:
For this tutorial, the default values for the Import Geometry dialog are used to load the
geometry. If you have previously used AcuConsole, any changes to these settings will be
preserved between AcuConsole sessions. Make sure that any settings that you might have altered
are manually changed to match the default values shown. With the default settings, volumes from
the CAD model are added to a default volume group. Surfaces from the CAD model are added to
a default surface group. You will work with groups later in this tutorial to create new groups, set
simulation attributes, add geometric components, and set meshing attributes.
5. Click Ok to complete the geometry import.
Figure 476:
A reference frame is used to specify a rotating frame of reference. When specified for a volume set
in domain, the elements in that volume set are assumed to be solved in the given rotating reference
frame and rotational body forces are added for that volume set. In this tutorial, the fluid region near the
impeller blades is assigned a rotating reference frame.
1. Click PB* in the Data Tree Manager to display all the available settings related to general problem
setup in the Data Tree.
2. Expand the Global Data Tree item.
3. Right-click Reference Frame and click New to create a new reference frame.
4. Rename the new reference frame.
a) Right-click Reference Frame 1.
b) Click Rename.
c) Enter Impeller_RF.
5. Double-click Impeller_RF to open the detail panel.
6. Click the Open Array button next to Rotation center to open the Array Editor.
Figure 477:
Note: The negative sign specifies the clockwise direction of rotation. Note that the
rotation direction is determined using the “right-hand rule”.
Figure 478:
Volume groups are containers used for storing information about a volume region. This information
includes the list of geometric volumes associated with the container, as well as attributes such as
material models and mesh size information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group container, assign the materials for that
group, and set mesh motion for the fluid volume.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
When the geometry was loaded into AcuConsole, all geometry volumes were placed in the default
volume group container. At this point, all the volume in the default volume group is the flow region.
Rather than create a new container, add the flow volume in the geometry to it, and then delete the
default volume container, you will rename the container and modify the parameters for this group.
6. Rename the default volume group to Fluid_Impeller.
7. Check that the material model for the volumes is set as Air.
a) Double click Element Set under Fluid_Main to open it in the detail panel.
b) Ensure that the Material model is set to Air.
8. Repeat the steps for Fluid_Impeller.
9. Assign the reference frame Impeller_RF to Fluid Impeller.
a) In the detail panel, click the drop down arrow for the Reference frame field and select
Impeller_RF.
Figure 479:
Surface groups are containers used for storing information about a surface or a set of surfaces. This
information includes the list of geometric surfaces associated with the container, as well as attributes
such as boundary conditions, surface outputs and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem and add surfaces to the group containers.
• Inlet
• Outlet
• Walls
• Interface
• Fan Blades
In the next steps you will define a surface group for the inlet, assign the appropriate settings, and add
the inlet from the geometry to the surface group.
Figure 480:
Figure 481:
c) Click Done to add this geometry surface to the Inlet surface group.
Tip: You can also use the middle mouse button to complete the addition of
geometry components to a group.
In the next steps you will define a surface group for the outlet, assign the appropriate settings, and add
the outlet from the geometry to the surface group.
Figure 482:
Figure 483:
c) Click Done to add this geometry surface to the Outlet surface group.
In the next steps you will define a surface group for the walls, assign the appropriate settings, and add
the faces from the geometry to the surface group.
Figure 484:
Figure 485:
c) Click Done to associate this geometry surface with the Walls surface container.
In the next steps you will define a surface group for the Interface, assign the appropriate settings, and
add the Interface surfaces from the geometry to the surface group.
1. Turn off the display of the Inlet, Outlet, and Walls surfaces.
2. Create a new surface group.
3. Rename the new surface to Interface.
4. Expand Interface in the Data Tree.
5. Turn off the Simple Boundary Condition by unchecking the box next to it.
Figure 486:
Figure 487:
There are two sets of surfaces for the interface which belong to different volume sets. In this case
they can be moved into the same surface group.
8. Right-click Interface and click Add to.
9. Select the remaining interface surfaces.
10. Click Done to associate this geometry surface with the surface settings of the Interface group.
Note: Note that no boundary conditions are applied to this surface at this point. The
grouping operation was performed to identify that these surfaces are internal and
that flow will be allowed to pass through them freely. These surfaces can still be used
for output purposes, however.
In the next steps you will define a surface group for the Fan_Blades, assign the appropriate settings,
and add the fan blades from the geometry to the surface group.
Figure 488:
Now that the flow characteristics have been set for the whole problem and for the individual surfaces,
attributes need to be added to make sure that a sufficiently refined mesh is generated.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups, or edge groups
In the next steps you will set the global mesh attributes. In subsequent steps you will set the surface
meshing attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.02 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 50 mesh elements on the inlet.
6. Set the Maximum sweep angle as 30.0 degrees.
This option allows you to set the maximum sweep angle for edge blend meshing on a global basis
which creates a radial array of elements around sharp edges to provide better resolution of the
flow features. The sweep angle is used to control how many degrees each radial division spans.
Figure 489:
In the following steps you will set the meshing attributes that will allow for localized control of the mesh
size on the surface groups that you created earlier. Specifically, you will set local meshing attributes that
control the growth of boundary layer elements normal to the surfaces of the walls and fan blades.
• Walls
• Fan Blades
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the walls. The mesh size on the wall will be inherited from the global mesh size that was
defined earlier. The settings that follow will only control the growth of the boundary layer from the
walls.
Option Description
Number of layers 3
Figure 490:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near the fan blades.
1. Under Fan Blades, click the checkbox next to Surface Mesh Attributes to enable the settings
and open the Surface Mesh Attributes detail panel.
2. Change the Mesh size type to Absolute.
3. Enter 0.005 m as the Absolute mesh size.
4. Switch the Boundary layer flag to On.
5. Set the Boundary layer type to Full Control.
6. Set the Resolve field to Total Layer Height.
7. Set the remaining settings as follows:
Option Description
Number of layers 3
Figure 491:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 492:
Figure 493:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail window and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window. For the purposes of this tutorial, the following steps
lead to the display of inlet, outlet, walls and fan blades.
5. Right-click Volumes in the Data Tree and click Display off.
6. Right-click Surfaces in the Data Tree and click Display on.
7. Right-click Surfaces in the Data Tree, select Display type and click solid & wire.
8. Rotate and zoom in the model to analyze the various mesh regions.
9. Right-click on the model and select cut plane visualization to view the mesh near the fan
blades.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 496:
Based on these settings, AcuConsole will generate the AcuSolve input files and then launch the
solver.
4. Click Ok to start the solution process.
As the solution progresses, an AcuTail window will open. Solution progress is reported in this
window.
Figure 497:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the Data browser on the left, expand Residual Ratio. Right-click Final and select Plot All.
The residual ratio measures how well the solution matches the governing equations.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 498:
After AcuSolve has finished running, a summary of the solution process showing the “End Time
Step” data indicates that the simulation has been completed.
The pressure rise between the Inlet and Outlet can be viewed using a User Function at the end of
simulation using AcuProbe.
1.
In the AcuProbe window, double click on .
2. Enter the name in the User Function window as Pres_Rise.
Figure 499:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 500:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is based on a third-party post-processing tool that has been tightly integrated toAcuSolve.
AcuFieldView can be started directly from AcuConsole, or it can be started from the Start menu, or
from a command line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is
calculated by AcuSolve.
Starting AcuFieldView
Viewing the Boundary Surface Showing Pressure for the Outer Surfaces with
Mesh
Figure 501:
Figure 502:
Viewing the Boundary Surface Showing Velocity Magnitude for the Impeller
Blades
1. In the Boundary surfaces dialog, click the Surface tab and set Coloring to geometric.
2. Click the color swatch, and select grey.
3. Uncheck the Show Mesh option to turn off the mesh display.
4. Set the transparency to 62.5%.
5. Click Create to create a new boundary surface.
6. From the BOUNDARY TYPES list, select fan blades and click OK.
7. For Scalar function, select velocity magnitude and click Calculate.
8. Change the Coloring to scalar.
9. Set transparency to 0.
10. On the Colormap tab, turn on local .
11. On the Legends tab, click Show Legend.
12. Orient the geometry so you can see the contour on the impeller blades properly.
13. Turn off the legend for boundary surface 2.
1.
Click the Coordinate surfaces icon to open the Coordinate Surface dialog.
2. Click Create to create a new surface.
3. Set the new surface at the mid –Z coordinate surface.
4. In the Coord Plane fields, enter 0.05 as the Current value.
This is the z coordinate for the mid plane between the blower front and back walls.
5. Change the DISPLAY TYPE to smooth.
6. Change the Coloring to scalar.
7. Select velocity magnitude as the scalar function to display.
8. Click the Colormap tab and change the coloring to local.
9. Turn on the legend to display the velocity magnitude values on the coordinate plane.
10. Orient the geometry to see the surfaces from both sides.
Figure 503:
Figure 504:
5.1.7 Summary
In this tutorial you worked through a basic workflow to set up a steady state simulation with a rotating
reference frame in a centrifugal blower. Once the case was set up, you generated a mesh and generated
a solution using AcuSolve. AcuProbe was used to post-process the pressure rise in the blower. Results
were also post-processed in AcuFieldView to allow you to create contour views for the pressure along
the walls and velocity magnitude on the mid coordinate surface of the blower as well as the impeller
blades. New features introduced in this tutorial include creating a rotating reference frame and creating
a user function in AcuProbe.
This tutorial provides the instructions for setting up, solving and viewing results for a transient
simulation of a centrifugal air blower utilizing the sliding mesh approach. In this simulation, AcuSolve
is used to compute and visualize the motion of fluid in form of velocity field, streamlines and particle
path animations for three revolutions after the blower has been operating for a long time. This tutorial
is designed to introduce you to a number of modeling concepts necessary to perform simulations that
use the sliding mesh motion feature.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Mesh motion
• Use of multiplier function to scale the time step size
• Assigning and meshing interface surfaces
• Mesh refinement
• Projection of steady state solution as the initial condition
• Post-processing using AcuFieldView to get velocity fields, streamlines and streaklines animation.
Prerequisites
In order to run this tutorial, you should have already run through the Centrifugal Blower - Steady
tutorial and kept the solution in your working directory. It is assumed that you have some familiarity
with AcuConsole, AcuSolve, and AcuFieldView. You will also need access to a licensed version of
AcuSolve 2017.2. In case you do not have the steady state results, prior to running through this
tutorial, copy Centrifugal_Blower_MRF_Steady.acs from <AcuSolve installation directory>
\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
The problem to be addressed in this tutorial is shown schematically in Figure 505 and Figure 506. It
consists of a centrifugal blower with backward curved blades.
The diameter of the inlet is 0.1 m and the length is 0.150 m. The scroll width is 0.1 m and the radius
varies from 0.113 m to 0.180 m.
The fan blades have a mean chord length and width of 0.05 m. The maximum thickness of the blades is
0.003 m.
To capture the dynamic motion of the impeller blades, the simulation has to be run as transient. The
converged steady state solution from the steady blower simulation is projected on the mesh and used
as the initial state for the transient simulation.
The simulation will be run to model 0.12 s of the flow, which would constitute three revolutions of the
fan blades with time step sizes scaled using a multiplier function.
The multiplier function is chosen such that the impeller blades rotate at 10 degrees per time step for
the first revolution, then ramp down from 10 degrees per time step to 3 degrees per time step during
the second revolution and complete the third revolution at 3 degrees per time step.
Figure 507:
Note: Meaningful data should be taken after 2 or 3 revolutions as the initial conditions
are flushed out of the domain. The multiplier function is selected such that the simulation
completes in sufficient time for a tutorial exercise.
The time step size for the last revolution is based on prior investigations of a similar geometry, which
indicate that this time step size is small enough to capture the transient behavior of the flow. It should
be noted, however, that a time step size sensitivity study should always be performed to establish
appropriate time step size when analyzing a new application.
The CFD analysis of this problem offers detailed information about the flow through a centrifugal blower.
To investigate this behavior, it is necessary to select an appropriate set of boundary conditions to use.
There are two different methods that are commonly used. One approach is to specify the mass flow
rate at the inlet of the blower and allow AcuSolve to compute the pressure drop, that is, flow forces
simulation. Another option is to specify the stagnation pressure at the inlet and allow AcuSolve to
compute the flow rate that results from this specified pressure change between the inlet and outlet.
The boundary conditions used in this example are the latter. That is, the inlet is taken as stagnation
pressure rather than mass flow rate so that AcuSolve calculates mass flow rates and pressure rise
based on impeller rotation.
3 -5
The fluid in this problem is air, which has a density of 1.225 kg/m and a viscosity of 1.781 X 10 kg/
m-s.
In addition to setting appropriate conditions for the simulation, it is important to generate a mesh
that will be sufficiently refined to provide good results. For this problem the global mesh size is set to
provide approximately 16 elements around the circumference of the inlet which results in a mesh size of
0.02 m.
Note that higher mesh densities are required where velocity, pressure, and eddy viscosity gradients are
larger. In this application, the flow will accelerate as it passes through radial flow paths between the
fan blades. This leads to the higher gradients that need finer mesh resolution. Proper boundary layer
parameters need to be set to keep the y+ near the wall surface to a reasonable level. The mesh density
used in this tutorial is coarse and is intended to illustrate the process of setting up the model and to
retain a reasonable run time. A significantly higher mesh density is needed to achieve a grid converged
solution.
Once a solution is calculated, the flow properties of interest are the velocity magnitude, stream – lines
and streak – lines animations as the blower goes through three revolutions of the impeller blades.
Starting AcuConsole
In the next steps you will start AcuConsole, and open a database that is set up for a steady state
simulation for the centrifugal blower using a rotating reference frame. You will then run AcuSolve to
calculate a steady state solution, view the results with AcuFieldView, and save the database for the
transient simulation.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click File > Open and open Centrifugal_Blower_Sliding_Mesh.acs.
Figure 508:
Figure 509:
As the solution progresses, an AcuTail dialog will open. Solution progress is reported in
this window. A summary of the solution process indicates that the simulation has been
completed. The information provided in the summary is based on the number of processors
used by AcuSolve. If you used a different number of processors than indicated in this tutorial,
the summary for your run may be slightly different than the summary shown.
1. The steady state flow field was calculated as the starting point for the transient simulation of
temperature. For instructions on visualising steady state results, refer to ACU-5000: Blower -
Steady (Rotating Frame).
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
The general parameters that you will set for this tutorial are for turbulent flow, transient analysis, and
mesh type as fully specified, which means that the motion is fully specified at the beginning of each
time step and hence no mesh equation needs to be solved.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 510:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 511:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 512:
In the next steps you will set attributes that control the behavior of AcuSolve as it progresses during
the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Transient.
3. Set the Max time steps as 0.
AcuSolve will calculate the number of time steps based on the final time and the multiplier
function, which you will specify in the next section.
4. Set the Final time as 0.12.
5. Set the Initial time increment to 0.00111.
6. Check that the Convergence tolerance is set to 0.001.
Note that for a transient analysis, the convergence tolerance corresponds to the tolerance that
the equations are converged to before proceeding to the next time step. However, since we
are performing a maximum of 2 iterations per step, the solver will be limited in the number of
iterations it can perform while attempting to reach this tolerance.
7. Set the Max stagger iterations to 2.
This setting determines the maximum number of iterations that will occur at each time step.
Figure 513:
AcuSolve provides the ability to scale values as a function of time and/or time step during a simulation.
This is achieved through the use of a multiplier function. In this tutorial, the time steps sizes are scaled
against time to set up a robust solution.
In the next steps you will create a multiplier function for the time increment. The multiplier function is
chosen such that the impeller blades rotate at 10 degrees per time step for the first revolution (0 s–
0.04 s), then ramp down from 10 degrees per time step to 3 degrees per time step during the second
revolution (0.04 s – 0.08 s) and complete the third revolution at 3 degrees per time step (0.08 s – .12
s)
To make the creation of the multiplier functions as simple as possible, you will use the PB* filter in the
Data Tree Manager.
1. Click PB* in the Data Tree Manager to display all the available settings related to general problem
setup in the Data Tree.
2. In the Data Tree, under Global, right-click Multiplier Function and click New to create a new
multiplier function.
3. Rename the multiplier function.
a) Right-click the newly created Multiplier Function 1 and click Rename.
b) Enter Time_Function.
Figure 514:
Figure 515:
6. Add the curve-fit values for the large inlet temperature profile.
a) Click Open Array to open the Array Editor dialog.
b) Enter the values shown as calculated earlier and shown in the following image.
Figure 516:
7. Click Plot to expand the Array Editor dialog to display the plot of the curve fit values.
Note: You may need to expand the dialog by dragging the right edge in order to see
the plot.
Figure 517:
AcuSolve provides additional features to modify some advanced solution strategy attributes separately,
such as individual staggers (flow, mesh, turbulence, and so on), time increments, linear solver
parameters and many more. In this tutorial the time increment feature is turned on in order to scale the
time step sizes based on a multiplier function.
In the next steps you will work with the time increment feature under advanced solution strategy to
assign the multiplier function.
Figure 518:
This command is used to simplify the specification of boundary conditions on mesh displacement and
it can be used to simulate the dynamic motion of a rigid body. In this tutorial, the fluid region near
the impeller blades is assigned a rotating mesh motion. The parameters defined for this would be the
angular speed of the impeller blades and the center of rotation of the motion.
1. Click ALE in the Data Tree Manager to see all the settings related to mesh motion.
2. Double-click the Global Data Tree item to expand it.
3. Right-click Mesh Motion and click New to create a new mesh motion.
4. Rename the new mesh motion to Impeller_Motion.
5. Double-click Impeller_Motion to open the detail panel.
6. Set the Type to Rotation.
Figure 519:
a) Click Open Array next to Rotation center to open the Array Editor.
b) Enter 0.05 as the Z-coordinate.
This is the coordinate for the centre of the rotating fluid domain, that is, Fluid_Impeller.
c) Click OK to close the dialog.
d) Click Open Array next to Angular velocity to open the Array Editor.
e) Change the units to RPM and enter -1500 in the Z-component field.
The negative sign specifies the clockwise direction of rotation.
The Nodal Output Frequency determines at what frequency or time interval the solution results would
be stored to be used for post processing within AcuFieldView.
1. Click OUT in the Data Tree Manager to filter the settings in the Data Tree to show only those
controls related to outputs written to the solution files.
2. Double-click Output to expand it.
3. Double-click Nodal Output.
a) Change the time step frequency to 3.
This setting will save results every 3 steps and will allow you to create an animation of the
results once the simulation is complete.
4. Set Output Initial Condition to On.
This writes the initial condition file.
Figure 520:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
Figure 521:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will specify the mesh motion associated with fan blades.
Figure 522:
In the next steps you will assign Interface Surface properties to the Interface.
The Interface acts as a sliding boundary and is used to connect pairs of elements that share
(approximately) the same surface but are not conformal. An Interface Surface allows the flow to pass
from one side of the surface to the other when the nodes are not connected to each other. This step
would become clear when you split the nodes on the interface surface in the later steps.
Note: Internal surfaces in AcuConsole are handled in a special manner. When a geometry
with internal surfaces is imported, AcuConsole creates two identical copies of the surface.
One copy of the surface is associated with each volume. This allows you to control
meshing parameters independently on each side of the surface. When assigning boundary
conditions to internal surfaces, it is important to remember that there are 2 sides of
the surface that need to be dealt with. When selecting an internal surface, the side
corresponding to the outer volume is the first pick target that is encountered when both
faces are visible. The inner surface can be selected directly by changing the display of the
outer surface.
1. Click ALE in the Data Tree Manager to see all the settings related to mesh motion.
2. Expand Model, and then expand Surfaces.
3. Activate Interface Surface for Interface.
a) Double-click Interface.
b) Check Interface Surface under Interface.
c) Double-click Interface Surface.
d) Set the Gap factor to 0.
Gap factor is non-dimensional (with respect to the length of an element face) maximum gap
allowed for two element faces to be in contact.
A gap factor of 0 means the maximum gap allowed is zero.
Figure 523:
In addition to setting meshing characteristics for the whole problem, you can assign meshing attributes
to a zone within the problem where you want to be able to resolve flow with a mesh that is more
refined than the global mesh. A zone mesh refinement can be created using basic shapes to control the
mesh size within that shape. These types of mesh refinement are used when refinement is needed in an
area that does not correspond to a geometric item.
In the following steps you will add mesh refinement in the zone around the impeller blades closest to
the housing wall as shown in figure 3.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Under Global, right-click Zone Mesh Attributes and then click New.
3. Rename Zone Mesh Attributes 1 to Refine_1.
4. Double-click Refine_1 to open the Zone Mesh Attributes detail panel.
5. Change the Mesh zone type to Cylinder.
6. Set the location of the mesh refinement by defining the center points of the end faces of the
cylinder.
a) Click Open Array to open the Array Editor dialog.
b) Enter the coordinate values as shown in the following image.
Figure 524:
This radius is used to define a cylinder that encloses the gap in the modeled section near the
impeller blades and housing wall.
8. Enter 0.005 m for the Mesh size.
This will result in a zone where the mesh size provides at least 10 cells between the impeller and
the housing wall at their nearest distance.
Figure 525:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size near on the interface.
3. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the Surface
Mesh Attributes detail panel.
4. Change the Mesh size type to None.
5. Turn the Boundary layer flag option to On.
6. Set the Boundary layer type to Full Control.
7. Enter the value 0.002 m for First element height.
8. Enter 1.3 for the Growth rate.
9. Enter 1 for Number of layers.
10. Change the Boundary layer elements type to Mixed.
This is used to generate prism/hexahedral elements in the boundary layer.
Figure 526:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 527:
Figure 528:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Visualize the mesh in the modeling window. For the purposes of this tutorial, the following steps
lead to the display of inlet, outlet, walls and fan blades.
4. Right-click Volumes in the Data Tree and click Display off.
5. Right-click Surfaces in the Data Tree and click Display on.
6. Right-click Surfaces in the Data Tree, select Display type and click solid & wire.
7. Rotate and zoom in the model to analyze the various mesh regions.
8. Right-click on the model and select cut plane visualization to view the mesh near the fan
blades.
At this point, the interface surface has one set of nodes which are either attached to the Fluid_Main or
Fluid_Impeller volume sets. In order for the nodes inside the Fluid_Impeller volume and Interface to
rotate based on the mesh motion prescribed, a duplicate set of nodes needs to be created, so that one
set of the nodes follow the motion of the Fluid_Impeller and another set stays attached to Fluid_Main.
Splitting the nodes on the interface would allow the nodes attached to Fluid_Impeller to slide over the
nodes on Fluid_Main, hence simulating the rotation on the fluid domain with the impeller blades.
In the next steps you will split the nodes on the interface using the Mesh Op. tool.
Figure 531:
In the next steps you will use the Project Solution to project the steady state solution onto the transient
case in form on Nodal Initial Conditions.
Figure 532:
Figure 533:
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 534:
For this case, the default values will be used. AcuSolve will run using four processors and it will
calculate the transient solution for this problem.
3. Click Ok to start the solution process.
As the solution progresses, an AcuTail dialog will open. Solution progress is reported in this
dialog.
Figure 535:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated toAcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView, display the velocity magnitude on the mid coordinate
surface and generate animations for velocity magnitude, streamlines and particle paths.
Starting AcuFieldView
Figure 536:
Figure 537:
These steps are provided with the assumption that you are able to manipulate the view in
AcuFieldView to have a white background, perspective turned off, outlines turned off, and the
viewing direction set to +Z. If you are unfamiliar with basic AcuFieldView operations, refer to
Manipulate the Model View in AcuFieldView.
1. In the Boundary Surface dialog, turn off the visibility for the boundary surfaces by unchecking
the Visibility checkbox.
2. From the View menu, uncheck Perspective view to disable it.
3. From the View menu, uncheck Axis markers to disable them.
4. From the View menu, select Defined Views.
5. In the Defined Views dialog, change the view to +Z.
6. Close the dialog.
7.
Click the icon to open the Coordinate Surface dialog.
8. Click Create to create a new surface at the mid –Z coordinate surface.
9. Under COORD PLANE: , change the Current value to 0.05.
This is the z coordinate for the mid plane between the blower front and back walls.
10. Change the DISPLAY TYPE to Smooth.
Figure 538:
16. From the Tools menu, click on Transient Data to open the Transient Data Controls dialog.
For a transient case, the data displayed by launching AcuFieldView from AcuConsole is for the last
time step. The Transient Data Controls allows you to visualize the data at rest of the time steps.
The time steps at which the data can be post processed depends on the nodal output value set in
AcuConsole. In this case the nodal output is stored at every third time step.
17. Move the slider all the way to the back to zero to visualize the data at the zeroth time step.
This is done in order to build the animation from the beginning of the simulation.
18. From the Tools menu, click on Flipbook Build Mode.
A Flipbook size warning dialog appears.
19. Click OK.
In the Transient Data Controls dialog, the Sweep option under SWEEP CONTROL changes to
Build.
20. Click Build.
AcuFieldView will build the frame by frame animation of the solution progressing through all of the
available time steps. You will be able to see the progress in a Building Flipbook dialog.
21. In the Flipbook Controls dialog, click on Frame Rate to open the Minimum Time Between
Frames dialog.
Figure 539:
Setting up Streamlines
1.
Click the icon to open the Coordinate Surface dialog.
2.
Click the Boundary Surfaces icon and turn on the visibility.
Figure 540:
Figure 541:
Figure 542:
Figure 543:
24. Change COLORING to Scalar and DISPLAY TYPE to Filament and Arrows.
25. Click the Colormap tab.
26. Click the Colormap drop down arrow and select NASA-1.
27. Click the Legend tab.
28. Activate the Show Legend and Frame checkboxes to turn them on.
29. Orient the geometry so that all the surfaces are visible, as shown below:
Figure 544:
Figure 545:
Setting up Streaklines
Figure 546:
5.2.5 Summary
In this tutorial you worked through a basic workflow to set up a transient simulation with a sliding mesh
in a centrifugal blower. Once the case was set up, you modified the mesh to include refinement zones,
projected the steady state solution onto the refined mesh and generated a solution using AcuSolve.
Results were post-processed in AcuFieldView to allow you to create contour views for the velocity
magnitude on the mid coordinate surface of the blower as well as the impeller blades along with new
features for creating animations for contours, streamlines, streaklines and particle paths.
New features introduced in this tutorial include creating a rotational mesh motion, use of interface
surfaces, projection of steady state solution in form of nodal initial conditions, creating velocity
magnitude, streamlines and particle path animations.
This tutorial provides the instructions for setting up, solving and viewing results for simulation of flow
inside a pipe with an interior fan placed at the middle of the pipe. This middle portion of the pipe is
considered to be fan volume which is modeled using the Fan_Component parameter. In this simulation,
flow is passed from the pipe inlet and it enters the fan in axial direction and exits at the outlet causing
pressure rise due to the fan. A lumped fan model is used to obtain fan pressure rise for a known
inlet volume flow rate. This tutorial is designed to introduce the user to modeling concepts related to
Fan_Components for axial fans.
The basic steps in a CFD simulation have been discussed in the earlier tutorials. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Specifying FAN_COMPONENT parameter in AcuConsole
• Setting up Inflow boundary condition with volumetric flow rate
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract AxialFan.x_t from Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve. Parameters can be based on
geometrical elements (such as inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
Figure 1 shows a simple axial fan component problem where fan is an interior fan with thickness “t”
and tip radius as “r”. In this simulation, flow is passed from the pipe inlet and it enters the fan in axial
direction and exits at the outlet causing pressure rise due to the fan. This fan pressure rise can be
simulated for a given volume flow rate at the inlet surface which will be assigned as the inflow boundary
3
condition. The volume flow rate at the inlet surface is considered to be 525.35 m /hr.
The middle portion of the pipe is the Fan Component volume which has both Fan_Inlet and Fan_Outlet.
The FAN_COMPONENT parameters are assigned to Fan_Inlet surface through Advance problem
definition option. Basically, the fan model is applied to a surface, and the pressure jumps across that
surface to model the effect of the fan. The outlet of the pipe geometry is assigned with Outflow BC
to model the flow exit whereas the outer walls are defined to be Wall BC with slip condition. The fluid
3
material considered for this simulation is air with density=1.225 kg/m , viscosity=1.781e-005 kg/m-s.
The FAN_COMPONENT directly computes a body force term to yield the pressure rise within the volume
of interest. It accomplishes this based on the following approach:
• Evaluate the flow rate at the inlet to the domain that is assigned as a fan component (that is, the
surface on which you have assigned the FAN_COMPONENT condition)
• Evaluate the pressure rise resulting from this flow rate based on the fan curve that the user has
input
• Compute a body force per unit length that yields the required pressure rise based on fan_length
input parameter and the target pressure rise.
• The body force can be specified to be a function of the flow direction, that is, axial velocity, radial
velocity, tangential velocity or combination of all these three.
• Assign the body force to all elements of the element set that the FAN_COMPONENT is assigned to.
So, when deciding how to set up the FAN_COMPONENT model, you also need to consider how your
fan is modeled. If it is purely axial flow, then the relevant pressure rise relationship is just in the axial
direction, and the fan_length is the distance from inlet to outlet of the fan section.
Basically the FAN_COMPONENT is modelled by adding axial, radial and tangential body forces to the
momentum equations. For an axial fan type, these forces increase the pressure across the component
by
: density
: tip velocity =
Since piecewise_bilinear curve fit values used in FAN_COMPONENT are functions of the normalized flow
1
rate (Q ) and axial coefficient (αaxial), you need to convert them from the fan performance curve.
1
Normalized flow rate (Q ):
For example, evaluate the axial coefficients and normalized flow rate from the fan performance data.
The following tables are inputs for the calculations.
3
Fluid Density 1.225 kg/m
3
Volume Flow Rate (Q), m /hr Pressure rise (ΔP), Pa
1 525.35 494.91
2 890.21 474.63
3 1161.63 424.9
4 1272.76 389.11
5 1356.57 350.42
6 1431.84 308.18
7 1494.69 268.35
8 1551.39 230.89
You can calculate the normalized flow rate and axial coefficient for first two volume flow rates (Q) from
Table 2. The same procedure is followed for the other volume flow rates.
3
1. For Q = 525.35 m /hr:
1
Q = = 0.0926
= = 0.4613
3
2. For Q = 890.21 m /hr:
1
Q = = 0.1569
= = 0.426
l
In this manner you can calculate Q and αaxial for the remaining volume flow rates, shown in the
following table.
1
S. No Normalized Flow Rate (Q ) Axial Coefficients ( αaxial )
1 0.0926 0.4613
2 0.1569 0.426
3 0.2047 0.3615
4 0.2243 0.3191
5 0.2391 0.2755
6 0.2523 0.2289
7 0.2634 0.1854
8 0.2734 0.1445
The same information is entered as input for axial curve fit values for the FAN_COMPONENT parameter
as shown in Figure 2.
The first column of array is the normalized radius which varies between 0 and 1 which implies that at
the centre of the fan, this value is 0 whereas at the tip of the fan, this value is 1.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics of the results using AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Axial_Fan and open it.
5. Enter AxialFan as the file name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
The physical models that you define for this tutorial correspond to steady state, turbulent flow.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 549:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 550:
Figure 551:
In the next steps you will set parameters that control the behavior of AcuSolve as it progresses during
the solution.
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Set the Max time steps as 50.
4. Set the Relaxation factor to 0.5.
5. Check the Flow and Turbulence are set to On.
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material properties of air match the
desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 553:
2. Double-click Air in the Data Tree to open the Air detail panel.
The material type for air is Fluid. Fluid is the default material type for any new material created in
AcuConsole.
3. Click the Density tab. The density of air is 1.225 kg/m3.
-5
4. Click the Viscosity tab. The viscosity of air is 1.781 x 10 kg/m – sec.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
You will import the geometry in the next part of this tutorial. You will need to know the location of
AxialFan.x_t in order to complete these steps. This file contains information about the geometry in
Parasolid ASCII format.
Figure 554:
Volume groups are containers used for storing information about a volume region. This information
includes the list of geometric volumes associated with the container, as well as attributes such as
material models and mesh size information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group container, assign the materials for that
group, and set mesh motion for the fluid volume.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 555:
Figure 556:
Figure 557:
When the geometry was loaded into AcuConsole, complete geometry volume was placed
in the default volume group. This default volume group was renamed to UpstreamDuct. In
the previous steps, you assigned some volumes to various other volume groups that you
created. At this point, all that is left is the UpstreamDuct volume group wherein the flow
enters through the volume.
Figure 558:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome, especially for
models with too many surfaces. To make it easier, less error prone, and to save time, two new dialogs
are provided in AcuConsole. Use the Volume Manager and Surface Manager to verify and provide
the information for all surface or volume entities at once. In this section some features of Surface
Manager are exploited.
1. Turn-off display for Volumes by right-clicking on Volumes and selecting Display off .
2. Right-click on Surfaces in the Data Tree and select Surface Manager.
3. In the Surface Manager dialog, click New eight times to create eight new surface groups.
4. If you cannot see the Simple BC Active and Simple BC Type columns, click on Columns and select
these two columns from the list and click Ok.
Figure 559:
5. Turn off the display for all surfaces except for the default surface.
6. Rename Surface 1 through Surface 9 according to the image below.
7. Set the Simple BC Active and Simple BC Type columns as per Figure 560.
Figure 560:
Figure 561:
Figure 562:
Figure 563:
Figure 564:
Figure 565:
Figure 566:
Figure 567:
Figure 568:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed
in the default surface group container. This default surface group was renamed to
Downstream_Inlet. In the previous steps, you assigned some surfaces to various other
surface groups that you created. At this point, all that is left is the Downstream_Inlet surface
group which makes up the inlet of the DownstreamDuct volume.
9. Assign the surface for the Downstream_Inlet group.
Figure 569:
Inlet
The Inlet group defines that the flow enters through the pipe and flows across length of the pipe. The
correct boundary condition type for this surface is Inflow.
Figure 570:
Outlet
The Outlet group defines the exit of the pipe. The correct boundary condition type for this surface is
Outflow.
Figure 571:
Wall_Up
The walls enclose the fluid volume on the outside. The correct boundary condition type for this surface
is Wall.
2. Double click Simple Boundary Condition under inner_wall to open the Simple Boundary
Condition detail panel.
3. Ensure that the Type is set to Wall.
4. Leave the remaining settings at their default values.
Figure 572:
The surface groups Wall_Fan and Wall_Down will have the same settings as Wall_Up group. In order to
not to repeat the steps again, you can propagate the settings to those two groups.
Figure 573:
Fan_Outlet
Upstream_Out
Downstream_Inlet
Fan_Inlet
This surface corresponds to the inlet of the Fan component volume. For this particular surface you need
to assign the FAN_COMPONENT parameter, which requires data related to fan speed, tip radius, axial
coefficients, and so on. This parameter is available under advanced options in AcuSolve.
1. Click ALL in the Data Tree Manager to show all the settings in the Data Tree.
Figure 574:
Figure 575:
Now that the flow characteristics have been set for the whole problem, a sufficiently refined mesh has
to be generated.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.0096 m for the Absolute mesh size.
Figure 576:
Surface mesh attributes are the meshing parameters applied to a particular surface where the user has
option to control the mesh size on a surface like in case of adding boundary layers, mesh refinement
apart from the global mesh attributes. For this case surface mesh attributes are applied only on the Wall
surfaces.
In the next steps you will set the surface meshing attributes.
Figure 577:
The surface groups Wall_Fan and Wall_Down will have the same settings as the Wall_Up group. In
order to not to repeat the steps again, you will propagate the settings to those two groups.
10. Under the Wall_Up surface, right-click Surface Mesh Attributes and select Propagate.
11. In the Propagate dialog, select the surface Wall_Fan and Wall_Down, and click Propagate.
Figure 578:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 579:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail window and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window. Turn on the display of surfaces, and set the display
type to solid and wire.
5. Rotate and zoom in the model to analyze the various mesh regions.
No TOC
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
A summary of the solution process indicates that the simulation has been completed.
Figure 580:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the Data Tree on the left, expand Residual Ratio. Right-click Final and select Plot All.
This will plot the residuals for the three variables - eddy viscosity, pressure and velocity in the plot
area. This plot indicates the convergence of the variables with respect to timestep.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 581:
Figure 582:
Figure 583:
Note: The word “value” is case sensitive and should always be in lower case. If you
use a capital letter, an error window appears.
Figure 584:
Figure 585:
From the above figure, you can see the pressure rise got stabilized at around 9th iteration and
remains constant with a pressure of 494.53 Pa for a given volume flow rate of 525.35 m3/hr
which is very near compared to reference value of 494.91 Pa.
5.3.5 Summary
In this AcuSolve tutorial you successfully set up and solved a problem involving the FAN_COMPONENT
feature for an axial fan. The FAN_COMPONENT directly computes body force term to yield the pressure
rise within the volume of interest. The problem simulated is the flow inside pipe with a fan placed at the
middle of the pipe causing pressure rise due to fan and exits at the outlet. You started the tutorial by
creating a database in AcuConsole, importing and meshing the geometry, and setting up the simulation
parameters. The fluid domain is divided into three volumes – UpstreamDuct, Fan & DownstreamDuct
using the Volume Manager Dialog option. Once the case was setup, the solution was generated with
AcuSolve. Results were plotted in AcuProbe by creating a user function to check for the fan pressure
rise based on Fan_Inlet and Fan_Outlet pressures. New features that were introduced in this tutorial
include: using Fan Component feature and explaining how the axial coefficients are calculated based on
volume flow rate and fan pressure rise and using the User Function option in AcuProbe.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of the
opening of a pressure check valve. In this simulation, AcuSolve is used to compute the forces on the
valve due to the time-varying inlet flow field and to compute the motion of the valve that results from
these flow forces. This tutorial is designed to introduce you to a number of modeling concepts necessary
to perform simulations of rigid-body dynamics.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Transient simulation
• Use of a multiplier function to scale inlet boundary condition values
• Mesh motion
• Fluid-structure interaction with a rigid body
• Post-processing with AcuProbe
• Results animation
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 586. It consists of a
cylindrical pipe containing water that flows past a check valve with a shutter attached to a virtual
spring (not included in the geometry). The inlet pressure varies over time and the movement of the
shutter will be determined as a function of the balance of the fluid forces against the reactive force of
the spring. The problem is rotationally periodic at 30° increments about the longitudinal axis, and it
is assumed that the resulting flow is also rotationally periodic, allowing for modeling with the use of
a wedge-shaped section. For this tutorial, a 30° section of the geometry is modeled, as shown in the
figure. Modeling a portion of an rotationally periodic geometry leads to reduced computation time while
still providing an accurate solution.
The pipe has an inlet diameter of 0.08 m, and is 0.4 m long. The check-valve assembly is 0.085 m
downstream of the inlet. It consists of a plate 0.005 m thick with a centered orifice 0.044 m in diameter
and a shutter with an initial position 0.005 m from the opening, simulating a nearly closed condition.
The shutter plate is 0.05 m in diameter and 0.005 m thick. The shutter plate is attached to a stem 0.03
m long and 0.01 m in diameter. The mass of the shutter and stem is 0.2 kg and its motion is affected
by a virtual spring with a stiffness of 2162 N/m. The motion of the valve shutter is limited by a stop
mounted on a perforated plate downstream of the shutter.
Note that AcuSolve's internal rigid-body-dynamics solver is not able to simulate contact. Therefore, this
problem is formulated to avoid contact between the valve and the stop.
Figure 587:
Modeling the geometry as a 30° section requires that the fluid model is set up to be consistent with the
1
rigid-body model. Since only /12 of the rigid body is modeled, the forces computed by AcuSolve that
1
act on the valve shutter represent /12 of the actual force on the device. Therefore, it is also necessary
to account for this in the simulation. There are two methods that can be used to accomplish this:
1. Scale up the fluid forces calculated by AcuSolve by a factor of 12 to represent the full load on the
device when the displacement of the body is computed.
Using this approach, the full stiffness of the valve spring is used in the rigid-body solution, and the
full mass of the valve is used.
2. Scale down the mass of the valve and the stiffness of the spring to by a factor of 12 to match the
fraction of the valve geometry to be modeled.
Using this approach, the loading passed to the rigid-body solver is not scaled.
This second approach is used in this tutorial; the scaled mass of 0.0167 kg and the scaled stiffness of
180.1667 N/m will be used .
Figure 588:
3
The fluid in this problem is water, which has a density (ρ) of 1000 kg/m and a molecular viscosity (μ)
-3
of 1 X 10 kg/m-sec, as shown in the worksheet.
Figure 589:
At the start of the simulation the flow field is stationary. Flow is driven by the pressure at the inlet,
which varies over time as a piecewise linear function shown in Figure 590. As the pressure at the inlet
rises, the flow will accelerate as the valve opens. The turbulence viscosity ratio is assumed to be 10.
The initial inlet pressure is 0 Pa. At 0.002 s, the pressure begins to ramp up, and reaches 26,500 Pa at
0.05 s. The pressure is held at 26,500 Pa and begins to ramp back down starting at 0.2 s, reaching the
initial pressure at 0.25 s where it remains for the rest of the simulation.
Prior simulations of this geometry indicate that the average velocity at the inlet reaches a maximum
of 0.9 m/s. At this velocity, the Reynolds number for the flow is 72,000. When the Reynolds number is
above 4,000, it is generally accepted that flow should be modeled as turbulent.
Figure 591:
Note that the initial conditions of the flow are actually laminar, however, the increase in flow velocity
and flow around the valve shutter is expected to cause a rapid transition to turbulent conditions.
Therefore, the simulation will be set up to model transient, turbulent flow. When performing a transient
analysis, convergence is achieved at every time step based on the defined stagger criteria. Mesh motion
will be modeled using arbitrary mesh movement (arbitrary Lagrangian-Eulerian mesh motion).
Figure 592:
For this case, the transient behavior of interest occurs in the time it takes for the pressure to ramp up
and ramp back down, which is given by the transient pressure profile. To allow time for the spring to
recover, additional time will be simulated. For this tutorial, 0.1 s is added after the pressure drops back
to initial conditions, for a total duration of 0.35 s.
Figure 593:
Another critical decision in a transient simulation is choosing the time increment. The time increment
is the change in time during a given time step of the simulation. It is important to choose a time
increment that is short enough to capture the changes in flow properties of interest, but does not
require unnecessary computation time.
There are two methods commonly used for determining an appropriate time increment. The first
method involves identification of the time scales of the transient behaviors of interest and setting the
time increment to sufficiently resolve those behaviors. The second method involves setting a limit on
the number of mesh elements that the flow can cross in a given time step. A convenient metric for
the number of mesh elements crossed per time step is the Courant-Friederichs-Lewy number, or CFL
number. With this method, the time increment can be computed from the mesh size, the flow velocity,
and the desired CFL number.
The change in inlet pressure from initial conditions to maximum occurs over 0.048 s. A time increment
of 0.002 s would allow for excellent resolution of the transient changes, without requiring excessive
computational time. This time increment would result in a CFL number of 0.36, indicating that it would
take approximately three time steps for flow to cross a single mesh element. While the time increment
could be raised and still maintain a favorable CFL number, the value of 0.002 s is chosen to better
resolve the transient changes resulting from the sudden pressure shifts.
Figure 594:
In addition to setting appropriate conditions to capture the physics of the simulation, it is important
to generate a mesh that is sufficiently refined to provide good results. In this tutorial the global mesh
size is set to provide at least 50 mesh elements around the circumference of the inlet, resulting in a
mesh size of 0.005 m. This mesh size was chosen to provide a quick turnaround time for the model.
For real-world simulations, you would modify your mesh settings after an initial solution until a mesh-
independent solution is reached (that is, a solution that does not change with further mesh refinement).
Figure 595:
AcuSolve allows for mesh refinements in a user-defined region that is independent of geometric
components of the problem such as volumes, model surfaces, or edges. It is useful to refine the mesh
in areas where gradients in pressure, velocity, eddy viscosity, and the like are steep.
For this problem it is desirable to resolve flow characteristics near the gap between the valve opening
and the shutter. It would also be desirable to be able to resolve flow characteristics around the complete
valve body. The mesh size for the region around the gap will be sized to allow for at least three cells
to span the gap in the initial position. The mesh around the full valve body will be sized so that the
average cell size will be one half of the global mesh size. This local mesh refinement is accomplished
using mesh refinement zones.
Figure 596:
Once a solution is calculated, the flow properties of interest are the displacement of the moving surface,
the mass flow rate at the outlet, pressure contours on the symmetry plane, and velocity vectors on the
symmetry plane.
This tutorial walks you through the process of setting up and solving a fluid-structure simulation of a
spring-loaded check valve subjected to changes in inlet pressure.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group attributes, adding geometry components to
groups, creating a multiplier function, and assigning mesh controls and boundary conditions to the
groups. Next you will generate a mesh and run AcuSolve to simulate the transient behavior. You will use
AcuProbe to post-process mesh displacement and mass flow. Finally, you will visualize the results using
AcuFieldView.
In the next steps you will start AcuConsole, create the database for storage of AcuConsole settings, and
set the location for saving mesh and solution information for AcuSolve.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named Check_Valve_Transient and open this folder.
5. Enter Check_Valve_Transient as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In the next steps you will set attributes that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
The general attributes that you will set for this tutorial are for turbulent flow, transient time analysis,
and the use of arbitrary mesh movement.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 597:
Note: You can also expand a tree item by clicking next to the item name.
Figure 598:
Figure 599:
In the next steps you will set attributes that control the behavior of AcuSolve as it progresses during
the transient solution.
Figure 600:
1. Double-click Auto Solution Strategy in the Data Tree to open the Auto Solution Strategy
detail panel.
2. Enter 0 for Max time steps.
This value indicates that AcuSolve should ignore this setting and calculate the maximum number
of time steps based on the final time and the time increment.
3. Enter 0.35 sec for the Final time.
Figure 601:
In the next steps you will verify that the pre-defined material properties of water match the desired
properties for this problem.
Figure 602:
Figure 603:
2. Double-click Water in the Data Tree to open the Water detail panel.
3
3. Click the Density tab. Verify that the density of water is 1000.0 kg/m .
4. Click the Viscosity tab. Verify that the viscosity of water is 0.001 kg/m-sec.
Figure 604:
In the next steps you will set an attribute that impacts how often results from the transient simulation
are written to disk. Writing the results every three time steps produces a collection of output states
that can be used to create an animation of the simulation once the run has completed. Note that more
frequent output can be used, but it will result in higher disk space usage.
Figure 605:
You will import the geometry in the next part of this tutorial. You will need to know the location of
\Pressure_Check_Valve-Coupled\pressureCheckValve.x_t in order to complete these steps. This file
contains the solid model of the check valve in the Parasolid ASCII format.
Figure 606:
The color of objects shown in the modeling window in this tutorial and those displayed on your
screen may differ. The default color scheme in AcuConsole is "random," in which colors are
randomly assigned to groups as they are created. In addition, this tutorial was developed on
Windows. If you are running this tutorial on a different operating system, you may notice a slight
difference between the images displayed on your screen and the images shown in the tutorial.
AcuSolve provides the ability to scale values as a function of time and/or time step during a simulation.
This is achieved through the use of a multiplier function. In this tutorial, the inlet stagnation pressure
varies as the simulation progresses. By taking advantage of multiplier functions, you can easily set up a
function to model the pressure changes at the inlet.
In the next steps you will create a multiplier function for the pressure at the inlet. This multiplier
function will be applied to the inlet later in this tutorial.
In this tutorial, the inlet pressure starts at 0 pascals, ramps up to 26,500 Pa, is held steady briefly, and
then ramps back to 0 Pa.
Figure 607:
To make the creation of the multiplier functions as simple as possible, you will use the PB* filter in the
Data Tree Manager.
1. Click PB* in the Data Tree Manager to show all problem-definition settings.
Figure 608:
2. Right-click Multiplier Function under Global in the Data Tree and click New to create a new
multiplier function.
3. Rename the multiplier function.
a) Right-click the newly created Multiplier Function 1 and click Rename.
b) Enter inlet pressure.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press the Enter key on your keyboard. If you move the input focus away
from the item without entering it, your changes will be lost.
Figure 609:
X Y
0.0 0.0
0.002 0.0
0.05 26500
0.2 26500
0.25 0.0
0.35 0.0
Figure 610:
d) Click Plot to expand the Array Editor dialog to display the plot of the curve fit values.
You may need to expand the dialog by dragging the right edge in order to see the plot.
Figure 611:
e) Click OK.
These entries will be used to control the change in inlet pressure throughout the simulation.
AcuSolve uses the mesh-motion settings to define the movement of nodes within the model. In this
tutorial, you will use a special case of this command that solves the dynamic equations of motion to
determine the motion of the nodes. This type of mesh motion is referred to as a rigid-body dynamic.
In this simulation, you will specify two inputs to define the behavior of the rigid body; the mass of the
valve shutter and the stiffness of the spring that resists the movement of the valve shutter.
In the next steps you will create a mesh motion of type rigid body to simulate the valve shutter and
virtual spring. This mesh motion defines how the valve responds to the flow forces. To simplify this task,
you will use the FSI filter in the Data Tree Manager. The FSI filter limits the options in the to show only
the settings related to fluid-structure interactions.
1. Click FSI in the Data Tree Manager to filter all but the settings related to fluid-structure
interactions.
2. Right-click Mesh Motion in the Data Tree and click New to create a new mesh motion item.
3. Rename the mesh motion item.
a) Right-click Mesh motion 1.
b) Click Rename.
c) Enter rigid body.
4. Double-click rigid body to open the detail panel.
5. Set the Type to Rigid Body Dynamic.
6. Ensure that X displacement is set to Active.
7. Set the remainder of the displacement and rotation settings to Inactive.
These settings indicate that AcuSolve should only allow for valve motion in the X direction.
8. Enter 0.0167 for Mass.
1
This is the scaled mass of the valve shutter and stem, corresponding to the /12 portion of the
geometry that is modeled.
9. Define the stiffness of the virtual spring supporting the shutter.
a) Click Open Array next to Stiffness.
b) Enter 180.1667 in the XX cell.
This is the scaled stiffness of the spring, corresponding to the portion of the geometry that is
modeled. As the valve translates only in the X direction, all other stiffness settings remain at
zero.
Figure 612:
Figure 613:
Volume groups are containers used for storing information about volumes. This information includes the
list of geometric volumes associated with the container, as well as attributes such as material models
and mesh sizing information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group and set the material for the volume as
water.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes.
4. Rename the default volume to Fluid.
5. Double-click Element Set to open the Element Set detail panel.
6. Click the drop-down control next to Material model and select Water
Figure 614:
For the next set of steps it is useful to turn off the display of Fluid by clicking so that it is in the off
( ) state.
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs, and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem, and add surfaces to the groups.
In the next steps you will define a surface group for the inlet, assign the multiplier function to describe
the transient pressure, and add the inlet from the geometry to the surface group.
Figure 615:
Figure 616:
In the next steps you will define a surface group for the outlet, assign the appropriate attributes and
add the outlet from the geometry to the surface group.
Figure 617:
The problem is rotationally periodic, allowing for modeling with the use of a section. For this tutorial,
a 30-degree section of the geometry is modeled. In order to take advantage of this, the front and
rear faces of the section can be identified as symmetry planes, because the non-streamwise flow
contribution is minimal. The symmetry boundary condition enforces constraints such that the flow field
from one side of the plane is a mirror image of that on the other side.
In the next steps you will define a surface group for the symmetry plane on the front of the modeled
section, and then create a second surface group for the back symmetry plane.
Figure 618:
Figure 619:
Figure 620:
13. Turn off the display of all surface items except Back Symmetry and default.
14. Add geometry surfaces to this group.
a) Right-click Back symmetry and click Add to.
b) Click the symmetry plane near the inlet and near the outlet.
Figure 621:
In the next steps you will define a surface group for the walls of the valve shutter, assign the
appropriate settings, and add the faces from the geometry to the surface group. As part of the
definition, you will assign the rigid-body mesh motion that you defined earlier to this surface.
Figure 622:
Figure 623:
8. Turn off the display of all surface items except Valve wall and default.
9. Add geometry surfaces to this group.
a) Right-click Valve wall and click Add to.
b) Hold the Shift key down, left-click, and drag a selection box (rubber band) around the valve
and stem.
Figure 624:
c) Release the left key and the valve shutter and stem should be highlighted.
Figure 625:
d) Click Done to add these geometry surfaces to the Valve wall surface group.
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group. In the previous steps, you selected geometry surfaces to be placed in the groups that
you created. At this point, all that is left in the default surface group is the pipe wall. Rather than
create a new container, add the wall surfaces in the geometry to it, and then delete the default surface
container, you will rename the existing container.
Figure 626:
As the final step in enabling the use of mesh motion, you will revisit the mesh-motion definition to
couple the mesh motion that you created earlier with the valve wall surface group. This step instructs
AcuSolve to extract the forces on the valve from the set of surfaces that you specify in this step.
1. Click FSI in the Data Tree Manager to display the options relevant to setting up an FSI model in
the Data Tree.
2. Expand the Global > Mesh Motion tree item.
3. Double-click rigid body to open the detail panel.
4. Scroll to the bottom of the panel and click Open Refs next to Surface outputs.
5. Click Add Row in the Reference Editor.
6. Click the drop-down control for row 1 and select Valve wall.
Figure 627:
7. Click OK.
Now that the simulation has been defined, attributes need to be added to define the mesh sizes that will
be created by the mesher.
AcuConsole supports three levels of meshing control, global, zone and geometric.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups, or edge groups.
In the next steps you will set global meshing attributes. In subsequent steps you will create zone and
surface meshing attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.005 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 50 mesh elements around the
circumference of the main pipe.
6. Turn off the Curvature refinement parameters option.
7. Change the Mesh growth rate to 1.2.
This option controls that rate at which the mesh transitions between regions of different surface
and volume size. Setting this to a value of 1.2 allows for a gradual transition between finely
meshed regions and coarsely meshed regions.
8. Set the Maximum sweep angle to 30.0 degrees.
This option allows you to set the maximum sweep angle for edge-blend meshing on a global basis,
which creates a radial array of elements around sharp edges to provide better resolution of the
flow features. The sweep angle is used to control how many degrees each radial division spans.
Figure 628:
In addition to setting meshing characteristics for the whole problem, you can assign meshing attributes
to a zone within the problem where you want to be able to resolve flow with a mesh that is more
refined than the global mesh. A zone mesh refinement can be created using basic shapes to control the
mesh size within that shape. These types of mesh refinement are used when refinement is needed in an
area that does not correspond to a geometric item.
In the following steps you will add mesh refinements in the zone around the valve gap and around the
valve body.
In the next steps you will add a set of mesh attributes for a zone around the gap between the valve
shutter and the orifice.
Figure 629:
Figure 630:
In the next steps you will add a set of mesh attributes for a zone around the valve body.
1. Right-click Zone Mesh Attributes under the Global branch in the Data Tree and click New.
2. Rename Zone Mesh Attributes 1 to Valve body mesh refinement.
3. Double-click Valve body mesh refinement to open the Zone Mesh Attributes detail panel.
4. Change the Mesh zone type to Cylinder.
5. Set the location of the mesh refinement by defining the center points of the end faces of the
cylinder.
a) Click Open Array to open the Array Editor dialog.
Figure 631:
Figure 632:
Figure 633:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size on surface groups that you created earlier in this tutorial. Specifically, you will set local meshing
attributes that control the growth of boundary layer elements normal to the surfaces of the pipe walls
and valve walls.
In the next steps you will set meshing attributes that allow for localized control of the mesh near the
walls of the pipe. The mesh size on the wall of the pipe will be inherited from the global mesh size that
was defined earlier. The settings that follow will only control the growth of the boundary layer from the
walls of the pipe into the fluid volume.
1. Expand the Model > Surfaces > Pipe wall tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing attributes when creating the
mesh on the surface of the pipe walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Set the Resolve option to Total Layer Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
effective resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options. In this tutorial you will specify the height of the first layer, a stretch
ratio for successive layers (growth rate), and the total number of layers to generate. AcuConsole
will resolve the total layer height from the attributes that you provide. That is, total layer height
will be computed based on the height of the first element, the growth rate, and the number of
layers that you provide in the next few steps.
6. Enter 0.00035 m for First element height.
7. Enter 1.2 for the Growth rate.
8. Enter 3 for the Number of layers.
9. Turn on the Boundary layer blends flag option.
This option creates a radial array of boundary layer elements around exterior corners.
10. Enter 30.0 degrees as the Maximum sweep angle.
Figure 634:
In the next steps you will set meshing attributes that allow for localized control of the mesh size near
the walls of the valve shutter assembly.
1. Expand the Model > Surfaces > Valve wall tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
Figure 635:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 636:
Figure 637: Mesh Details Around the Valve Viewed on the Front Symmetry Plane
Note that the mesh size in the pipe decreases from left to right in the transition from a region
where global settings determine the size to the zone around the gap where the settings are for
a finer mesh. Note also that the mesh to the right of the valve shutter is smaller than the global
mesh as determined in the Valve body mesh refinement that you created.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 638:
While AcuSolve is running, you can monitor the inlet pressure and displacement of the valve using
AcuProbe.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Expand the window by dragging the lower right corner.
3. Expand the Data Tree by dragging the right edge.
4. Expand the Surface Output item in the Data Tree.
5. Expand Inlet under the Surface Output item.
6. Right-click pressure under the Inlet item and select Plot.
As the solution progresses, the plot will update. If you opened AcuProbe after the solution
Figure 639:
AcuProbe has the ability to plot many other flow quantities. One such quantity is mass flow rate at
the valve outlet. While AcuProbe does not have the option to plot volume flow rate directly, it can be
calculated for incompressible flow using a user function.
In the next steps you will create a user function for the display of volume flow rate in AcuProbe.
Figure 640:
Figure 641:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated toAcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView, display velocity magnitude and animate the view to
show mesh displacement. You will then display velocity vectors and pressure contours when the valve
shutter is at maximum displacement.
Starting AcuFieldView
Figure 642:
In the next steps you will create a boundary surface to display contours of velocity magnitude on the
front symmetry plane of the modeled slice.
These steps are provided with the assumption that you are able to manipulate the view in AcuFieldView
to have a white background, perspective turned off, outlines turned off, and the viewing direction set
to +Z. If you are unfamiliar with basic AcuFieldView operations, refer to Manipulating the Model View in
AcuFieldView .
1.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Note: You may need to scroll down in the list to find velocity_magnitude.
c) Click Calculate.
4. Set the front symmetry plane and pipe walls as the location for display of contours.
Figure 643:
This image was created with a white background, perspective turned off, outlines turned off, and
the viewing direction set to +Z.
When data was loaded from AcuSolve, AcuFieldView displays information from the final time step.
In the following steps you will display velocity magnitude at the first time step and then animate
the display to show the motion of the valve shutter and the velocity changes throughout the
simulation.
In the next steps you will create a transient sweep and save it as an animation that can be viewed
independently of AcuFieldView. As a first step, you will change the colormap used by the legend.
1. Set the colormap to use defined maximum and minimum values throughout the transient sweep.
a) Click the Colormap tab.
b) Enter 6.6 for the maximum.
c) Enter 0 for the minimum.
These settings will be used throughout the transient sweep so that the contours at each time step
will all be relative to this specified range.
Figure 644:
2. Click the Tools menu and then click Transient Data to open the Transient Data Controls
dialog.
3. Click Tools > Flipbook Build Mode.
4. Click OK to dismiss the Flipbook Size Warning dialog.
The Sweep button on the Transient Data Controls dialog will have changed to Build.
Figure 645:
5. Use the slider control to set the SOLUTION TIME to the first time step and click Apply.
6. Click Build.
As AcuFieldView builds the flipbook animation, you will see the controls on the Transient Data
Controls dialog advance. Once the flipbook is built, a Flipbook Controls dialog will allow you to
play or save the animation.
Figure 646:
7. Click Frame Rate and set the Minimum Time Seconds to 0.1.
8. Use the controls on the Flipbook Controls dialog to play and pause the animation.
9. Save the animation as mesh_velocity_mag.
AcuFieldView will add the appropriate file extension. For Windows, mesh_velocity_mag.avi
will be saved. It can be viewed independently of AcuFieldView by double-clicking it in Windows
Explorer.
10. Close the Flipbook Controls dialog and click OK to dismiss the Flipbook Exit Confirmation
warning.
In the next steps you will create a coordinate surface at the mid-Z plane of the modeled section. You
will then display pressure contours and velocity vectors on that surface.
1. Disable the Visibility option on the Boundary Surface dialog used to create the display of
velocity magnitude.
2. Open View > Defined Views and set the view to +Z.
3.
Click on the side toolbar to open the Coordinate Surface dialog.
Figure 647:
Figure 648:
Figure 649:
Figure 650:
AcuSolve has the capability to solve problems with fluid-structure interactions, as shown in ACU-5200:
Rigid-Body Dynamics of a Check Valve. It can also be coupled with external codes, such as MotionSolve,
in cases where the built-in capabilities of AcuSolve do not fully represent the physics of interest, such as
a collision between solid bodies.
This tutorial provides the instructions for setting up, solving, and viewing results for a simulation of
the opening of a pressure check valve. In this simulation, AcuSolve is used to compute the forces on
the valve due to the time-varying inlet flow field and MotionSolve is used to compute the motion of
the valve that results from these flow forces. This tutorial is designed to introduce you to a number
of modeling concepts necessary to perform simulations of rigid-body dynamics and coupling with
MotionSolve. An important feature of the AcuSolve-MotionSolve coupling is the ability to simulate
contact between solid bodies, which is demonstrated in this tutorial through the collision of the valve
with the valve seat.
The basic steps in any CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow. The
following additional capabilities of AcuSolve are introduced in this tutorial:
• Coupled solution with external code (MotionSolve)
• Fluid-structure interaction
• Mesh motion
• Transient simulation
• Use of a multiplier function to scale inlet boundary conditions
• Post-processing with AcuProbe
• Results animation
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to licensed versions of AcuSolve and MotionSolve 2017.2.
Prior to running through this tutorial, copy the Pressure_Check_Valve-Coupled\ directory and
its contents from <AcuSolve installation directory>\model_files\tutorials\AcuSolve
\Acu_tutorial_inputs.zip to a working directory. This directory contains the geometry model
in Parasolid ASCII format, pressureCheckValve.x_t, as well as the prepared MotionSolve model,
Valve_model.xml.
An important first step in any CFD simulation is to examine the engineering problem to be analyzed
and determine the settings that need to be provided to AcuSolve. Settings can be based on geometrical
components (such as volumes, inlets, outlets, or walls) and on flow conditions (such as fluid properties,
velocity, or whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 651. It consists of a
cylindrical pipe containing water that flows past a check valve with a shutter attached to a virtual
spring (not included in the geometry). The inlet pressure varies over time and the movement of the
shutter will be determined as a function of the balance of the fluid forces against the reactive force of
the spring. The problem is rotationally periodic at 30° increments about the longitudinal axis, and it
is assumed that the resulting flow is also rotationally periodic, allowing for modeling with the use of
a wedge-shaped section. For this tutorial, a 30° section of the geometry is modeled, as shown in the
figure. Modeling a portion of an rotationally periodic geometry leads to reduced computation time while
still providing an accurate solution.
Details of the problem characteristics are shown in the following images extracted from a sample
worksheet that was created prior to setting up the case for AcuSolve.
The pipe has an inlet diameter of 0.08 m and is 0.4 m long. The check-valve assembly is 0.085 m
downstream of the inlet. It consists of a plate 0.005 m thick with a centered orifice 0.044 m in diameter
and a shutter with an initial position 0.005 m from the opening, simulating a nearly closed condition.
The shutter plate is 0.05 m in diameter and 0.005 m thick. The shutter plate is attached to a stem 0.03
m long and 0.01 m in diameter. The mass of the shutter and stem is 0.2 kg and its motion is affected
by a virtual spring with a stiffness of 2162 N/m. The motion of the valve shutter is limited by a stop
mounted on a perforated plate downstream of the shutter.
Figure 652:
Modeling the geometry as a 30° section requires that the fluid model is set up to be consistent with the
1
rigid-body model. Since only /12 of the rigid body is modeled, the forces computed by AcuSolve that
1
act on the valve shutter represent /12 of the actual force on the device. The rigid-body-dynamics model
was set up in MotionSolve with scaled settings of mass and spring stiffness to account for the fact that
you are only modeling a small section of the full geometry. Additional information regarding the setup of
this problem in MotionSolve is provided in the MotionSolve documentation.
3
The fluid in this problem is water, which has a density (ρ) of 1000 kg/m and a molecular viscosity (μ)
-3
of 1 X 10 kg/m-sec, as shown in the worksheet.
Figure 653:
At the start of the simulation the flow field is stationary. Flow is driven by the pressure at the inlet,
which varies over time as a piecewise linear function shown in Figure 654. As the pressure at the inlet
rises, the flow will accelerate as the valve opens. The turbulence viscosity ratio is assumed to be 10.
The initial inlet pressure is 0 Pa. At 0.002 s the pressure begins to ramp up and reaches 29,000 Pa at
0.05 s. The pressure is held at 29,000 Pa and begins to ramp back down starting at 0.2 s, reaching the
initial pressure at 0.25 s where it remains for the rest of the simulation.
Prior simulations of this geometry indicate that the average velocity at the inlet reaches a maximum of
0.98 m/s. At this velocity, the Reynolds number for the flow is 78,400. When the Reynolds number is
above 4,000 it is generally accepted that flow should be modeled as turbulent.
Figure 655:
Note that the initial conditions of the flow are actually laminar, however, the increase in flow velocity
and flow around the valve shutter is expected to cause a rapid transition to turbulent conditions.
Therefore, the simulation will be set up to model transient, turbulent flow. When performing a transient
analysis, convergence is achieved at every time step based on the defined stagger criteria. Mesh motion
will be modeled using arbitrary mesh movement (arbitrary Lagrangian-Eulerian mesh motion).
Figure 656:
For this case, the transient behavior of interest occurs in the time it takes for the pressure to ramp up
and ramp back down, which is given by the transient pressure profile. To allow time for the spring to
recover additional time will be simulated. For this tutorial 0.1 s is added after the pressure drops back
to initial conditions for a total duration of 0.35 s.
Figure 657:
Another critical decision in a transient simulation is choosing the time increment. The time increment
is the change in time during a given time step of the simulation. It is important to choose a time
increment that is short enough to capture the changes in flow properties of interest, but does not
require unnecessary computation time.
There are two methods commonly used for determining an appropriate time increment. The first
method involves identification of the time scales of the transient behaviors of interest and setting the
time increment to sufficiently resolve those behaviors. The second method involves setting a limit on
the number of mesh elements that the flow can cross in a given time step. A convenient metric for
the number of mesh elements crossed per time step is the Courant-Friederichs-Lewy number, or CFL
number. With this method, the time increment can be computed from the mesh size, the flow velocity
and the desired CFL number.
The change in inlet pressure from initial conditions to maximum occurs over 0.048 s. A time increment
of 0.002 s would allow for excellent resolution of the transient changes without requiring excessive
computational time. This time increment would result in a CFL number of 0.36, indicating that it would
take approximately three time steps for flow to cross a single mesh element. While the time increment
could be raised and still maintain a favorable CFL number, the value of 0.002 s is chosen to better
resolve the transient changes resulting from the sudden pressure shifts.
Figure 658:
In addition to setting appropriate conditions to capture the physics of the simulation, it is important
to generate a mesh that is sufficiently refined to provide good results. In this tutorial the global mesh
size is set to provide at least 50 mesh elements around the circumference of the inlet, resulting in a
mesh size of 0.005 m. This mesh size was chosen to provide a quick turnaround time for the model.
For real-world simulations, you would modify your mesh settings after an initial solution until a mesh-
independent solution is reached, that is, a solution that does not change with further mesh refinement.
Figure 659:
AcuSolve allows for mesh refinements in a user-defined region that is independent of geometric
components of the problem such as volumes, model surfaces or edges. It is useful to refine the mesh in
areas where gradients in pressure, velocity, eddy viscosity and the like are steep.
For this problem it is desirable to resolve flow characteristics near the gap between the valve opening
and the shutter. It would also be desirable to be able to resolve flow characteristics around the complete
valve body. The mesh size for the region around the gap will be sized to allow for at least three cells
to span the gap in the initial position. The mesh around the full valve body will be sized so that the
average cell size will be one half of the global mesh size. This local mesh refinement is accomplished
using mesh refinement zones.
Figure 660:
Once a solution is calculated, the flow properties of interest are the displacement of the moving surface,
velocity of the moving surface, mass flow rate at the outlet, pressure contours on the symmetry plane
and velocity vectors on the symmetry plane.
This tutorial walks you through the process of setting up and solving a fluid-structure simulation of a
spring-loaded check valve subjected to changes in inlet pressure using AcuSolve, to solve the fluid flow,
coupled with MotionSolve, to solve the rigid-body dynamics.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
setting parameters for coupling with MotionSolve, loading the geometry, creating groups, setting group
attributes, adding geometry components to groups, creating a multiplier function, and assigning mesh
controls and boundary conditions to the groups. Next you will generate a mesh and run AcuSolve
and MotionSolve to simulate the transient behavior. You will use AcuProbe to post-process mesh
displacement and mass flow. Finally, you will visualize the results using AcuFieldView.
In the next steps you will start AcuConsole, create the database for storage of AcuConsole settings, and
set the location for saving mesh and solution information for AcuSolve.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new folder named Check_Valve_Coupled and open this folder.
5. Enter Check_Valve_Coupled as the File name for the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In the next steps you will set attributes that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
The general attributes that you will set for this tutorial are for turbulent flow, transient time analysis,
arbitrary mesh movement, and the use of an external code (MotionSolve).
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 661:
Note: You can also expand a tree item by clicking next to the item name.
Figure 662:
Figure 663:
In the next steps you will set attributes that control the behavior of AcuSolve as it progresses during
the transient solution.
Figure 664:
1. Double-click Auto Solution Strategy in the Data Tree to open the Auto Solution Strategy
detail panel.
2. Enter 0 for Max time steps.
This value indicates that AcuSolve should ignore this setting and calculate the maximum number
of time steps based on the final time and the time increment.
3. Enter 0.35 sec for the Final time.
4. Enter 0.002 sec for the Initial time increment.
Important: The value entered here must match the print_interval setting in the
prepared MotionSolve model, Valve_model.xml, to ensure that the two solvers stay
synchronized during the solution process.
Figure 665:
In the next steps you will verify that the pre-defined material properties of water match the desired
properties for this problem.
Figure 666:
Figure 667:
2. Double-click Water in the Data Tree to open the Water detail panel.
3
3. Click the Density tab. Verify that the density of water is 1000.0 kg/m .
4. Click the Viscosity tab. Verify that the viscosity of water is 0.001 kg/m-sec.
In the next steps you will set an attribute that impacts how often results from the transient simulation
are written to disk. The results can be used to create an animation of the simulation once the run has
completed. Writing the results after every time step produces a collection of output states that allows
for the best visual resolution of the contact between the valve and valve stop.
1. Double-click Output under Global in the Data Tree to expand it.
2. Double-click Nodal Output to open the Nodal Output detail panel.
3. Enter 1 as the Time step frequency.
This value indicates that AcuSolve should write results after every time step.
Figure 668:
In the next steps you will provide the settings that will allow AcuSolve and MotionSolve to communicate
during the solution process. In this simulation, MotionSolve is being used to calculate the motion of
the valve in response to the fluid loads calculated by AcuSolve. In order to achieve this, AcuSolve and
MotionSolve will communicate through a socket connection. This communication approach enables the
two codes to be run on separate machines and even different operating systems.
Figure 669:
You will import the geometry in the next part of this tutorial. You will need to know the location of
\Pressure_Check_Valve-Coupled\pressureCheckValve.x_t in order to complete these steps. This file
contains the solid model of the check valve in the Parasolid ASCII format.
Figure 670:
The color of objects shown in the modeling window in this tutorial and those displayed on your
screen may differ. The default color scheme in AcuConsole is "random," in which colors are
randomly assigned to groups as they are created. In addition, this tutorial was developed on
Windows. If you are running this tutorial on a different operating system, you may notice a slight
difference between the images displayed on your screen and the images shown in the tutorial.
AcuSolve provides the ability to scale values as a function of time and/or time step during a simulation.
This is achieved through the use of a multiplier function. In this tutorial, the inlet stagnation pressure
varies as the simulation progresses. By taking advantage of multiplier functions, you can easily set up a
function to model the pressure changes at the inlet.
In the next steps you will create a multiplier function for the pressure at the inlet. This multiplier
function will be applied to the inlet later in this tutorial.
In this tutorial, the inlet pressure starts at 0 pascals, ramps up to 29,000 Pa, is held steady briefly, and
then ramps back to 0 Pa.
Figure 671:
To make the creation of the multiplier functions as simple as possible, you will use the PB* filter in the
Data Tree Manager.
1. Click PB* in the Data Tree Manager to show all problem-definition settings.
2. Right-click Multiplier Function under Global in the Data Tree and click New to create a new
multiplier function.
3. Rename the multiplier function.
a) Right-click the newly created Multiplier Function 1 and click Rename.
b) Enter inlet pressure.
Note: When an item in the Data Tree is renamed, the change is not saved until
you press the Enter key on your keyboard. If you move the input focus away
from the item without entering it, your changes will be lost.
Figure 672:
Figure 673:
X Y
0.0 0.0
0.002 0.0
0.05 29000
0.2 29000
0.25 0.0
0.35 0.0
d) Click Plot to expand the Array Editor dialog to display the plot of the curve fit values.
You may need to expand the dialog by dragging the right edge in order to see the plot.
Figure 674:
e) Click OK.
These entries will be used to control the change in inlet pressure throughout the simulation.
Volume groups are containers used for storing information about volumes. This information includes the
list of geometric volumes associated with the container, as well as attributes such as material models
and mesh sizing information.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group and set the material for the volume as
water.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model tree item by clicking .
3. Expand Volumes.
4. Rename the default volume to Fluid.
a) Right-click default under Volumes and click Rename on the context menu.
b) Enter Fluid.
5. Set the material model used for the fluid in the simulation.
a) Expand the Fluid tree item by clicking .
b) Double-click Element Set to open the Element Set detail panel.
c) Click the drop-down control next to Material model.
d) Click Water.
Figure 675:
For the next set of steps it is useful to turn off the display of Fluid by clicking so that it is in the off
( ) state.
Surface groups are containers used for storing information about a surface. This information includes
the list of geometric surfaces associated with the container, as well as attributes such as boundary
conditions, surface outputs, and mesh sizing information.
In the next steps you will define surface groups, assign the appropriate attributes for each group in the
problem, and add surfaces to the groups.
In the next steps you will define a surface group for the inlet, assign the multiplier function to describe
the transient pressure, and add the inlet from the geometry to the surface group.
Figure 676:
Figure 677:
In the next steps you will define a surface group for the outlet, assign the appropriate attributes and
add the outlet from the geometry to the surface group.
Figure 678:
The problem is rotationally periodic, allowing for modeling with the use of a section. For this tutorial,
a 30-degree section of the geometry is modeled. In order to take advantage of this, the front and
rear faces of the section can be identified as symmetry planes, because the non-streamwise flow
contribution is minimal. The symmetry boundary condition enforces constraints such that the flow field
from one side of the plane is a mirror image of that on the other side.
In the next steps you will define a surface group for the symmetry plane on the front of the modeled
section, and then create a second surface group for the back symmetry plane.
Figure 679:
Figure 680:
Figure 681:
13. Turn off the display of all surface items except Back Symmetry and default.
14. Add geometry surfaces to this group.
a) Right-click Back symmetry and click Add to.
b) Click the symmetry plane near the inlet and near the outlet.
Figure 682:
Setting External Code Surface Attributes for the Valve Shutter Walls
The motion of this surface, resulting from the transient inlet pressure, will be modeled with
MotionSolve. In the next steps you will define a surface group for the walls of the valve shutter, assign
the appropriate settings, and add the faces from the geometry to the surface group.
1. Click ALL in the Data Tree Manager to show all settings.
2. Create a new surface group.
3. Rename the surface to Valve wall.
4. Disable Simple Boundary Condition for Valve wall.
5. Enable External Code Surface.
Disabling the boundary condition options and enabling external code options indicates that
boundary conditions will be handled by the external code (MotionSolve).
6. Set Coupling type to Rigid Body.
This indicates that the external code will provide rigid-body information for this surface.
7. Enter Model-Shutter Body for Rigid body name.
The name entered here needs to match the body name in the prepared MotionSolve model,
Valve_model.xml, to ensure that information about forces and motion of this surface match up
between AcuSolve and MotionSolve.
Figure 683:
Figure 684:
11. Turn off the display of all surface items except Valve wall and default.
12. Add geometry surfaces to this group.
a) Right-click Valve wall and click Add to.
b) Hold the Shift key down, left-click, and drag a selection box (rubber band) around the valve
and stem.
Figure 685:
c) Release the left key and the valve shutter and stem should be highlighted.
Figure 686:
d) Click Done to add these geometry surfaces to the Valve wall surface group.
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group. In the previous steps, you selected geometry surfaces to be placed in the groups that
you created. At this point, all that is left in the default surface group is the pipe wall. Rather than
create a new container, add the wall surfaces in the geometry to it, and then delete the default surface
container, you will rename the existing container.
Figure 687:
Now that the simulation has been defined, attributes need to be added to define the mesh sizes that will
be created by the mesher.
AcuConsole supports three levels of meshing control, global, zone and geometric.
• Global mesh controls apply to the whole model without being tied to any geometric component of
the model.
• Zone mesh controls apply to a defined region of the model, but are not associated with a
particular geometric component.
• Geometric mesh controls are applied to a specific geometric component. These controls can be
applied to volume groups, surface groups, or edge groups.
In the next steps you will set global meshing attributes. In subsequent steps you will create zone and
surface meshing attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.005 m for the Absolute mesh size.
This absolute mesh size is chosen to ensure that there are at least 50 mesh elements around the
circumference of the main pipe.
6. Turn off the Curvature refinement parameters option.
7. Change the Mesh growth rate to 1.2.
This option controls that rate at which the mesh transitions between regions of different surface
and volume size. Setting this to a value of 1.2 allows for a gradual transition between finely
meshed regions and coarsely meshed regions.
8. Set the Maximum sweep angle to 30.0 degrees.
This option allows you to set the maximum sweep angle for edge-blend meshing on a global basis,
which creates a radial array of elements around sharp edges to provide better resolution of the
flow features. The sweep angle is used to control how many degrees each radial division spans.
Figure 688:
In addition to setting meshing characteristics for the whole problem, you can assign meshing attributes
to a zone within the problem where you want to be able to resolve flow with a mesh that is more
refined than the global mesh. A zone mesh refinement can be created using basic shapes to control the
mesh size within that shape. These types of mesh refinement are used when refinement is needed in an
area that does not correspond to a geometric item.
In the following steps you will add mesh refinements in the zone around the valve gap and around the
valve body.
In the next steps you will add a set of mesh attributes for a zone around the gap between the valve
shutter and the orifice.
Figure 689:
Figure 690:
In the next steps you will add a set of mesh attributes for a zone around the valve body.
1. Right-click Zone Mesh Attributes under the Global branch in the Data Tree and click New.
2. Rename Zone Mesh Attributes 1 to Valve body mesh refinement.
3. Double-click Valve body mesh refinement to open the Zone Mesh Attributes detail panel.
4. Change the Mesh zone type to Cylinder.
5. Set the location of the mesh refinement by defining the center points of the end faces of the
cylinder.
a) Click Open Array to open the Array Editor dialog.
Figure 691:
Figure 692:
Figure 693:
In the following steps you will set meshing attributes that will allow for localized control of the mesh
size on surface groups that you created earlier in this tutorial. Specifically, you will set local meshing
attributes that control the growth of boundary layer elements normal to the surfaces of the pipe walls
and valve walls.
In the next steps you will set meshing attributes that allow for localized control of the mesh near the
walls of the pipe. The mesh size on the wall of the pipe will be inherited from the global mesh size that
was defined earlier. The settings that follow will only control the growth of the boundary layer from the
walls of the pipe into the fluid volume.
1. Expand the Model > Surfaces > Pipe wall tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
This option indicates that the mesher will use the global meshing attributes when creating the
mesh on the surface of the pipe walls.
4. Turn on the Boundary layer flag option.
This option allows you to define how the meshing should be handled in the direction normal to the
walls.
5. Set the Resolve option to Total Layer Height.
Mesh elements for a boundary layer are grown in the normal direction from a surface to allow
effective resolution of the steep gradients near no-slip walls. The layers can be specified using a
number of different options. In this tutorial you will specify the height of the first layer, a stretch
ratio for successive layers (growth rate), and the total number of layers to generate. AcuConsole
will resolve the total layer height from the attributes that you provide. That is, total layer height
will be computed based on the height of the first element, the growth rate, and the number of
layers that you provide in the next few steps.
6. Enter 0.00035 m for First element height.
7. Enter 1.2 for the Growth rate.
8. Enter 3 for the Number of layers.
9. Turn on the Boundary layer blends flag option.
This option creates a radial array of boundary layer elements around exterior corners.
10. Enter 30.0 degrees as the Maximum sweep angle.
Figure 694:
In the next steps you will set meshing attributes that allow for localized control of the mesh size near
the walls of the valve shutter assembly.
1. Expand the Model > Surfaces > Valve wall tree item.
2. Click the checkbox next to Surface Mesh Attributes to enable the settings and open the
Surface Mesh Attributes detail panel.
3. Change the Mesh size type to None.
Figure 695:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 696:
Figure 697: Mesh Details Around the Valve Viewed on the Front Symmetry Plane
Note that the mesh size in the pipe decreases from left to right in the transition from a region
where global settings determine the size to the zone around the gap where the settings are for
a finer mesh. Note also that the mesh to the right of the valve shutter is smaller than the global
mesh as determined in the Valve body mesh refinement that you created.
This tutorial uses a coupled solution between AcuSolve for the flow field and MotionSolve for the rigid-
body-dynamics. Solving the problem for this tutorial involves two steps:
1. Start AcuSolve.
2. Start MotionSolve.
The next sets of steps provide instructions for these two tasks.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 698:
Running MotionSolve
In the next steps you will start MotionSolve and provide settings for communication with AcuSolve.
1. Run Start > All Programs > Altair HyperWorks 2017 > MotionSolve to open the
HyperWorks Solver Run Manager.
2. Browse to the location of \Pressure_Check_Valve-Coupled\Valve_model.xml. and select this as
the Input file.
This file contains MotionSolve version of the model.
3. Change the Files of type filter to Motion Solve Data (*.xml, *.acf, *.py).
Figure 699:
6. Enable the -as_cosim option to indicate coupling between MotionSolve and AcuSolve.
7. In the -as_cosim dialog that appear, click None.
8. Click Apply Options and close the dialog.
9. Click Run to start MotionSolve.
As the solution progresses, a HyperWorks Solver View window will open. Solution progress
is reported in this window. The AcuSolve AcuTail window will also update as the solution
progresses.
Figure 700:
As the solution progresses, you can monitor the progress with AcuProbe, as detailed in the next steps.
While AcuSolve is running, you can monitor flow characteristics such as inlet pressure, displacement of
the valve, and velocity of the valve, using AcuProbe.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Expand the window by dragging the lower right corner.
3. Expand the Data Tree by dragging the right edge.
Figure 701:
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 702:
Note that the valve motion lags behind the pressure changes at the inlet. Note also the spike
th
around the 25 time step. This represents the collision of the valve stem with the stop and the
subsequent rebound of the valve.
AcuProbe has the ability to plot many other quantities. One such quantity is velocity of the moving
valve. In the next steps you will create a plot of the x-velocity of the valve walls.
1. Turn off the plot of pressure at the inlet.
a) Right-click Inlet.
b) Select Plot None.
2. Expand Valve wall.
3. Right-click x_velocity and click Plot.
4.
Click on the toolbar to refresh the plot.
Figure 703:
th
Note that the the spike in mesh_x_displacement around the 25 time step corresponds with a
sudden decrease in the velocity of the valve walls. This represents the collision of the valve stem
with the stop and the subsequent rebound is reflected by a negative X velocity.
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated toAcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView, display velocity magnitude and animate the view to
show mesh displacement. You will then display velocity vectors and pressure contours when the valve
shutter is at maximum displacement.
Starting AcuFieldView
Figure 704:
In the next steps you will create a boundary surface to display contours of velocity magnitude on the
front symmetry plane of the modeled slice.
These steps are provided with the assumption that you are able to manipulate the view in AcuFieldView
to have a white background, perspective turned off, outlines turned off, and the viewing direction set
to +Z. If you are unfamiliar with basic AcuFieldView operations, refer to Manipulating the Model View in
AcuFieldView .
1.
Click on the side toolbar to open the Boundary Surface dialog.
Note: The dialog may already be open. This step will put the focus on the dialog.
Figure 705:
Note: You may need to scroll down in the list to find velocity_magnitude.
c) Click Calculate.
4. Set the front symmetry plane and pipe walls as the location for display of contours.
a) Click SBC: Front symmetry.
b) Hold the Ctrl key and click SBC: Pipe wall.
c) Click OK.
5. Add a legend to the view.
Figure 706:
Figure 707:
This image was created with a white background, perspective turned off, outlines turned off, and
the viewing direction set to +Z.
When data was loaded from AcuSolve, AcuFieldView displays information from the final time step.
In the following steps you will display velocity magnitude at the first time step and then animate
the display to show the motion of the valve shutter and the velocity changes throughout the
simulation.
In the next steps you will create a transient sweep and save it as an animation that can be viewed
independently of AcuFieldView. As a first step, you will change the colormap used by the legend.
1. Set the colormap to use defined maximum and minimum values throughout the transient sweep.
a) Click the Colormap tab.
Figure 708:
Figure 709:
5. Use the slider control to set the SOLUTION TIME to the first time step and click Apply.
6. Click Build.
As AcuFieldView builds the flipbook animation, you will see the controls on the Transient Data
Controls dialog advance. Once the flipbook is built, a Flipbook Controls dialog will allow you to
play or save the animation.
Figure 710:
7. Click Frame Rate and set the Minimum Time Seconds to 0.1.
8. Use the controls on the Flipbook Controls dialog to play and pause the animation.
9. Save the animation as mesh_velocity_mag_coupled.
In the next steps you will create a coordinate surface at the mid-Z plane of the modeled section. You
will then display pressure contours and velocity vectors on that surface.
1. Disable the Visibility option on the Boundary Surface dialog used to create the display of
velocity magnitude.
2. Open View > Defined Views and set the view to +Z.
3.
Click on the side toolbar to open the Coordinate Surface dialog.
Figure 711:
Figure 712:
Figure 713:
Figure 714:
5.5.7 Summary
In this tutorial you worked through a basic workflow to set up a transient simulation for moving mesh
and variable inlet pressure. The solution of this case was coupled between AcuSolve for the flow field
and MotionSolve for the rigid-body dynamics. Once the case was set up, you generated a mesh and
generated a solution using AcuSolve and MotionSolve. AcuProbe was used to post-process the motion
of the valve shutter (x_mesh_displacement) and velocity of the valve walls. Results were also post-
processed in AcuFieldView to allow you to create contour and vector views, and to allow you to view the
transient data. New features introduced in this tutorial include: coupled solution with an external code,
fluid-structure interaction, mesh motion, transient simulation, multiplier functions, post-processing with
AcuProbe, and animation of transient results.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of flow
around a static ship hull. In this simulation, a wave hits the static ship hull and the flow around the ship
is simulated. This tutorial is designed to introduce you to a number of modelling concepts necessary to
perform Free-Surface simulations.
The basic steps in any CFD simulation were shown in Flow in a Mixing Elbow. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Use of a User Defined Function (UDF) for the gravity wave generation
• Mesh extrusions
• Periodic boundary conditions
• Use of Surface Manager to apply surface attributes
• Free surface
• Guide surface
• Use of hydrostatic pressure for boundary conditions
• Arbitrary mesh motion using ALE (Arbitrary Lagrangian-Eulerian) method
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract Wigley_hull.x_t and wave.c from Acu_tutorial_input.zip.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
The problem to be addressed in this tutorial is shown in Figure 715. It is a mid-section of a Wigley
Ship model. Wigley hulls have been widely used as test cases for evaluating hydrodynamic behavior
of ships. The present tutorial demonstrates the simulation of gravity waves hitting a static Wigley hull
(a hypothetical situation of a ship anchored in sea). Since the motion considered in this tutorial is
perpendicular to the length of the ship, an analysis of a 2D section of the ship hull would be appropriate
with lesser computation time without compromising on accuracy. The mid-section dimensions of the
Wigley hull is a function of total ship length and the model used in this tutorial is the mid-section of
Wigley hull whose ship length is 1 m.
[2]
is the gravity, hence the name of surface gravity wave . In the present simulation, wind-generated
gravity waves on the free surface of the sea are generated using a UDF (User-Defined Function).
Figure 716 depicts parameters that define a simple, progressive gravity wave. This wave can be
modeled in the form of the sinusoidal wave profile, shown below.
where
is wave number =
t is the time
In the present simulation we use the following values for the variables of above equation:
U = 0.1256 m/s
= 1.0 sec
-1
= 12.566 m
= 0.01 m/s
= 0.5 m
In the present tutorial, at the inlet you will generate the wave for 2 seconds and simulate the motion of
the wave for 5 seconds. A UDF (wave.c) written in C language is used for this purpose. For the details of
the functions used in the wave.c, refer to the AcuSolve User-Defined Functions Manual.
Starting AcuConsole
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating groups, setting group attributes, adding geometry components to
groups, and assigning mesh controls and boundary conditions to the groups. Next you will generate a
mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will visualize some
characteristics of the results using AcuFieldView.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Ship_hull_static and open this directory.
5. Enter Ship_hull_static as the file name for the database, or choose any name of your
preference.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will set attributes that apply globally to the simulation. To simplify this task, you will
use the BAS filter in the Data Tree Manager. This filter reduces the number of items shown in the Data
Tree to make navigation of the entries easier.
The general attributes that you will set for this tutorial are for turbulent flow, transient analysis, and
mesh type as arbitrary mesh movement (ALE).
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 717:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 718:
Figure 719:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Ensure the Analysis type is set to Transient.
3. Set the Max time steps to 100.
4. Set the Initial time increment to 0.05 seconds.
5. Change the Max stagger iterations to 4.
Stagger iterations define how many iterations will be performed within each time step. Changing
the maximum stagger iterations to 4 means that AcuSolve will perform a maximum of four
iterations at every time step whether convergence is achieved or not. Setting the minimum
stagger iterations to 0 indicates that there is no minimum number of iterations within a time step.
In this case, AcuSolve will proceed to the next time step when it has either reached the desired
convergence tolerance or the maximum number of stagger iterations within the step.
6. Check that the Relaxation factor is set to 0.0.
When solving transient solutions, the relaxation factor should be set to zero. A non-zero relaxation
factor causes incremental updates of the solution, which will impact the time accuracy of the
solution for transient cases.
Figure 720:
AcuConsole has three pre-defined materials, Air, Aluminum and Water, with standard parameters
defined. In the next steps you will check the material properties of the predefined Water to match the
desired properties for this problem.
Figure 721:
Figure 722:
2. Double-click Water in the Data Tree to open the Water detail panel.
The material type water air is Fluid. Fluid is the default material type for any new material created
in AcuConsole.
Figure 723:
3
3. Click the Density tab. The density of water is 1000.0 kg/m .
4. Click the Viscosity tab. The viscosity of water is 0.001 kg/m – sec.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
The Nodal Output Frequency determines at what frequency or time interval the solution results would
be stored to be used for post processing within AcuFieldView.
You will import the geometry in the next part of this tutorial. You will need to know the location of
wigley_hull.x_t in order to complete these steps. This file contains information about the geometry in
Parasolid ASCII format.
Figure 724:
For this tutorial, the default values for the Import Geometry dialog are used to load the
geometry. If you have previously used AcuConsole, be sure that any settings that you might have
altered are manually changed to match the default values shown in the figure. With the default
settings, volumes from the CAD model are added to a default volume group. Surfaces from the
CAD model are added to a default surface group. You will work with groups later in this tutorial to
create new groups, set flow parameters, add geometric components, and set meshing parameters.
5. Click Ok to complete the geometry import.
Figure 725:
As discussed in the section Analyzing the Problem, gravity is the important aspect of the simulation.
2
In AcuConsole it is defined as the Body Force of standard Gravity (g = 9.81 m/s ) along the Z-axis is
applied to the model.
1. In the Data Tree, double-click Body Force to expand it.
2. Double-click Gravity to open the detail panel.
The Medium for Gravity is Fluid. The Gravity defined here is applicable only on material models
whose material type is Fluid.
3. Next to the Gravity field, click Open Array.
4. In the X-components and Y-components fields, enter 0.
2
5. In the Z-components field, enter 9.81 m/s
6. Click OK to complete the definition of Gravity.
Figure 726:
Note: The definition of Gravity here will have no effect on the simulation unless it
assigned to a Volume in the model.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container.
In the next steps you will rename the default volume group container, set the material for that group
and set mesh motion for the fluid volume.
1. Minimize Global in the Data Tree Manager and expand the Model tree item by clicking .
2. Expand the Volumes tree item.
3. Toggle the display of the default volume container by clicking and next to the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 727:
d) Click Done to add the selected volume to the solid volume group.
7. Set the material model for the volume to use to None.
The material model of the ship hull is inappropriate to the present simulation. Hence, the medium
is set to None.
Note: The element sets of the solid volume are necessary in the pre-processing
stage (AcuPrep) of the simulation for the evaluation of normal directions for the
guide surfaces. However the element sets are not necessary during the solver
module because the only interaction between the fluid and solid is at the guide
surface. The use of None for the Medium of this volume ensures that no elements of
this volume are carried over to the solver, thus saving the computational time.
When the geometry was loaded into AcuConsole, all geometry volumes were placed in the default
volume group container. In the previous steps, you selected a geometry volume to be added to
Guide_Vol_Ship container that you created. At this point, all that is left in the default volume group is
the fluid volume. Rather than create a new container, add the fluid volume in the geometry to it, and
then delete the default volume container, you can rename the container and modify the attributes for
this group.
8. In the Data Tree, right-click on default and rename it to Fluid.
9. Set up the Fluid volume element set.
a) Expand the Fluid volume group in the tree.
b) Double click Element Set under Fluid to open it in the detail panel.
c) Ensure that the Medium for the volume is set to Fluid. If not, change it to Fluid.
d) Change the Material model to Water.
e) Change the Body force to Gravity.
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome, especially for
models with too many surfaces. To make it easier, less error prone, and to save time, two new dialogs
are provided in AcuConsole. Use the Volume Manager and Surface Manager to verify and provide
the information for all surface or volume entities at once. In this section some features of Surface
Manager are exploited.
1. Turn-off display for Volumes by right-clicking Volumes and selecting Display off .
2. Right-click Surfaces in the Data Tree and select Surface Manager.
3. In the Surface Manager dialog, click New nine times to create nine new surface groups.
4. Turn off the display for all surfaces except for the default surface.
5. Rename Surface 1 through Surface 9 according to the image below.
Figure 728:
Figure 729:
Figure 730:
Figure 731:
Figure 732:
1.
The present simulation is a 2D representation of a ship in water. Hence it is appropriate to set the Side1
and Side2 with the slip boundary condition to simulate that effect.
AcuConsole has a special feature named Propagate that can speed up the process of simulation setup
and save time. This feature copies the attributes (it may be Simple Boundary Condition, Surface
Output, Surface Mesh Attributes, Element Set, Volume Mesh Attributes, and so on) set for one surface
set or volume set to another surface set or volume set. For example, in a simulation model if there are
10 surface sets with simple boundary condition set to Slip, then you can use this feature. You need
to manually set the boundary condition for one surface and use the Propagate feature for all other
surfaces.
6. Under Side1, right-click Simple Boundary Condition and select Propagate.
7. Select the surface Side2 and click Propagate.
Top
The Top surface is the top surface of water which is in contact with air and hence Free Surface is the
appropriate boundary condition.
Note: As the name suggest, the free surface is a surface of the fluid which is not
constrained by any physical boundary. This type of the boundary condition imposes normal
component of mesh velocity to the flow velocity at this surface.
Note: Surface tension model is the user-given model of surface tension defined
under Global > Surface Tension Model. Since the surface tension is not modelled
in this simulation, this parameter is set to None.
Note: Contact angle model is the user-given model of contact angle defined under
Global > Contact Angle Model. The contact angle model is used in conjunction
with the surface tension model. Since the surface tension is not modelled in this
simulation, this parameter is set to None.
Note: Use of Pressure loss factor (k) would add the following term to the pressure
term
where
= density of fluid
u = velocity of fluid
The higher the value of pressure loss factor, stiffer the free surface behaves, that is,
lesser the displacement of the free surface.
Note: For the detailed discussion on Hydrostatic pressure, refer to the Outlet
surface attributes defined later in this tutorial.
Bottom
Outlet
where
= density of fluid
z0 = coordinate vector where the hydrostatic pressure is zero. Z0 defined below using Hydrostatic
pressure origin
g = gravity vector
6. Next to Hydrostatic pressure origin, click Open Array to define the pressure origin.
7. Provide the coordinates of origin (0, 0, 0) in the Array Editor.
Note: Hydrostatic pressure will be zero on Free surface (that is, the Top surface).
The point (0, 0, 0) is on the Top surface. In particular, any point on the Top surface
can be chosen as Hydrostatic pressure origin.
During the simulation there will be certain time points (particularly when trough is formed at the
outlet surface) at which the flow enters the domain through certain portion of outlet surface, which is
called back flow. Back flow may lead to instability temperature, turbulence variables. Enabling Back
flow conditions allows nodal boundary conditions to be specified for these variables only on nodes
where there is flow re-entering the domain. Assuming the outlet is sufficiently far away from ship hull,
eddy viscosity value can set as that of the Inlet, for example, 1e-05
8. Set Back flow conditions to On.
9. Select the Eddy viscosity back flow type to Value.
10. Set Eddy viscosity to 1e-05.
11. Change the Mesh displacement BC type to Slip.
Setting the Mesh displacement BC type to Slip will allow the nodes on this surface (Outlet) to
move freely along the surface.
No_Bc
The No_Bc surface set contains the surfaces of Guide_Vol_Ship which do not participate in actual
simulation. Hence it is appropriate to disable the Boundary condition for this surface.
Guide_surf
This surface belonging to the Guide_Vol_Ship will remain stationary in the present simulation and
provide as a guide for the fluid around. Hence we define it as Guide Surface with no mesh motion.
Note: This ensures that boundary condition for the Guide_surf surface is not defined
by using Simple Boundary Conditions. The boundary condition will be defined as a
Guide surface using the following steps.
Hull_guide
Inlet
At the Inlet, you will provide the horizontal velocity of the gravity waves given by Equation 1. This
boundary condition at the inlet will be defined using Nodal Boundary conditions with UDF.
Note: Setting the Mesh displacement BC type to Slip will allow the nodes on the
Inlet surface to move freely along the surface.
Figure 733:
The values provided above are the ones described in the section Generation of Surface Gravity
Waves. The user values should be provided in the same order as shown above, because these
values will be passed on to the UDF script which refers these values in that specific order.
13. Click OK.
A UDF in the form of C language (wave.c) is provided with the tutorial. Now this C program should be
compiled using the following steps.
1. Start AcuConsole Command Prompt from the Windows Start menu by clicking Start > All
Programs > Altair Hyperworks <version> > AcuSolve > AcuSolve Cmd Prompt.
2. Use the cd command to change the directory to the current working directory.
3. Enter the command acuMakeDll –src wave.c.
A set of files necessary for the use of UDF are created..
A UDF in the form of C language (wave.c) is provided with the tutorial. Now this C program should be
compiled using the following steps.
1. In the terminal, use the cd command to change the directory to the current working directory.
2. Enter the command acuMakeDll –src wave.c.
A set of files necessary for the use of UDF are created..
Now that the simulation characteristics have been set for the whole problem, the next step is to
generate the mesh.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Expand the Global Data Tree item.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 0.01 m for the Absolute mesh size.
Figure 734:
1. Expand the Model Data Tree item and right-click Mesh Extrusions.
2. Select New from the context menu to create a new entity, Mesh Extrusion 1.
3. Rename Mesh Extrusion 1 as Side1-Side2.
4. Right-click Side1-Side2 and select Define from the context menu.
5. In the Mesh Extrusion dialog, make the following settings.
a) Use the drop down arrows to select the surfaces for Side 1 and Side 2 as Side1 and Side2,
respectively.
b) Ensure that the Extrusion type is set to Number of layers.
c) Set Number of layers equal to 1.
d) Set Extrusion options to All tets.
Use the following figure for reference.
The present simulation is a 2D representation of infinite ship model. So the solution should be periodic
on the surfaces Side1 and Side2. The following steps define the periodic boundary conditions.
Note: The following steps will only ensure that the mesh is periodic. The definition of
periodic boundary conditions for particular variables has to be made separately.
1. In the Data Tree, under Model, right click on Periodics and select New.
2. Rename Periodics 1 to Side1-Side2.
3. Right click on Side1-Side2 and select Define.
4. In the Periodics BC dialog, select the surfaces Side1 and Side2, respectively.
5. Verify that Type is Translational.
6. Set the Y-Offset to -0.01 m (which is the distance between Side1 and Side2).
Figure 735:
Transformation information should be provided so that the Side 1 surface after transformation
matches the Side 2 surface. For the present case, Side 1 should be translated along (-Y) axis for a
distance of 0.01m. Hence the Type as Translational and the Y-Offset as -0.01m.
7. Click OK.
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 736:
Figure 737:
Note: The actual number of nodes and elements, and memory usage may vary
slightly from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window.
Figure 738:
The following steps define the periodic boundary conditions for various variables for Side1 and Side2.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Under Model, expand Periodics and expand Side1-Side2.
3. Make sure that the Periodic Boundary Condition box is checked On.
4. Double-click Periodic Boundary Condition and verify that Type is set to Periodic and Active Type
is set to Always.
Figure 739:
Splitting Nodes
At this point, the Hull_guide surface has all nodes that are attached to Fluid. A duplicate set of nodes
has to be created, so that one set of the nodes follow the Fluid motion and another set stays attached
to the surface Guide_surf. The following steps illustrate the process of splitting the nodes.
1. In the Data Tree, under Surfaces, right-click Hull_guide and select Mesh Op. > Split internal
faces.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 740:
AcuProbe can be used to monitor various variables over solution time. In the present simulation it is
worthwhile to monitor the forces on the ship hull.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the Data browser on the left, expand Surface Output.
3. Double-click on Hull_guide to open the surface output list.
4. Right-click on x_wall_shear_stress and click on plot.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Figure 741:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView and create an animation of the ship hull motion with
the contours of z-mesh displacement.
Starting AcuFieldView
These steps are provided with the assumption that you are able to manipulate the view in AcuFieldView
to have a white background, perspective turned off, outlines turned off, and the viewing direction set
to +z. If you are unfamiliar with basic AcuFieldView operations, refer to Manipulating the Model View in
AcuFieldView.
1. Orient the geometry so you can see the Top surface clearly, as shown in the figure below.
Figure 742:
5.6.7 Summary
In this tutorial you worked through a basic workflow to set up a static ship-hull simulation with
surface gravity waves. Once the case was set up, you generated a mesh and obtained a solution using
AcuSolve. Results were post-processed in AcuFieldView to allow you to create an animation of the free
surface movement with time. New features introduced in this tutorial include:
• User Defined Function (UDF) for surface gravity wave generation
• Mesh extrusions and periodic boundary conditions
• ALE based mesh motion approach
• Use of the Surface Manager to apply surface attributes
• Use of hydrostatic pressure as a boundary condition
• Free surface and Guide surface capabilities in AcuSolve
This tutorial provides the instructions for setting up, solving, and viewing results of a flow around
a freely floating ship hull. In this simulation, a wave hits the ship hull and displacement of the ship
and the flow around the ship are simulated. This tutorial is designed to introduce you to a number of
modeling concepts necessary to perform Free-Surface simulations.
The basic steps of a CFD simulation are shown in earlier tutorials. The following additional capabilities of
AcuSolve will be introduced in this tutorial:
• Use of Rigid Body type mesh motion
• Use of Free surface and Guide surface capabilities in conjunction of Rigid Body mesh motion.
Prerequisites
In order to run this tutorial, you should have already run through the introductory tutorials, ACU-2000:
Turbulent Flow in a Mixing Elbow and ACU-5300: Ship Hull Static. Be familiar with AcuConsole,
AcuSolve, or AcuFieldView. In order to run this tutorial, you will need access to a licensed version of
AcuSolve 2017.2.
Prior to running through this tutorial, copy ship_hull_static.acs and wave_c from <AcuSolve
installation directory>\model_files\tutorials\AcuSolve\Acu_tutorial_input.zip to a
working directory.
The problem to be addressed in this tutorial is shown below. It is a mid-section of a Wigley Ship model.
Wigley hulls have been widely used as test cases for evaluating hydrodynamic behavior of ships. The
present tutorial demonstrates the simulation of gravity waves hitting a freely floating Wigley hull and
evaluating the positionof the hull with time. This tutorial is similar to the Ship Hull Static tutorial, except
that the ship hull is freely floating as a rigid body compared to a static ship hull.
Since the motion considered in this tutorial is perpendicular to the length of the ship, an analysis of a
2D section of the ship hull would be appropriate with lesser computation time without compromising on
accuracy. The mid-section dimensions of the Wigley hull is a function of total ship length and the model
used in this tutorial is the mid-section of Wigley hull whose ship length is 1m.
A linear solution of surface gravity wave propagation would result in the following equation for
horizontal velocity of wave.
Where,
is wave number =
t is the time
In the present simulation, the following values are used for the variables of above equation:
U = 0.1256 m/s
= 1.0 sec
-1
= 12.566 m
= 0.01 m/s
= 0.5 m
In the present tutorial, at the inlet you will generate the wave for 2 seconds and simulate the motion of
the wave for 5 seconds. A UDF (wave.c) written in C language is used for this purpose. For the details
of the functions used in the wave.c, refer to the AcuSolve User-Defined Functions Manual.
Material = Aluminum
3
Density = 2702 kg/m
= 0.00113969
= 0.0051392
= 0.004006
A local coordinate system is used to simplify the definition of the rigid body model and the solution of
the equations of motion. The translational and rotational equations of motion are:
Where,
are the translational displacement, velocity and acceleration vectors, respectively as:
, ,
are the angular displacement, angular velocity and angular acceleration vectors, respectively
as:
, ,
For the present tutorial, a single element extrusion will be made along the y-axis. Based on the above
assumptions, you arrive with:
, ,
, ,
The only critical component of moment of inertia for the present tutorial is .
In the next steps you will start AcuConsole and open a database that is set up for a Ship hull static
simulation. You will then make appropriate changes to the database to take into account the dynamics
of the ship motion.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it Ship_hull_dynamics and open it.
5. Copy the Ship_hull_static.acs and wave.c from the <installation directory> to the new
working directory.
6. Click Ship_hull_static.acs to open the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
7. Click File > Save As and enter Ship_hull_dynamics as the file name for the database.
8. Click Save to create the database.
In the next steps you will modify global attributes needed for the transient portion of the simulation.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 745:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 746:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 747:
Figure 748:
2. Double-click Water in the Data Tree to open the Water detail panel.
Note: The detail panel can be resized by dragging the right frame of the panel.
Figure 749:
3
3. Click the Density tab. Verify that the density of water is 1000.0 kg/m .
4. Click the Viscosity tab. Verify that the viscosity of water is 0.001 kg/m-sec.
5. Double-click Aluminum in the Data Tree to open the Aluminum detail panel.
The Material type for aluminum is Solid.
Figure 750:
3
6. Click the Density tab. Verify that the density of aluminum is 2702.0 kg/m .
7. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
In the next steps you will define the mesh motion based on the rigid body dynamics of the ship hull.
1. Click ALE in the Data Tree Manager to see all the settings related to mesh motion.
2. Right-click Mesh Motion and click New to create a new mesh motion.
3. Rename Mesh Motion 1 to Rigid_body_mesh_motion.
4. Double-click Rigid_body_mesh_motion and change the Type to Rigid Body Dynamic.
Note: The values assigned to the parameters in this section are the material and
geometric properties of the ship hull. Please refer to ACU-5300: Ship Hull Static.
Figure 751:
Figure 752:
Local Coordinates: This parameter defines the direction of local xyz coordinate system, specified
with respect to the global xyz coordinate system.
12. Click Open Array adjacent to Local coordinates.
Since the local and global coordinates are same in this simulation, use the following defaults.
Figure 753:
Figure 754:
Though for the present 2D problem the only critical component of moment of inertia is Iyy as
mentioned in the section Rigid Body Dynamics Analysis, AcuSolve would require the dyadic matrix
to be positive definite because of the 3D volume mesh (refer to 2-Dimensional simulations in
AcuSolve) and therefore, requires the input of Ixx, Izz.
The parameters Stiffness, Damping, Rotational stiffness, and Rotational damping will be
considered zero, because the ship is assumed to be freely floating on water.
External forces: The force of gravity is the external force acting on the ship hull along the positive-
z direction.
Figure 755:
External Moment: The only external force on the ship hull is force of gravity. It does not produce
any moment. Therefore, the External Moment will be zero in this simulation.
The parameters Initial displacement, Initial velocity, Initial rotation, Initial angular velocity,
Initial fluid forces, and Initial fluid moments will be considered zero, because of the stationary,
equilibrium position of the ship considered at the start of the simulation.
Surface outputs: This parameter lists the array of surfaces whose output of forces and moments
will be enforced on the Rigid body (in this case, Ship hull). In this simulation, the forces from the
fluid will be enforced on the ship hull through the surface “Hull_guide” of Fluid volume.
17. Click Open Refs adjacent to Surface outputs.
18. In the Reference Editor, click Add Row.
19. Select Hull_guide and click OK.
Figure 756:
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Expand Volumes.
4. Under Guide_Vol_Ship, double-click Element Set.
5. Change Medium to Solid.
6. Set Material Model to Aluminum.
7. Set Body force to Gravity.
8. Change the Mesh motion to Rigid_body_mesh_motion.
Figure 757:
1. Click ALE in the Data Tree Manager to see all the settings related to mesh motion.
2. Expand the Model > Surfaces > Guide_surf tree item.
3. Double-click Guide Surface.
4. Change the Mesh motion to Rigid_body_mesh_motion.
Figure 758:
A UDF written in C language (wave.c) is provided with the tutorial. Now this C program should be
compiled using the following steps.
1. Start AcuConsole Command Prompt from the Windows Start menu by clicking Start > All
Programs > Altair HyperWorks <version>AcuSolve > AcuSolve Cmd Prompt.
2. Change the directory to present working directory using the ‘cd’ command.
The working directory is where all files related to the simulation will be stored. When you are
setting up the problem, there will be a file with extension .acs in this directory, which corresponds
to an AcuConsole database. Once the mesh and solution are generated, additional files and
directories will be added by AcuSolve.
3. Enter the command acuMakeDll –src wave.c.
A set of files necessary for the use of UDF are created.
A UDF written in C language (wave.c) is provided with the tutorial. Now this C program should be
compiled using the following steps.
1. In the terminal, use the cd command to change the directory to the current working directory.
2. Enter the command acuMakeDll –src wave.c.
A set of files necessary for the use of UDF are created.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 759:
AcuSolve will run using four processors (if available, higher number of processors may be
specified) and AcuConsole will generate AcuSolve input files and will launch AcuSolve. AcuSolve
will calculate the transient solution for this problem.
2. Click Ok to start the solution process.
As the solution progresses, an AcuTail dialog will open. The solution progress is reported in this
dialog.
Figure 760:
AcuProbe can be used to monitor various variables over solution time. In the present simulation it is
worthwhile to monitor the forces on the ship hull.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Double-click Surface Output to expand the tree.
3. Double-click Hull_guide to open the surface output variables list.
4. Right-click on x_wall_shear_stress and click Plot.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
5. Repeat the above steps to plot the z_wall_shear_stress and click Plot.
Figure 761:
Now that a solution has been calculated, you are ready to view the flow field using AcuFieldView.
AcuFieldView is a third-party post-processing tool that is tightly integrated to AcuSolve. AcuFieldView
can be started directly from AcuConsole, or it can be started from the Start menu, or from a command
line. In this tutorial you will start AcuFieldView from AcuConsole after the solution is calculated by
AcuSolve.
In the following steps you will start AcuFieldView, create an animation of the ship hull motion with the
contours of z-mesh displacement.
Starting AcuFieldView
Figure 762:
These steps are provided with the assumption that you are able to manipulate the view in AcuFieldView
to have a white background, perspective turned off, outlines turned off, and the viewing direction set
to +z. If you are unfamiliar with basic AcuFieldView operations, refer to Manipulating the Model View in
AcuFieldView.
1. Orient the geometry so you can see the entire model clearly, as shown in the figure below.
2. In the Boundary Surfaces dialog, uncheck Show Mesh.
3. Select z-mesh-displacement as the scalar function and click Calculate.
4. In the Legend tab, click Show Legend.
5. Change the color to black.
Figure 763:
Figure 764:
5.7.4 Summary
In this tutorial you worked through a basic workflow to set up a dynamic ship-hull simulation with
surface gravity waves. You started with an .acs file from the Ship Hull Static tutorial and modified the
set up to accommodate the rigid body motion of the ship hull. Once the case was set up, you generated
a solution using AcuSolve. Results were post-processed in AcuFieldView to allow you to create animation
of the Ship hull movement with time. New features introduced in this tutorial include: Rigid Body type
mesh motion, use of Free surface and Guide surface capabilities in conjunction of Rigid Body mesh
motion.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of a
piezoelectric fluid harvester. In this simulation, a piezoelectric flow harvester is placed in a fluid flow
channel. The harvester is attached to a cylinder mount which also acts as a bluff body causing vortices
in the fluid flow. The interaction between the pressure fields generated by the vortices and the flow
harvester structure is simulated in this tutorial. AcuSolve is used in conjunction with a structural solver
to compute the structural displacement of the harvester using a practical fluid structure interaction (P-
FSI) approach. Arbitrary Lagrangian Eulerian (ALE) approach is used to compute the mesh deformation
in the fluid domain as it interacts with the deforming structure.
The basic steps in a CFD simulation have been discussed in earlier tutorials. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Set up a Practical FSI simulation (P-FSI)
• Using ALE mesh motion
• Use Eigenmode Manager for transferring structural data onto CFD mesh
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
the files fluid.x_t and beam_modal.op2 from Acu_tutorial_input.zip. The file fluid.x_t stores the
geometry information for the fluid portion of the model for this problem, and the file slab_modal.op2
stores the output data from the structural solver which will be projected on to the CFD mesh that will be
generated in the course of the tutorial.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem and determine the
important parameters that need to be provided to AcuSolve. Parameters can be based on geometrical
elements, such as inlets, outlets or walls, and on flow conditions, such as fluid properties, velocity or
whether the flow should be modeled as turbulent or as laminar.
The system being simulated contains a section of a cantilever beam, the fixed side of which is attached
to a rigid cylindrical body. The beam along with the cylinder is placed in a water flow stream. This
cylindrical body acts a bluff body placed in the flow and stimulates vortex shedding in the flow
downstream as it passes over the cylinder. The alternating shedding of vortices creates a zone of
alternating asymmetric pressure distribution on either side of the beam. Such an alternating pressure
distribution exerts an oscillating force on the beam, creating a sustainable oscillating vibration in the
beam.
The modeled system can be compared to a piezoelectric based fluid flow energy harvester. The beam
used in the structural model has a layered arrangement, with a brass shim sandwiched between
the piezoelectric layers on either side. Piezoelectric materials have a unique property of generating
an electric charge when subjected to stress. In the current arrangement as the fluid flow exerts an
oscillating force on the beam leading to vibration, a corresponding oscillating structural stress is induced
in the beam. The piezoelectric property comes into play here as the stress causes the piezoelectric
layers to develop an electric charge. This electric charge is then tapped by a separate electromechanical
arrangement. Thus there is a two-step energy conversion involved in this electricity generation process.
First, the fluid flow energy is converted into mechanical energy of the vibration of the beam, then this
mechanical energy is converted into electrical energy. However, the FSI aspect of this conversion, which
is also of interest, is the transfer of energy between the fluid flow and beam.
The schematics of the problem that will be addressed in this tutorial are in Figure 765. The modeled
domain consists of a fluid volume. The fluid solver does not require the solid body to be modeled.
However, the results of the structural solver will be used to define the solid body and the surfaces where
the fluid interacts with the solid will be allowed to deform according to the Eigen modes of the beam.
Figure 766 shows the arrangement of the beam with its various layers.
A FSI problem is a multi physics problem, with the coupled laws of structural and fluid mechanics
affecting the solution. There are two widely used approaches with which this coupling is achieved:
• Practical-FSI (P-FSI): The structure is reduced in the modal space and coupled to the fluid
domain through interface nodes. The coupling between the solvers happens in a single pass itself.
Structural behaviour is limited to be linear in a P-FSI simulation.
• Direct coupling (DC-FSI): The coupling is a co-simulation between the structural and the fluid
solver, with each solver stepping through time simultaneously and iterating to equilibrium in each
time step.
In case the deformations in the structure are large enough to alter the fluid flow significantly, the DC-
FSI co-simulation approach should be used. With this approach, as the fluid flow and pressure fields
affect the structural deformations, and the structural deformations affect the flow and pressure, the
information about these effects is exchanged between the solvers in real time.
Given the difference in coupling methodology, it is likely that slightly different results will be observed
when a same problem is solved using P-FSI and DC-FSI approaches. The choice of the approach that
should be used shall depend on the problem and the available resources. As mentioned above, the P-
FSI approach should be limited to the cases when displacements in the structure are small, and the
structural behaviour can be approximated to be linear. For all other cases, DC-FSI should be preferred.
However, DC-FSI simulations incur a higher computational resources cost. With this consideration, P-FSI
simulation can also be used as a preliminary test simulation before a DC-FSI simulation is carried out.
FSI can be stable or oscillatory. In a stable FSI, the deformed shape of the structure will not change
with time, unless the flow changes as well. In an oscillatory FSI, once the structure is deformed, it will
try to return to its non-deformed state and then the whole deformation process repeats itself.
This tutorial uses the ALE approach for specifying the mesh motion of the deformed nodes in the
domain. The Interpolated Mesh Motion approach is discussed in detail in the subsequent tutorials which
solve the same problem using this approach.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics of the results using AcuFieldView.
In the next steps you will start AcuConsole and create the database for storage for the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it PFSI_Tutorial and navigate into this directory.
5. Enter piezo_harvester as the File name for the database, or choose any name of your
preference.
In order for other applications to be able to read the files written by AcuConsole, the database
path and name should not include spaces.
6. Click Save to create the database.
In next steps you will set parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 767:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 768:
Tip: You may need to widen the detail panel from the default size by dragging the
right edge of the panel frame.
8. Change the Mesh type from Fixed to Arbitrary Mesh Movement (ALE).
ALE stands for Arbitrary Lagrangian Eulerian. Using an ALE mesh type allows the mesh in
the domain to be moved freely in accordance with the movement in the domain boundaries
or interfaces. This is achieved by a formulation that can switch to purely Eulerian or purely
Lagrangian or any arbitrary combination of the two thus allowing the elements to take the most
optimum shape. This in turn enables the solver to handle a higher degree of element deformation.
Figure 769:
You will import the geometry for the problem in the next part of this tutorial. You will need to know
the location of fluid.x_t in order to complete these steps. This file contains information about the
geometry of the fluid portion of the domain in Parasolid ASCII format.
Figure 770:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container. Since the model for this tutorial has only a single volume, it will be the only volume in the
default volume group when the geometry is imported. Even when there is a single volume in the model,
it is advisable to rename the volume for ease of identification in the future.
In the next steps you will rename the default volume group container and set the material and other
properties for it.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model tree item by clicking .
3. Turn off the display of surfaces. Right-click Surfaces and click Display off in the context menu.
4. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Figure 771:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome, especially for
models with too many surfaces. To make it easier, less error prone, and to save time, two new dialogs
are provided in AcuConsole. Use the Volume Manager and Surface Manager to verify and provide
the information for all surface or volume entities at once. In this section some features of Surface
Manager are exploited.
1. Turn-off the display for Volumes by right-clicking Volumes and selecting Display off .
2. Right-click Surfaces in the Data Tree and select Surface Manager.
3. In the Surface Manager dialog, click New six times to create six new surface groups.
Figure 772:
If you cannot see the Simple BC Active and Simple BC Type columns, click Columns , select these
two columns from the list and click Ok.
Figure 773:
4. Turn off the display for all surfaces except for the default surface.
5. Rename Surface 1 through Surface 6 according to Figure 774.
6. Set the Simple BC Active and Simple BC Type columns, per Figure 774.
Figure 774:
Figure 775:
8. Assign the surfaces enclosing the domain at the top and bottom to the slip surface group.
9. Assign the surface with the minimum x-coordinate to the inlet surface group.
10. Assign the surface with the maximum x-coordinate to the outlet surface group.
11. Assign the cylinder surface to the cylinder surface group. This surface is the contact boundary
between the fluid and the cylinder. Use the following image as the reference for selecting the
required surfaces.
Figure 776:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to beam in the Surface Manager.
In the previous steps, you assigned some surfaces to various other surface groups that you created.
At this point, all that is left in the beam surface group are the surfaces that make up the contact
boundary between the fluid volume and the beam.
12. Close the Surface Manager.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Enter 2.0 m for the Absolute mesh size.
6. Set the Mesh growth rate to 1.4.
Figure 777:
Surface mesh attributes are applied to a specific surface in the model. It is a type of local meshing
parameter used to create targeted mesh controls for one or more specific surfaces.
Local mesh attributes such as surface mesh attributes are not mandatory to be set. When a local mesh
attribute is not found for a component the global attributes will be used as the mesh generation control
for that component. If a local mesh attribute is present it will take precedence over the global setting.
In the next steps you will set the surface meshing attributes for the cylinder surface to add boundary
layers to the surface. Then you will propagate these mesh attributes to the beam surfaces.
Option Description
Option Description
Number of layers 4
Figure 778:
Instead of repeating the above steps for the beam surface group you can propagate the mesh
attribute settings for the cylinder surface group to the beam surface group.
13. Right-click Surface Mesh Attributes under cylinder and select Propogate.
14. Click the beam surface group in the Propogate dialog.
Figure 779:
Figure 780:
Use the following image for reference for setting up the mesh extrusion.
Figure 781:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 782:
Note: The actual number of nodes, elements and memory usage may vary slightly
from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window.
5. Turn on the display of surfaces and set the display type to solid and wire.
6. You can rotate and zoom in the model to analyze the various mesh regions.
In the next steps you will set parameters that control the behavior of AcuSolve as it progresses during
the solution.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
3. Make sure that the Analysis type is set to Transient.
4. Enter 300 for Max time steps.
5. Enter 0.01 for Initial time increment.
6. Set the Min and Max stagger iterations to 3 and 5, respectively.
7. Make sure that Flow, Mesh and Turbulence are set to On.
Figure 783:
AcuConsole has three pre-defined materials, Air, Aluminum and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material characteristics of water match
the desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 784:
2. Double-click Water in the Data Tree to open the Water detail panel.
The material type for water is Fluid. Fluid is the default material type for any new material created
in AcuConsole.
Figure 785:
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
The nodal output command specifies the nodal output parameters, for example, output frequency and
number of saved states.
1. Expand the Output tree, then double-click Nodal Output to open the Nodal Output detail
panel.
2. Set Time step frequency as 2.
This will save the nodal outputs at every second time step.
3. Set Output initial condition to On.
This will instruct the solver to write the initial state of the problem as the first output file.
4. Make sure that the Number of saved states is set to 0.
Setting this option to zero will instruct the solver to save all of the solution state files.
Figure 786:
Time History Output commands enable you to extract the nodal solution at any point within the domain.
In this simulation, you will observe the displacement at the tip of the cantilever beam.
1. Double-click the Output tree, right-click Time History Output and select New.
A new entry, Time History Output 1, is created in the Data Tree under the Time History Output
branch.
2. Right-click Time History Output 1, select Rename in the context menu and type
Tip_MonitorPoint as the entity name.
3. Double-click Tip_MonitorPoint to open the Tip_MonitorPoint detail panel.
4. In the detail panel, change the Type to Coordinates by selecting from the drop-down selector
menu.
5. Click Open Array next to the Coordinates option and fill in the row in the Array Editor dialog as
follows:
Figure 787:
Figure 788:
1. Double-click Nodal Initial Condition in the Data Tree to open the dialog in the detail panel.
2. Set the X velocity to 10 m/sec.
2
3. Set the Eddy viscosity to 1e-05 m /sec.
Figure 789:
The force acting on the beam due to the flow will be ramped gradually over the first few time steps.
After these first few time steps the force on the beam will remain constant. This will be achieved using
a multiplier function. In the next few steps you will create a linear multiplier function which will later be
assigned as a force multiplier function for load acting on the beam.
1. Click PB* in the Data Tree Manager to display all the available settings related to general problem
setup in the Data Tree.
2. Right-click Multiplier Function and select New.
A new entry, Multiplier Function 1, is created in the Data Tree under the Multiplier Function
branch.
3. Right-click Multiplier Function 1, select Rename in the context menu and type ForceRamp as
the entity name.
4. Double-click ForceRamp to open the ForceRamp detail panel.
5. In the detail panel, change the Type to Piecewise Linear.
6. Change the Curve fit variable to Time step.
Figure 790:
7. Click Open Array next to the Curve fit values option and create two rows in the Array Editor
dialog.
8. Fill in the values as follows:
Figure 791:
In the introductory discussion of this tutorial, it was mentioned that FSI is the interaction between
a fluid and a deformable, or in other words, flexible solid body. In AcuConsole, such a solid body is
defined using the Flexible Body command. In P-FSI, the structure is reduced in the modal space. The
Flexible Body definition includes the specification of mass, stiffness and damping matrices of the body.
The mass matrix is usually normalized to I (unity matrix), and stiffness matrix k is a diagonal matrix
where the diagonal entries each represent an Eigen value. The surface outputs list refers to the surfaces
outputs which are used to calculate the forces and moments on the solid body.
1. Click FSI in the Data Tree Manager to display the options relevant to setting up an FSI model in
the Data Tree.
Figure 792:
Figure 793:
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Under Model, expand the Surfaces item, and then expand the inlet surface group.
4. Double-click Simple Boundary Condition to open the detail panel.
5. Make sure that the Type is set to Inflow.
6. Make sure that the Inflow type is set to Velocity and the Inflow velocity type is Cartesian.
7. Set the X velocity to 10 m/sec.
8. Make sure that the Turbulence input type is set to Direct.
2
9. Set the Eddy viscosity to 1e-05 m /sec.
Figure 794:
Figure 795:
You can also choose to Propagate the settings for z_neg surface group to z_pos surface group to
ensure they are the same. To do this, right-click the Simple Boundary Condition entity under
the z_neg surface group, select Propagate, select the z_pos surface group in the Propagate
dialog and click Propagate to finish the propagation step.
Figure 796:
Figure 797:
Figure 798:
Figure 799:
Figure 800:
In this step, you will create a set of nodes surrounding the beam that will be forced to move in
conjunction with the body. This reduces the mesh distortion in the elements in close vicinity of the
beam. Since these elements make up the boundary layer at the solid surface, it is important that these
elements are not distorted during the motion.
1. Right-click Nodes under the Model Data Tree and select New.
A new entry, Node 1, is created in the Data Tree under the Nodes branch.
2. Right-click Node 1, select Rename in the context menu and type BLNodes as the entity name.
Figure 801:
The next step is to import the structural model and project the eigenvectors onto the CFD mesh.
1.
Click the icon on the toolbar.
The Eigenmode Manager dialog opens.
2. Click Add.
A new entry, Modal Response 1, is created.
3. Type Modes as the Name for the entry.
Figure 802:
8. Click the Show tab in the Eigenmode Manager, then toggle the Display and Animate buttons
On to visualize the modes of the structure.
Experiment with the Animation mode Id slider to look at the different modes of the structure.
You can also change the amplitude, speed and visualization properties of the animation using this
panel.
9. Click the Transfer tab in the Eigenmode Manager.
10. Click Transfer next to the Flexible body option.
a) Make sure that beam is selected in the Reference Editor dialog that opens.
Figure 803:
Figure 804:
Figure 805:
Running AcuSolve
In the next steps you will run AcuSolve to compute the solution for this case.
Figure 806:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Expand the Time History entry and Tip_MonitorPoint.
3. Expand node 1, right-click mesh_y_displacement > Plot.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
The node 1 lies at the tip of the beam. The plot above shows the displacement of the tip of the
beam due to the fluid forces as the beam interacts with the flow.
4. You can also save the plots as an image.
a) From the AcuProbe dialog, click File > Save.
b) Enter a name for the image and click Save.
5. The time series data of the variables can also be exported as a text file for further post-
processing.
a) Right-click on the variable that you want to export and click Export.
b) Enter a File name and choose .txt for the Save as type.
c) Click Save.
The tutorial has been written with the assumption that you have become familiar with AcuFieldView and
basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data
input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel on the
Main menu to create and modify surfaces in AcuFieldView.
• How to move the data around the modeling window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Starting AcuFieldView
Figure 808:
Setting Up AcuFieldView
Figure 809:
Figure 810:
Figure 811:
Figure 812:
Figure 813:
1.
Click the icon to open the Boundary Surface dialog.
2. Turn off the visibility for the active boundary surfaces.
3.
Click the icon to open the Coordinate Surface dialog.
4. Create a new coordinate surface at the mid -Z coordinate plane.
The coordinate surface created is the mid plane between the z_neg and z-pos surfaces.
Figure 814:
Figure 815:
Figure 816:
If the SWEEP CONTROL in this dialog shows Sweep instead of Build the Flipbook Build Mode is not
active. In Sweep mode, you will be able to create and visualize the animation but you will not be
able to save it. To be able to save the animation, enable the Flipbook Build Mode.
14. Drag the time step slider to its left most position. Alternatively, type 0 for the TIME STEP or
SOLUTION TIME.
15. Click Apply.
The displayed state now corresponds to the initial state of the domain.
Figure 817:
5.8.8 Summary
In this AcuSolve tutorial you successfully set up and solved a FSI problem using the Practical-FSI
or P-FSI approach. The modal analysis of the structure (beam) is first done in a structural solver
and the results of this modal analysis are used to represent the structure in AcuConsole. The results
of the modal analysis provide the necessary information, such as the mass, stiffness and damping
characteristics of the solid body, to AcuSolve. This information, along with the flow field information
generated by AcuSolve, is used to calculate the displacement of the beam as it interacts with the flow.
You started the tutorial by creating a database in AcuConsole, importing and meshing the fluid portion
geometry and setting up the basic simulation parameters. Then you set up a flexible body to represent
the beam and generated a solution with AcuSolve.
Results were post-processed in AcuFieldView where you generated an animation of the beam’s
displacement as it interacts with the fluid flow. New features that were introduced in this tutorial include
setting up a Practical FSI simulation (P-FSI), using ALE mesh motion and using Eigenmode Manager in
AcuConsole for transferring structural data onto a CFD mesh.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of a
piezoelectric fluid harvester. In this simulation, a piezoelectric flow harvester is placed in a fluid flow
channel. The harvester is attached to a cylinder mount which also acts as a bluff body causing vortices
in the fluid flow. The interaction between the pressure fields generated by the vortices and the flow
harvester structure is simulated in this tutorial. Interpolated mesh motion approach is used to compute
the mesh deformation in the fluid domain as it interacts with the deforming structure.
The basic steps in a CFD simulation have been discussed in the earlier tutorials. The following additional
capabilities of AcuSolve are introduced in this tutorial:
• Fluid-structure interaction using the interpolated mesh motion (IMM)
• Use of the Eigenmode Manager for transferring structural data onto CFD mesh
Prerequisites
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract the files fluid.x_t and beam_modal.op2 from Acu_tutorial_input.zip. The file fluid.x_t
stores the geometry information for the fluid portion of the model for this problem, and the file
beam_modal.op2 stores the output data from the structural solver which will be projected on to the CFD
mesh that will be generated in the course of the tutorial.
The color of objects shown in the modeling window in this tutorial and those displayed on your screen
may differ. The default color scheme in AcuConsole is "random," in which colors are randomly assigned
to groups as they are created. In addition, this tutorial was developed on Windows. If you are running
this tutorial on a different operating system, you may notice a slight difference between the images
displayed on your screen and the images shown in the tutorial.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve.
Figure 818 shows a CFD model consisting of a cantilever beam and a rigid cylindrical body. The
cylindrical body produces vortex shedding in the flow downstream, inducing alternating asymmetric
pressure distribution on either side of the beam. Such an alternating pressure distribution results in a
sustainable oscillating vibration in the beam.
Figure 819 shows the beam with a brass shim sandwiched between the piezoelectric layers on either
side. Piezoelectric materials have a property of generating an electric charge when subjected to
oscillating structural stress. The electric charge is tapped by a separate electromechanical arrangement.
In this tutorial, we will focus on the simulation of the fluid forces on the beam in response to the
structural deformation. The schematics of the problem which will be addressed in this tutorial is shown
in Figure 818. The modeled domain consists of a fluid volume. The fluid solver does not require the solid
body to be modeled. However, the results of the structural solver will be used to define the solid body
and the surfaces where the fluid interacts with the solid will be allowed to deform according to the Eigen
modes of the beam. Figure 819 shows the arrangement of the beam with its various layers.
Fluid Structure Interaction (FSI) is the interaction between a fluid flow and a deformable solid structure
in contact with the flow. There are two FSI approaches: Practical Fluid/Structure Interaction (P-FSI) and
Direct-Coupling Fluid/Structure Interaction (DC-FSI). Details about these approaches can be found in
ACU-5400: Piezoelectric Flow Energy Harvester: A Fluid-Structure Interaction (P-FSI).
The P-FSI approach requires eigenvalues of the OptiStruct structural model. It is then mapped to
the AcuSolve CFD model in order to compute the structural deformation in response to the vortex
shedding (fluid force) on the beam. The computation of the structural deformation will be made using
the Interpolated Mesh Motion (IMM) rather than using the Arbitrary Lagrangian Eulerian (ALE).
When using interpolated mesh motion (IMM), all the surfaces associated with this motion are assigned
as interpolated motion surfaces and collected into a single set. All the nodes falling within the
boundaries of that set are then interpolated to determine their weighted displacement based on the
distance from their surrounding “driving” surfaces. For example in this simulation shown in Figure 820,
as the flow passes over the cylinder and the beam, the forces causes the beam to move in transverse
direction. This transverse motion of the beam should be communicated to the top and bottom surfaces.
Assigning these surfaces as interpolated surfaces (as shown in Figure 820) and then imparting the
interpolated mesh motion to the nodes within the volume will linearly scale the displacement of the
surrounding nodes as a function of distance between the surfaces associated with the interpolated mesh
motion. The main advantage of interpolated mesh motion over ALE is that no extra partial differential
equations are solved, hence lower computation times. However this approach is limited to problems
involving not so complex mesh motion.
In this tutorial, you will begin by creating a database, populating the geometry-independent settings,
loading the geometry, creating volume and surface groups, setting group parameters, adding geometry
components to groups, and assigning mesh controls and boundary conditions to the groups. Next you
will generate a mesh and run AcuSolve to solve for the number of time steps specified. Finally, you will
visualize some characteristics of the results using AcuFieldView.
In the next steps you will start AcuConsole, and create the database for storage of the simulation
settings.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
Note: You can also open the New data base dialog by clicking on the toolbar.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it PFSI_IMM_Tutorial and navigate into this
directory.
5. Enter piezo_harvester_IMM as the File name for the database, or choose any name of your
preference.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In the next steps you will set attributes that apply globally to the simulation. To simplify this task, you
will use the BAS filter in the Data Tree Manager. The BAS filter limits the options in the Data Tree to
show only the basic settings.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 821:
Note: You can also expand a tree item by clicking next to the item name.
Figure 822:
Using a ‘Fully specified’ mesh type allows the mesh in the domain to be moved based on the mesh
motion defined by user in the later steps. This user-specified mesh motion can be a rigid body
motion or an Interpolated mesh motion (IMM). In this tutorial you will define the mesh motion
using the Interpolated mesh motion.
Figure 823:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Transient.
3. Set the Max time steps as 300.
4. Set the Initial time increment as 0.01.
5. Set the Min stagger iterations as 3.
6. Set the Max stagger iterations as 5.
7. Set the Relaxation factor to 0.
When solving transient solutions, the relaxation factor should be set to zero. A non-zero relaxation
factor causes incremental updates of the solution, which will impact the time accuracy of the
solution for transient cases.
8. Check that Flow and Turbulence are both set to On.
Figure 824:
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. In the next steps you will verify that the pre-defined material properties of air match the
desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
2. Double-click Water in the Data Tree to open the Water detail panel.
The material type for water is Fluid. Fluid is the default material type for any new material created
in AcuConsole.
3. In the Density tab, check the following:
a) The Type is set to Constant.
3
b) The Density value is 1000 kg/m
4. Click the Viscosity tab. The viscosity of water is 0.001 kg/m – sec.
The remaining thermal and other material properties are not critical to this simulation. However, you
may browse through the tabs to check the complete material specification.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
The nodal output command specifies the nodal output parameters, for instance, output frequency,
number of saved states etc.
1. Expand Output, then double-click Nodal Output to open the Nodal Output detail panel.
2. Set Time step frequency as 2.
This will save the nodal outputs at every 2nd time step.
3. Set Output initial condition to On.
This will instruct the solver to write the initial state of the problem as the first output file.
4. Check that the Number of saved states is set to zero.
Setting this option to zero will instruct the solver to save all the solution state files.
Figure 825:
You will import the geometry in the next part of this tutorial. You will need to know the location of
fluid.x_t in order to complete these steps. This file contains information about the geometry in
Parasolid ASCII format.
Figure 826:
Volume groups are containers used for storing information about a volume region. This information
includes solution and meshing parameters applied to the volume and the geometric regions that these
settings are applied to.
When the geometry was imported into AcuConsole, all volumes were placed into the "default" volume
container. You should be able to see it in the Data Tree upon successful import of your model in the last
step, under Model > Volumes > default.
Since the model for this tutorial has only a single volume, it will be the only volume in the default
volume group when the geometry is imported. Even when there is a single volume in the model, it is
advisable to rename the volume for ease of identification in future. In the next steps you will rename
the default volume group container, and set the material and other properties for it.
2. Turn off the display of Surfaces by right-clicking on Surfaces and selecting Display off.
3. Expand Volumes. Toggle the display of the default volume container by clicking and next to
the volume name.
Note: You may not see any change when toggling the display if Surfaces are being
displayed, as surfaces and volumes may overlap.
Note: When an item in the Data Tree is renamed, the change is not saved until you
press the Enter key on your keyboard. If you move the input focus away from the
item without entering it, your changes will be lost.
Figure 827:
Surface groups are containers used for storing information about a surface, including solution and
meshing parameters, and the corresponding surface in the geometry that the parameters will apply to.
In the next steps you will define surface groups, assign the appropriate settings for the different
characteristics of the problem, and add surfaces to the group containers.
In the process of setting up a simulation, you need to move into different panels for setting up the
boundary conditions, mesh parameters, and so on, which can sometimes be cumbersome, especially for
models with too many surfaces. To make it easier, less error prone, and to save time, two new dialogs
are provided in AcuConsole. Use the Volume Manager and Surface Manager to verify and provide
the information for all surface or volume entities at once. In this section some features of Surface
Manager are exploited.
1. Turn-off the display for Volumes by right-clicking Volumes and selecting Display off .
2. Right-click Surfaces in the Data Tree and select Surface Manager.
3. In the Surface Manager dialog, click New six times to create six new surface groups.
Figure 828:
If you cannot see the Simple BC Active and Simple BC Type columns, click Columns , select these
two columns from the list and click Ok.
Figure 829:
4. Turn off the display for all surfaces except for the default surface.
5. Rename Surface 1 through Surface 6 according to Figure 830.
6. Set the Simple BC Active and Simple BC Type columns, per Figure 830.
Figure 830:
Figure 831:
8. Assign the surfaces enclosing the domain at the top and bottom to the slip surface group.
9. Assign the surface with the minimum x-coordinate to the inlet surface group.
10. Assign the surface with the maximum x-coordinate to the outlet surface group.
11. Assign the cylinder surface to the cylinder surface group. This surface is the contact boundary
between the fluid and the cylinder. Use the following image as the reference for selecting the
required surfaces.
Figure 832:
When the geometry was loaded into AcuConsole, all geometry surfaces were placed in the default
surface group container. This default surface group was renamed to beam in the Surface Manager.
In the previous steps, you assigned some surfaces to various other surface groups that you created.
At this point, all that is left in the beam surface group are the surfaces that make up the contact
boundary between the fluid volume and the beam.
12. Close the Surface Manager.
Global mesh attributes are the meshing parameters applied to the model as a whole without reference
to a specific geometric volume, surface, edge, or point. Local mesh attributes are used to create mesh
generation controls for specific geometry components of the model.
In the next steps you will set the global mesh attributes.
1. Click MSH in the Data Tree Manager to filter the settings in the Data Tree to show only the
controls related to meshing.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Global Mesh Attributes to open the Global Mesh Attributes detail panel.
4. Change the Mesh size type to Absolute.
5. Set the Absolute mesh size to 2.0 m.
6. Set the Mesh growth rate to 1.4.
Figure 833:
Surface mesh attributes are applied to a specific surface in the model. It is a type of local meshing
parameter, used to create targeted mesh controls for one or more specific surfaces.
Local mesh attributes such as surface mesh attributes are not mandatory to be set. When a local mesh
attribute is not found for a component, the global attributes will be used as the mesh generation control
for that component. If a local mesh attribute is present, it will take precedence over the global setting.
In the next steps you will set the surface meshing attributes for the cylinder surface, to add boundary
layers to the surface. Then you will propagate these mesh attributes to the beam surfaces.
Region of influence is a size control that allows you to control the size and growth rate of the surface
and volume mesh surrounding a surface based on the distance from the surface.
8. Set the Influence parameters:
a) Set Influence type to Simple.
b) Set Influence size factor to 3.0.
c) Set the Influence distance to 2.0.
Note: The above settings will ensure that the volume mesh to have a size 0.05 m
(Absolute mesh size) at the surface and then transition to a size of (Absolute mesh
size) × (Influence size factor) at a distance 2.0 m (Influence distance).
Figure 834:
Instead of repeating the above steps for the beam surface group, you can propagate the mesh
attribute settings for cylinder surface group to beam surface group.
13. In the Data Tree, under cylinder, right-click on Surface Mesh Attributes.
14. Select Propagate.
15. In the Propagate dialog, select the beam surface group and click Propagate.
Figure 835:
Use the following image for reference for setting up the mesh extrusion.
Figure 836:
In the next steps you will generate the mesh that will be used when computing a solution for the
problem.
Figure 837:
Note: The actual number of nodes, elements and memory usage may vary slightly
from machine to machine.
3. Close the AcuTail dialog and save the database to create a backup of your settings.
4. Visualize the mesh in the modeling window.
5. Turn on the display of surfaces and set the display type to solid and wire.
6. You can rotate and zoom in the model to analyze the various mesh regions.
Time History Output commands enable you to extract the nodal solution at any point within the domain.
In this simulation, you will observe the displacement at the tip of the cantilever beam.
1. Double-click the Output tree, right-click Time History Output and select New.
A new entry, Time History Output 1, is created in the Data Tree under the Time History Output
branch.
2. Right-click Time History Output 1, select Rename in the context menu and type
Tip_MonitorPoint as the entity name.
3. Double-click Tip_MonitorPoint to open the Tip_MonitorPoint detail panel.
4. In the detail panel, change the Type to Coordinates by selecting from the drop-down selector
menu.
5. Click Open Array next to the Coordinates option and fill in the row in the Array Editor dialog as
follows:
Figure 838:
Figure 839:
1. Double-click Nodal Initial Condition in the Data Tree to open the dialog in the detail panel.
2. Set the X velocity to 10 m/sec.
2
3. Set the Eddy viscosity to 1e-05 m /sec.
Figure 840:
The force acting on the beam due to the flow will be ramped gradually over the first few time steps.
After these first few time steps the force on the beam will remain constant. This will be achieved using
a multiplier function. In the next few steps you will create a linear multiplier function which will later be
assigned as a force multiplier function for load acting on the beam.
1. Click PB* in the Data Tree Manager to display all the available settings related to general problem
setup in the Data Tree.
2. Right-click Multiplier Function and select New.
A new entry, Multiplier Function 1, is created in the Data Tree under the Multiplier Function
branch.
3. Right-click Multiplier Function 1, select Rename in the context menu and type ForceRamp as
the entity name.
4. Double-click ForceRamp to open the ForceRamp detail panel.
5. In the detail panel, change the Type to Piecewise Linear.
6. Change the Curve fit variable to Time step.
Figure 841:
7. Click Open Array next to the Curve fit values option and create two rows in the Array Editor
dialog.
8. Fill in the values as follows:
Figure 842:
In the introductory discussion of this tutorial, it was mentioned that FSI is the interaction between
a fluid and a deformable, or in other words, flexible solid body. In AcuConsole, such a solid body is
defined using the Flexible Body command. In P-FSI, the structure is reduced in the modal space. The
Flexible Body definition includes the specification of mass, stiffness and damping matrices of the body.
The mass matrix is usually normalized to I (unity matrix), and stiffness matrix k is a diagonal matrix
where the diagonal entries each represent an Eigen value. The surface outputs list refers to the surfaces
outputs which are used to calculate the forces and moments on the solid body.
1. Click FSI in the Data Tree Manager to display the options relevant to setting up an FSI model in
the Data Tree.
2. Right-click Flexible Body and select New.
A new entry, Flexible Body 1, is created in the Data Tree under the Flexible Body branch.
3. Right-click Flexible Body 1, select Rename and type beam as the entity name.
4. Double-click beam to open the beam detail panel.
5. Make sure that Equation is set to Mesh Displacement.
6. Set Number of modes to 5.
This will import and apply the modal information for the first five modes available in the structural
data.
7. Set the Internal force multiplier function to the function ForceRamp, which you created as an
earlier step in the tutorial.
8. Click Open Refs next to the Surface outputs option.
The Reference Editor dialog opens.
Figure 843:
Figure 844:
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand the Model Data Tree item.
3. Under Model, expand the Surfaces item, and then expand the inlet surface group.
4. Double-click Simple Boundary Condition to open the detail panel.
5. Make sure that the Type is set to Inflow.
6. Make sure that the Inflow type is set to Velocity and the Inflow velocity type is Cartesian.
7. Set the X velocity to 10 m/sec.
8. Make sure that the Turbulence input type is set to Direct.
2
9. Set the Eddy viscosity to 1e-05 m /sec.
Figure 845:
Figure 846:
You can also choose to Propagate the settings for z_neg surface group to z_pos surface group to
ensure they are the same. To do this, right-click the Simple Boundary Condition entity under
the z_neg surface group, select Propagate, select the z_pos surface group in the Propagate
dialog and click Propagate to finish the propagation step.
Figure 847:
Figure 848:
Figure 849:
Figure 850:
Figure 851:
In this step, you will create a set of nodes surrounding the beam that will be forced to move in
conjunction with the body. This reduces the mesh distortion in the elements in close vicinity of the
beam. Since these elements make up the boundary layer at the solid surface, it is important that these
elements are not distorted during the motion.
1. Right-click Nodes under the Model Data Tree and select New.
A new entry, Node 1, is created in the Data Tree under the Nodes branch.
2. Right-click Node 1, select Rename in the context menu and type BLNodes as the entity name.
Figure 852:
The next step is to import the structural model and project the eigenvectors onto the CFD mesh.
1.
Click the icon on the toolbar.
The Eigenmode Manager dialog opens.
2. Click Add.
A new entry, Modal Response 1, is created.
3. Type Modes as the Name for the entry.
Figure 853:
8. Click the Show tab in the Eigenmode Manager, then toggle the Display and Animate buttons
On to visualize the modes of the structure.
Experiment with the Animation mode Id slider to look at the different modes of the structure.
You can also change the amplitude, speed and visualization properties of the animation using this
panel.
9. Click the Transfer tab in the Eigenmode Manager.
10. Click Transfer next to the Flexible body option.
a) Make sure that beam is selected in the Reference Editor dialog that opens.
Figure 854:
Figure 855:
Figure 856:
In this step you will assign the appropriate surfaces as Interpolated mesh motion surfaces so that the
mesh bounded by these surfaces will be interpolated based on the motion of these interpolated mesh
motion surfaces.
1. Click ALL in the Data Tree Manager to display all settings in the Data Tree.
2. Expand Model > Surfaces > beam.
3. Check the box next to Interpolated Motion Surface.
4. In the detail panel, for Motion surface type, accept the default option of Faceted.
5. Similarly, assign the Interpolated Motion Surface for the Slip surface.
Figure 857:
In the next steps you will define the mesh motion based on the Interpolated surfaces defined in the
above step.
1. Click ALE in the Data Tree Manager to display all settings in the Data Tree.
2. Right-click on Mesh Motion and select New.
3. Right-click on Mesh Motion 1 and rename it to Interpolated_mesh_motion.
4. Double-click on Interpolated_mesh_motion to open the detail panel.
5. Change the Type to Interpolated Motion.
Figure 858:
Figure 859:
In this step you will assign the appropriate surfaces as Interpolated mesh motion surfaces so that the
mesh bounded by these surfaces will be interpolated based on the motion of these interpolated mesh
motion surfaces.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Expand Model > Volume > fluid.
3. Double-click Element Set.
4. In the detail panel, change Mesh motion to Interpolated_mesh_motion.
Figure 860:
Running AcuSolve
In the next steps you will run AcuSolve to compute the solution for this case.
Figure 861:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Expand the Time History entry and Tip_MonitorPoint.
3. Expand node 1, right-click mesh_y_displacement > Plot.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
The node 1 lies at the tip of the beam. The plot above shows the displacement of the tip of the
beam due to the fluid forces as the beam interacts with the flow.
4. You can also save the plots as an image.
a) From the AcuProbe dialog, click File > Save.
b) Enter a name for the image and click Save.
5. The time series data of the variables can also be exported as a text file for further post-
processing.
a) Right-click on the variable that you want to export and click Export.
b) Enter a File name and choose .txt for the Save as type.
c) Click Save.
The tutorial has been written with the assumption that you have become familiar with AcuFieldView and
basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data
input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel on the
Main menu to create and modify surfaces in AcuFieldView.
• How to move the data around the modeling window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with steady state analysis data.
Starting AcuFieldView
Figure 863:
Setting Up AcuFieldView
Figure 864:
Figure 865:
Figure 866:
Figure 867:
Figure 868:
1.
Click the icon to open the Boundary Surface dialog.
2. Turn off the visibility for the active boundary surfaces.
3.
Click the icon to open the Coordinate Surface dialog.
4. Create a new coordinate surface at the mid -Z coordinate plane.
The coordinate surface created is the mid plane between the z_neg and z-pos surfaces.
Figure 869:
Figure 870:
Figure 871:
If the SWEEP CONTROL in this dialog shows Sweep instead of Build the Flipbook Build Mode is not
active. In Sweep mode, you will be able to create and visualize the animation but you will not be
able to save it. To be able to save the animation, enable the Flipbook Build Mode.
14. Drag the time step slider to its left most position. Alternatively, type 0 for the TIME STEP or
SOLUTION TIME.
15. Click Apply.
The displayed state now corresponds to the initial state of the domain.
Figure 872:
5.9.6 Summary
In this AcuSolve tutorial you successfully set up and solved an FSI problem, using the Practical-FSI,
or P-FSI approach. The modal analysis of the structure (beam) is first done in a structural solver and
the results of this modal analysis in the form of a .op2 file are used to represent the structure in
AcuSolve. The .op2 file provides the necessary information, such as the mass, stiffness and damping
characteristics of the solid body, to AcuSolve. This information, along with the flow field information
generated by AcuSolve, is used to calculate the displacement of the beam as it interacts with the flow.
You started the tutorial by creating a database in AcuConsole, importing and meshing the fluid portion
geometry, and setting up the basic simulation parameters. Then you set up a flexible body to represent
the beam, and generated a solution with AcuSolve. Results were post-processed in AcuFieldView
where you generated an animation of the beam’s displacement as it interacts with the fluid flow. New
features that were introduced in this tutorial include: setting up a Practical FSI simulation (P-FSI)
using Interpolated Mesh Motion (IMM), and using Eigenmode Manager in AcuConsole for transferring
structural data onto a CFD mesh.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of a
piezoelectric fluid harvester. In this simulation, a piezoelectric flow harvester is placed in a fluid flow
channel. The harvester is attached to a cylinder mount which also acts as a bluff body causing vortices
in the fluid flow. In addition, the cylinder and the harvester are imparted with a sinusoidal rotation
motion. The interaction between the pressure fields generated by the vortices and the flow harvester
structure is simulated in this tutorial. Arbitrary Lagrangian Eulerian (ALE) approach is used to compute
the mesh deformation in the fluid domain as it interacts with the deforming structure.
The basic steps in any CFD simulation have been discussed in the previous tutorials. The following
additional capabilities of AcuSolve are introduced in this tutorial:
• Defining rigid body rotation motion
• Implementation of P-FSI in conjunction with rigid body rotation
Prerequisites
You should have already run through the tutorials ACU-2000: Turbulent Flow in a Mixing Elbow and
ACU-5400: Piezoelectric Flow Energy Harvester: A Fluid-Structure Interaction (P-FSI). It is assumed
that you have some familiarity with AcuConsole, AcuSolve and AcuFieldView. You will also need access
to a licensed version of AcuSolve 2017.2.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract the file piezo_harvester_P-FSI.acs.
An important step in any CFD simulation is to examine the engineering problem at hand and determine
the important parameters that need to be provided to AcuSolve.
The CFD model contains a cantilever beam and a rigid cylindrical body. The beam along with the
cylinder is placed in a water flow stream. This cylindrical body acts a bluff body placed in the flow
and stimulates vortex shedding in the flow downstream as it passes over the cylinder. The alternating
shedding of vortices creates a zone of alternating asymmetric pressure distribution on either side of
the beam. Such an alternating pressure distribution exerts an oscillating force on the beam, creating a
sustainable oscillating vibration in the beam.
In this tutorial, in the addition to the flexible motion of the beam adopted in Piezoelectric Flow
Harvester, you will incorporate the rigid body rotation of the cylinder and the beam. The cylinder and
the beam are enforced with a sinusoidal oscillatory rotation about the center of the cylinder with a
maximum angle of rotation as 100 (i.e. 0.174 rad) with a frequency of 22 rad/sec (3.5 Hz). The axis of
rotation is along axis of cylinder. The variation of the rotation angle (θ) is given as:
Since this tutorial has a rotation motion in addition to flexible motion of beam, you can achieve higher
displacements (and hence strains) at lower velocity. Therefore, you will reduce the inlet velocity to 4 m/
sec instead of 10 m/sec in Piezoelectric Flow Harvester.
The schematics of the problem which will be addressed in this tutorial is shown in Figure 1. The
modeled domain consists of a fluid volume. The fluid solver does not require the solid body to be
modeled. However, the results of the structural solver will be used to define the solid body and the
surfaces where the fluid interacts with the solid will be allowed to deform according to the Eigen modes
of the beam. Figure 2 shows the arrangement of the beam with its various layers.
In the next steps you will start AcuConsole and open a database that is set up for a P-FSI simulation of
a non-rotating piezoelectric harvester. You will then make appropriate changes to the database to take
into account the rigid body rotation of the harvester in addition to the flexible body motion.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Create a new directory in this location. Name it P-FSI_with_rigid_body_motion and open it.
5. Click piezo_harvester_P-FSI.acs to open the database.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
6. Click File > Save As and enter P-FSI_with_rigid_body_rotation as the file name for the
database.
7. Click Save to create the database.
In the next steps you will modify global settings needed for the rigid body rotation of the piezoelectric
harvester.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 875:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 876:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 877:
The variation of the rotation angle ( ) is modeled using a multiplier function using
the following steps.
1. Click PB* in the Data Tree Manager to display all the available settings related to general problem
setup in the Data Tree.
2. Right-click Multiplier Function and click New to create a new multiplier function.
A new entry, Multiplier Function 1, will be created in the Data Tree under the Multiplier Function
branch.
3. Rename the new multiplier function.
a) Right-click Multiplier Function 1.
b) Click Rename.
c) Enter Rotation_multiplier.
4. Double-click Rotation_multiplier to open the detail panel.
5. Change Type to Sine Series.
6. Click Open Array next to Sine coefficients.
7. Fill in the values as follows:
In the Array Editor, the first column refers to the amplitude of the sine function, second column
refers to the frequency of the sine function and the third column refers to phase of the sine wave.
Figure 878:
In the next steps you will define the rigid body rotation of the cylinder and the beam.
1. Click ALE in the Data Tree Manager to see all the settings related to mesh motion.
2. Right-click Mesh Motion and click New to create a new mesh motion.
3. Rename the new reference frame.
a) Right-click Mesh Motion 1.
b) Click Rename.
c) Enter Rigid_body_rotation.
4. Double-click Rigid_body_rotation to open the detail panel.
5. Change the Type to Rotation.
6. Click the Open Array button next to Rotation center to open the Array Editor.
7. Enter -0.1 as the X-coordinate.
Figure 879:
9. Click the Open Array button next to Angular velocity to open the Array Editor.
10. Enter 1.0 as the Z-coordinate.
Figure 880:
Figure 881:
Using the mesh motion Type = Rotation would define the variation of rotation angle which is
used by AcuSolve in evaluating the coordinates of the beam and cylinder. The rotation angle is
evaluated by multiplying the value of Rotation Variable with the components of Angular Velocity.
Therefore for this tutorial, the rotation angle comes out to be:
Figure 882:
about z-axis
For a point with initial coordinates, located on the cylinder or beam, the coordinates at a given
time, t, is given by:
Figure 883:
Figure 884:
Figure 885:
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 886:
Figure 887:
Since the surfaces beam and cylinder have a rigid body rotation, in addition to flexible body motion, you
would like to have similar motion for the boundary layer nodes (BLNodes), so that mesh distortion in
the boundary layer is reduced.
The following steps will add the rigid body mesh motion to these nodes, in addition to the already
defined flexible motion of these nodes.
Figure 888:
4. Similarly assign the Rigid_body_rotation mesh motion to the Mesh Y-Displacement and Mesh
Z-Displacement.
As mentioned in Analyzing the Problem, you will set the inlet velocity to 4 m/sec.
Figure 889:
1. Under Global in the Data Tree, double-click Nodal Initial Condition to open the dialog in the
detail panel.
2. Set the X velocity to 4 m/sec.
3. Verify that the Eddy viscosity is set to 1e-005 m2/sec.
Figure 890:
Time History Output commands enables you to extract the nodal solution at any point within the
domain. In this simulation, it would be interesting to observe the displacement at the tip and root of
the cantilever beam. The .acs database you started with has a monitor point at the tip of the cantilever
beam.
The following steps will create a similar monitor point at the root of the cantilever beam.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
2. Double-click the Global Data Tree item to expand it.
3. Double-click Output.
4. Right-click on Time History Output, and select New.
5. Rename the new time history output to Root_MonitorPoint.
6. Double-click Root_MonitorPoint to open the detail panel.
7. Change the Type to Coordinates.
8. Click Open Array next to Coordinates, and update the fields in the Array Editor dialog, as
follows:
Figure 891:
Figure 892:
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 893:
A summary of the run printed in the AcuTail window indicates that AcuSolve has finished running
the solution.
1.
Open AcuProbe by clicking the icon on the toolbar.
2. Expand the Time History entry and Root_MonitorPoint.
3. Expand node 1, right-click mesh_y_displacement > Plot.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
4. Repeat the above steps to plot the mesh_y_displacement for the Tip_MonitorPoint.
Figure 894:
The plot above shows the displacement of the tip and the root of the beam, due to the fluid forces
as the beam interacts with the flow. The above plot also shows the displacement at the root and
at the tip are not in phase, hence maximizing the bending stress (hence, strains) for a lower inlet
velocity.
The tutorial has been written with the assumption that you have become familiar with AcuFieldView and
basic operations. In general, it will be helpful to understand the following basics:
• How to find the data readers in the File menu and open up the desired reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel on the
Main menu to create and modify surfaces in AcuFieldView.
• How to move the data around the modeling window using mouse actions to translate, rotate and
zoom in to the data.
Launching AcuFieldView
Figure 895:
Setting Up AcuFieldView
Figure 896:
Figure 897:
Figure 898:
Figure 899:
Figure 900:
1.
Click the icon to open the Boundary Surface dialog.
2. Turn off the visibility for the active boundary surfaces.
3.
Click the icon to open the Coordinate Surface dialog.
4. Create a new coordinate surface at the mid -Z coordinate plane.
The coordinate surface created is the mid plane between the z_neg and z-pos surfaces.
Figure 901:
Figure 902:
If the SWEEP CONTROL in this dialog shows Sweep instead of Build, the Flipbook Build mode is not
active. In Sweep mode, you will be able to create and visualize the animation, but you will not be
able to save it. To be able to save the animation, enable the Flipbook Build Mode.
14. Drag the time step slider to its left most position. Alternatively, type 0 for the TIME STEP or
SOLUTION TIME.
15. Click Apply.
The displayed state now corresponds to the initial state of the domain.
Figure 903:
5.10.5 Summary
In this tutorial you worked through a basic workflow to set up a flexible body motion of a rotating
beam in the wake of a cylinder. You started with the piezo_harvester_P-FSI.acs file from the tutorial
Piezoelectric Flow Harvester and modified the set up to accommodate the rigid body rotation of the
beam and the cylinder. Once the case was set up, you generated a solution using AcuSolve. Results
were post-processed in AcuFieldView to allow you to create animation of the beam displacements with
time.
This tutorial provides the instructions for setting up, solving and viewing results for a simulation of a
static mixer in combination with the post-processing module AcuTrace. In this simulation, AcuSolve is
used to compute the species mixing within a simple mixer and AcuTrace is used to compute the particle
motion of finite mass particles within the mixer. This tutorial is designed to introduce you to concepts
necessary to visualize streamlines and produce particle path with AcuTrace.
The basic steps in any CFD simulation were shown in ACU-2000: Turbulent Flow in a Mixing Elbow. The
following additional capabilities of AcuSolve are introduced in this tutorial:
• Generation of finite mass particle paths with AcuTrace.
• Conversion of the nodal output data with AcuTranstrace for reading into AcuFieldView.
• Post-processing the nodal output with AcuFieldView to visualize streamlines and particle path.
You should have already run through the introductory tutorial, ACU-2000: Turbulent Flow in a Mixing
Elbow. It is assumed that you have some familiarity with AcuConsole, AcuSolve, and AcuFieldView. You
will also need access to a licensed version of AcuSolve.
Prior to running through this tutorial, copy Acu_tutorial_input.zip from <AcuSolve installation
directory>\model_files\tutorials\AcuSolve\Acu_tutorial_inputs.zip to a working directory.
Extract StaticMixer.acs from Acu_tutorial_input.zip.
An important step in any CFD simulation is to examine the engineering problem and determine the
important parameters that need to be provided to AcuSolve. Parameters can be based on geometrical
elements (such as inlets, outlets, or walls) and on flow conditions (such as fluid properties, velocity, or
whether the flow should be modeled as turbulent or as laminar).
The problem to be addressed in this tutorial is shown schematically in Figure 1. It consists of a mixing
tube that contains several swept walls to instigate mixing within the tube. The inlet face is split into two
regions, one containing 100 percent of species_1 and the other containing zero.
The diameter of the inlet is 0.1 m and the length of the mixing tube is 0.525 m. The fins have a mean
diameter of 0.1 m. The maximum thickness of the fins are 0.003 m.
The boundary condition at the inlet is defined to produce a fully developed inlet profile with velocity of
1.0 m/s. One portion of the inlet is defined to contain 100 percent of species_1, while the other inlet is
defined to contain 0.0 percent of species_1.
The fluid in this problem is an epoxy resin, which has a density of 1264.0 kg/m3 and a viscosity of 1.49
kg/m-sec.
In addition to setting appropriate conditions for the simulation, it is important to utilize a mesh that
will be sufficiently refined to provide good results. In this application, the flow will accelerate as it
passes over the fin walls. This leads to the higher gradients that need finer resolution. Proper boundary
layer parameters need to be set to keep the y+ near the wall surface to a reasonable level. Although
a slightly refined mesh is used in this area, it should be noted that a proper mesh refinement study is
necessary in order to determine the required mesh controls to obtain a grid independent solution. The
mesh controls used in this tutorial are very coarse and are only intended to illustrate the process of
setting up the model and to retain a reasonable run time. A significantly higher mesh density is needed
to achieve a grid converged solution.
Starting AcuConsole
In the next steps you will start AcuConsole, and open the database for storage of the simulation
settings. In this tutorial, you will begin by loading the existing database, preparing the particle trace
settings and running the model. Next you run AcuTrace to generate the particle paths within the flow
field and convert the data for reading into AcuConsole. Finally, you will visualize some characteristics of
the results using AcuConsole.
1. Start AcuConsole from the Windows Start menu by clicking Start > All Programs > Altair
HyperWorks <version> AcuSolve > AcuConsole.
2. Click the File menu, then click New to open the New data base dialog.
3. Browse to the location that you would like to use as your working directory.
This directory is where all files related to the simulation will be stored. The AcuConsole database
file (.acs) is stored in this directory. Once the mesh and solution are created, additional files and
directories will be created within this directory.
4. Browse to the directory where StaticMixer.acs is stored.
5. Click StaticMixer.acs and then click Open to open the database.
This directory is where all files related to the simulation will be stored. Initially there will be an
.acs file in this area, which corresponds to AcuConsole's database. Once the mesh and solution
are created, additional files and directories will be added.
Note: In order for other applications to be able to read the files written by
AcuConsole, the database path and name should not include spaces.
In next steps you will review parameters that apply globally to the simulation. To make this simple,
the basic settings applicable for any simulation can be filtered using the BAS filter in the Data Tree
Manager. This filter enables display of only a small subset of the available items in the Data Tree and
makes navigation of the entries easier.
The general parameters that you will set for this tutorial are for turbulent flow, steady analysis, and
mesh type as fixed.
1. Click BAS in the Data Tree Manager to switch to basic view in the Data Tree.
Figure 905:
Tip: You can also expand a tree item by clicking next to the item name.
Figure 906:
Tip: You can also open a panel by right-clicking a tree item and clicking Open on
the context menu.
Figure 907:
1. Double-click Auto Solution Strategy to open the Auto Solution Strategy detail panel.
2. Check that the Analysis type is set to Steady State.
3. Set the Max time steps as 100.
4. Check that the Convergence tolerance is set to 0.001 seconds.
5. Set the Relaxation factor to 0.4.
The relaxation factor is used to improve convergence of the solution. Typically a value between
0.2 and 0.4 provides a good balance between achieving a smooth progression of the solution and
the extra compute time needed to reach convergence. Higher relaxation factors cause AcuSolve
to take more time steps to reach a steady state solution. A high relaxation factor is sometimes
necessary in order to achieve convergence for very complex applications.
AcuConsole has three pre-defined materials, Air, Aluminum, and Water, with standard parameters
defined. For this tutorial you will use a newly defined material model, “Epoxy Resin” which has been
preloaded into the AcuConsole database. In the next steps you will check the material characteristics of
the predefined "Epoxy Resin" to match the desired properties for this problem.
1. Double-click Material Model in the Data Tree to expand it.
Figure 908:
2. Double-click Epoxy Resin in the Data Tree to open the Epoxy Resin detail panel.
3
3. Click the Density tab. The density of the epoxy is 1264.0 kg/m .
4. Click the Viscosity tab. The viscosity of the resin is 1.49 kg/m – sec.
5. Save the database to create a backup of your settings. This can be achieved with any of the
following methods.
• Click the File menu, then click Save.
• Click on the toolbar.
• Click Ctrl+S.
Note: Changes made in AcuConsole are saved into the database file (.acs) as they
are made. A save operation copies the database to a backup file, which can be used
to reload the database from that saved state in the event that you do not want to
commit future changes.
In order to utilize the finite mass particle trace functionality for particles that have non-constant density,
you are required to store additional variables during the simulation. This is done by using the Derived
Quantity Output mechanism.
Running AcuSolve
In the next steps you will launch AcuSolve to compute the solution for this case.
Figure 909:
Note: For this case, the default values will be used. AcuSolve will run using four
processors, and AcuConsole will generate AcuSolve input files and will launch
AcuSolve. AcuSolve will calculate the steady state solution for this problem.
As the solution progresses, an AcuTail window will open. Solution progress is reported in this
window. After AcuSolve has finished running, a summary of the solution process showing the “End
Time Step” data indicates that the simulation has been completed.
Figure 910:
1.
Open AcuProbe by clicking the icon on the toolbar.
2. In the Data browser on the left, expand Solution Ratio.
3. Right-click Final and select Plot All.
The Solution ratio measures how much the solution is changing from one step to the next.
Note: You might need to click the icon on the toolbar in order to properly
display the plot.
Now that the steady-state simulation is complete, you can use the finite mass particle tracer to simulate
micro-particles of SiO2, which are often used to add strength to the epoxy.
In the next steps you will define the particle trace data.
1. In AcuConsole, click ALL in the Data Tree Manager to see all settings in the Data Tree.
2. In the Data Tree, expand Particle Trace to show only items related to particle tracing.
Figure 911:
In the next steps you will set the finite mass boundary conditions.
1. Under Particle Trace, right-click on Finite Mass Boundary Condition and select New.
2. Right-click on Finite Mass Boundary Condition 1 and select Rename.
3. Enter the new name as SideWalls.
4. Double-click on SideWalls to open the Finite Mass Boundary Condition panel.
5. Set the Particle surface to Pipe Wall.
6. Leave the Wall type set to Reflect and the Normal and Tangential coefficient of restitution type set
to Constant.
7. Enter 0.2 for both the Normal and Tangential coefficient of restitution.
Figure 912:
8. In the Data Tree, right-click on Finite Mass Boundary Condition and select New.
9. Rename Finite Mass Boundary Condition 2 to FinWalls.
10. Double-click FinWalls to open the Finite Mass Boundary Condition panel.
11. Set the Particle surface to Fin Walls.
12. Leave the Wall type set to Reflect and the Normal and Tangential coefficient of restitution type set
to Constant.
13. Enter 0.8 for both the Normal and Tangential coefficient of restitution.
This will allow for less energy to be lost when the particle hits the wall and in turn will reflect off of
the wall with a greater velocity.
Figure 913:
In the next steps you will define the particle seeds that are moving into the flow regime.
Figure 914:
Figure 915:
Figure 916:
No TOC
Now that the steady-state simulation is complete, we can use the finite mass particle tracer to simulate
micro-particles of SiO2 which are often used to add strength to the epoxy.
Running AcuTrace
In the next steps, you will launch AcuTrace to compute the solution for this case.
1.
Click on the toolbar to open the Launch AcuTrace dialog.
Figure 917:
2. Accept the default settings and select Ok to start the solution process.
Once the run is complete, you need to convert the results so that they can be read in AcuFieldView. To
do this, run the AcuTransTrace utility. This tool can be used to convert data for Ensight, FieldView or
AcuDisplay.
1. Start AcuConsole Command Prompt from the Windows Start menu by clicking Start > All
Programs > Altair Hyperworks <version> > AcuSolve > AcuSolve Cmd Prompt.
2. Change the directory to your working location.
Figure 918:
The tutorials have been written with the assumptions that you have become familiar with the
AcuFieldView interface and basic operations. In general, it will be helpful to understand the following
basics:
• How to find the data readers in the File pull-down on the Main menu and open up the desired
reader panel for data input.
• How to find the visualization panels either from the Side toolbar or the Visualization panel pull-
downs on the Main menu to create and modify surfaces in AcuFieldView.
• How to move the data around the modeling window using mouse actions to translate, rotate and
zoom in to the data.
This tutorial shows you how to work with the steady state data and load a particle paths file.
1. Launch AcuFieldView from the AcuConsole window using the icon on the toolbar.
You will see that the pressure contours have already been displayed on all the boundary surfaces.
The image below was captured with the mesh turned off.
Figure 919:
1.
Click to open the Coordinate Surface dialog.
2. Click Create to create a new surface.
3. Set the COORD PLANE at the mid –Y coordinate surface.
4. Change the DISPLAY TYPE to Constant.
5. Change the COLORING to Scalar.
6. For Scalar Function, select z-velocity as the scalar function to be displayed, and click Calculate.
7. Click the Colormap tab, and change the coloring to Local.
8. Click the Legend tab, and activate the Show Legend checkbox to display the velocity magnitude
values on the coordinate plane.
Figure 920:
1.
Figure 921:
6.1.6 Summary
In this tutorial you successfully set up and solved for a steady simulation of a static mixer to visualize
the particle path. You started the tutorial by opening a database in AcuConsole and setting up the
simulation parameters to compute the species mixing within the mixer. You ran AcuTrace to generate
the particle paths within the static mixer and converted the data using AcuTranstrace to visualize the
particle paths in AcuFieldView.