Free Trial Version
0
Wishlist
0 0
Cart

Contact Us
EN

Let’s Simulate – Automated Reporting for Simulation Tasks

CADFEM
Let's Simulate

Ansys Mechanical Scripting & Ansys Dynamic Reporting: Create reports of your Mechanical & Fluent simulations automatically!

Create your simulation reports automatically and reuse the template again and again! Is documenting your simulation projects taking too much time? In this series, Susanne Haase, Elisabeth Treml, and Dr.-Ing. Sandro Gierth show you how to automatically generate a PowerPoint report directly from your simulation model using Mechanical Scripting and Python scripting.
Starting from a completed simulation, the team builds a script step by step that documents the most important project information – from geometry, meshing, and boundary conditions to results and material data – without any manual copy-paste. As a practical best-practice tip, the series also demonstrates how to help yourself when a command isn't readily available. The result: a reusable script that can be applied to your own simulation projects.


Detailed agendas of this series

Duration of each episode: 30 minutes.

Season 1 - Automation with Mechanical Scripting

Episode 1: Initial situation – simulation model and report template
  • Lisa presents the rubber boot seal
  • Discussing the report template
  • Which parts should be created automatically?
  • Adjusting the slide master
  • Selecting the required report slides
Episode 2: First steps
  • Script editors and Python commands
  • Where can I find the corresponding commands? – Help yourself with the Discuss forum
  • Use the Microsoft Copilot!
  • Creating the title slide with mechanical scripting
  • How can the font size be changed?
Episode 3: Creating images
  • Adapting the font size of the title
  • Filling the title slide
  • What is the difference between image and figure?
  • When are figures useful?
  • Can the view of the model be changed from figure to figure?
Episode 4: Saving Images
  • Adapt the figure code
  • Export the figures to the report
  • Help: Microsoft Copilot
  • Avoid error accumulation - just keep clicking Run!
Episode 5: Importing Images
  • Ansys Forums - Image Export
  • What information about the image do you need?
  • In dark mode, white areas could disappear!
  • Definition of the path of the image file
  • Function to generate the image
Episode 6: Mesh
  • Finish geometry slide
  • Properties to mesh
  • Report element quality
  • Merge individual scripts
  • Boundary conditions
Episode 7: Tables for constraints #1
  • Add tabular data to the report
  • How do I access the project name?
  • Make sure that the PowerPoint file is always open!
  • Programming a table
  • Use loops to simplify things!
Episode 8: Tables for Constraints #2
  • Adjusting the table size for the constraints
  • Creating a function that fills the table
  • Debugging - Error message: Object does not exist
  • Define elements before using them!
  • Keep track of your PowerPoint file!
Episode 9: Tables for Results #1
  • Programming the results table
  • Processing any error messages that occur
  • Documenting the penetration
  • Clean up your code every now and then!
  • Creating a graph of the results
Episode 10: Tables for Results #2
  • Enlarging the created image of the graph
  • Make sure that files are not overwritten!
  • Documenting the total displacement
  • Documenting the minimum and maximum stress
  • Adding intermediate slides
Episode 11: Structuring the report
  • Hiding the legend within the figures
  • Adapting already exported images
  • What's the catch? - Image settings can help!
  • Creating a section slide
  • Maintain a structure when programming your script!
Episode 12: Getting an overview
  • Susanne has tidied up the script
  • Analysis of the structured code
  • Which report slides have been created so far?
  • What information about the material should be documented?
  • Which commands are necessary?
Episode 13: Linear-elastic material data
  • Creating a table for the material data
  • Filling this table with the appropriate values
  • What type do the given values correspond to?
  • Defining the desired units
  • Developing the function
Episode 14: Non-linear material data
  • What material laws are behind the materials?
  • Focus on linear data
  • Creating the Neo-Hook graph
  • How is this graph added to the report?
  • Generating the data table in Excel
Episode 15: Creating charts
  • Troubleshooting: the Excel table imports old data
  • Adding the chart slide
  • Try to keep an overview!
  • Solution found – Excel table contains the correct values
  • Evaluating the entire completed report on the rubber boot seal
Personal words - additional thoughts from Susanne and Lisa

Finale of “Automated report generation for simulation tasks”: Lisa & Susanne have reached a conclusion and look forward to your feedback!

Season 2 - Automation with Ansys Dynamic Reporting

Episode 1: Initial situation – simulation model and report
  • Presentation of the simulation example in Ansys Fluent
  • Creating a template: Ansys Fluent Simulation Report
  • Report in PowerPoint
  • Overview in Ansys Help
  • Ansys Dynamic Reporting
Episode 2: Uploading data to the server
  • Image creation in Fluent
  • Querys: Querying items from the database
  • Uploading files via Ansys Dynamic Reporting
  • This method can also be used for other files!
  • Discussion of the report template
  • Activating beta features
Episode 3: Getting started in the Template Editor
  • Enabling beta features
  • Report generation
  • Defining the parent layout
  • Report Template Editor
Episode 4: Editing the title slide
  • Uploading the PowerPoint file to the server
  • Discussing the user interface of the ADR Template Editor
  • PPTX Template Properties
  • Orientation to the report template
  • Evaluating the result in the slides
Episode 5: Inserting a text slide
  • Uploading the current report
  • Filling a text slide
  • Working with queries
  • Creating queries to add data to slides
  • Do two lines of text work?
Episode 6: Inserting a slide with an image
  • Using the slide master
  • Editing text placeholders
  • Result of image slides in PowerPoint
  • Layout control using tags
  • Changing headings
Episode 7: Automation with Python
  • Getting started with scripting
  • Explanation of Python programming
  • Parent & Child
  • Help through documentation
  • Ansys Python Manager & Jupyter Lab
Episode 8: Template handling via script
  • Analysis of the code in Jupyter Lap
  • Automated creation of the template
  • Always clean up the server!
  • Deleting existing templates
Episode 9: Uploading the PowerPoint template via script
  • Which items are in the database?
  • query_type & item_filter
  • PowerPoint is in the database – query possible!
  • Deleting and uploading items
  • Use the cheat sheet for help!
Episode 10: Uploading item types
  • Which item types are possible?
  • Upload items using the server variant
  • Close the final set of slides!
  • Image item
  • Result of the PowerPoint slides
Episode 11: Current status & interaction of pyFluent
  • Get an overview in Jupyter Lab
  • Recap the existing scripts
  • Which processes should still be automated?
  • Open Fluent via pyFluent
  • What happens during report generation?
Episode 12: Restarting the server
  • Susanne and Sandro demonstrate a fully automated report
  • How are the PowerPoint slides structured?
  • What other options are available within the categories?
  • Opening the script for the report example
  • User input and defined functions
Episode 13: Generating a report – entire process #1
  • How did Susanne and Sandro proceed?
  • Use the template editor to help you!
  • What does number 200 under a cell mean?
  • Objectives, description
  • Tree structures
Episode 14: Generating a report – entire process #2
  • How many finite volumes are there?
  • Results & summary
  • All items are uploaded
  • Generating the final PowerPoint file
Personal words - additional thoughts from Susanne and Sandro

Finale of “Automation with Ansys Dynamic Reporting”: Susanne and Sandro have generated a fully automated report using Ansys Dynamic Reporting and are looking forward to your feedback!

💡 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

Susanne Haase
Application Engineer, CADFEM Germany GmbH, Hanover
Elisabeth Treml
Application Engineer, CADFEM Germany GmbH, Grafing
Sandro Gierth
Application Engineer, CADFEM Germany GmbH, Chemnitz

Placement in the CADFEM Learning Pathway

slide placeholder for 10040
slide placeholder for 17546

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.