14
Chapter 9: Pipe Assembly This tutorial demonstrates a fluid-structure interaction analysis of a pipe assembly with both fluid and thermal loads. The simulation demonstrates the use of a custom template (developed by an expert user) and expressions to streamline the simulation process for the rapid design of a piping assembly by a non-expert user. After running the custom template, the non-expert user is only required to follow the To Fix directions in the user interface to assign locations and complete the analysis. In this tutorial you will learn how to Launch ANSYS AIM. Import a template. Use the template to load the geometry and evaluate the results for the fluid flow. Review the script file to understand the custom template. 9.1. Prerequisites This tutorial assumes that you have limited experience with ANSYS AIM so each step will be explicitly described. 9.2. Problem Description The goals are to demonstrate the ability of ANSYS AIM to use a custom template. 9.3. Setup And Solution The following sections describe the setup and solution steps for this tutorial: 9.3.1. Preparation 9.3.2. Starting AIM 9.3.3. Import Template and Geometry 9.3.4. Flow 9.3.5. Results 9.3.1. Preparation 1. Create a working folder on your computer. 2. Copy the files (ValveDesign_Template.wbjn and DiskValve_HalfSymm.scdoc) to the working folder. 9.3.2. Starting AIM In this step you will start ANSYS AIM and set up a simulation process. 1 Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

AIM_R16_WS09_Pipe_Assembly.pdf

  • Upload
    ian-as

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: AIM_R16_WS09_Pipe_Assembly.pdf

Chapter 9: Pipe Assembly

This tutorial demonstrates a fluid-structure interaction analysis of a pipe assembly with both fluid andthermal loads. The simulation demonstrates the use of a custom template (developed by an expertuser) and expressions to streamline the simulation process for the rapid design of a piping assemblyby a non-expert user. After running the custom template, the non-expert user is only required to followthe To Fix directions in the user interface to assign locations and complete the analysis.

In this tutorial you will learn how to

• Launch ANSYS AIM.

• Import a template.

• Use the template to load the geometry and evaluate the results for the fluid flow.

• Review the script file to understand the custom template.

9.1. Prerequisites

This tutorial assumes that you have limited experience with ANSYS AIM so each step will be explicitlydescribed.

9.2. Problem Description

The goals are to demonstrate the ability of ANSYS AIM to use a custom template.

9.3. Setup And Solution

The following sections describe the setup and solution steps for this tutorial:9.3.1. Preparation9.3.2. Starting AIM9.3.3. Import Template and Geometry9.3.4. Flow9.3.5. Results

9.3.1. Preparation

1. Create a working folder on your computer.

2. Copy the files (ValveDesign_Template.wbjn and DiskValve_HalfSymm.scdoc) to the workingfolder.

9.3.2. Starting AIM

In this step you will start ANSYS AIM and set up a simulation process.

1Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 2: AIM_R16_WS09_Pipe_Assembly.pdf

• From the Windows Start menu, select Start > All Programs > ANSYS 16.0 > ANSYS AIM 16.0 to start anew ANSYS AIM session.

The ANSYS AIM application window will appear. The various Simulation Process Templates aredisplayed in the Study panel at the left. The Help window is displayed on the right-hand side. Itcontains links to instructional videos and the Help menu. The Workflow tab is displayed at thebottom.

Note

You will execute an AIM journal file, which has been edited to create a user definedtemplate to automate the model setup.

9.3.3. Import Template and Geometry

1. From the Study panel click on User Defined > Choose File.

• Select ValveDesign_Template.wbjn from your working folder and click Open.

2. Click on the Import cell in the Workflow tab.

a. Right click in the graphics window and select Fix > Geometry Import Source from the context menu.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.2

Pipe Assembly

Page 3: AIM_R16_WS09_Pipe_Assembly.pdf

b. In the Geometry Import Source panel click on the browse button next to Location and selectDiskValve_HalfSymm.scdoc from your working folder and click Open.

c. Click Import.

3Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setup And Solution

Page 4: AIM_R16_WS09_Pipe_Assembly.pdf

The geometry is imported and the Geometry panel shows the Up-to-date status.

9.3.4. Flow

Click on the Flow cell in the Workflow tab.

1. Right-click in the graphics window and click Fix > Inlet

• In the Inlet panel the Location is undefined. So select the face on the shorter end of the pipe asshown in Figure 9.1: Inlet Boundary Condition (p. 5) and click on the blue + sign next to the Locationtext box.

Note

Ensure Face Selection ( ) is enabled.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.4

Pipe Assembly

Page 5: AIM_R16_WS09_Pipe_Assembly.pdf

Figure 9.1: Inlet Boundary Condition

2. Similarly, right-click in the graphics window and click Fix > Outlet. Select the face on the longer end ofthe pipe as shown in Figure 9.2: Outlet Boundary Condition (p. 6) and update the outlet boundary con-dition.

5Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setup And Solution

Page 6: AIM_R16_WS09_Pipe_Assembly.pdf

Figure 9.2: Outlet Boundary Condition

Note

Ensure Face Selection ( ) is enabled.

3. Save the project (Pipe_assembly).

Home( ) > File > Save

9.3.5. Results

Click on the upper Results task in the Workflow tab. Right click in the graphics window and clickEvaluate Results.

1. In the Results panel click Velocity Streamline.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.6

Pipe Assembly

Page 7: AIM_R16_WS09_Pipe_Assembly.pdf

2. Now you will animate the streamlines.

a. Click Show faces icon .

b. Click the Enable translucency icon .

c. Right click in the graphics window and click Animate in the context menu.

Note

You can see the streamlines going from the inlet towards the outlet. You can alsorotate the model while the animation is progressing and observe.

d. Stop the animation when you have finished observing.

3. Now for structural analysis, click on the lower Results cell in the Workflow tab. Click Evaluate Resultsin the Results panel.

• In the Results panel click on Equivalent Stress and observe the contours.

7Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setup And Solution

Page 8: AIM_R16_WS09_Pipe_Assembly.pdf

4. Periodically save the project.

Home( ) > File > Save

9.4. Summary

With ANSYS AIM interface you can perform a static structural analysis. You learned how to:

1. Set-up a fluid-structural analysis in AIM using a user-defined template,

2. Import CAD geometry,

3. Apply locations for boundary conditions, and

4. Post-process results

9.5. Further Improvements

You could see how to use a custom template. To review the custom template open the fileValveDesign_Template.wbjn in any text editor. The following figures show how the template isdesigned.

If you check the section on FILL PIPE WITH WATER you can see how the default material is set.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.8

Pipe Assembly

Page 9: AIM_R16_WS09_Pipe_Assembly.pdf

In the SET IMPORT PREFERENCES you can check to see that the import preferences are set for linkingthe geometry to SpaceClaim.

In the section SET MULTIPHYSICS REGIONS you can review how the physics type and regions are set.It also includes how the number of processors are set for each region and how the the number of inflationlayers are set.

9Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Further Improvements

Page 10: AIM_R16_WS09_Pipe_Assembly.pdf

The boundary conditions for inflow are defined in the section DEFINE BOUNDARY CONDITIONS FORFLUID FLOW.

The thermal stress conditions are defined under DEFINE BOUNDARY CONDITIONS FOR THERMALSTRESS.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.10

Pipe Assembly

Page 11: AIM_R16_WS09_Pipe_Assembly.pdf

As you checked the results of the tutorial you saw that some results were set by default. you can checkthe section sETUP DEFAULT RESULTS TYPES in the custom template to see how the default resultsfor flow physics and structural physics are defined.

11Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Further Improvements

Page 12: AIM_R16_WS09_Pipe_Assembly.pdf

In the section DEFINE PARABOLIC INFLOW PROFILE you can see the expressions used to describethe inlet flow velocity profile across the pipe.

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.12

Pipe Assembly

Page 13: AIM_R16_WS09_Pipe_Assembly.pdf

Thus you could see how the custom template was created.

13Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Further Improvements

Page 14: AIM_R16_WS09_Pipe_Assembly.pdf

Release 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.14