You are on page 1of 19

17.

0 Release

Workshop 5.1: Preparing for CFD Analysis


Introduction to ANSYS SpaceClaim Direct Modeler

1 © 2016 ANSYS, Inc. March 16, 2016


Overview

Completion of this workshop involves:


• Spot welds, Midsurface, Beam extraction (FEA applications)
• Flow volume extraction, Enclosure (CFD applications)
• Shared topology
• Material assignment
• Named Selections and Parameters
• Volume decomposition

2 © 2016 ANSYS, Inc. March 16, 2016


Objectives
• Geometry reparation and simplification
• Assembly of parts and shared topology
• Enclosure creation
• Fluid volume extraction

3 © 2016 ANSYS, Inc. March 16, 2016


Import the Parasolid files to begin
“File->Open” the file “cad_c_car.x_b”, then “Insert->File” the file “cad_c_wing.x_b”
(make sure you change the file type to “Parasolid Files” to make them visible)
• This will put the components in the same graphics display tab
• Move each object to its own component with an appropriate name, and “Open Components” for wing
and body to have them in their own tabs (this will make CAD manipulations easier)

4 © 2016 ANSYS, Inc. March 16, 2016


Solidify the geometry
Use “Repair->Stitch” and “Repair->Missing Faces” to solidify the objects
• “Repair->Stitch” will stitch the windshield to the car (note components need to be in active)
• Right-click and “Delete Empty Components” to delete the empty “glass” component
• “Repair->Missing Faces” will make the objects airtight and solidify them

5 © 2016 ANSYS, Inc. March 16, 2016


Orient the wing for attachment (1)
Simplify the face created on the wing base from “Spline” to “Plane”
• Select “Design->Point” to create a point on the bottom edge (as indicated)
• With the two upper intrinsic points and the created point selected, select “Design->Plane” to create a
plane. To select the points you may need to switch to Select-> Using Box
• Select “Design->Replace” (in the “Edit” section) to replace the spline face with the new planar face
• “Hide” the created plane and point after replacing the plane

Intrinsic Face now


points has planar
shape
Face with
spline shape

Created plane

Create a point
here

6 © 2016 ANSYS, Inc. March 16, 2016


Orient the wing for attachment (2)
Make the base plane of the wing tangent to the car surface
• Similarly as before, create a plane on car body from three points on the slot outline
• Select “Design->Tangent” to make the wing base plane tangent to the plane on the car
– The wing will rotate to become tangent to the plane
• Select “Design->Move” on the wing component to slide the wing toward the rear slot

7 © 2016 ANSYS, Inc. March 16, 2016


Attach the wing to the car body (1)
Prepare the rear of the car for clean attachment
• Once the wing base plane is aligned with the slot, select “Prepare->Faces” to remove the spline face
from the rear of the car
– This is more easily done in the “body” component tab

8 © 2016 ANSYS, Inc. March 16, 2016


Attach the wing to the car body (2)
Remove interference between the car and wing bodies
• Select “Prepare->Interference” to detect and remove the overlap
• Material is removed from the larger body, creating sliver faces in the geometry
– This could be problematic! (see next slide for a better approach)

9 © 2016 ANSYS, Inc. March 16, 2016


Attach the wing to the car body (3)
Split the body by a surface to remove the overlap
• Select “Design->Split Body” to cut the wing body by the car surface
• Delete the thin solid generated from their intersection
– This does not create sliver faces on the rear of the car

10 © 2016 ANSYS, Inc. March 16, 2016


Prepare topology for conformal mesh
Change the “Analysis” property “Share Topology” from “None” to “Share”
• Select “Prepare->Show Contact” to highlight shared topology
• The face between the car body and wing is highlighted
– This ensures that the mesh will be conformal from the car to the wing
– Even though bodies are in separate components, the master component is active and has shared
topology
Notice: sometimes you may need to repair, split edges,
extra edges and inexact edges to achieve the result below
Shared face highlighted

11 © 2016 ANSYS, Inc. March 16, 2016


Create an enclosure (1)
For analysis of the external flow over the car model, an enclosure must be made
• Select “Prepare->Enclosure” to create an external region for CFD analysis
• Select both the car and wing objects
• The domain extents can be changed (and the shape can be altered as well – not shown here)
• Make the car and wing invisible to see the void space inside the enclosure

12 © 2016 ANSYS, Inc. March 16, 2016


Create an enclosure (2)
Experiment to see that this is equivalent to Boolean subtraction
• Insert a cylindrical enclosure using “Insert->Cylinder” and envelop the car
• Select “Design->Combine” to split the car and wing bodies from the cylinder, and remove the resulting
solids
• Hide the car and wing bodies and make the cylinder transparent to see the intended effect

13 © 2016 ANSYS, Inc. March 16, 2016


Extracting fluid volume (1)
First, import and clean up the turbomachinery geometry, as in Workshop 3
• Import the Parasolid file “turbo_charger.x_t”
• Solidify the geometry with “Repair->Stitch” and “Repair->Missing Faces”

14 © 2016 ANSYS, Inc. March 16, 2016


Extracting fluid volume (2)
Examine and repair the assembly in section mode
• Select the central axis, enter section mode, and select “Plan View”
• Detect interference with “Prepare->Interference” (but do not repair – we will do this manually)
• Note the presence of the small gap between two of the components

Bodies not touching

Interference

15 © 2016 ANSYS, Inc. March 16, 2016


Extracting fluid volume (3)
Align the objects to remove the interference and the small gap
• Select “Design->Align” to achieve both of these
– Remember that edges in section mode are actually faces in 3D
• Once complete, note that “Prepare->Interference” finds no problem areas

Small gap fixed


Interference
removed

Interference

16 © 2016 ANSYS, Inc. March 16, 2016


Extracting fluid volume (4)
Extract fluid volume from the three bodies that have void space
• In section mode, we can see that we should be looking for fluid volume in “solid1”, “solid”, and “solid2”
in the structure tree
• Hide all objects except for these, and select “Prepare->Volume Extract”
– Use the “Select Edges” criterion to cap the 4 highlighted openings
• A new solid has been added under a new component named “Volume”

17 © 2016 ANSYS, Inc. March 16, 2016


Creating named selections
Bodies, faces, and edges can be named and transferred to the Mesher/Solver
• Select the object(s) to be named and “Create Group” under the “Groups” tab in the sidebar
• Right-click to “Rename” the selection to any name you want
– Give names to the “fluid” and the three solid parts “compressor”, “turbine”, and “housing”

“solid_compressor”
“solid_housing”

“fluid” “solid_turbine”

18 © 2016 ANSYS, Inc. March 16, 2016


Creating parameters from “Pull” and “Move”
Parameterize the compressor air discharge length
– Move the compressor to a new component (so the subsequent “Pull” does not combine bodies)
– Select the thin annular face of the compressor and begin to “Pull” it outward
– Click “Create Group” to create a driving parameter
– Start a new workbench project, enable named selections and parameters under “Tools->Options”
– Import the current file (after saving it) into “Geometry” and observe the presence of the parameter set

19 © 2016 ANSYS, Inc. March 16, 2016

You might also like