• 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. Community Forums
  2. Turbo
  3. Python API: Simulation context

Stats

  • State Not Answered
  • Replies 1
  • Subscribers 7
  • Views 1051
  • Members are here 0
More Content

Python API: Simulation context

cfd enthusiast
cfd enthusiast over 1 year ago

Hello Everyone,

I'm trying to automate my simulation settings and I've stumbled upon a hurdle. I want to set the initial solution in my domain to "From solution" and then set my last finished simulation as the simulation to initialize with. I have figured out the first

line of code, which would be: (HexstreamDomainNumericalParameters)....set_initialization_type("From solution"). However, I can't seem to figure out which line of code I should use to load the initial solution from a certain simulation.

Thank you!

  • Sign in to reply
  • Cancel
Parents
  • Gaurav
    0 Gaurav over 1 year ago

    Hi, I have taken the script file for tutorial 1 of fidelity, “Volute.” You can find the script file under “Fidelity tutorials.” Navigate to “support.cadence.com.” You can easily find the link.

     First, try to run the “python.py” script file. I created a separate script file for easy understanding; the screenshot is attached below for reference.

     In the modules, I have added the new module “from fidelity.plugins import euranus_parameters”

     You can read the Python API documentation and go through the “SIMULATION MODULES” under that to find the “fidelity.simulation”. In that, you can search for the function “set_initial_solution”. Also, you can go through the “SOLVER PLUGINS MODULES” and check the “fidelity.plugins.euranus_parameters”

     Please change the “project_path” in the screenshot and set it accordingly. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Gaurav
    0 Gaurav over 1 year ago

    Hi, I have taken the script file for tutorial 1 of fidelity, “Volute.” You can find the script file under “Fidelity tutorials.” Navigate to “support.cadence.com.” You can easily find the link.

     First, try to run the “python.py” script file. I created a separate script file for easy understanding; the screenshot is attached below for reference.

     In the modules, I have added the new module “from fidelity.plugins import euranus_parameters”

     You can read the Python API documentation and go through the “SIMULATION MODULES” under that to find the “fidelity.simulation”. In that, you can search for the function “set_initial_solution”. Also, you can go through the “SOLVER PLUGINS MODULES” and check the “fidelity.plugins.euranus_parameters”

     Please change the “project_path” in the screenshot and set it accordingly. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

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

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