• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Blogs
  2. Computational Fluid Dynamics
  3. Automate Results Analysis in Fidelity with Python-Based…
Gaurav
Gaurav

Community Member

Blog Activity
Options
  • Subscribe by email
  • More
  • Cancel
CDNS - RequestDemo

Try Cadence Software for your next design!

Free Trials
Python
Cadence Fidelity
Python API
Fidelity CFD

Automate Results Analysis in Fidelity with Python-Based Recording

8 Oct 2025 • 1 minute read

Key Points

Enhanced Reproducibility: Scripting captures the complete post-processing state, including probes and data settings, ensuring consistent and reproducible analysis results.

Launch Analysis with a Script: The post-processing process is initiated by running the `postrecord.py` script, which generates the necessary output and begins the analysis.

Reproduce Results with a File: The script generates a `results_analysis_state.py` file, which encapsulates a set of Python commands designed to replicate the post-processing setup. This ensures the reproducibility and consistency of output results across different simulation runs that utilize identical configurations.

The Benefits of Post-Processing State Recording

Imagine simulating complex physics-based models involving turbomachinery, combustion, or aerodynamics, and spending hours fine-tuning the post-processing settings to gain valuable insights. With post-processing state recording, Fidelity users can preserve this state of analysis and reuse it for future simulations with equivalent configurations. This feature is particularly useful for:

  • Ensuring consistency in results analysis
  • Reducing time spent on manual setup for similar simulations
  • Enhancing collaboration and knowledge sharing among team members
  • Automating repetitive tasks and workflows

Recording and Replaying Post-Processing States

Recording the Post-Processing State

To record the post-processing state, the Fidelity user runs the `postrecord.py` script. This script generates a `results_analysis_state.py` file in the project directory, which contains Python commands to fully reproduce the post-processing setup of the current simulation session.

Replaying the Post-Processing State

The Fidelity user is now able to leverage the captured state of analysis to restore the results analysis environment to a previous state by executing the recorded script, thereby streamlining the analytical process.

Tips and Best Practices

Ensure the `postrecord.py` script is executed while the intended post-processing configuration is active.

The `results_analysis_state.py` file can be used to automate repetitive tasks and workflows.

Our recorded script feature not only enables seamless collaboration and knowledge sharing among team members but also enhances productivity by allowing teams to work together more efficiently. By recording and saving scripts, teams can easily share knowledge and best practices, reduce miscommunication, and onboard new team members more quickly. Experiment with different post-processing settings and record various states to create a library of reusable analysis templates.

By incorporating post-processing state recording into your Fidelity workflow, you'll streamline your results analysis process, improve consistency, and reduce manual setup time.


CDNS - RequestDemo

Have a question? Need more information?

Contact Us

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information