Skip to main content

Prime Mesh Python client library 2025 R2

download_turbine_blade_cdb

Last update: 10.09.2025

ansys.meshing.prime.examples.download_turbine_blade_cdb(destination=None, force=False)

Download the CDB file for the turbine blade example.

destination : Path to download the example file to. The default is None, in which case the default path for app data is used.

force : Whether to download the example file. The default is False, in which case if the example file is cached, it is reused.

  • Returns: :

    str : Local path to the downloaded example file.

Examples

>>> import ansys.meshing.prime as prime
>>> import ansys.meshing.prime.examples as prime_examples
>>> with prime.launch_prime() as session:
>>>     model = session.model
>>>     turbine_blade_mesh = prime_examples.download_turbine_blade_cdb()
>>>     with prime.FileIO(model) as io:
>>>         _ = io.import_mapdl_cdb(
>>>             turbine_blade_mesh,
>>>             params=prime.ImportMapdlCdbParams(model),
>>>         )
>>>     print(model)

Connect with Ansys