Free Trial Version
0
Wishlist
0 0
Cart

Contact Us
EN

Let’s Simulate – Generation of Simulation-based Training Data for AI Models

CADFEM
Let's Simulate

How experts use automated Ansys processes to generate high-quality data sets for machine learning

AI-generated results are produced quickly. But where does cleverly selected training data come from to obtain credible results? In this series, Daniel Soukup and Dr.-Ing. Kevin Cremanns show how you can automatically generate samples via simulation calculations in Ansys... and how to select them in a clever way to maximize the predictive quality of your AI model. The Ansys Workbench projects are automated either with python, APDL or pyDPF. And the outputs of the training data shown range from individual parameters and curves to complete fields such as the stress field of a reshaped snap spring. This series is a must for all AI enthusiasts! 


Detailed agendas of this series

Duration of each episode: 30 minutes.

Season 1 - Data Preparation, Model Training, DoEs, and Outputs

Episode 1: Creating training data in Ansys Workbench
  • Presentation of the parameterization of a tuning fork geometry
  • The parameter set in Ansys Workbench
  • What format should the parameters be in?
  • Discussion of the parameter set in the text document
  • Importing the parameter set into the python programming environment “Spyder”
Episode 2: Preparing data for training a model
  • Defining the input and output parameters
  • How is the data saved?
  • Working in the python programming environment “Spyder”
  • Discussion of the input parameters in the Python programming Environment Spyder and Ansys Workbench
  • Help from Google or ChatGPT is common practice
  • Discussion of input and output correlations
Episode 3: Training and evaluation of a first model
  • Training one model for everything vs. training multiple separate models?
  • How to train multiple models
  • Using cross-validation to check the quality of a trained model
  • The first evaluation for sensitivities, contour plots and prediction measures
  • Prediction with a trained model and comparison with a "hard" calculation
Episode 4: Cleverly creating sample suggestions with AI
  • How python snippets in Mechanical can also be executed in batch mode
  • Good predictions on the trained model - lucky guess or actually good?
  • Sample creation (DOE) with AI for continuous and discrete parameters
  • What is the minimum amount of training data to start with?
  • Consideration of constraints
  • How AI determines the follow-up samples
Episode 5: Preparation of the fully automated adaptive DoE - Part 1
  • How can the process of adding a new design be fully automated?
  • Starting the scripting in Ansys Workbench
  • Analyzing the recorded journal file
  • What should a CSV file contain?
  • Finally, what elements need to be modified in the Python code?
Episode 6: Preparation of the fully automated adaptive DoE - Part 2
  • Review of the most important steps of the code in the Python programming environment
  • Reading the journal file into the Python programming environment
  • How do I find out how to read a CSV file?
  • Implementation of the necessary code in the Spyder environment
  • Convert the workbench script into code that the Spyder environment understands
  • Check the wbpj file before you go into batch mode!
Episode 7: Result of the fully automated adaptive DoE
  • What is the result of adaptive sampling?
  • Analysis of the result matrix of the DoE
  • How many designs are reasonable to calculate?
  • Workbench process is run in batch mode
  • Training the models by AI using the result of the Workbench process
Episode 8: Export of signals with APDL
  • Analysis of the geometry of a tensile specimen + boundary conditions in Ansys Mechanical
  • Consideration of the parameter set
  • Simulation of the tensile specimen in Ansys Mechanical - what does the curve of the tensile bar look like?
  • Explanation of the commands in the APDL script
  • Creating a new APDL script to read the results of the objects from the structure tree
  • What should the signals for using AI look like?
Episode 9: Exporting signals with Python
  • Continuation of the APDL script to prepare the signals for AI usage
  • Use a Latin Hyper Cube Sampling when doing a large DoE!
  • How and where are the different design points stored in a meaningful way?
  • Exporting the table data from the workbench
  • Read in the information from the design folders - make sure the designs are in the right order!
Episode 10: Resampling of signals
  • Plotting the curves using the Spider programming environment
  • Displaying the different force-strain curves
  • Writing a function for resampling
  • What difficulties arise when resampling?
  • Applying the resampling to the input parameters
Episode 11: Signals for the use of AI
  • Viewing the signals, which are now all the same length
  • Read in the material properties of the input parameters
  • Take enough time for data preparation!
  • Calling up the prediction measure
  • Plotting the simulation curve and the prediction curve together with the uncertainties
Episode 12: Fields with PyDPF
  • Analysis of the geometry and simulation of a disk spring
  • Consideration of the various parameters of the disk spring
  • PyAnsys libraries - what is PyDPF?
  • Use Named Selections at this point too!
  • Comparison of methods with scalar values, signals and fields
Personal words - additional thoughts from Daniel and Kevin

Finale of the DoE and AI series: Highlights include Python scripting, data preparation & prediction models – Daniel & Kevin look forward to your topic ideas!

💡 Let's Simulate - What is it?

Engineering software in action in series format

An exclusive service for CADFEM Learning Subscription customers.

Based on the "Let's Play" approach - known from the video game world - you will experience simulation software in action in this format. You look over the shoulders of experts as they work on the simulation model. In-depth engineering. Practical tips from years of experience. Each series with its own thematic focus.

Test Let's Simulate

Access the first 2 episodes for 30 days. Also for non-subscription customers.

Already a Subscription Customer?

As a customer of our Learning Subscription, you can directly access Let's Simulate in our Learning Center!

Your experts

Daniel Soukup
Solution Architect, CADFEM Germany GmbH, Grafing
Dr. Kevin Cremanns
Co-Founder & Chief Research & Development Officer, PI Probaligence GmbH

Placement in the CADFEM Learning Pathway

slide placeholder for 21202

Book now

Already a Subscription Customer?

As a customer of our Learning Subscription, you can directly access Let's Simulate in our Learning Center!

CADFEM Learning Subscription

Let's Simulate is an exclusive service for our CADFEM Learning Subscription customers. Order once, get 365 days of training. 

Test Let's Simulate

Access the first 2 episodes for 30 days. Also for non-subscription customers.