Videos > Brief Review of Ansys EnSight - Part 2.
Apr 16, 2024

ANSYS EnSight Review - Part 2

Hello, this is Ertan Taskin from Ozen Engineering, Inc. Welcome to part 2 of the ANSYS EnSight review. In this video, we will continue using the same geometry from part 1.

Creating a Clip and Slice

  1. Go to Create and select Clips.
  2. Create a slice on the Z domain by selecting the part and creating it.
  3. Hide all other elements to focus on the clip.

The clip is now visible. Let's create a line on this surface:

  1. Go to Create and select Clip Section.
  2. Select the Line tool.
  3. Position the line on the clip plane and make it finite to bind it to the plane's border.

The line, named clipmesh line, is now visible.

Creating and Querying a Spline

  1. Create a P slave to side by making a line between two shades.
  2. Create a ClipMate and determine the parameters.
  3. Highlight the created line, right-click, and select Query Line Part.
  4. Choose a scalar quantity for the query.

Color the clip plane with the same variable for better visualization. This is a transient calculation, and the time component is shown here.

Adjusting Scale and Animation

  1. Edit and rename the axis, change its size, and animate to see how the axis works.
  2. Adjust the scale of the scalar quantity to see values at the beginning of the video.
  3. Open the Edit Axis menu and modify the y-axis with a maximum value of 1 and a minimum value of 0.

Rerun the animation to see the changes clearly.

Creating a New State and Spline

  1. Create a new state and disable the previous plot.
  2. Clone the clip plane and color it with a different parameter, such as velocity.
  3. Create a spline by selecting the tool and defining control points using the surface pick.

Connect the dots to define the main flow path. The coordinates for the data points on the spline are displayed on the screen.

Generating a Query on the Spline

  1. Open the Query icon and select Spline Over Distance from the sample drop-down box.
  2. Select the parameter as velocity and create the query.
  3. Plot the velocity over the entire spline and animate to see the changes over time.

The velocity changes slightly compared to the scalar quantity, as shown in the plot.

Using Python Scripts

  1. Go to File and select Command to view all steps performed.
  2. Copy all steps and paste them into the Python section to create a new Python script.
  3. Save the script and demonstrate by loading it into a new EnSight screen.

The Python script replicates the original file's setup, showcasing Python's utility in leveraging all features, including libraries.

Thank you for watching part 2 of the EnSight review.

[This was auto-generated. There may be mispellings.]

Hello, this is Ertan Taskin from Ozen Engineering and welcome to Part 2 of the ANSYS Inside Review. In this video, we will continue to use the same geometry from Part 1. Let's create a clip again. Go to Create, then Clips, and similarly, we will create a slice on this Z domain.

Select the part and create. Let's hide all the others. There you go, it's already here. Now, let's create a line on this surface for that purpose. We're going to go to Create, then Clip Section. The tool will be Line at this time.

The tool is already shown on the screen, so we can actually move this and place it here. Let's assume we wanted to put it here. It will be on this clip plane. Now, let's make it finite, so it's actually bound on the border of this plane.

As you see, the line is already created here and it's shown with the name ClipMesh Line. Let's create a P-Slave to side. We have to make a line between the two Shades here, and then let's create a ClipMate. Let's determine the name as A 233. These lines on the right side will query on this line.

So, in order to do that, we will highlight the line that we created. Right-click and select Query Line Part. Depending on what variable we will use, let's assume we will use a scalar quantity again. There you go, it's already shown here.

And let's color this clip plane with the same variable so we can have a better view. Okay, okay. Don't forget, this is a transient calculation, and the time component is already shown here.

As I showed before, we can edit and rename it, change the size, move it, and let me animate and see how the axis works. And let me populate this element. As you can see, the length has changed. We see the final result. Now, we're going all the way to the end, and let's pay attention here.

Level at 80. Let's do 16 major components. We don't want to broadly split the plot. Now, as you see, we did not adjust the scale of the scalar quantity. That's why we did not see any value at the beginning of the video when the quantity is high. So, let's adjust that.

Let's come here and open Added Axis. You will see there is a Query Part as well as the Plot Part. In the plot, we are in the x-axis. Let's modify the y-axis. I want to modify the y-axis here and put a maximum value of 1 and a minimum value of 0. And it's already adjusted. Let's rerun the animation.

Yes. Now, the change is totally visible. As we have done in the previous part, let's create a state and rename it. Beautiful. So, now I'll show you how to create a spline and make a query or a plot over that. So, for that purpose, let me create another state. Let's create a new state. There you go.

State 2. And in this state, I will disable that plot. As well as, color the clip. And let's make a new one. Let's make a new one. Let's make a new one. This is a clip plane. With a different parameter. So, let me clone this plane. So, we have another plane here.

And I will color this with velocity at this time. And I'll add this plane. And I'll add another plane here. And I'll add another plane here. And I'll add another plane here. And I'll add another plane here. Now, I'll create a spline over the spline.

So, while it is selected, call the tool, tool positions, editor function, tools, and spline. Hit a new one. There's a new description. We can change it, but I'll keep it like that.

In order to advance the spline with a selection, so I'll actually come here and define a control point using surface pick while pressing P on the keyboard. So, on the keyboard, I'm going to press on P and click the left mouse button from where I want to start to the spline.

Like here, for example, with P. Another. So, as you see, I'm actually connecting all these dots to each other while creating a spline. And I'm pretty much defining the main flow path in this case.

And on the screen, you see the coordinates are already shown here for the data points selected on this spline. And let's close this. And I will generate a query on that. For that purpose, let's come to the query icon again.

In this case, we will select at spline over distance selection from the sample drop-down box. There are many selections here, but this is particularly... it's going to be a spline for this case. And since we have only one, it's already selected here, the parameter will be velocity.

And let's create the query. And let's create the query. And let's create the query. I guess we're going to select the part here. Yeah. When we selected the clip plane, it's already plotted. Let's bring it back here. And...

As you see, this time, we plotted the velocity over the entire spline that we generated. Let's animate and see how it looks. Yeah. So, we can see that the velocity is not changing too much compared to the scalar quantity. But you see there are slight changes on the plot along the time. Okay.

Let's go to the state. We were at state 2. And I'm going to redefine the state so that it's already saved. One final thing that I'd like to show you today is how to use the comment section or the Python script option. Let's go to File, then Command.

And you will see here all the steps that we have performed so far to create the queries, the contours, splines, and lines, etc. They are all stored here. So, what we're going to do, we're going to select everything, copy, and go to the Python section and create a new Python line, and paste here.

Again, select all and convert this to a Python script. So, this is a new format for the Python script. And save it. And paste it here. And now, let's go back to the Python. Since this is saved already, let's make a demonstration. So, I'm going to bring a new inside screen here, blank.

Nothing is loaded here. And, um but we're going to load this python script and in order to do that, select the appropriate file and just wait. And as you see, that python script brought everything to us as it was on the original file.

So, this could be a very helpful tool to make use of all features of Python, including the libraries. This concludes Part 2 of the Inside Review. Thank you for watching.