tidy3d.web.run(simulation: tidy3d.components.simulation.Simulation, task_name: str, folder_name: str = 'default', path: str = 'simulation_data.hdf5', callback_url: str = None, verbose: bool = True, progress_callback_upload: Callable[[float], None] = None, progress_callback_download: Callable[[float], None] = None, solver_version: str = None, worker_group: str = None) tidy3d.components.data.sim_data.SimulationData#

Submits a Simulation to server, starts running, monitors progress, downloads, and loads results as a SimulationData object.

  • simulation (Simulation) – Simulation to upload to server.

  • task_name (str) – Name of task.

  • folder_name (str = "default") – Name of folder to store task on web UI.

  • path (str = "simulation_data.hdf5") – Path to download results file (.hdf5), including filename.

  • callback_url (str = None) – Http PUT url to receive simulation finish event. The body content is a json file with fields {'id', 'status', 'name', 'workUnit', 'solverVersion'}.

  • verbose (bool = True) – If True, will print progressbars and status, otherwise, will run silently.

  • progress_callback_upload (Callable[[float], None] = None) – Optional callback function called when uploading file with bytes_in_chunk as argument.

  • progress_callback_download (Callable[[float], None] = None) – Optional callback function called when downloading file with bytes_in_chunk as argument.

  • solver_version (str = None) – target solver version.

  • worker_group (str = None) – worker group


Object containing solver results for the supplied Simulation.

Return type