Skip to main content
Ctrl+K
PyTwin - Home PyTwin - Home
  • Home
  • Getting started
  • User guide
  • API reference
  • Examples
    • Contribute
Ctrl+K
  • GitHub
  • Home
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
Ctrl+K
  • GitHub

Section Navigation

  • Twin runtimes
  • Evaluate
    • TwinModel
      • close
      • evaluate_batch
      • evaluate_step_by_step
      • generate_points
      • generate_snapshot
      • generate_snapshot_batch
      • get_available_view_names
      • get_field_input_names
      • get_field_output_name
      • get_geometry_filepath
      • get_image_filepath
      • get_named_selections
      • get_rom_directory
      • get_snapshot_filepath
      • get_tbrom_output_field
      • get_tbrom_time_grid
      • initialize_evaluation
      • load_state
      • print_model_info
      • project_tbrom_on_mesh
      • save_state
      • TBROM_FILENAME_TIME_FORMAT
      • TBROM_FOLDER_NAME
      • TBROM_IMAGE_EXT
      • TBROM_SNAPSHOT_EXT
      • TBROM_SNAPSHOT_FILE_PREFIX
      • TBROM_VIEWS_KEY
      • evaluation_is_initialized
      • evaluation_time
      • id
      • initialization_time
      • inputs
      • instantiation_time
      • model_dir
      • model_filepath
      • model_log
      • model_log_link
      • model_temp
      • name
      • outputs
      • parameters
      • solver_parameters
      • tbrom_count
      • tbrom_directory_path
      • tbrom_info
      • tbrom_names
  • Global settings
  • Post-processing functions
  • Other functions
  • PyAnsys
  • API reference
  • Evaluate
  • TwinModel
  • print_model_info

print_model_info#

TwinModel.print_model_info(max_var_to_print=inf)#

Print all the model information including Twin Runtime version, model name, number of outputs, inputs, parameters, default simulation settings, output names, input names and parameter names. If TBROMs are present, it will also print associated information.

This method must be called after a TwinModel has been instantiated.

Note

if field inputs are supplied for a TBROM, they will override any input mode coefficient inputs for that ROM that are included in inputs.

Parameters:
max_var_to_printint, optional

Maximum number of variables for which the properties need to be evaluated, default value is numpy.inf.

Examples

>>> from pytwin import TwinModel
>>>
>>> twin_model = TwinModel(model_filepath='path_to_your_twin_model.twin')
>>> twin_model.print_model_info()
On this page
  • TwinModel.print_model_info()
  • Show Source

© Copyright (c) 2025 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.2.3.

Built with the Ansys Sphinx Theme 1.6.3.
Last updated on