Videos > TwinMesh with Ansys Workbench CFX and Parametric Analysis
Jun 22, 2024

TwinMesh with Ansys Workbench CFX and Parametric Analysis

Hello, this is Ertan Taskin from Ozen Engineering, Inc. In this video, we will explore the TwinMesh application with Workbench CFX and the setup of a parametric study. TwinMesh typically uses standalone solver applications. However, if a design engineer wants to perform a parametric analysis using Workbench, there is a workaround procedure. We will go through the steps one by one in this video.

Standard Setup and Export

The standard setup export to TwinMesh includes relative paths to the routine and grids. Therefore, we must set absolute references and ensure that each processing parallel has access to this location. We will use a three-dimensional eccentric screw pump as an example for this application.

Steps to Export Files from TwinMesh

  1. Export all files from TwinMesh by selecting File > Export All Files. This creates a new CFX pre-setup file.
  2. Save the setup file.
  3. Start the setup with the Essex Name szerif and display the sample name as SHAPE.
  4. Define the name of the designing item with a much better test established NFA housing.
  5. Select all files and enter the desired file name.

Creating a New Workbench Project

  1. Create a new Workbench project.
  2. Create a CFX component by right-clicking and importing the case file that was just generated.
  3. Edit the imported case file.
  4. Before proceeding further, save the Workbench project.

Setting Up the Project Directory

TwinMesh creates different grids for this pump operation based on the settings. We need to:

  • Copy the directory generated by TwinMesh to the user directory for the new project.
  • Specify an absolute path for the grids folder in the CFX pre-setup.
  • Edit the command editor to define the exact location of the grids.
  • Copy the folders Linux AMD64 and WinNT AMD64 into the same user folder as the grids.
  • In CFXPRI, navigate to user routines, right-click, and edit in the command monitor editor to provide the exact path location.

Defining Input and Output Parameters

To perform a parametric analysis, we need to:

  1. Set an input parameter, such as the parametric inlet condition or boundary condition.
  2. Run the case in Workbench.
  3. Stop the iterations at the fifth time step for demonstration purposes.
  4. Open CFD Post to set an output parameter, selecting power as the output parameter.

Completing the Parametric Analysis

Once the input and output parameters are defined, we can:

  • Update all design points.
  • Note that the output parameter numbers may not make sense here due to the low iteration count for demonstration purposes.

In this video, we demonstrated the TwinMesh application on Workbench CFX and how to set up a parametric analysis. Thank you for watching.

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

Hello, this is Ertan Taskin from OZEN Engineering and this video is about "TwinMesh with Ansys Workbench CFX and Parametric Analysis." TwinMesh typically uses standalone solver applications.

However, if a design engineer wants to perform a parametric analysis using Workbench, there is a workaround procedure, and we will go through the steps one by one in this video. The standard setup export to TwinMesh includes relative paths to the routine and grids.

So we have to set the absolute references and take into account that each processing parallel has access to this location. For this application, first, we will use a three-dimensional eccentric screw pump as an example. We will export all files from TwinMesh, which creates a new CFX pre-setup file.

Save the setup as a "knife" file and "knife minor dist." Let's start the setup and define the name of the designing item with a better test established NFA housing. Select all files, enter the desired file name, and close it.

Create a new Workbench project, and on this Workbench project, create a CFX component. Right-click and import the case file that we just generated. Edit it. Before proceeding with the project, let's save our Workbench project.

TwinMesh creates different grids for this pump operation based on the setting. Bring the directory that TwinMesh is generated to the user directory for this new project. Copy and paste it in it. Specify an absolute path of this grids folder in the CFX print.

Set an input parameter since we aim to perform a parametric analysis with this Workbench application. Define one of the parameters as "workbench" as the parametric inlet condition, boundary condition. Run the case. We can see how the project works along with the parameters.

Set up a page for the output parameters. For instance, this page. I will talk about that. Let's see the actual video of our successful CFD Workbench project. For the sake of this video, I stopped the iterations at the fifth time step and we will continue with the parametric settings.

Let's close this and come back to the results because we would like to set an output parameter. For that purpose, open the CFD post. Go to the expressions and select the power as the output parameter. Make new variables here. With that, all the design points are completed and outputs are obtained.

Note that the numbers on the output parameters may not make sense here because for demonstration purposes, I kept iterations on a very low end. In this video, I demonstrated a TwinMesh application on Workbench CFX and also how to set up a parametric analysis. Thank you for watching.