Omar Abed | Blog | SimScale Engineering simulation in your browser Fri, 13 Oct 2023 06:44:27 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.2 https://www.simscale.com/wp-content/uploads/2022/12/cropped-favicon-32x32.png Omar Abed | Blog | SimScale 32 32 Boost Your Turbomachinery Modeling with SimScale & CFturbo https://www.simscale.com/blog/turbomachinery-modeling-with-simscale-and-cfturbo/ Mon, 19 Jun 2023 10:20:43 +0000 https://www.simscale.com/?p=73446 The SimScale-CFturbo integration for turbomachinery modeling enables users to seamlessly create CAD models and run CFD & FEA...

The post Boost Your Turbomachinery Modeling with SimScale & CFturbo appeared first on SimScale.

]]>
SimScale, a cloud-native engineering simulation software used by global engineering firms, has extended its capabilities in the turbomachinery sector by collaborating with CFturbo to enable turbomachinery modeling. The integration is a coupled workflow between CFturbo and SimScale and is now available in the latest version of CFturbo.

This integration provides functionality for users interested in seamlessly creating CAD models of turbomachinery products such as turbines, pumps, compressors, and fans and running simulations to evaluate their blade profiles, pressure-flow characteristics, and efficiency requirements in SimScale.

CFD & FEA for Turbomachinery Modeling

Utilizing computational fluid dynamics (CFD) and finite element analysis (FEA) presents a valuable methodology for the design and analysis of pumps and turbomachinery systems, encompassing fluid, thermal, and structural behavior. CFD and FEA involve employing mathematical simulations within software programs to replicate the mechanics of fluids and structures, enabling the assessment of realistic assumptions.

These simulations encompass various heat transfer mechanisms, including conduction, convection, and radiation, as well as fundamental fluid behavior such as compressibility and turbulence. Consequently, CFD provides crucial insights into the behavior of moving fluids, offering data on parameters like velocity, temperature, and pressure. It also enables predictions regarding phenomena like cavitation, which arises when inadequate pressure at the pump’s suction end causes liquid to vaporize. In parallel, FEA empowers engineers to calculate loads, stresses, and failure points within pump and turbomachinery designs, facilitating comprehensive structural analysis.

Pressure visualization through a centrifugal pump using SimScale simulation for turbomachinery modeling
Figure 1: Pressure visualization through a centrifugal pump using SimScale simulation

Seamless Workflow from CAD to Simulation

With CFturbo, users can create completely new CAD geometries of turbomachinery products and modify existing designs. CFturbo guides the user step-by-step through the complete design process of a turbomachine, starting from as little as an initial design point as the input.

The CFturbo software now includes an export interface that lets its users export geometry from CFturbo and start simulating immediately in SimScale. The workflow is enabled using the SimScale application programming interface (API), which reads the exported 3D STEP file and related model settings from CFturbo and makes these simulation-ready for use in SimScale. Users can then follow the easy-to-use interface in SimScale to run simulations, post-process the results, and create insightful and compelling visualizations.

3D CAD model of the centrifugal pump in CFturbo, which is then exported to SimScale.
Figure 2: 3D CAD model of the centrifugal pump in CFturbo, which is then exported to SimScale
The export workflow in CFturbo showing the SimScale connector (bottom left)
Figure 3: The export workflow in CFturbo showing the SimScale connector (bottom left)

Key Benefits of the CFturbo-SimScale Combined Workflow

Simulation in the cloud leverages scalable high-performance computing with flexible pricing models and is a cheaper alternative to traditional desktop-based software tools. SimScale users for turbomachinery modeling also benefit from a binary tree-based mesher that results in a high-quality and more efficient mesh compared to competitive tools. The key advantages of using the CFturbo-SimScale combined workflow include:

  • Fast simulation time and the ability to perform scenario analysis in parallel using design point parametrization; even for intricate geometries, users benefit from accelerated simulation setup, runtime, and stable simulation convergence that lead to faster insights and design decisions.
  • Accurate simulations that allow users to create a full performance curve for a given design point and iterate on the baseline design
  • Leveraging the above for design of experiment (DoE) and optimization studies using third-party tools–enabled by the strong APIs in CFturbo and SimScale that come with examples and documentation on how to get started quickly.

Turbomachinery Modeling: From Pump Design to Simulation

Designing the Pump in CFturbo

An end-suction close-coupled (ESCC) centrifugal pump is designed in CFturbo. The following design features and operation requirements of the pump’s design point, or best efficiency point (BEP), are used as inputs to rapidly create the pump design from scratch:

Rotational speed (n)3600 RPM
Operating FluidWater @ 20° C
Flow Rate (Qdesign)227 m3/hr
Pressure head (H)70 meters

With the combination of the design point’s flow rate, pressure head, and rotational speed defined, the corresponding machine type is categorized as a medium-pressure centrifugal pump.

CFturbo’s Global setup window to define the pump’s design point parameters to create a baseline pump design from scratch
Figure 3: CFturbo’s Global setup window to define the pump’s design point parameters to create a baseline pump design from scratch

Pump Design Exported to SimScale for Simulation

The pump design that is generated based on an ideal design point requirement, however, will not necessarily perform exactly as intended. This is why a simulation tool such as SimScale is needed to predict and validate its actual performance. The CAD model and design conditions are seamlessly exported to SimScale and are ‘simulation-ready’. We have simulated five flow rates in parallel, and a 640K cell mesh is auto-generated when hitting the simulate button:

  • The full pump curve of five operating points is run in 40 minutes
  • Compute cost of obtaining the full pump curve is 10 core hours (CHs), equating to less than $3 USD of computing cost.

The SimScale Subsonic simulation predicted that the generated pump design’s pressure head at the design point flow rate would be 3.3% less than the specific pressure head.

Specified Design Point / BEPSimulated Design Point / BEP
Pressure head (H)70 m / 686.3 kPa67.7 m / 663.7 kPa

The shaft power and efficiency of the design point / BEP simulation results are as follows:

Shaft power required68.6 horsepower (hp)
Hydraulic efficiency at BEP82.7% (this is the calculated value using SimScale)

Looking at multiple operating conditions and their corresponding performance, a pump performance curve is generated using SimScale. The set of flow rates used is highlighted below, and the results of the simulation are plotted in the following pump curves.

Flow Rate (% of Qdesign)Flow Rate (m3/hr)
75%170.25 m3/hr
90%204.3 m3/hr
100%227 m3/hr
110%249.7 m3/hr
125%283.75 m3/hr
Pump performance curve generated using simulations in the cloud, showing pump head and pump efficiency in terms of flow rate for five different simulations
Figure 4: This pump performance curve is generated using simulations in the cloud. The five operating points represent one simulation each, and all five are run in parallel, saving significant time.
Pump power curve generated using simulations in the cloud, showing the required shaft power in terms of flow rate for five different simulations
Figure 5: This pump power curve is generated using simulations in the cloud. The five operating points represent one simulation each, and all five are run in parallel.
A pressure visualization through a centrifugal pump in the SimScale workbench to display turbomachinery modeling
Figure 6: Shown in the SimScale platform, a pressure visualization through the centrifugal pump
Velocity magnitude contour of an impeller flow relative to the local impeller wall rotational velocity
Figure 7: Velocity magnitude contour of the impeller flow relative to the local impeller wall rotational velocity.

Webinar with CFturbo

Watch this webinar where experts from SimScale and CFturbo walk you through the automated design-simulation workflow.

Design Using CFturbo, Simulate With SimScale: Accelerating the Design-to-Prototype Cycle

Set up your own cloud-native simulation via the web in minutes by creating an account on the SimScale platform. No installation, special hardware, or credit card is required.

The post Boost Your Turbomachinery Modeling with SimScale & CFturbo appeared first on SimScale.

]]>
Analysis of Cavitation Effects in Pumps https://www.simscale.com/blog/analysis-of-cavitation-effects-pumps/ Tue, 26 Jul 2022 08:35:04 +0000 https://www.simscale.com/?p=52136 SimScale offers engineers fast and accurate analysis capabilities for pumps, impellers, fans and other rotating machinery. Access...

The post Analysis of Cavitation Effects in Pumps appeared first on SimScale.

]]>
One of the leading causes of performance deterioration of pumps and turbines is cavitation, which refers to the formation of vapor bubbles inside the working liquid. Cavitation adversely manifests itself in vibrations, noise, and a drop in pump efficiency. If not correctly treated, it can cause equipment failure over time.

Access to simulation tools is critical at all design stages of pump and turbomachinery design to minimize performance issues later in product development. Simulation using SimScale can be used for cavitation modeling to understand its effect on the performance of real-life pumps.

A rotating machinery engineer working on a new product or component can import and edit their CAD model in SimScale to perform multiple analysis types such as computational fluid dynamics (CFD), structural, and thermal using automated workflows and intuitive user interfaces. A thorough treatment of the cavitation phenomenon and parametrically studying pump geometry is possible thanks to the practically unlimited computational power of engineering simulation in the cloud.

In this article, we demonstrate how to set up the process of a cavitation simulation, including how to identify cavitating flow and the essential design factors influencing the onset of cavitation, such as the net positive suction head required (NPSHR), cavitation number, and inlet sizing.

Propellers and pump simulation in the cloud using CFD for optimizing pump efficiency to decrease cavitation effects in pumps
CFD simulation of cavitation effects in pumps using the Subsonic analysis type

Fast and Accurate Pump Simulation

The advanced physics solvers in SimScale allow designers and engineers to study and optimize pressure drop and force behavior, evaluate fluid flow patterns, and manage cavitation effects. The SimScale Subsonic CFD solver is a multi-purpose analysis type designed explicitly for turbomachinery, propellers, and, more generally, anything that rotates within a fluid. It includes a robust meshing strategy that produces an automated and robust hexahedral cell mesh, using the body-fitted Cartesian meshing technique that significantly reduces mesh generation times by an order of magnitude.

It uses a finite volume-based solver optimized to handle a wide range of flow regimes, including: 

  • Incompressible (isochoric)
  • Compressible
  • Laminar
  • Turbulent

The highly parallelized meshing algorithm gives a higher quality mesh requiring much fewer cells to attain comparable accuracy to traditional discretization schemes. This technique leads to faster convergence and hence, faster simulations.

The Subsonic analysis type simulates incompressible and compressible flow, with turbulence modeled using the RANS equations and the k-epsilon turbulence model. A powerful feature of this analysis type is the built-in parametric capability for defining velocity inlet boundary conditions. At the simulation setup stage, users can define multiple inlet flow rates simultaneously that are then simulated simultaneously; these can also be uploaded using a spreadsheet with pump curve data.

Using Simulation to Study Cavitation in Pumps

Cavitation is the formation of vapor bubbles in low-pressure and high-velocity regions of liquids. In this example of a centrifugal pump, we are interested in using simulation to inform the adverse effects of cavitation that can cause damage to equipment, such as wearing impeller vanes, erosion of mechanical bearings, seals, and valves, and unwanted noise and vibration. Cavitation can also reduce flow performance for a pump. 

When the cavitation bubbles collapse, they generate shock waves that create mechanical vibration and acoustics noise. Cavitation in pumps is a critical real-world effect that SimScale factors into the CFD simulation of pumps, water turbines, marine propellers, or any rotating machine immersed in a fluid.

The compressible effects of the vaporization are modeled within the cavitation model separately from the incompressible CFD flow modeling. Since the overall flow volume is water in this example, an incompressible fluid, then incompressible flow modeling is selected. Cavitation properties of the water, or any other fluid, are characterized by setting the bulk modulus (or fluid elasticity), the saturation pressure, and its molecular weight, all defined in the materials library. The local flow characteristics, along with these material properties, determine the extent of the cavitation within the flow domain.

SimScale computes the space occupied by each phase (volume fraction), and the cavitation results are shown as the volume fraction of gas in the liquid.

Pump Simulation Setup

A simple workflow is required to complete the analysis for the centrifugal pump. 

Import & Prepare Geometry

Users can import many types of standard CAD file formats and use CAD connections with tools such as Onshape, Solidworks, AutoCAD, and more. The CADmode feature in SimScale allows users to perform basic CAD operations, extract the flow volume and define a cylinder as the rotating zone within the platform.

The pump geometry is imported from Onshape. The flow volume domain is extracted using the Internal Flow Volume extraction tool in CAD mode, and a cylinder is created to define the rotating portion of the pump.

Simulation Set Up

The next step is to create a Subsonic analysis type simulation from this flow volume geometry. The main steps an engineer would undertake to define the simulation are to assign: the flow material, the inlet and outlet flow conditions, and the rotational velocity of the pump.

Selecting the Subsonic analysis item at the top of the navigation sidebar gives access to toggle the cavitation modeling and time-dependency of the simulation (whether the simulation models steady-state or transient flow behavior). For this case, the material and cavitation properties of water are already integrated into the extensive SimScale materials library. However, other fluids can be defined based on their density, viscosity, and cavitation properties and saved in the database.

The flow rate going through the pump can be defined either at the inlet or outlet face, depending on the operating conditions the engineer wants to define; this can mean the pump system can be defined by a suction flow rate, a discharge flow rate, or a specified pressure difference. The flow rate condition can also be parameterized to a progression of flow rates so that multiple simulations at different flow rate conditions can be run in parallel.

The rotational velocity of the pump blades is defined within the Advanced Concepts → Rotating zones section, where the rotation axis also needs to be specified.

In the case of this centrifugal pump geometry, the following boundary conditions have been applied:

Case A: Varying Discharge Flow Rates

  • Inlet – flow rate sweep from 1 L/s to 11 L/s using velocity inlet boundary conditions.
  • Outlet – pressure outlet (1 atm) boundary conditions modeling ambient conditions.
  • Impeller – rotational speed around the vertical axis set to 500 radians/s
  • Physics – incompressible, fully turbulent flow

Case B: Varying Suction Pressure Heads

  • Inlet – flow rate of 11 L/s using velocity inlet boundary conditions.
  • Outlet – pressure outlet sweep from 3.4m to 6.2m of water head pressure
  • Impeller – rotational speed around the vertical axis set to 500 radians/s
  • Physics – incompressible, fully turbulent flow
Animation showing the fluid flow through a centrifugal pump simulated, showing inlet and outlet. The velocity is highest immediately after passing through the impeller to the outlet duct.

Meshing

The meshing process discretizes the flow domain into a finite set of cell volumes that aims to match the original geometry. Within the Subsonic analysis type, the workflow for generating the mesh is automated and robust in capturing varying levels of geometry detail; the user defines the level of mesh fineness on a sliding scale from 1 to 10.

The automated meshing process generates a body-fitted Cartesian mesh, ensuring the mesh quality is highly orthogonal. A manual process of defining the minimum, maximum, and target cell size is also available for further control of the process. For this centrifugal pump geometry used in this case, the mesh size was on the order of ~500K cells.

Post-processing 

The SimScale platform’s field results visualization tool allows engineers to understand the flow behavior throughout the entire flow domain. Some significant quantities to look at for a pump application include the pressure distribution, the flow velocity along with the velocity vectors, and the cavitation effects.

Cavitation is modeled within SimScale using the gas volume fraction quantity so the intensity of cavitation can be visualized just like any other field quantity. The use of cutting planes can give a planar view of the distribution of these field quantities, but the iso-volume feature presents the regions where specific field quantities fit within certain criteria; this can be used to get 3D insights on key flow behavior attributes that are of interest to the engineer, such as the extent of the cavitation behind pump blades.

The total gas mass fraction is visualized in SimScale, shown in the image below. In a region with a high volume mass fraction, there is a high chance of cavitation developing. When the flow hits the leading edge of the impeller, it accelerates and then creates low pressure. If this pressure drops below the fluid’s vapor pressure (water), it can lead to cavitation.

In this case, cavitation is seen around the impeller extending into the inlet pipe due to air bubbles trapped in the entire volute casing.

Understanding Cavitation in Pumps

We have simulated two-pump flow rates to ascertain the adverse effects of cavitation. The images below show significantly less cavitation with a higher flow rate of 11 L/s than 1 L/s. In the latter scenario, the higher pressure at the outlet creates an intense cavitation effect around the impeller. With this simulation setup, users might continue with additional flow rates and perform an optimization study on flow rate vs cavitation propensity.

Additionally, users can duplicate the entire setup and swap the geometry with an alternative CAD model design. This step would preserve all the simulation parameters and boundary conditions, and multiple pump designs can be evaluated in parallel. CAD Geometry variants to consider exploring should include various volute casing shapes, length of inlet and outlet pipes, and even the impeller profile. 

SimScale can also simulate all the points on a pump curve in parallel using the fast and accurate subsonic analysis type. Manufacturers provide performance curves that tabulate static pressure, power, rotational speed, and efficiency values per-flow rate conditions. This data is used for selecting and sizing pumps.

SimScale allows engineers to directly input the manufacturer’s data and simulate its performance. When designing new pumps, SimScale can calculate the pump curve for a design by running parametric studies that solve for a range of pressure/flow points. The highly parallelized algorithm allows a parametric study to run nearly simultaneously as simulating a single pressure/flow condition.

Other pump analysis types include static/dynamic loading, stress, and vibration analysis using the structural simulation capabilities in SimScale, making the platform a powerful tool for turbomachinery engineers.


Webinar: An Introduction to Cavitation Analysis in SimScale

This on-demand webinar shows a step-by-step demo of the cavitation modeling capability available in SimScale to understand its effect on the performance of a real-life pump. Gain a thorough characterization of the phenomenon of cavitation in pumps, along with an understanding of the design factors that lead to cavitation:

cavitation effects in pumps on-demand webinar

Set up your own cloud-native simulation via the web in minutes by creating an account on the SimScale platform. No installation, special hardware or credit card is required.

The post Analysis of Cavitation Effects in Pumps appeared first on SimScale.

]]>