Tutorial: Gravity Casting

Run a simulation of a gravity casting adjusting different components to see the effects on the results.

In this exercise, you will learn about the process of gravity casting and the effect different components have on the finished part.

Model file is available in the tutorial_models folder in the installation directory in Program Files\Altair\2022.3\InspireCast2022.3\tutorial_models\gravity.x_b.

Import Geometry

  1. Launch Inspire Cast.
  2. Click Open Model on the Files icon and browse to the tutorial model file in the installation directory, or drag-and-drop the file into the modeling window.


Designate a Casting Part

Select casting geometries with the Cast Part tool.
Important: A cast part must be defined before performing any other operation.
  1. On the Cast Part icon, click Designate Casting Part.

  2. Left-click to select which candidate is a cast part.
    Parts are automatically detected and highlighted based on your cursor position.
    The selected part is highlighted red.
  3. In the microdialog, select Steel as the material and select AISIF91 as the alloy for the part.
  4. Right-click and mouse through the check mark to exit, or double-right-click.

Set Gravity Direction

  1. On the Cast Part tool, click Set Gravity Direction.

  2. Click the Gravity icon in the microdialog to align the geometry vertically to the normal of a selected surface.


    Note: The gravity direction will always be in the Z-axis.
  3. Click on one of the bottom surfaces of the part.
    The part will automatically be positioned with the gravity perpendicular to the selected surface.


  4. Right-click and mouse through the check mark to exit, or double-right-click.

Add a Gate

  1. Click the Casting tab.
  2. On the Gate icon, click Add/Edit Gate.

  3. Select the top surface of the model to place a gate there.


  4. Change the radius of the inlet area to 6mm.


  5. Click the Move icon.
  6. Select the Z arrow and drag the inlet height to 8mm .


  7. Select and drag the Y rotation arrow to tilt the inlet to 20º.
  8. Right-click and mouse through the check mark to exit, or double-right-click.

Add a Core

  1. Click the Components tool.

    Click the Core tool in the secondary tool group.

  2. Double-click to select which candidate is a core and automatically create the core volume.
    Parts are automatically detected and highlighted based on your cursor position.
    The selected part is highlighted red.
  3. In the microdialog, select Silica-Sand as the material.
  4. Right-click and mouse through the check mark to exit, or double-right-click.


Add a Mold

  1. Click the Components tool.

    Click the Mold tool in the secondary tool group.

    A mold is generated creating a bounding box of the components already edited.


  2. In the microdialog, select Green-Sand as the material and 20° C for the temperature of the new mold.
  3. Right-click and mouse through the check mark to exit, or double-right-click.

Define Process Parameters

  1. Click Basic Setup to enter the simulation parameters.

  2. Enter 1 m/s for Initial Velocity.


    Note: This will be the velocity at the inlet for the duration of the filling of the mold cavity.

Run Analysis

  1. On the Analysis icon, click Run Analysis.

  2. In the Run Analysis dialog, in the Stages tab, deselect Run a filling analysis.
    Note: For this demonstration, we do not need a filling analysis. Also, since we did not add a gate, a filling analysis will not run.
  3. Select the Advanced tab to manually select mesh factors for components like gate, mold, runner, riser, etc.

  4. Select the Stages tab and click Run.
    Note: Once the simulation calculation is finished, a green flag will appear on the analyze icon.

Analyze Results

  1. Click Temperature under Result Types.


  2. Click Play to start the animation.

    Temperature results show temperature evolution during filling, but they are also very useful to analyze the behavior of the fluid entering into the mold.

    Here we can observe how the liquid is falling from the top to the bottom which can result in turbulence.



  3. Click Filling time under Result Types.


    Filling time shows the time it takes the material to reach different areas within the part and is also useful to analyze the behavior of the liquid entering the mold.

    Here we can see the differences in time to fill the right and left regions, so we will change the inlet position to avoid this issue.



Edit the Gate

  1. Click the Casting tab.
  2. On the Gate icon, click Add/Edit Gate.

  3. Select the ingate and press Delete.


  4. Select the center of this surface to create an inlet at the bottom of the geometry.


  5. Right-click and mouse through the check mark to exit, or double-right-click.

Run Analysis

  1. On the Analysis icon, click Run Analysis.

  2. In the Run Analysis dialog, in the Stages tab, deselect Run a filling analysis.
    Note: For this demonstration, we do not need a filling analysis. Also, since we did not add a gate, a filling analysis will not run.
  3. Select the Advanced tab to manually select mesh factors for components like gate, mold, runner, riser, etc.

  4. Select the Stages tab and click Run.
    Note: Once the simulation calculation is finished, a green flag will appear on the analyze icon.

Analyze Results

  1. Click Temperature under Result Types.


  2. Click Play to start the animation.

    We can observe that the liquid is more stable entering the mold. The fluid rises homogeneously and without turbulence.


  3. Click Mold Erosion under Result Types.


  4. Set the minimum value to 0.50 and slide the arrow up to 0.54.

    Mold erosion results allow you to predict which areas will exhibit excessive mold degradation due to high velocities.

    Here we see that the liquid is directly colliding with the sand core because of the inlet design.



    To avoid this problem, we will change the inlet angle.


  5. Click Solid Fraction under Result Types.

    Solid Fraction results allow you to determine if there will be any solid areas during filling. A value of 0 corresponds to a completely liquid material, while a value of 1 corresponds to a completely solid material.

    Here, there are no solidified areas during filling, so we can decrease the inlet velocity to avoid the direct collision with the sand core.



Edit the Gate

  1. Click the Casting tab.
  2. On the Gate icon, click Add/Edit Gate.

  3. Select the ingate and click Move .


  4. Select and drag the X rotation arrow to tilt the inlet to 20º.


  5. Right-click and mouse through the check mark to exit, or double-right-click.

Run Analysis

  1. On the Analysis icon, click Run Analysis.

  2. In the Run Analysis dialog, select the Advanced tab to manually select mesh factors for components like gate, mold, runner, riser, etc.

  3. In the Stages tab, click Run.
    Note: Once the simulation calculation is finished, the green flag will appear on the analyze icon.

    Note: The user can also select the results by clicking View Now under Run History.


Analyze Results

  1. Click Filling under Stage.


  2. Click Temperature under Result Types.


  3. Click Play to start the animation.

    Thanks to the change in the angle of attack of the inlet and to the velocity reduction, the liquid is not directly colliding against the sand core.


  4. Click Solid Fraction under Result Types.

    Solid Fraction results allow you to determine if there will be any solid areas during filling. A value of 0 corresponds to a completely liquid material, while a value of 1 corresponds to a completely solid material.

    Even though we reduced the velocity at the inlet and the filling time increased, there is no increase in solidification during filling.



  5. Click Solidification under Stage.


  6. Click Solid Fraction under Result Types.


  7. Click Play to start the animation.

    Solid Fraction results allow you to understand that solidification behavior within the part. The default value of 0.7 corresponds to the value at which liquid stops flowing in most cases.
    Solidified material (above 0.7) is transparent, while liquid material (below 0.7) is shown in color. Shrinkage porosity is more likely to occur in isolated liquid regions.


Design the Filling System

  1. On the Gate icon, click Add/Edit Gate.

  2. Select the gate and press Delete.
  3. Click the Sketch tab.
  4. On the Circles icon, click Circle by Center and Point.

  5. Click the surface to create the sketch plane.
  6. Click on the surface shown and drag to create a circle with a diameter of 18 mm.


  7. Click the Geometry tab.
  8. Select the Push/Pull Faces tool.

  9. Select the circle we just created and pull it to a length of 70 mm.


  10. In the microdialog, ensure that Create New Part is selected.


  11. Click Apply.

Reposition the Cylinder

  1. Click the Move icon.


  2. Select the cylinder.


  3. Click on the center of the end of the cylinder and drag the cylinder to the center of the surface where we had previously created the ingate.


  4. Select the arrow and move the cylinder along the Z axis 60mm.


Rotate the Axis

  1. Create a reference axis.
    1. Click Reference Axes.

    2. In the microdialog, select Through Two Planes from the dropdown menu.
    3. Select the end of the cylinder and the top surface of the flange, as shown in the image below.


    4. Click Apply .
  2. Under the Extrude icon, click Revolve Face.

  3. Select the end surface of the cylinder to revolve.
  4. Select the reference axis as the rotation axis.
  5. Rotate the surface 90°.


  6. Ensure that Combine is selected.

Pull the Surface

  1. Click the Push/Pull icon.


  2. Select the cylinder's surface. In the microdialog, click Create New Part.
  3. Pull the surface until the new cylinder reaches 170mm long.


Create an Inlet

  1. Click the Casting tab.
  2. On the Cast Part icon, click Designate Filling System.

  3. Select the geometry we just designed.


  4. On the the Gate icon, click Designate Surfaces as Gates.

  5. Select the top surface of the filling system to create the inlet.


Create a Riser

  1. Click the Components icon.

  2. On the Riser icon, click Add/Edit Riser.

  3. Click on the region where there were issues with porosity.


  4. Change the Modulus to 0.8 cm.


  5. Repeat these steps to create a second riser.


Resize the Mold

  1. Click the Components icon.

  2. Click the Mold icon.

  3. Click Yes to resize the mold to include components outside of it.


  4. The mold will be automatically be resized.


Run Analysis

  1. Click the Basic Setup icon.

  2. Change the initial velocity to 0.5 m/s.


  3. On the Analysis icon, click Run Analysis.

  4. In the Run Analysis dialog, select the Advanced tab to manually select mesh factors for components like gate, mold, runner, riser, etc.

  5. Click Run.
    Note: Once the simulation calculation is finished, the green flag will appear on the analyze icon.

    Note: The user can also select the results by clicking View Now under Run History.


Run the Temperature Animation

  1. Click Filling under Stage.

  2. Click Temperature under Result Types.

  3. Click Play to start the animation.



    Note: We can see that the liquid is entering the mold smoothly and homogeneously avoiding turbulence and direct collision with the sand core thanks to the new inlet position and the newly designed filling system.

Run Solid Fraction Animation

  1. Click Solid Fraction under Result Types.


  2. Click Play to start the animation.



    Note: It is important to not have early solidification during filling to avoid casting defects like misruns. In our case, it looks like it is filling in less than 6 seconds and not giving us this problem as there are no solidified areas during filling.

View Last Air Result

Click Last Air under Result Types.



Note: This result is showing that most of the air inside the mold is being trapped inside the risers. Though trapped air is not a big issue in sand molds because of their permeability, risers will help to further prevent this kind of defect in our part.

Run Solid Fraction Animation

  1. Click Solidification under Stage.

  2. Click Solid Fraction under Result Types.

  3. Set the percentage to 0.7%.

  4. Click Play to start the animation.



    Note: We can see how the risers are feeding material to the top region during solidification.

View Porosity Result

  1. Click Demolding under Stages.
  2. Click Porosity under Result Types.

  3. Set the percentage to 100%.



Note: The porosity has moved from the top of the part to the risers. The risers, filling system, and core will be removed after casting, and the part will be free of defects.