Paul Lethbridge | Blog | SimScale https://www.simscale.com/blog/author/plethbridgesimscale-com/ Engineering simulation in your browser Thu, 01 Jun 2023 11:26:16 +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 Paul Lethbridge | Blog | SimScale https://www.simscale.com/blog/author/plethbridgesimscale-com/ 32 32 NEW Features: CAD Associativity, Solver & Post Processing Tools https://www.simscale.com/blog/simulation-updates-cad-associativity-solver-post-processing-tools/ Thu, 21 Jul 2022 14:13:02 +0000 https://www.simscale.com/?p=51694 As a cloud-native application, SimScale is able to continuously release new features, and perform regular product maintenance on...

The post NEW Features: CAD Associativity, Solver & Post Processing Tools appeared first on SimScale.

]]>
As a cloud-native application, SimScale is able to continuously release new features, and perform regular product maintenance on the fly. We realize that it’s often difficult to keep up with the latest news so we periodically group new features from the past quarter into a product update webinar, and this blog showcases all of the main new features released in Q2 2022. Enjoy!

Immersed Boundary Method (Beta)

The Immersed Boundary Method (IBM) represents a major new Beta feature release allowing engineers to solve the most challenging thermal simulations faster and more robustly. This capability has been developed on top of our existing finite volume solver for conjugate heat transfer analysis type that solves for conduction, convection, and radiation heat transfer between solid and fluid domains.  

The SimScale IBM solution uses a cartesian grid that the fluid and solid geometry get immersed into. The mesh generation is much faster and much more efficient in terms of cell count and solution speed than a typical finite volume mesh/solver. The method does not require any CAD simplification even for very complex models and allows engineers to turn around complex thermal simulations in minutes instead of hours.

IBM Feature Summary 

  • Automatic, parallel generation of CAD-adapted mesh
  • Same underlying finite volume solver as for body-fitted meshes
  • Works for internal & external flow setups
  • Applicable to any conjugate heat transfer application (examples are electronics, lighting luminaires, heat exchangers)

Use Case & Benefits

  • Solves challenging electronics thermal management/electronics cooling applications
  • Drastically accelerates CAD-to-Results time —enables more design iterations faster
conjugate heat transfer simulation of a passively cooled LED luminaire using the new SimScale IBM
Example conjugate heat transfer simulation of a passively cooled LED luminaire using the new SimScale Immersed Boundary Method.

New Meshing & Result Controls

For the rotating machinery and flow control application area we have developed new mesh controls and results controls for the Subsonic Analysis type. 

New Meshing Controls

For meshing, we now have the ability to control the mesh size locally. One or more mesh refinement zones are defined by geometry primitives that are created under the Mesh Setting > Refinement menu. A target cell size can then be defined for each primitive.

Image showing example of local mesh refinement around a quadcopter drone geometry
Example of global and local mesh refinement around a quadcopter drone geometry. The local refinement is applied around one of the four rotors in this case.

This new capability works seamlessly with our existing automatic global mesh generation and global refinement controls, the latter has also been improved. The net result is that users now have more efficient and robust meshing, plus very precise control over meshing in regions of interest such as around rotors/impellers, and small geometric features which in turn results in a more accurate solution.

New Results Controls

For results controls, users can now monitor Subsonic solver results in real-time, enabling them to understand if the simulation is headed in the right direction and also get intermediate solutions for cases with longer run times.

Image showing the results of a quadcopter drone CFD simulation using the new mesh refinement capability applied.
Example of a quadcopter drone CFD simulation results (velocity contours) using the new SimScale mesh refinement capability.

Meshing & Results Controls Feature Summary 

  • Control over local mesh sizing is now also available in the ‘Subsonic’ Analysis type
  • All results quantities (3D + 2D) are now immediately available when computed, real-time.

Use Case & Benefits

  • Rotating Machinery and Flow Control
  • Enables increased simulation accuracy while decreasing computational demand
  • Monitor simulation results during runtime and react if needed

Simulating Cavitation

Another new feature for the rotating machinery and flow control application area is the Cavitation model for the Subsonic Analysis type.

Cavitation is the formation of bubbles in a liquid when local pressure falls below the liquid’s vapor pressure. When the pressure rises, these bubbles collapse and create localized shock waves. Cavitation can occur in pumps, hydraulic turbines, and marine propeller applications, and we should care about it because it can impact product performance (e.g. reduced flow rate), and usually causes damage/erosion to parts, plus generate noise and vibration.  

SimScale uses the constant gas mass fraction model, and the cavitation results are available as total gas volume fraction, plotted as a 3D field variable. This enables users to easily predict and mitigate the risk of cavitation.

Image showing a cavitation simulation of a centrifugal pump with total gas volume fraction 3D contours shown.  mesh refinement capability applied
Example of cavitation simulation of a centrifugal pump. Total gas volume fraction 3D contours are shown, red regions have larger gas volume fraction (higher probability of cavitation)

Cavitation Feature Summary 

  • Constant gas mass fraction model
  • Results are shown in 3D as total gas volume fraction (Field variable).

Use Case & Benefits

  • Applicable to turbomachinery and flow control
  • Enables a more realistic simulation of fluid behavior
  • Provides design insights to avoid/minimize cavitation

Atmospheric Boundary Layer Inlet Boundary Condition

For Architecture, Engineering, and Construction (AEC) simulations relating to external wind prediction, building aerodynamics, and pedestrian wind comfort (PWC), we have introduced the ability to define an atmospheric boundary layer inlet boundary condition. 

Users input three parameters (Reference Velocity, Reference Height, and Ground Roughness) and SimScale takes care of setting up the logarithmic boundary condition by automatically calculating the velocities and turbulence quantities. This provides a far more accurate representation of the atmospheric boundary layer, in turn resulting in simulations that closely match the real world.

Image showing the logarithmic atmospheric boundary layer boundary condition visualized for urban, sub-urban to coastal areas.
The logarithmic atmospheric boundary layer boundary condition visualized for urban, suburban to coastal areas.
results of a city/building aerodynamic study employing the new Atmospheric Boundary Layer Inlet Boundary Condition
Example of a city/building aerodynamic study employing the new Atmospheric Boundary Layer Inlet Boundary Condition

Atmospheric Boundary Layer Inlet Boundary Condition Feature Summary 

  • New Boundary Condition —Atmospheric Boundary Layer Inlet
  • Specify wind speed based on a logarithmic law, by defining reference height, reference speed, and ground roughness

Use Case & Benefits

  • AEC / Aerodynamics  
  • Velocity and turbulence quantities are automatically defined
  • Enables a more accurate representation of the atmospheric boundary layer

Optimized Surface Data Export 

A second new feature for AEC applicable to incompressible Pacefish® Lattice Boltzman (LBM) solver and Pedestrian Wind Comfort (PWC) based simulations is the ability to optimize surface results data export to specific surfaces/regions. The LBM solver is a transient/unsteady flow solver which inherently results in large results datasets. Although such large datasets are typically not an issue for our cloud-native platform, there are cases where it is beneficial to reduce the dataset either for more efficient results visualization or for further downstream post-processing on a specific subset of the data.

mage showing a Pedestrian Wind Comfort (PWC) study showing assigned faces that will be included in the surface data export
Example of a Pedestrian Wind Comfort (PWC) study showing assigned faces that will be included in the surface data export

Optimized Surface Data Export Feature Summary 

  • Statistical averaging —available for incompressible (LBM) or Pedestrian Wind Comfort (PWC) simulations 
  • Selecting the ‘surfaces of interest’ for which the results data should be exported

Use Case & Benefits

  • Applicable to AEC / Pedestrian Wind Comfort (PWC)
  • Reduces simulation runtime, lowering simulation cost
  • Produces a more manageable results dataset

Base Excitation – Vibration Testing 

In response to requests from our electronics industry customers, we have introduced a base excitation boundary condition for structural harmonic analysis. This new boundary condition allows users to define an excitation applied to a structure, defining the magnitude, direction, and phase angle of acceleration. 

The Base Excitation acceleration magnitude can be specified either as a constant value or as a function of frequency using a table input. This allows evaluation of a structure’s response spectrum against a known acceleration spectrum such as industry-standard vibration/shaker table tests, or seismic loads.

Example of a base excitation applied to an electronics enclosure assembly.

Base Excitation Feature Summary 

  • New Boundary Condition: Base Excitation
  • Specify direction, acceleration magnitude, and phase angle

Use Case & Benefits

  • Relevant for engineers performing vibration testing,  especially useful for electronics PCB and components testing
  • Used to predict the stresses within the structure under external excitation

Personal & Shared Materials Data Management

There are two new important features released that provide  the ability to manage materials and materials data in a better way across projects, and across users within an organization: 

  • Personal Materials Library: This allows individual users to import and define their own custom materials that can be managed for use across all of their projects.
  • Company Materials Library: Available to SimScale Enterprise or Team accounts is the ability to define a set of materials centrally and then share it across all users in a team or organization. Organizations can now centrally control what materials engineers use in their simulations, ensuring consistency, and adherence to best materials practices. The materials data can be uploaded programmatically via the SimScale API, allowing companies to import and synchronize data from their own or preferred third-party material libraries.
 Image showing Materials Data management in the SimScale UI. Highlighting an example of a shared and personal library, with the standard (Default) material library shown for reference
Materials Data management in the SimScale UI highlighting an example of a shared and personal library, with the standard (Default) material library shown for reference.

Personal & Shared Material Libraries

  • Personal Library: Users can create and save their own custom materials, for use in the same or other projects.
  • Shared Library: Allows users and companies to create, save and maintain a custom set of materials via the SimScale API
  • Shared Library: Upload supports JSON format.

Use Case & Benefits

  • Ensure the use of consistent materials data across projects, users, and organizations.
  • Avoids the manual, time-consuming, and error-prone process of copy-pasting material properties.
  • Personal Library: Users can save time by creating a personal material database used across multiple projects, compared to editing and generating custom materials for each project as needed.
  • Shared Library: Companies can save time by deploying material databases that are available to all users rather than each user creating custom materials. Avoids errors due to inconsistent material properties being used by different users in different teams or departments.

Side By Side Post Processing 

SimScale has a fully integrated post-processor offering 3D visualization of the result fields, including 3D animations. The new Results Comparison View provides the ability to compare results from two different simulations side by side (from either the same camera angle, and same zoom level, or using a decoupled camera mode). This provides designers & engineers with the ability to quickly and clearly see before and after results from multiple design iterations.

Animated image showing the new results comparison post-processing feature for two different product design iterations, same camera angle
Example of the new results comparison post-processing feature, showing the same camera angle for two different product design iterations. The LHS image shows a CNC milling machine with a relatively thin vertical support with high von Mises stress contours shown in red. The RHS image shows the improved design with a much thicker, reinforced vertical support showing considerably less stress.

Results Comparison View Summary 

  • Split screen comparison view, enabling ‘side by side’ design comparisons
  • Cameras can be synchronized

Use Case & Benefits

  • Two designs can simultaneously be investigated and differences understood, without having to cut and paste screenshots and struggle with matching camera views and/or scale differences.

Export Animated Results in MP4 Format

Highly requested from our enterprise customers, another new post-processing feature is the ability to export animated results in either gif or MP4 format. Prior to this users would have to have access to external screen capture video processing software, so this new feature makes this process far easier and faster for SimScale users.

Example showing the export of animation from the SimScale platform in MP4 format.

GIF & MP4 Format Export Summary 

  • Native videos can now be exported in gif and MP4 formats.

Use Case & Benefits

  • Eliminates the need to use a screen capture tool for videos.
  • Allows to easily export and share animated results in standard format with simulation stakeholders. 

Surface Wrapping for Faster External Aerodynamics Simulations 

In the real world, most simulation engineers often have to deal with geometry that isn’t well prepared for simulation. Examples are missing facets, self-intersecting surfaces, and holes where there shouldn’t be any. Cleaning up complex CAD geometry can be an onerous task and can take hours of work that could otherwise be applied to more productive simulations! Surface Wrapping is a new pre-processing feature that makes simulation more accessible by taking away the need to clean up CAD geometry. Surface Wrapping was developed specifically for external aerodynamics applications, such as CFD simulations on cars, aircraft, or building aerodynamics, really any aerodynamics application where the CAD model may have excessive detail that is not important for the simulation. It can wrap and “seal” a complex surface CAD model in seconds, saving considerable geometry preparation time. The resultant geometry is watertight and a real CAD entity that is ready for simulation.

Image showing Surface wrapping a vehicle CAD model consisting of about 650 separate sheets. Surface wrap took approximately 30 seconds in this case
Surface wrapping a vehicle CAD model consisting of about 650 separate sheets. Surface wrap took approximately 30 seconds in this case.

Surface Wrapping Summary

  • New CAD operation creating a watertight clean solid from any underlying geometry
  • Fully automatic with optional parameters to adjust fineness etc.

Use Case & Benefits

  • Vehicle / Building Aerodynamics
  • Reduces manual CAD preparation time
  • Enables the simulation of a certain class of models that could not be simulated otherwise (e.g. scanned models, bad surface models, etc.)

Associative CAD Geometry Import

CAD associativity is a major new workflow enhancement for SimScale that makes it really easy for users to quickly simulate different design iterations imported from their CAD system. Once a user has imported a CAD model and has set up their simulation, this new feature then allows the user to select a different design iteration of the model from their CAD system and swap it with the initial model in SimScale, retaining the simulation setup. This saves considerable simulation setup time. This CAD associativity capability is currently available for Onshape® and also with Solidworks using the SimScale Solidworks® Plugin for associative CAD import.

AD associativity with OnShape showing two design iterations of an automobile valve/cylinder head cover shows the reinforcements being considered in OnShape
 two design iterations in SimScale (also using the new Results Comparisons feature
CAD associativity with OnShape showing two design iterations of an automobile valve/cylinder head cover. The top animation shows the reinforcements being considered in OnShape, the bottom image shows the two design iterations in SimScale (also using the new Results Comparisons feature).
 Image showing CAD associativity with Solidworks with two design iterations of a spreader beam. Top image shows the geometry in Solidworks with the weight reduction holes being considered, the bottom image shows the two design iterations in SimScale (also using the new Results Comparisons feature)
Example of CAD associativity with Solidworks showing two design iterations of a spreader beam/gantry. The top image shows the geometry in Solidworks with the weight reduction holes being considered, the bottom image shows the two design iterations in SimScale (also using the new Results Comparisons feature).

Associative CAD Geometry Import Summary 

  • CAD Associativity for Onshape®
  • Solidworks® Plugin for associative CAD import
  • Allows geometry to be swapped retaining load and boundary condition assignments

Use Case & Benefits

  • Both OnShape and Solidworks users can directly import models without having to export and then import them into SimScale resulting in a more convenient data transfer.
  • Saves time and allows users to rapidly explore multiple CAD designs without having to remap simulation assignments.

Calculate New Result Fields Based on Existing Fields

The new results field calculator is a new post-processing feature that allows users to calculate new results fields from any pre-existing results fields. Users can now develop customized results plots to meet their specific needs without having to leverage external post-processing tools. Any existing result fields can be used in the definition of the new field, so you can use other derived results fields to build up more complex expressions.

 example of the new field results calculator in action. Here the Factor of Safety is being calculated for the shaft of an electric motor
New field results calculator. Here the Factor of Safety is being calculated for the shaft of an electric motor, defined as 250 MPa divided by the von Mises stress results field.

Results Fields Calculator Summary

  • Calculate derivative scalar and vector fields on the fly with mathematical operators
  • Any existing result fields can be used in the definition of the new field

Use Case & Benefit

  • General —all simulation types
  • Customize your results in the post processor to visualize your specific needs 
  • Avoids the need to export results to external post-processing tools or spreadsheets

Take These New Features for a Spin Yourself 

All of these new features are now live, in production on Simscale, they are really just one browser window away from you! If you wish to try out these new features for yourself and don’t already have a SimScale account then you can easily sign up here for a SimScale trial.

Follow along yourself in our on-demand webinar where our experts discuss and demonstrate these new features, highlighting their application, and benefits:

From Robust CAD Model Handling to New Solver & Post Processing Capabilities

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 NEW Features: CAD Associativity, Solver & Post Processing Tools appeared first on SimScale.

]]>
Automated Mesh Refinement and Workflow Enhancements for Turbomachinery and Pumps https://www.simscale.com/blog/automated-mesh-refinement-workflow-enhancements-turbomachinery-pumps/ Tue, 24 May 2022 07:07:57 +0000 https://www.simscale.com/?p=50616 The accurate simulation of turbomachinery, pumps, and propellers is traditionally viewed as a non-trivial process, reserved for...

The post Automated Mesh Refinement and Workflow Enhancements for Turbomachinery and Pumps appeared first on SimScale.

]]>
The accurate simulation of turbomachinery, pumps, and propellers is traditionally viewed as a non-trivial process, reserved for highly experienced computational fluid dynamics (CFD) analysts that represent a significant investment of time and resources for a company. The outcome that I often see is that many companies rely on physical prototyping for design iterations. Nine times out of ten results in sub-optimal products and significantly delayed product releases. This “simulation accessibility” problem stems from the complexity of traditional CFD tools (baffling UI’s with steep learning curves) combined with the high cost of software ownership. SimScale’s cloud-native simulation platform provides an intuitive CFD solution for turbomachinery designers and engineers directly in your browser, with no software or licensing to install, in-product live chat support, integrated tutorials, and documentation that provide an eminently more accessible simulation solution. We have recently added several exciting new features to our proprietary CFD technology, including automatic mesh refinement, enhancing the user’s simulation workflow experience, improving results accuracy, and speeding up solution times. These build on the recently released transient analysis capability and demonstrate Simscale’s commitment to this industry segment.

Axial centrifugal compressor CFD fluid flow streamlines

Automated Mesh Refinement

A robust, automated body-fitted mesher with local refinement has been specifically developed for turbomachinery/pump applications. This new capability consists of two related features: An improved automated global mesher and the semi-automated local refinement feature. Together they provide users with more granular mesh control around areas of interest such as rotor/impeller blades, rotor wake, or any small features that could be important to factor into a simulation. 

The resultant body-fitted meshes are highly optimized and yield accurate results whilst considerably reducing the numerical problem size. Thus yielding proportionally faster solution times and consumption of fewer CPU core hours boosting an engineer’s productivity. Here are some examples: 

Automated Global Mesher

The new global mesher is very robust and able to handle complex CAD geometry with minimal cleanup. When Automatic Mesh settings are chosen, a Fineness slide bar is available allowing a value between 1 to 10 to be set as shown below:

The automated global mesh settings UI dialog box from the simscale Workbench platform
Automated global mesh setting dialog box showing the slide bar or numerical entry (1 = Coarse, 10 = Fine)

Below is an example of the new mesher applied to a drone/UAV quadcopter, where the new global mesher achieved approximately a 50% reduction in mesh size (number of cells) with the same accuracy, and a 20-30% reduction in solver runtime.

simscale global mesher applied to quadcopter UAV/drone geometry
detailed view of the new SimScale global mesher applied to quadcopter UAV/drone geometry.
Automated global mesh of a drone quadcopter model.
Top: The old global mesher is shown with no local refinement.
Bottom: The new global mesher output with local refinement around one of the four rotors.

Local Mesh Refinement

This feature allows a user to specify a target cell (element) size for the model contained within a defined geometry primitive (either a cylinder or cartesian box), and as such enables both fine or coarser mesh regions to be defined.

The settings UI dialog box from the simscale Workbench platform showing the target cell size dimension and geometry primitive selection settings
The settings dialog box for the target cell size and geometry primitive used to define the mesh refinement region

The mesh coarsening approach can be effectively used to reduce the numerical problem size (the number of cells/elements) substantially by defining a relatively coarse mesh in less important regions of the model such as in the upstream or downstream far field. Any number of refinement regions can be defined with independent degrees of refinement, plus this feature can also be used in conjunction with SimScale’s automatic global mesher that acts on the entire model for further control over the meshing. Here’s an example of the local mesh refinement applied to the impeller region of an axial centrifugal compressor:

four detailed views of the automated global mesh refinement of an axial centrifugal compressor geometry.
Global and local mesh refinement applied to an axial centrifugal compressor geometry (flared inlet & impeller) side sectional and along the axis views compared before and after local mesh refinement.
Top: Shows just the global automated mesher results.
Bottom: Shows the results of local mesh refinement around the impeller and compressor blades.
Right: Detail view along the axis of the compressor showing very fine mesh refinement around the blades & wall of the inlet.

Workflow Enhancements

We’ve also released several workflow enhancements to help users accelerate parametric design iterations and save time when setting up their simulations.

Onshape® CAD Associativity

A very common workflow is to swap geometries being simulated in a project to compare the performance of similar variants. In such cases, with most simulation tools, the user will have to re-assign all of the loads and boundary conditions to the geometry, and this can take a significant amount of time. This new feature automates the assignments and/or retains as many assignments as possible between similar geometries when using geometry from Onshape®. This makes it very easy to run simulations with multiple versions of a part or assembly, and can even be automated through the use of the Simscale API. Note that this is a distinct feature from parametric geometric variation where one or more dimensions are varied per simulation.

shows a UI dialog box from the simscale Workbench platform for selecting a new CAD geometry to simulate relating to the new OnShape CAD Associativity feature. Several geometries are listed and a red arrow indicates that the user is going to swap a new geometry to simulate. In this case the geometry version called Axial_Pump_Design_1 is being swapped to simulate a new geometry iteration called Axial_Pump_Design_2
The dialog box for selecting a new geometry to simulate. In this case, the red arrow indicates Axial_Pump_Design_1 being swapped to simulate a new geometry iteration called Axial_Pump_Design_2.

Personal Material Library

While commonly used materials like steel, iron, aluminum, etc are provided in the default material library, users are able to create custom materials within a project. The new Personal Material Library extends this functionality by allowing users to create their very own Materials Library that can be shared across projects.

a UI dialog box from the simscale Workbench platform for the personal material library setup.
The dialog box for the personal material library set-up showing user custom materials, grouped under different folders for easy distinction and access.

Visual Result Comparison

Users can investigate two models side-by-side, matching field result viewing angles, cut plans, contours, and legends allowing for a direct comparison. This feature is valuable in highlighting differences (or similarities) in results, especially when simulating variations of the same design. The two side-by-side comparison views can also be decoupled, allowing independent exploration of each model. This can be very useful when generating images for reports/presentations, for example when an engineer needs to maintain global context while showing a zoomed-in or rotated view at the same time.

side-by-side results visualization in the simscale platform showing an example of fluid temperature results within a heat exchanger.
Side-by-side results visualization in the SimScale platform. This is an example of fluid temperature results within a heat exchanger, the model on the right-hand side has more heat exchanger tubes yielding a reduced (improved) temperature in the fluid.

Cloud-Native Simulation for Turbomachinery Applications

SimScale is committed to making fast and accurate simulation accessible to designers and engineers involved with developing turbomachinery, pumps, and propellers enabling simulation adoption throughout the product’s lifecycle. Our proprietary simulation technology is already helping companies in this industry realize significant product research, development and manufacturing costs, and resource savings, which in turn allows them to bring better, innovative products to market faster.


Learn even more in our on-demand webinar, Automated Mesh Refinement and Advanced Physics for Rotating Machinery. See how local mesh refinement can be used to create high-quality meshes for rotating machinery applications while optimizing simulation turnaround time and core-hour utilization:

on-demand webinar, Automated Mesh Refinement and Advanced Physics for Rotating Machinery

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 Automated Mesh Refinement and Workflow Enhancements for Turbomachinery and Pumps appeared first on SimScale.

]]>