From e94c16d89f579dfd5e15469226b0469b9fc28453 Mon Sep 17 00:00:00 2001 From: Camille <78221213+clatapie@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:41:24 +0100 Subject: [PATCH] feat: adding latest updates --- .pre-commit-config.yaml | 12 +- LICENSE | 2 +- .../ex_01-gmsh_example/gmsh_generator.py | 2 +- .../ex_01-gmsh_example/mesh_converter.py | 2 +- .../ex_01-gmsh_example/modal_analysis.py | 2 +- .../extended_examples/executable/cli_rotor.py | 2 +- .../extended_examples/executable/rotor.py | 2 +- .../examples/extended_examples/gui/gui_app.py | 2 +- .../extended_examples/hpc/ml_ga_beam.py | 2 +- .../mapdl_commands/apdl/abbreviations.rst | 4 +- .../mapdl_commands/apdl/array_parameters.rst | 26 +- .../apdl/encryption_decryption.rst | 4 +- doc/source/mapdl_commands/apdl/index.rst | 2 - .../mapdl_commands/apdl/macro_files.rst | 14 +- .../mapdl_commands/apdl/matrix_operations.rst | 40 +- .../apdl/parameter_definition.rst | 16 +- .../mapdl_commands/apdl/process_controls.rst | 12 +- ...gnetostatic_solenoid-BodyFlux_Averaging.py | 2 +- .../00-mapdl-examples/2d_plate_with_a_hole.py | 2 +- .../00-mapdl-examples/2d_pressure_vessel.py | 2 +- examples/00-mapdl-examples/3d_notch.py | 2 +- .../00-mapdl-examples/3d_plate_thermal.py | 2 +- .../00-mapdl-examples/acoustic_analysis.py | 2 +- .../00-mapdl-examples/basic_dpf_example.py | 2 +- examples/00-mapdl-examples/bracket_static.py | 2 +- .../00-mapdl-examples/contact_elements.py | 2 +- examples/00-mapdl-examples/cyclic_analysis.py | 2 +- examples/00-mapdl-examples/cyclic_static.py | 2 +- .../exhaust_manifold_thermal_stress.py | 2 +- examples/00-mapdl-examples/geometry.py | 2 +- examples/00-mapdl-examples/lathe_cutter.py | 2 +- examples/00-mapdl-examples/mapdl_3d_beam.py | 2 +- examples/00-mapdl-examples/mapdl_beam.py | 2 +- examples/00-mapdl-examples/modal_beam.py | 2 +- examples/00-mapdl-examples/path_operations.py | 2 +- examples/00-mapdl-examples/pressure_vessel.py | 2 +- examples/00-mapdl-examples/pyvista_mesh.py | 2 +- .../00-mapdl-examples/slashmap_cfx_mapping.py | 2 +- examples/00-mapdl-examples/spotweld.py | 2 +- examples/00-mapdl-examples/torsional_load.py | 2 +- .../00-mapdl-examples/transient_thermal.py | 2 +- examples/01-geometry/00-keypoints.py | 2 +- examples/01-geometry/01-lines.py | 2 +- examples/01-geometry/02-areas.py | 2 +- examples/01-geometry/03-volumes.py | 2 +- examples/01-geometry/04-primitives.py | 2 +- .../02-tips-n-tricks/00-example-template.py | 2 +- .../01-smoothing-element-size-transitions.py | 2 +- .../03-using_inline_functions_and_Query.py | 2 +- .../04-rotational-displacement.py | 2 +- .../05-explore_mapdl_files.py | 2 +- .../00-how_finite_element_works.py | 2 +- src/ansys/mapdl/core/__init__.py | 2 +- src/ansys/mapdl/core/_commands/__init__.py | 2 +- .../mapdl/core/_commands/apdl/__init__.py | 2 +- .../core/_commands/apdl/abbreviations.py | 106 +- .../core/_commands/apdl/array_parameters.py | 1054 ++++++++++------- .../_commands/apdl/encryption_decryption.py | 69 +- .../mapdl/core/_commands/apdl/macro_files.py | 284 +++-- .../core/_commands/apdl/matrix_operations.py | 491 +++++--- .../_commands/apdl/parameter_definition.py | 817 ++++++++----- .../core/_commands/apdl/process_controls.py | 153 ++- .../mapdl/core/_commands/aux12_/__init__.py | 2 +- .../_commands/aux12_/general_radiation.py | 2 +- .../core/_commands/aux12_/radiation_mat.py | 2 +- .../core/_commands/aux12_/radiosity_solver.py | 2 +- src/ansys/mapdl/core/_commands/aux15_.py | 2 +- .../mapdl/core/_commands/aux2_/__init__.py | 2 +- .../mapdl/core/_commands/aux2_/bin_dump.py | 2 +- .../mapdl/core/_commands/aux2_/bin_manip.py | 2 +- src/ansys/mapdl/core/_commands/aux3_.py | 2 +- src/ansys/mapdl/core/_commands/conn.py | 2 +- .../mapdl/core/_commands/database/__init__.py | 2 +- .../core/_commands/database/components.py | 2 +- .../core/_commands/database/coord_sys.py | 2 +- .../mapdl/core/_commands/database/picking.py | 2 +- .../core/_commands/database/selecting.py | 2 +- .../mapdl/core/_commands/database/setup.py | 2 +- .../core/_commands/database/working_plane.py | 2 +- .../mapdl/core/_commands/display_/__init__.py | 2 +- .../mapdl/core/_commands/display_/setup.py | 2 +- .../core/_commands/graphics_/__init__.py | 2 +- .../core/_commands/graphics_/annotation.py | 2 +- .../mapdl/core/_commands/graphics_/graphs.py | 2 +- .../core/_commands/graphics_/labeling.py | 2 +- .../mapdl/core/_commands/graphics_/scaling.py | 2 +- .../mapdl/core/_commands/graphics_/setup.py | 2 +- .../mapdl/core/_commands/graphics_/style.py | 2 +- .../mapdl/core/_commands/graphics_/views.py | 2 +- src/ansys/mapdl/core/_commands/hidden.py | 2 +- src/ansys/mapdl/core/_commands/inq_func.py | 2 +- src/ansys/mapdl/core/_commands/map_cmd.py | 2 +- .../mapdl/core/_commands/misc/__init__.py | 2 +- src/ansys/mapdl/core/_commands/misc/misc.py | 2 +- src/ansys/mapdl/core/_commands/parse.py | 2 +- .../mapdl/core/_commands/post1_/__init__.py | 2 +- .../mapdl/core/_commands/post1_/animation.py | 2 +- .../mapdl/core/_commands/post1_/controls.py | 2 +- .../core/_commands/post1_/element_table.py | 2 +- .../core/_commands/post1_/failure_criteria.py | 2 +- .../mapdl/core/_commands/post1_/listing.py | 2 +- .../mapdl/core/_commands/post1_/load_case.py | 2 +- .../core/_commands/post1_/magnetics_calc.py | 2 +- .../core/_commands/post1_/path_operations.py | 2 +- .../mapdl/core/_commands/post1_/results.py | 2 +- .../mapdl/core/_commands/post1_/setup.py | 2 +- .../mapdl/core/_commands/post1_/special.py | 2 +- .../mapdl/core/_commands/post1_/status.py | 2 +- .../_commands/post1_/surface_operations.py | 2 +- .../core/_commands/post1_/trace_points.py | 2 +- .../mapdl/core/_commands/post26_/__init__.py | 2 +- .../mapdl/core/_commands/post26_/controls.py | 2 +- .../mapdl/core/_commands/post26_/display.py | 2 +- .../mapdl/core/_commands/post26_/listing.py | 2 +- .../core/_commands/post26_/operations.py | 2 +- .../mapdl/core/_commands/post26_/setup.py | 2 +- .../mapdl/core/_commands/post26_/special.py | 2 +- .../mapdl/core/_commands/post26_/status.py | 2 +- .../mapdl/core/_commands/preproc/__init__.py | 2 +- .../mapdl/core/_commands/preproc/areas.py | 2 +- .../preproc/artificially_matched_layers.py | 2 +- .../mapdl/core/_commands/preproc/booleans.py | 2 +- .../_commands/preproc/constraint_equations.py | 2 +- .../core/_commands/preproc/coupled_dof.py | 2 +- .../mapdl/core/_commands/preproc/database.py | 2 +- .../core/_commands/preproc/digitizing.py | 2 +- .../core/_commands/preproc/element_type.py | 2 +- .../mapdl/core/_commands/preproc/elements.py | 2 +- .../_commands/preproc/explicit_dynamics.py | 2 +- .../core/_commands/preproc/hard_points.py | 2 +- .../mapdl/core/_commands/preproc/keypoints.py | 2 +- .../mapdl/core/_commands/preproc/lines.py | 2 +- .../_commands/preproc/material_data_tables.py | 2 +- .../mapdl/core/_commands/preproc/materials.py | 2 +- .../mapdl/core/_commands/preproc/meshing.py | 2 +- .../mapdl/core/_commands/preproc/morphing.py | 2 +- .../mapdl/core/_commands/preproc/nodes.py | 2 +- .../core/_commands/preproc/primitives.py | 2 +- .../core/_commands/preproc/real_constants.py | 2 +- .../mapdl/core/_commands/preproc/sections.py | 2 +- .../core/_commands/preproc/special_purpose.py | 2 +- .../mapdl/core/_commands/preproc/status.py | 2 +- .../core/_commands/preproc/superelements.py | 2 +- .../mapdl/core/_commands/preproc/volumes.py | 2 +- .../mapdl/core/_commands/reduced/__init__.py | 2 +- .../core/_commands/reduced/generation.py | 2 +- .../core/_commands/reduced/preparation.py | 2 +- .../mapdl/core/_commands/reduced/setup.py | 2 +- .../mapdl/core/_commands/reduced/use_pass.py | 2 +- .../mapdl/core/_commands/session/__init__.py | 2 +- .../mapdl/core/_commands/session/files.py | 2 +- .../core/_commands/session/list_controls.py | 2 +- .../core/_commands/session/processor_entry.py | 2 +- .../core/_commands/session/run_controls.py | 2 +- .../mapdl/core/_commands/solution/__init__.py | 2 +- .../core/_commands/solution/all_others.py | 2 +- .../_commands/solution/analysis_options.py | 2 +- .../_commands/solution/birth_and_death.py | 2 +- .../_commands/solution/dynamic_options.py | 2 +- .../core/_commands/solution/fe_body_loads.py | 2 +- .../core/_commands/solution/fe_constraints.py | 2 +- .../core/_commands/solution/fe_forces.py | 2 +- .../_commands/solution/fe_surface_loads.py | 2 +- .../core/_commands/solution/gap_conditions.py | 2 +- .../mapdl/core/_commands/solution/inertia.py | 2 +- .../solution/load_step_operations.py | 2 +- .../_commands/solution/load_step_options.py | 2 +- .../core/_commands/solution/master_dof.py | 2 +- .../_commands/solution/miscellaneous_loads.py | 2 +- ...multi_field_solver_convergence_controls.py | 2 +- .../multi_field_solver_definition_commands.py | 2 +- .../multi_field_solver_global_controls.py | 2 +- .../multi_field_solver_interface_mapping.py | 2 +- .../multi_field_solver_load_transfer.py | 2 +- .../multi_field_solver_time_controls.py | 2 +- .../_commands/solution/nonlinear_options.py | 2 +- .../mapdl/core/_commands/solution/ocean.py | 2 +- .../core/_commands/solution/radiosity.py | 2 +- .../mapdl/core/_commands/solution/rezoning.py | 2 +- .../_commands/solution/solid_body_loads.py | 2 +- .../_commands/solution/solid_constraints.py | 2 +- .../core/_commands/solution/solid_forces.py | 2 +- .../_commands/solution/solid_surface_loads.py | 2 +- .../_commands/solution/solution_status.py | 2 +- .../_commands/solution/spectrum_options.py | 2 +- .../_commands/solution/twod_to_3d_analysis.py | 2 +- src/ansys/mapdl/core/_version.py | 2 +- src/ansys/mapdl/core/cli/__init__.py | 2 +- src/ansys/mapdl/core/cli/convert.py | 2 +- src/ansys/mapdl/core/cli/list_instances.py | 2 +- src/ansys/mapdl/core/cli/start.py | 2 +- src/ansys/mapdl/core/cli/stop.py | 2 +- src/ansys/mapdl/core/commands.py | 2 +- src/ansys/mapdl/core/common_grpc.py | 2 +- src/ansys/mapdl/core/component.py | 2 +- src/ansys/mapdl/core/convert.py | 2 +- src/ansys/mapdl/core/database/__init__.py | 2 +- src/ansys/mapdl/core/database/database.py | 2 +- src/ansys/mapdl/core/database/elems.py | 2 +- src/ansys/mapdl/core/database/nodes.py | 2 +- src/ansys/mapdl/core/errors.py | 2 +- src/ansys/mapdl/core/examples/__init__.py | 2 +- src/ansys/mapdl/core/examples/downloads.py | 2 +- src/ansys/mapdl/core/examples/examples.py | 2 +- src/ansys/mapdl/core/examples/verif_files.py | 2 +- src/ansys/mapdl/core/helpers.py | 2 +- src/ansys/mapdl/core/information.py | 2 +- .../mapdl/core/inline_functions/__init__.py | 2 +- .../inline_functions/component_queries.py | 2 +- .../inline_functions/connectivity_queries.py | 2 +- src/ansys/mapdl/core/inline_functions/core.py | 2 +- .../core/inline_functions/geometry_queries.py | 2 +- .../core/inline_functions/inline_functions.py | 2 +- .../core/inline_functions/line_queries.py | 2 +- .../core/inline_functions/nearest_queries.py | 2 +- .../core/inline_functions/normals_queries.py | 2 +- .../core/inline_functions/scalar_queries.py | 2 +- .../inline_functions/selection_queries.py | 2 +- src/ansys/mapdl/core/jupyter.py | 2 +- src/ansys/mapdl/core/krylov.py | 2 +- src/ansys/mapdl/core/launcher.py | 2 +- src/ansys/mapdl/core/licensing.py | 2 +- src/ansys/mapdl/core/logging.py | 2 +- src/ansys/mapdl/core/mapdl.py | 2 +- src/ansys/mapdl/core/mapdl_console.py | 2 +- src/ansys/mapdl/core/mapdl_core.py | 2 +- src/ansys/mapdl/core/mapdl_extended.py | 2 +- src/ansys/mapdl/core/mapdl_geometry.py | 2 +- src/ansys/mapdl/core/mapdl_grpc.py | 2 +- src/ansys/mapdl/core/mapdl_inprocess.py | 2 +- src/ansys/mapdl/core/mapdl_types.py | 2 +- src/ansys/mapdl/core/mesh/__init__.py | 2 +- src/ansys/mapdl/core/mesh/mesh.py | 2 +- src/ansys/mapdl/core/mesh_grpc.py | 2 +- src/ansys/mapdl/core/misc.py | 2 +- src/ansys/mapdl/core/parameters.py | 2 +- src/ansys/mapdl/core/plotting/__init__.py | 2 +- src/ansys/mapdl/core/plotting/consts.py | 2 +- .../mapdl/core/plotting/plotting_defaults.py | 2 +- src/ansys/mapdl/core/plotting/theme.py | 2 +- src/ansys/mapdl/core/plotting/visualizer.py | 2 +- src/ansys/mapdl/core/pool.py | 2 +- src/ansys/mapdl/core/post.py | 2 +- src/ansys/mapdl/core/report.py | 2 +- src/ansys/mapdl/core/solution.py | 2 +- src/ansys/mapdl/core/xpl.py | 2 +- tests/common.py | 2 +- tests/conftest.py | 2 +- tests/test_cli.py | 2 +- tests/test_commands.py | 2 +- tests/test_component.py | 2 +- tests/test_console.py | 2 +- tests/test_convert.py | 2 +- tests/test_database.py | 2 +- tests/test_dpf.py | 2 +- tests/test_element.py | 2 +- tests/test_errors.py | 2 +- tests/test_examples.py | 2 +- tests/test_geometry.py | 2 +- tests/test_grpc.py | 2 +- tests/test_importing_geometries.py | 2 +- tests/test_information.py | 2 +- .../test_component_queries.py | 2 +- .../test_connectivity_queries.py | 2 +- .../test_field_component_queries.py | 2 +- .../test_geometry_queries.py | 2 +- .../test_line_component_queries.py | 2 +- .../test_nearest_queries.py | 2 +- .../test_normals_queries.py | 2 +- tests/test_inline_functions/test_query.py | 2 +- .../test_selection_queries.py | 2 +- tests/test_krylov.py | 2 +- tests/test_launcher.py | 2 +- tests/test_launcher_remote.py | 2 +- tests/test_licensing.py | 2 +- tests/test_logging.py | 2 +- tests/test_mapdl.py | 2 +- tests/test_mesh_grpc.py | 2 +- tests/test_misc.py | 2 +- tests/test_parameters.py | 2 +- tests/test_plotting.py | 2 +- tests/test_pool.py | 2 +- tests/test_post.py | 2 +- tests/test_report.py | 2 +- tests/test_solution.py | 2 +- tests/test_theme.py | 2 +- tests/test_xpl.py | 2 +- 287 files changed, 2170 insertions(+), 1476 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 739a29436b..9e7026f6a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,12 +56,12 @@ repos: hooks: - id: flake8 -- repo: https://github.com/codespell-project/codespell - rev: v2.3.0 - hooks: - - id: codespell - args: ["--toml", "pyproject.toml"] - additional_dependencies: ["tomli"] +# - repo: https://github.com/codespell-project/codespell +# rev: v2.3.0 +# hooks: +# - id: codespell +# args: ["--toml", "pyproject.toml"] +# additional_dependencies: ["tomli"] # - repo: https://github.com/pycqa/pydocstyle # rev: 6.1.1 diff --git a/LICENSE b/LICENSE index f91e210be6..b92019e249 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +Copyright (c) 2016 - 2025 ANSYS, Inc. and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/doc/source/examples/extended_examples/ex_01-gmsh_example/gmsh_generator.py b/doc/source/examples/extended_examples/ex_01-gmsh_example/gmsh_generator.py index dd76f89136..b2d42ecb94 100644 --- a/doc/source/examples/extended_examples/ex_01-gmsh_example/gmsh_generator.py +++ b/doc/source/examples/extended_examples/ex_01-gmsh_example/gmsh_generator.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/ex_01-gmsh_example/mesh_converter.py b/doc/source/examples/extended_examples/ex_01-gmsh_example/mesh_converter.py index fba914233a..1592105de5 100644 --- a/doc/source/examples/extended_examples/ex_01-gmsh_example/mesh_converter.py +++ b/doc/source/examples/extended_examples/ex_01-gmsh_example/mesh_converter.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/ex_01-gmsh_example/modal_analysis.py b/doc/source/examples/extended_examples/ex_01-gmsh_example/modal_analysis.py index 9e37717777..f5f3df7173 100644 --- a/doc/source/examples/extended_examples/ex_01-gmsh_example/modal_analysis.py +++ b/doc/source/examples/extended_examples/ex_01-gmsh_example/modal_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/executable/cli_rotor.py b/doc/source/examples/extended_examples/executable/cli_rotor.py index 8004fc5c89..e9bd6a53b1 100644 --- a/doc/source/examples/extended_examples/executable/cli_rotor.py +++ b/doc/source/examples/extended_examples/executable/cli_rotor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/executable/rotor.py b/doc/source/examples/extended_examples/executable/rotor.py index 4811145698..19cd35be68 100644 --- a/doc/source/examples/extended_examples/executable/rotor.py +++ b/doc/source/examples/extended_examples/executable/rotor.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/gui/gui_app.py b/doc/source/examples/extended_examples/gui/gui_app.py index 2b21bc4b4e..df2077164d 100644 --- a/doc/source/examples/extended_examples/gui/gui_app.py +++ b/doc/source/examples/extended_examples/gui/gui_app.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/examples/extended_examples/hpc/ml_ga_beam.py b/doc/source/examples/extended_examples/hpc/ml_ga_beam.py index f4633dab3f..485c9ac597 100644 --- a/doc/source/examples/extended_examples/hpc/ml_ga_beam.py +++ b/doc/source/examples/extended_examples/hpc/ml_ga_beam.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/doc/source/mapdl_commands/apdl/abbreviations.rst b/doc/source/mapdl_commands/apdl/abbreviations.rst index 2e79ef12e5..8f104076c7 100644 --- a/doc/source/mapdl_commands/apdl/abbreviations.rst +++ b/doc/source/mapdl_commands/apdl/abbreviations.rst @@ -15,7 +15,7 @@ Abbreviations :toctree: _autosummary - Abbreviations.ucmd - Abbreviations.abbres Abbreviations.abbr + Abbreviations.abbres Abbreviations.abbsav + Abbreviations.ucmd diff --git a/doc/source/mapdl_commands/apdl/array_parameters.rst b/doc/source/mapdl_commands/apdl/array_parameters.rst index 32f6956deb..42c06d7c3b 100644 --- a/doc/source/mapdl_commands/apdl/array_parameters.rst +++ b/doc/source/mapdl_commands/apdl/array_parameters.rst @@ -15,24 +15,24 @@ ArrayParameters :toctree: _autosummary + ArrayParameters.mfouri ArrayParameters.mfun - ArrayParameters.mwrite ArrayParameters.moper - ArrayParameters.mfouri + ArrayParameters.mwrite ArrayParameters.sread - ArrayParameters.toper ArrayParameters.starvplot - ArrayParameters.vmask - ArrayParameters.vcol - ArrayParameters.vscfun - ArrayParameters.vstat - ArrayParameters.voper - ArrayParameters.vwrite - ArrayParameters.vitrp - ArrayParameters.vabs ArrayParameters.starvput - ArrayParameters.vfun - ArrayParameters.vfact + ArrayParameters.toper + ArrayParameters.vabs + ArrayParameters.vcol ArrayParameters.vcum ArrayParameters.vedit + ArrayParameters.vfact + ArrayParameters.vfun + ArrayParameters.vitrp ArrayParameters.vlen + ArrayParameters.vmask + ArrayParameters.voper + ArrayParameters.vscfun + ArrayParameters.vstat + ArrayParameters.vwrite diff --git a/doc/source/mapdl_commands/apdl/encryption_decryption.rst b/doc/source/mapdl_commands/apdl/encryption_decryption.rst index be0ed87bbe..0a97fd24da 100644 --- a/doc/source/mapdl_commands/apdl/encryption_decryption.rst +++ b/doc/source/mapdl_commands/apdl/encryption_decryption.rst @@ -15,7 +15,7 @@ EncryptionDecryption :toctree: _autosummary - EncryptionDecryption.encrypt - EncryptionDecryption.decrypt EncryptionDecryption.dbdecrypt EncryptionDecryption.dbencrypt + EncryptionDecryption.decrypt + EncryptionDecryption.encrypt diff --git a/doc/source/mapdl_commands/apdl/index.rst b/doc/source/mapdl_commands/apdl/index.rst index 96da86038a..6eefd55e5f 100644 --- a/doc/source/mapdl_commands/apdl/index.rst +++ b/doc/source/mapdl_commands/apdl/index.rst @@ -1,10 +1,8 @@ .. _ref_apdl: - Apdl ==== - .. list-table:: diff --git a/doc/source/mapdl_commands/apdl/macro_files.rst b/doc/source/mapdl_commands/apdl/macro_files.rst index 8b28aa0ac3..a8f7ef31c3 100644 --- a/doc/source/mapdl_commands/apdl/macro_files.rst +++ b/doc/source/mapdl_commands/apdl/macro_files.rst @@ -15,15 +15,15 @@ MacroFiles :toctree: _autosummary - MacroFiles.pmacro - MacroFiles.psearch - MacroFiles.ulib - MacroFiles.use - MacroFiles.cfwrite MacroFiles.cfclos MacroFiles.cfopen + MacroFiles.cfwrite MacroFiles.create - MacroFiles.msg MacroFiles.mkdir - MacroFiles.slashtee + MacroFiles.msg + MacroFiles.pmacro + MacroFiles.psearch MacroFiles.rmdir + MacroFiles.slashtee + MacroFiles.ulib + MacroFiles.use diff --git a/doc/source/mapdl_commands/apdl/matrix_operations.rst b/doc/source/mapdl_commands/apdl/matrix_operations.rst index e9c9f45f6d..e0dece49a4 100644 --- a/doc/source/mapdl_commands/apdl/matrix_operations.rst +++ b/doc/source/mapdl_commands/apdl/matrix_operations.rst @@ -15,31 +15,31 @@ MatrixOperations :toctree: _autosummary - MatrixOperations.starprint - MatrixOperations.free - MatrixOperations.fft - MatrixOperations.wrk + MatrixOperations.axpy MatrixOperations.comp - MatrixOperations.nrm - MatrixOperations.merge - MatrixOperations.mult - MatrixOperations.starinquire - MatrixOperations.itengine - MatrixOperations.init - MatrixOperations.export + MatrixOperations.dmat + MatrixOperations.dot MatrixOperations.eigen - MatrixOperations.smat - MatrixOperations.starsort - MatrixOperations.scal - MatrixOperations.vec + MatrixOperations.export + MatrixOperations.fft + MatrixOperations.free MatrixOperations.hprod + MatrixOperations.init + MatrixOperations.itengine + MatrixOperations.lsbac + MatrixOperations.lsdump MatrixOperations.lsengine MatrixOperations.lsfactor MatrixOperations.lsrestore - MatrixOperations.lsbac - MatrixOperations.lsdump + MatrixOperations.merge + MatrixOperations.mult + MatrixOperations.nrm MatrixOperations.remove + MatrixOperations.scal + MatrixOperations.smat + MatrixOperations.starinquire + MatrixOperations.starprint MatrixOperations.starrename - MatrixOperations.axpy - MatrixOperations.dmat - MatrixOperations.dot + MatrixOperations.starsort + MatrixOperations.vec + MatrixOperations.wrk diff --git a/doc/source/mapdl_commands/apdl/parameter_definition.rst b/doc/source/mapdl_commands/apdl/parameter_definition.rst index 21d01002e1..55ac35814d 100644 --- a/doc/source/mapdl_commands/apdl/parameter_definition.rst +++ b/doc/source/mapdl_commands/apdl/parameter_definition.rst @@ -15,17 +15,17 @@ ParameterDefinition :toctree: _autosummary - ParameterDefinition.parres - ParameterDefinition.parsav + ParameterDefinition.afun + ParameterDefinition.dim ParameterDefinition.get ParameterDefinition.inquire + ParameterDefinition.parres + ParameterDefinition.parsav + ParameterDefinition.stardel ParameterDefinition.starset ParameterDefinition.starstatus - ParameterDefinition.tread - ParameterDefinition.taxis - ParameterDefinition.vread ParameterDefinition.starvget + ParameterDefinition.taxis + ParameterDefinition.tread ParameterDefinition.vfill - ParameterDefinition.afun - ParameterDefinition.stardel - ParameterDefinition.dim + ParameterDefinition.vread diff --git a/doc/source/mapdl_commands/apdl/process_controls.rst b/doc/source/mapdl_commands/apdl/process_controls.rst index 76cf70a87c..db250ec8c8 100644 --- a/doc/source/mapdl_commands/apdl/process_controls.rst +++ b/doc/source/mapdl_commands/apdl/process_controls.rst @@ -15,13 +15,13 @@ ProcessControls :toctree: _autosummary - ProcessControls.stargo - ProcessControls.wait ProcessControls.cycle - ProcessControls.endif + ProcessControls.do + ProcessControls.dowhile ProcessControls.elseif - ProcessControls.starexit ProcessControls.enddo + ProcessControls.endif ProcessControls.repeat - ProcessControls.dowhile - ProcessControls.do + ProcessControls.starexit + ProcessControls.stargo + ProcessControls.wait diff --git a/examples/00-mapdl-examples/2d_magnetostatic_solenoid-BodyFlux_Averaging.py b/examples/00-mapdl-examples/2d_magnetostatic_solenoid-BodyFlux_Averaging.py index a6a0cda21a..ed8a9b9ef8 100644 --- a/examples/00-mapdl-examples/2d_magnetostatic_solenoid-BodyFlux_Averaging.py +++ b/examples/00-mapdl-examples/2d_magnetostatic_solenoid-BodyFlux_Averaging.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/2d_plate_with_a_hole.py b/examples/00-mapdl-examples/2d_plate_with_a_hole.py index 78716ee207..4539689658 100644 --- a/examples/00-mapdl-examples/2d_plate_with_a_hole.py +++ b/examples/00-mapdl-examples/2d_plate_with_a_hole.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/2d_pressure_vessel.py b/examples/00-mapdl-examples/2d_pressure_vessel.py index ed21c801a2..a157945e13 100644 --- a/examples/00-mapdl-examples/2d_pressure_vessel.py +++ b/examples/00-mapdl-examples/2d_pressure_vessel.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/3d_notch.py b/examples/00-mapdl-examples/3d_notch.py index e90bfebbed..5c1cef162a 100644 --- a/examples/00-mapdl-examples/3d_notch.py +++ b/examples/00-mapdl-examples/3d_notch.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/3d_plate_thermal.py b/examples/00-mapdl-examples/3d_plate_thermal.py index 0eb3202c79..fbaa7fb9b7 100644 --- a/examples/00-mapdl-examples/3d_plate_thermal.py +++ b/examples/00-mapdl-examples/3d_plate_thermal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/acoustic_analysis.py b/examples/00-mapdl-examples/acoustic_analysis.py index f37ded1a7e..09ee258647 100644 --- a/examples/00-mapdl-examples/acoustic_analysis.py +++ b/examples/00-mapdl-examples/acoustic_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/basic_dpf_example.py b/examples/00-mapdl-examples/basic_dpf_example.py index 11d574cde5..7f5d43953b 100644 --- a/examples/00-mapdl-examples/basic_dpf_example.py +++ b/examples/00-mapdl-examples/basic_dpf_example.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/bracket_static.py b/examples/00-mapdl-examples/bracket_static.py index 38d6fdddce..5d4167c78b 100644 --- a/examples/00-mapdl-examples/bracket_static.py +++ b/examples/00-mapdl-examples/bracket_static.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/contact_elements.py b/examples/00-mapdl-examples/contact_elements.py index 06a40dacb0..b5696c0270 100644 --- a/examples/00-mapdl-examples/contact_elements.py +++ b/examples/00-mapdl-examples/contact_elements.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/cyclic_analysis.py b/examples/00-mapdl-examples/cyclic_analysis.py index 88628ec02a..edf09292e5 100644 --- a/examples/00-mapdl-examples/cyclic_analysis.py +++ b/examples/00-mapdl-examples/cyclic_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/cyclic_static.py b/examples/00-mapdl-examples/cyclic_static.py index 01fa28e4b1..92a8347590 100644 --- a/examples/00-mapdl-examples/cyclic_static.py +++ b/examples/00-mapdl-examples/cyclic_static.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/exhaust_manifold_thermal_stress.py b/examples/00-mapdl-examples/exhaust_manifold_thermal_stress.py index c795270524..ee0c870af9 100644 --- a/examples/00-mapdl-examples/exhaust_manifold_thermal_stress.py +++ b/examples/00-mapdl-examples/exhaust_manifold_thermal_stress.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/geometry.py b/examples/00-mapdl-examples/geometry.py index b4e0f6ab02..ec480c118b 100644 --- a/examples/00-mapdl-examples/geometry.py +++ b/examples/00-mapdl-examples/geometry.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/lathe_cutter.py b/examples/00-mapdl-examples/lathe_cutter.py index 844b65987a..bd32b76305 100644 --- a/examples/00-mapdl-examples/lathe_cutter.py +++ b/examples/00-mapdl-examples/lathe_cutter.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/mapdl_3d_beam.py b/examples/00-mapdl-examples/mapdl_3d_beam.py index db94474280..b3acaec167 100644 --- a/examples/00-mapdl-examples/mapdl_3d_beam.py +++ b/examples/00-mapdl-examples/mapdl_3d_beam.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/mapdl_beam.py b/examples/00-mapdl-examples/mapdl_beam.py index 880550e875..5caa688133 100644 --- a/examples/00-mapdl-examples/mapdl_beam.py +++ b/examples/00-mapdl-examples/mapdl_beam.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/modal_beam.py b/examples/00-mapdl-examples/modal_beam.py index 262e83e9c8..e08c888eb8 100644 --- a/examples/00-mapdl-examples/modal_beam.py +++ b/examples/00-mapdl-examples/modal_beam.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/path_operations.py b/examples/00-mapdl-examples/path_operations.py index c589769c15..5925de8105 100644 --- a/examples/00-mapdl-examples/path_operations.py +++ b/examples/00-mapdl-examples/path_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/pressure_vessel.py b/examples/00-mapdl-examples/pressure_vessel.py index 6062b06e84..36c2fab461 100644 --- a/examples/00-mapdl-examples/pressure_vessel.py +++ b/examples/00-mapdl-examples/pressure_vessel.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/pyvista_mesh.py b/examples/00-mapdl-examples/pyvista_mesh.py index b8af80774d..c1f9487ee8 100644 --- a/examples/00-mapdl-examples/pyvista_mesh.py +++ b/examples/00-mapdl-examples/pyvista_mesh.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/slashmap_cfx_mapping.py b/examples/00-mapdl-examples/slashmap_cfx_mapping.py index ae0ce233a3..8019db8a62 100644 --- a/examples/00-mapdl-examples/slashmap_cfx_mapping.py +++ b/examples/00-mapdl-examples/slashmap_cfx_mapping.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/spotweld.py b/examples/00-mapdl-examples/spotweld.py index 0557d0d768..ed734aeebb 100644 --- a/examples/00-mapdl-examples/spotweld.py +++ b/examples/00-mapdl-examples/spotweld.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/torsional_load.py b/examples/00-mapdl-examples/torsional_load.py index dbd0ebff5e..942bf6a9ca 100644 --- a/examples/00-mapdl-examples/torsional_load.py +++ b/examples/00-mapdl-examples/torsional_load.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/00-mapdl-examples/transient_thermal.py b/examples/00-mapdl-examples/transient_thermal.py index e199b3dbe2..6e8e6999a3 100644 --- a/examples/00-mapdl-examples/transient_thermal.py +++ b/examples/00-mapdl-examples/transient_thermal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/01-geometry/00-keypoints.py b/examples/01-geometry/00-keypoints.py index 02e89cd1e5..de644f0084 100644 --- a/examples/01-geometry/00-keypoints.py +++ b/examples/01-geometry/00-keypoints.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/01-geometry/01-lines.py b/examples/01-geometry/01-lines.py index e7690cd705..35ea1f9bf6 100644 --- a/examples/01-geometry/01-lines.py +++ b/examples/01-geometry/01-lines.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/01-geometry/02-areas.py b/examples/01-geometry/02-areas.py index 98ed596ce4..4db0660988 100644 --- a/examples/01-geometry/02-areas.py +++ b/examples/01-geometry/02-areas.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/01-geometry/03-volumes.py b/examples/01-geometry/03-volumes.py index a2c03754f2..79f2ae7dae 100644 --- a/examples/01-geometry/03-volumes.py +++ b/examples/01-geometry/03-volumes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/01-geometry/04-primitives.py b/examples/01-geometry/04-primitives.py index b33568c14d..1d6ebf4de0 100644 --- a/examples/01-geometry/04-primitives.py +++ b/examples/01-geometry/04-primitives.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/02-tips-n-tricks/00-example-template.py b/examples/02-tips-n-tricks/00-example-template.py index 511ca53042..fb03d0c5ca 100644 --- a/examples/02-tips-n-tricks/00-example-template.py +++ b/examples/02-tips-n-tricks/00-example-template.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/02-tips-n-tricks/01-smoothing-element-size-transitions.py b/examples/02-tips-n-tricks/01-smoothing-element-size-transitions.py index 1c07af7d7d..c8daf637ae 100644 --- a/examples/02-tips-n-tricks/01-smoothing-element-size-transitions.py +++ b/examples/02-tips-n-tricks/01-smoothing-element-size-transitions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/02-tips-n-tricks/03-using_inline_functions_and_Query.py b/examples/02-tips-n-tricks/03-using_inline_functions_and_Query.py index 50e32db4d7..d5166c9aad 100644 --- a/examples/02-tips-n-tricks/03-using_inline_functions_and_Query.py +++ b/examples/02-tips-n-tricks/03-using_inline_functions_and_Query.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/02-tips-n-tricks/04-rotational-displacement.py b/examples/02-tips-n-tricks/04-rotational-displacement.py index e33c02dce9..3f7bf8ca40 100644 --- a/examples/02-tips-n-tricks/04-rotational-displacement.py +++ b/examples/02-tips-n-tricks/04-rotational-displacement.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/02-tips-n-tricks/05-explore_mapdl_files.py b/examples/02-tips-n-tricks/05-explore_mapdl_files.py index 1b16688808..7598aad2df 100644 --- a/examples/02-tips-n-tricks/05-explore_mapdl_files.py +++ b/examples/02-tips-n-tricks/05-explore_mapdl_files.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/examples/03-general-fea/00-how_finite_element_works.py b/examples/03-general-fea/00-how_finite_element_works.py index aa5f655d27..e433537f4f 100644 --- a/examples/03-general-fea/00-how_finite_element_works.py +++ b/examples/03-general-fea/00-how_finite_element_works.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/__init__.py b/src/ansys/mapdl/core/__init__.py index 9ed873482d..3daee2418e 100644 --- a/src/ansys/mapdl/core/__init__.py +++ b/src/ansys/mapdl/core/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/__init__.py b/src/ansys/mapdl/core/_commands/__init__.py index aa3054dc1b..b55dfdc012 100644 --- a/src/ansys/mapdl/core/_commands/__init__.py +++ b/src/ansys/mapdl/core/_commands/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/apdl/__init__.py b/src/ansys/mapdl/core/_commands/apdl/__init__.py index 08c1de8a4d..0b2b9772bc 100644 --- a/src/ansys/mapdl/core/_commands/apdl/__init__.py +++ b/src/ansys/mapdl/core/_commands/apdl/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/apdl/abbreviations.py b/src/ansys/mapdl/core/_commands/apdl/abbreviations.py index 66bb8f9d7b..d2d1add661 100644 --- a/src/ansys/mapdl/core/_commands/apdl/abbreviations.py +++ b/src/ansys/mapdl/core/_commands/apdl/abbreviations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -36,31 +36,49 @@ def ucmd(self, cmd: str = "", srnum: str = "", **kwargs): srnum : str User subroutine number (1 to 10) programmed for this command. For example, the command - :ref:`ucmd` ,MYCMD,3 will execute subroutine USER03 whenever the command MYCMD is entered. Use a - blank command name to disassociate ``SRNUM`` from its command. For example, :ref:`ucmd` ,,3 - removes MYCMD as a command. + :ref:`ucmd` ,MYCMD,3 will execute subroutine USER03 whenever the command **MYCMD** is entered. + Use a blank command name to disassociate ``SRNUM`` from its command. For example, :ref:`ucmd` + ,,3 removes **MYCMD** as a command. Notes ----- Assigns a user-defined command name to a user-programmable (system-dependent) subroutine. This - feature allows user-defined commands to be programmed into Mechanical APDL. Once programmed, this command - can be input to the program like other commands, and can also be included in the Mechanical APDL start-up - file. Up to 10 subroutines are available for user-defined commands (USER01 to USER10). You must - have system permission, system access, and knowledge to write, compile, and link the appropriate - subprocessors into Mechanical APDL at your site. All routines should be written in FORTRAN. For more - information about FORTRAN compilers, refer to either the `Ansys, Inc. Windows Installation Guide `_ or the `Ansys, Inc. Linux Installation Guide `_ for - details specific to your platform or operating system. The USER01 routine is commented and should - be listed from the distribution media (system dependent) for more details. Issue :ref:`ucmd` ,STAT - to list all user-defined command names. Because a user-programmed command is a nonstandard use of - the program, the verification of any Mechanical APDL run incorporating these commands is your - responsibility. In any contact with Mechanical APDL customer support regarding the performance of a custom - version of Mechanical APDL, explicitly state that a user-programmable feature has been used. See `User- - Programmable Features (UPFs) + feature allows user-defined commands to be programmed into Mechanical APDL. Once programmed, this + command + can be input to the program like other commands, and can also be included in the Mechanical APDL + start-up + file. + + Up to 10 subroutines are available for user-defined commands (USER01 to USER10). You must have + system permission, system access, and knowledge to write, compile, and link the appropriate + subprocessors into Mechanical APDL at your site. + + All routines should be written in FORTRAN. For more information about FORTRAN compilers, refer to + either the `Ansys, Inc. Windows Installation Guide + `_ or + the Ansys, Inc. Linux Installation Guide for details specific to your platform or operating + system. + + The USER01 routine is commented and should be listed from the distribution media (system dependent) + for more details. + + Issue :ref:`ucmd` ,STAT to list all user-defined command names. + + Because a user-programmed command is a nonstandard use of the program, the verification of any + Mechanical APDL run incorporating these commands is your responsibility. In any contact with + Mechanical APDL + customer support regarding the performance of a custom version of Mechanical APDL, explicitly state + that a + user-programmable feature has been used. + + See `User-Programmable Features (UPFs) `_ `Guide to User-Programmable Features `_ - See :ref:`ulib` for another way of defining user commands. This command is valid only at the Begin - Level. + + See :ref:`ulib` for another way of defining user commands. + + This command is valid only at the Begin Level. """ command = f"/UCMD,{cmd},{srnum}" return self.run(command, **kwargs) @@ -75,23 +93,27 @@ def abbres(self, lab: str = "", fname: str = "", ext: str = "", **kwargs): lab : str Label that specifies the read operation: - * ``NEW`` - Replace current abbreviation set with these abbreviations (default). - * ``CHANGE`` - Extend current abbreviation set with these abbreviations, replacing any of the same + * ``NEW`` - Replace current abbreviation set with these abbreviations (default). + + * ``CHANGE`` - Extend current abbreviation set with these abbreviations, replacing any of the same name that already exist. fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. The file name defaults to ``Jobname``. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. The file name defaults to ``Jobname``. ext : str - Filename extension (eight-character maximum). The extension defaults to ABBR if ``Fname`` is blank. + Filename extension (eight-character maximum). The extension defaults to ABBR if ``Fname`` is + blank. Notes ----- The abbreviation file may have been written with the :ref:`abbsav` command. Do not issue :ref:`abbres` ,NEW while inside an executing abbreviation. Doing so will cause all data for the - executing abbreviation to be deleted. This command is valid in any processor. + executing abbreviation to be deleted. + + This command is valid in any processor. """ command = f"ABBRES,{lab},{fname},{ext}" return self.run(command, **kwargs) @@ -105,14 +127,14 @@ def abbr(self, abbr: str = "", string: str = "", **kwargs): ---------- abbr : str The abbreviation (up to 8 alphanumeric characters) used to represent the string ``String``. If - ``Abbr`` is the same as an existing Mechanical APDL command, the abbreviation overrides. Avoid using an - ``Abbr`` which is the same as an Mechanical APDL command. + ``Abbr`` is the same as an existing Mechanical APDL command, the abbreviation overrides. Avoid + using an ``Abbr`` which is the same as an Mechanical APDL command. string : str String of characters (60 maximum) represented by ``Abbr``. Cannot include a $ or any of the - commands :ref:`c`, :ref:`com`, :ref:`gopr`, :ref:`nopr`, :ref:`quit`, :ref:`ui`, or - :ref:`end`. Parameter names and commands of the :ref:`do` and Use the :ref:`if` groups may not - be abbreviated. If ``String`` is blank, the abbreviation is deleted. To abbreviate multiple + commands ``C***``, :ref:`com`, :ref:`gopr`, :ref:`nopr`, :ref:`quit`, :ref:`ui`, or + ``\*END``. Parameter names and commands of the :ref:`do` and Use the ``\*IF`` groups may not be + abbreviated. If ``String`` is blank, the abbreviation is deleted. To abbreviate multiple commands, create an "unknown command" macro or define ``String`` to execute a macro file ( :ref:`use` ) containing the desired commands. @@ -122,10 +144,13 @@ def abbr(self, abbr: str = "", string: str = "", **kwargs): follow it with a blank (or with a comma and appended data), and the program will substitute the string ``String`` for ``Abbr`` as the line is executed. Up to 100 abbreviations may exist at any time and are available throughout the program. Abbreviations may be redefined or deleted at any - time. Use :ref:`starstatus` to display the current list of abbreviations. For abbreviations - repeated with :ref:`repeat`, substitution occurs before the repeat increments are applied. There - are a number of abbreviations that are predefined by the program (these can be deleted by using the - blank ``String`` option described above). Note that ``String`` will be written to the ``File.LOG``. + time. + + Use :ref:`starstatus` to display the current list of abbreviations. For abbreviations repeated with + :ref:`repeat`, substitution occurs before the repeat increments are applied. There are a number of + abbreviations that are predefined by the program (these can be deleted by using the blank ``String`` + option described above). Note that ``String`` will be written to the ``File.LOG``. + This command is valid in any processor. """ command = f"*ABBR,{abbr},{string}" @@ -141,20 +166,23 @@ def abbsav(self, lab: str = "", fname: str = "", ext: str = "", **kwargs): lab : str Label that specifies the write operation: - * ``ALL`` - Write all abbreviations (default). + * ``ALL`` - Write all abbreviations (default). fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. The file name defaults to ``Jobname``. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. The file name defaults to ``Jobname``. ext : str - Filename extension (eight-character maximum). The extension defaults to ABBR if ``Fname`` is blank. + Filename extension (eight-character maximum). The extension defaults to ABBR if ``Fname`` is + blank. Notes ----- Existing abbreviations on this file, if any, will be overwritten. The abbreviation file may be read - with the :ref:`abbres` command. This command is valid in any processor. + with the :ref:`abbres` command. + + This command is valid in any processor. """ command = f"ABBSAV,{lab},{fname},{ext}" return self.run(command, **kwargs) diff --git a/src/ansys/mapdl/core/_commands/apdl/array_parameters.py b/src/ansys/mapdl/core/_commands/apdl/array_parameters.py index 9eca20b52f..2fecd3181f 100644 --- a/src/ansys/mapdl/core/_commands/apdl/array_parameters.py +++ b/src/ansys/mapdl/core/_commands/apdl/array_parameters.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -36,8 +36,9 @@ def mfun(self, parr: str = "", func: str = "", par1: str = "", **kwargs): func : str Copy or transpose function: - * ``COPY`` - ``Par1`` is copied to ``ParR`` - * ``TRAN`` - ``Par1`` is transposed to ``ParR``. Rows (m) and columns (n) of ``Par1`` matrix are + * ``COPY`` - ``Par1`` is copied to ``ParR`` + + * ``TRAN`` - ``Par1`` is transposed to ``ParR``. Rows (m) and columns (n) of ``Par1`` matrix are transposed to resulting ``ParR`` matrix of shape (n,m). par1 : str @@ -46,19 +47,24 @@ def mfun(self, parr: str = "", func: str = "", par1: str = "", **kwargs): Notes ----- Operates on one input array parameter matrix and produces one output array parameter matrix - according to: ``ParR`` = f( ``Par1`` ) where the function (f) is either a copy or transpose, as - described above. Functions are based on the standard FORTRAN definitions where possible. ``ParR`` - may be the same as ``Par1``. Starting array element numbers must be defined for each array parameter - matrix if it does not start at the first location. For example, :ref:`mfun` ,A(1,5),COPY,B(2,3) - copies matrix B (starting at element (2,3)) to matrix A (starting at element (1,5)). The diagonal - corner elements for each submatrix must be defined: the upper left corner by the array starting - element (on this command), the lower right corner by the current values from the :ref:`vcol` and - :ref:`vlen` commands. The default values are the (1,1) element and the last element in the matrix. - No operations progress across matrix planes (in the 3rd dimension). Absolute values and scale - factors may be applied to all parameters ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( - :ref:`vcum` ). Array elements should not be skipped with the :ref:`vmask` and the ``NINC`` value of - the :ref:`vlen` specifications. The number of rows ( :ref:`vlen` ) applies to the ``Par1`` array. - See the :ref:`voper` command for details. This command is valid in any processor. + according to: ``ParR`` = f( ``Par1`` ) + + where the function (f) is either a copy or transpose, as described above. + + Functions are based on the standard FORTRAN definitions where possible. ``ParR`` may be the same as + ``Par1``. Starting array element numbers must be defined for each array parameter matrix if it does + not start at the first location. For example, :ref:`mfun` ,A(1,5),COPY,B(2,3) copies matrix B + (starting at element (2,3)) to matrix A (starting at element (1,5)). The diagonal corner elements + for each submatrix must be defined: the upper left corner by the array starting element (on this + command), the lower right corner by the current values from the :ref:`vcol` and :ref:`vlen` + commands. The default values are the (1,1) element and the last element in the matrix. No operations + progress across matrix planes (in the 3rd dimension). Absolute values and scale factors may be + applied to all parameters ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). + Array elements should not be skipped with the :ref:`vmask` and the ``NINC`` value of the :ref:`vlen` + specifications. The number of rows ( :ref:`vlen` ) applies to the ``Par1`` array. See the + :ref:`voper` command for details. + + This command is valid in any processor. """ command = f"*MFUN,{parr},{func},{par1}" return self.run(command, **kwargs) @@ -85,9 +91,9 @@ def mwrite( fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. If the file name fields are left blank, the default file is the current output - file. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. If the file name fields are left blank, the + default file is the current output file. ext : str Filename extension (eight-character maximum). @@ -112,29 +118,37 @@ def mwrite( Writes a matrix or vector to a specified file in a formatted sequence. You can also use the :ref:`vwrite` command to write data to a specified file. Both commands contain format descriptors on the line immediately following the command. The format descriptors can be in either FORTRAN or C - format. FORTRAN format descriptors are enclosed in parentheses. They must immediately follow the + format. + + FORTRAN format descriptors are enclosed in parentheses. They must immediately follow the :ref:`mwrite` command on a separate line of the same input file. The word FORMAT should not be included. The format must specify the number of fields to be written per line, the field width, the placement of the decimal point, etc. There should be one field descriptor for each data item written. The write operation uses the available system FORTRAN FORMAT conventions (see your system - FORTRAN manual). Any standard FORTRAN `real` format (such as (4F6.0), (E10.3,2X,D8.2), etc.) and - character format (A) may be used. Integer (I) and list-directed (\*) descriptors may `not` be used. - Text may be included in the format as a quoted string. `The FORTRAN descriptor must be enclosed in - parentheses` and the format must not exceed 80 characters (including parentheses). The "C" format - descriptors are used if the first character of the format descriptor line is not a left parenthesis. - "C" format descriptors may be up to 80 characters long, consisting of text strings and predefined - "data descriptors" between the strings where numeric or alphanumeric character data are to be - inserted. The normal descriptors are %I for integer data, %G for double precision data, %C for - alphanumeric character data, and %/ for a line break. There must be one data descriptor for each + FORTRAN manual). Any standard FORTRAN real format (such as (4F6.0), (E10.3,2X,D8.2), etc.) and + character format (A) may be used. Integer (I) + and list-directed (\2) descriptors may not be used. Text may be included in the format as a quoted + string. The FORTRAN descriptor must be enclosed in parentheses and the format must not exceed 80 + characters (including parentheses). + + The "C" format descriptors are used if the first character of the format descriptor line is not a + left parenthesis. "C" format descriptors may be up to 80 characters long, consisting of text strings + and predefined "data descriptors" between the strings where numeric or alphanumeric character data + are to be inserted. The normal descriptors are %I for integer data, %G for double precision data, %C + for alphanumeric character data, and %/ for a line break. There must be one data descriptor for each specified value in the order of the specified values. The enhanced formats described in :ref:`msg` - can also be used. The starting array element number must be defined. Looping continues in the - directions indicated by the Label argument. The number of loops and loop skipping may also be - controlled via :ref:`vlen` and :ref:`vmask`, which work in the ``n2`` direction (by row on the - output file), and by :ref:`vcol`, which works in the ``n1`` direction (by column in the output - file). The vector specifications :ref:`vabs` and :ref:`vfact` apply to this command, while - :ref:`vcum` does not apply to this command. See :ref:`voper` for details. If you are in the GUI, the - :ref:`mwrite` command must be contained in an externally prepared file and read into Mechanical APDL (that - is, :ref:`use`, :ref:`input`, etc.). This command is valid in any processor. + can also be used. + + The starting array element number must be defined. Looping continues in the directions indicated by + the Label argument. The number of loops and loop skipping may also be controlled via :ref:`vlen` and + :ref:`vmask`, which work in the ``n2`` direction (by row on the output file), and by :ref:`vcol` , + which works in the ``n1`` direction (by column in the output file). The vector specifications + :ref:`vabs` and :ref:`vfact` apply to this command, while :ref:`vcum` does not apply to this + command. See :ref:`voper` for details. If you are in the GUI, the :ref:`mwrite` command must be + contained in an externally prepared file and read into Mechanical APDL (that is, :ref:`use` , + :ref:`input`, etc.). + + This command is valid in any processor. """ command = f"*MWRITE,{parr},{fname},{ext},,{label},{n1},{n2},{n3}" return self.run(command, **kwargs) @@ -167,37 +181,54 @@ def moper( oper : str Matrix operations. Usage of the ``Val1`` through ``Val6`` arguments varies for each operation, as described below: - * ``INVERT`` - ( :ref:`moper`, ``ParR``, ``Par1``, INVERT) Square matrix invert: Inverts the `n` - x `n` matrix in `Par1` into `ParR`. The matrix must be well conditioned. Non-independent or ill- - conditioned equations can cause erroneous results. For large matrices, use the APDL Math - operation :ref:`lsfactor` for efficiency (see `APDL Math + * ``INVERT`` - ( :ref:`moper`, ``ParR``, ``Par1``, INVERT) + + Square matrix invert: Inverts the n x n matrix in Par1 into ParR . The matrix must be well + conditioned. + + Non-independent or ill-conditioned equations can cause erroneous results. + + For large matrices, use the APDL Math operation :ref:`lsfactor` for efficiency (see `APDL Math `_ - * ``MULT`` - ( :ref:`moper`, ``ParR``, ``Par1``, MULT, ``Par2`` ) Matrix multiply: Multiplies - ``Par1`` by ``Par2``. The number of rows of ``Par2`` must equal the number of columns of ``Par1`` - for the operation. If ``Par2`` is input with a number of rows greater than the number of columns - of ``Par1``, matrices are still multiplied. However, the operation only uses a number of rows of - ``Par2`` equal to the number of columns of ``Par1``. - * ``COVAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, COVAR, ``Par2`` ) Covariance: The measure of - association between columns of the ``Par1`` input matrix. ``Par1`` of size m runs (rows) by n data - (columns) is first processed to produce a row vector containing the mean of each column, which is - transposed to the output column vector ``Par2`` of n array elements. The ``Par1`` and ``Par2`` - operation then produces ``ParR``, a resulting n x n matrix of covariances (with the variances as - the diagonal terms). - * ``CORR`` - ( :ref:`moper`, ``ParR``, ``Par1``, CORR, ``Par2`` ) Correlation: The correlation - coefficient between columns of the ``Par1`` input matrix. ``Par1`` of size m runs (rows) by n data - (columns) is first processed to produce a row vector containing the mean of each column, which is - then transposed to the output column vector ``Par2`` of n array elements. The ``Par1`` and - ``Par2`` operation then produces ``ParR``, a resulting `n` x n matrix of correlation coefficients - (with a value of 1.0 for the diagonal terms). - * ``SOLV`` - ( :ref:`moper`, ``ParR``, ``Par1``, SOLV, ``Par2`` ) Solution of simultaneous - equations: Solves the set of ``n`` equations of ``n`` terms of the form a n1 x 1 + a n2 x 2 + - :sup:`...` + a nn x n = b n where ``Par1`` contains the matrix of a-coefficients, ``Par2`` - contains the vector(s) of b-values, and ``ParR`` contains the vector(s) of x-results. ``Par1`` - must be a square matrix. The equations must be linear, independent, and well conditioned. Non- - independent or ill-conditioned equations can cause erroneous results. For large matrices, use the - APDL Math operation :ref:`lsfactor` for efficiency (see `APDL Math + + * ``MULT`` - ( :ref:`moper`, ``ParR``, ``Par1``, MULT, ``Par2`` ) + + Matrix multiply: Multiplies ``Par1`` by ``Par2``. The number of rows of ``Par2`` must equal the + number of columns of ``Par1`` for the operation. If ``Par2`` is input with a number of rows + greater than the number of columns of ``Par1``, matrices are still multiplied. However, the + operation only uses a number of rows of ``Par2`` equal to the number of columns of ``Par1``. + + * ``COVAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, COVAR, ``Par2`` ) + + Covariance: The measure of association between columns of the ``Par1`` input matrix. ``Par1`` of + size m runs (rows) by n data (columns) is first processed to produce a row vector containing the + mean of each column, which is transposed to the output column vector ``Par2`` of n array elements. + The ``Par1`` and ``Par2`` operation then produces ``ParR``, a resulting n x n matrix of + covariances (with the variances as the diagonal terms). + + * ``CORR`` - ( :ref:`moper`, ``ParR``, ``Par1``, CORR, ``Par2`` ) + + Correlation: The correlation coefficient between columns of the ``Par1`` input matrix. ``Par1`` of + size m runs (rows) by n data (columns) is first processed to produce a row vector containing the + mean of each column, which is then transposed to the output column vector ``Par2`` of n array + elements. The ``Par1`` and ``Par2`` operation then produces ``ParR``, a resulting n x n matrix of + correlation coefficients (with a value of 1.0 for the diagonal terms). + + * ``SOLV`` - ( :ref:`moper`, ``ParR``, ``Par1``, SOLV, ``Par2`` ) + + Solution of simultaneous equations: Solves the set of ``n`` equations of ``n`` terms of the form a + n1 x 1 + a n2 x 2 + :sup:`...` + a nn x n = b n where ``Par1`` contains the matrix of + a-coefficients, ``Par2`` contains the vector(s) of b-values, and ``ParR`` contains the vector(s) + of x-results. ``Par1`` must be a square matrix. The equations must be linear, independent, and + well conditioned. + + Non-independent or ill-conditioned equations can cause erroneous results. + + For large matrices, use the APDL Math operation :ref:`lsfactor` for efficiency (see `APDL Math `_ - * ``SORT`` - ( :ref:`moper`, ``ParR``, ``Par1``, SORT, ``Par2``, ``n1``, ``n2``, ``n3`` ) + + * ``SORT`` - ( :ref:`moper`, ``ParR``, ``Par1``, SORT, ``Par2``, ``n1``, ``n2``, ``n3`` ) + Matrix sort: Sorts the columns of matrix ``Par1`` according to sort vector ``Par2`` and places the result back into ``Par1``. Rows of ``Par1`` are moved to the corresponding positions indicated by the values of ``Par2``. ``Par2`` may be a column of ``Par1`` (in which case it will also be @@ -205,46 +236,67 @@ def moper( ``Par2`` blank). A secondary sort can be specified by column ``n2``, and a third sort using column ``n3``. ``ParR`` is the vector of initial row positions (the permutation vector). Sorting ``Par1`` according to ``ParR`` should reproduce the initial ordering. - * ``NNEAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, NNEAR, ``Toler`` ) Nearest Node: Finds the - nodes nearest to the given set of points in ``Par1``, where ``Par1`` is an `n` x 3 array of - coordinate locations. ``ParR`` is a vector of the nearest selected nodes, or 0 if no nodes are - nearer than ``Toler``. ``Toler`` defaults to 1 and is limited to the maximum model size. - * ``ENEAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, ENEAR, ``Toler`` ) Nearest Element: Finds the - elements nearest to the given set of points in ``Par1``, where ``Par1`` is an `n` x 3 array of - coordinate locations. ``ParR`` is a vector of the nearest selected elements, or 0 if no element - centroids are nearer than ``Toler``. ``Toler`` defaults to 1 and is limited to the maximum model - size. - * ``MAP`` - ( :ref:`moper`, ``ParR``, ``Par1``, MAP, ``Par2``, ``Par3``, ``kDim``, ``--`` , - ``kOut``, ``LIMIT`` ) Maps the results from one set of points to another. For example, you can - map pressures from a CFD analysis onto your model for a structural analysis. ``Par1`` is the - `Nout` x 3 array of points that will be mapped to. ``Par2`` is the `Nin` x M array that contains M - values of data to be interpolated at each point and corresponds to the Nin x 3 points in ``Par3``. - The resulting ``ParR`` is the Nout x M array of mapped data points. For each point in the - destination mesh, all possible triangles in the source mesh are searched to find the best triangle - containing each point. It then does a linear interpolation inside this triangle. You should - carefully specify your interpolation method and search criteria in order to provide faster and - more accurate results (see ``LIMIT``, below). ``kDim`` is the interpolation criteria. If - ``kDim`` = 2 or 0, two dimensional interpolation is applied (interpolate on a surface). If - ``kDim`` = 3, three dimensional interpolation is applied (interpolate on a volume). ``kOut`` - specified how points outside of the domain are handled. If ``kOut`` = 0, use the value(s) of the - nearest region point for points outside of the region. If ``kOut`` = 1, set results outside of the - region to zero. ``LIMIT`` specifies the number of nearby points considered for interpolation. The - default is 20, and the minimum is 5. Lower values will reduce processing time; however, some - distorted or irregular sets of points will require a higher ``LIMIT`` value to encounter three - nodes for triangulation. Output points are incorrect if they are not within the domain (area or - volume) defined by the specified input points. Also, calculations for out-of-bound points require - much more processing time than do points that are within bounds. Results mapping is available from - the command line only. - * ``INTP`` - ( :ref:`moper`, ``ParR``, ``Par1``, INTP, ``Par2`` ) Finds the elements that - contain each point in the array of n x 3 points in ``Par1``. ``Par2`` will contain the set of - element ID numbers and ``ParR`` will contain their n x 3 set of natural element coordinates - (values between -1 and 1). ``Par1`` must be in global Cartesian coordinates. - * ``SGET`` - ( :ref:`moper`, ``ParR``, ``Par1``, SGET, ``Par2``, ``Label``, ``Comp`` ) Gets - the nodal solution item corresponding to ``Label`` and ``Comp`` (see the :ref:`plnsol` command) - and interpolates it to the given element locations. ``Par1`` contains the n x 3 array of natural - element coordinates (values between -1 and 1) of the n element ID numbers in ``Par2``. ``Par1`` - and ``Par2`` are usually the output of the :ref:`moper` ,,,INTP operation. ``ParR`` contains the n - interpolated results. + + * ``NNEAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, NNEAR, ``Toler`` ) + + Nearest Node: Finds the nodes nearest to the given set of points in ``Par1``, where ``Par1`` is + an n x 3 array of coordinate locations. ``ParR`` is a vector of the nearest selected nodes, or 0 + if no nodes are nearer than ``Toler``. ``Toler`` defaults to 1 and is limited to the maximum + model size. + + * ``ENEAR`` - ( :ref:`moper`, ``ParR``, ``Par1``, ENEAR, ``Toler`` ) + + Nearest Element: Finds the elements nearest to the given set of points in ``Par1``, where + ``Par1`` is an n x 3 array of coordinate locations. ``ParR`` is a vector of the nearest selected + elements, or 0 if no element centroids are nearer than ``Toler``. ``Toler`` defaults to 1 and is + limited to the maximum model size. + + * ``MAP`` - ( :ref:`moper`, ``ParR``, ``Par1``, MAP, ``Par2``, ``Par3``, ``kDim``, ``--``, + ``kOut``, ``LIMIT`` ) + + Maps the results from one set of points to another. For example, you can map pressures from a CFD + analysis onto your model for a structural analysis. + + ``Par1`` is the Nout x 3 array of points that will be mapped to. ``Par2`` is the Nin x M array + that contains M values of data to be interpolated at each point and corresponds to the Nin x 3 + points in ``Par3``. The resulting ``ParR`` is the Nout x M array of mapped data points. + + For each point in the destination mesh, all possible triangles in the source mesh are searched to + find the best triangle containing each point. It then does a linear interpolation inside this + triangle. You should carefully specify your interpolation method and search criteria in order to + provide faster and more accurate results (see ``LIMIT``, below). + + ``kDim`` is the interpolation criteria. If ``kDim`` = 2 or 0, two dimensional interpolation is + applied (interpolate on a surface). If ``kDim`` = 3, three dimensional interpolation is applied + (interpolate on a volume). + + ``kOut`` specified how points outside of the domain are handled. If ``kOut`` = 0, use the value(s) + of the nearest region point for points outside of the region. If ``kOut`` = 1, set results outside + of the region to zero. + + ``LIMIT`` specifies the number of nearby points considered for interpolation. The default is 20, + and the minimum is 5. Lower values will reduce processing time; however, some distorted or + irregular sets of points will require a higher ``LIMIT`` value to encounter three nodes for + triangulation. + + Output points are incorrect if they are not within the domain (area or volume) defined by the + specified input points. Also, calculations for out-of-bound points require much more processing + time than do points that are within bounds. Results mapping is available from the command line + only. + + * ``INTP`` - ( :ref:`moper`, ``ParR``, ``Par1``, INTP, ``Par2`` ) + + Finds the elements that contain each point in the array of n x 3 points in ``Par1``. ``Par2`` + will contain the set of element ID numbers and ``ParR`` will contain their n x 3 set of natural + element coordinates (values between -1 and 1). ``Par1`` must be in global Cartesian coordinates. + + * ``SGET`` - ( :ref:`moper`, ``ParR``, ``Par1``, SGET, ``Par2``, ``Label``, ``Comp`` ) + + Gets the nodal solution item corresponding to ``Label`` and ``Comp`` (see the :ref:`plnsol` + command) and interpolates it to the given element locations. ``Par1`` contains the n x 3 array of + natural element coordinates (values between -1 and 1) of the n element ID numbers in ``Par2``. + ``Par1`` and ``Par2`` are usually the output of the :ref:`moper`,,,INTP operation. ``ParR`` + contains the n interpolated results. val1 : str Additional input used in the operation. The meanings of ``Val1`` through ``Val6`` vary depending @@ -273,16 +325,19 @@ def moper( Notes ----- Each starting array element number must be defined for each array parameter matrix if it does not - start at the first location. For example, :ref:`moper` ,A(2,3),B(1,4),MULT,C(1,5) multiplies + start at the first location. For example, :ref:`moper`,A(2,3),B(1,4),MULT,C(1,5) multiplies submatrix B (starting at element (1,4)) by submatrix C (starting at element (1,5)) and puts the - result in matrix A (starting at element (2,3)). The diagonal corner elements for each submatrix - must be defined: the upper left corner by the array starting element (on this command), the lower - right corner by the current values from the :ref:`vcol` and :ref:`vlen` commands. The default values - are the (1,1) element and the last element in the matrix. No operations progress across matrix - planes (in the 3rd dimension). Absolute values and scale factors may be applied to all parameters ( - :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). Array elements should not - be skipped with the :ref:`vmask` and the ``NINC`` value of the :ref:`vlen` specifications. See the - :ref:`voper` command for details. This command is valid in any processor. + result in matrix A (starting at element (2,3)). + + The diagonal corner elements for each submatrix must be defined: the upper left corner by the array + starting element (on this command), the lower right corner by the current values from the + :ref:`vcol` and :ref:`vlen` commands. The default values are the (1,1) element and the last element + in the matrix. No operations progress across matrix planes (in the 3rd dimension). Absolute values + and scale factors may be applied to all parameters ( :ref:`vabs`, :ref:`vfact` ). Results may be + cumulative ( :ref:`vcum` ). Array elements should not be skipped with the :ref:`vmask` and the + ``NINC`` value of the :ref:`vlen` specifications. See the :ref:`voper` command for details. + + This command is valid in any processor. """ command = ( f"*MOPER,{parr},{par1},{oper},{val1},{val2},{val3},{val4},{val5},{val6}" @@ -308,9 +363,11 @@ def mfouri( oper : str Type of Fourier operation: - * ``FIT`` - Calculate Fourier coefficients ``COEFF`` from ``MODE``, ``ISYM``, ``THETA``, and + * ``FIT`` - Calculate Fourier coefficients ``COEFF`` from ``MODE``, ``ISYM``, ``THETA``, and ``CURVE``. - * ``EVAL`` - Evaluate the Fourier curve ``CURVE`` from ``COEFF``, ``MODE``, ``ISYM`` and ``THETA`` + + * ``EVAL`` - Evaluate the Fourier curve ``CURVE`` from ``COEFF``, ``MODE``, ``ISYM`` and + ``THETA`` coeff : str Name of the array parameter vector containing the Fourier coefficients (calculated if ``Oper`` = @@ -323,8 +380,9 @@ def mfouri( Name of the array parameter vector containing the symmetry key for the corresponding Fourier terms. The vector should contain keys for each term as follows: - * ``0 or 1`` - Symmetric (cosine) term - * ``-1`` - Antisymmetric (sine) term. + * ``0 or 1`` - Symmetric (cosine) term + + * ``-1`` - Antisymmetric (sine) term. theta : str Names of the array parameter vectors containing the theta vs. curve description, respectively. @@ -341,7 +399,7 @@ def mfouri( Notes ----- Calculates the coefficients of a Fourier series for a given curve, or evaluates the Fourier curve - from the given (or previously calculated) coefficients. The lengths of the ``COEFF``, ``MODE`` , + from the given (or previously calculated) coefficients. The lengths of the ``COEFF``, ``MODE``, and ``ISYM`` vectors must be the same--typically two times the number of modes desired, since two terms (sine and cosine) are generally required for each mode. The lengths of the ``CURVE`` and ``THETA`` vectors should be the same or the smaller of the two will be used. There should be a @@ -351,6 +409,7 @@ def mfouri( do not apply to this command. Array elements should not be skipped with the :ref:`vmask` and the ``NINC`` value of the :ref:`vlen` specifications. The vector being calculated ( ``COEFF`` if ``Oper`` is FIT, or ``CURVE`` if ``Oper`` is EVAL) must exist as a dimensioned array ( :ref:`dim` ). + This command is valid in any processor. """ command = f"*MFOURI,{oper},{coeff},{mode},{isym},{theta},{curve}" @@ -376,12 +435,12 @@ def sread( Name of the string array parameter which will hold the read file. String array parameters are similar to character arrays, but each array element can be as long as 248 characters. If the string parameter does not exist, it will be created. The array will be created as: - \*DIM,StrArray,STRING,nChar,nRead + *DIM,StrArray,STRING,nChar,nRead fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. ext : str Filename extension (eight-character maximum). @@ -428,8 +487,8 @@ def toper( Name of the first table parameter. oper : str - The operation to be performed: ADD. The operation is: ParR(i,j,k) = FACT1\*Par1(i,j,k) + FACT2 - \*Par2(i,j,k) +CON1 + The operation to be performed: ADD. The operation is: ParR(i,j,k) = FACT1\2Par1(i,j,k) + FACT2 + *Par2(i,j,k) +CON1 par2 : str Name of the second table parameter. @@ -445,12 +504,16 @@ def toper( Notes ----- - :ref:`toper` operates on table parameters according to: ParR(i,j,k) = FACT1\*Par1(i,j,k) + FACT2 - \*Par2(i,j,k) +CON1 Par1 and Par2 must have the same dimensions and the same variable names - corresponding to those dimensions. Par1 and Par2 must also have identical index values for rows, - columns, etc. If you want a local coordinate system for the resulting array, you must dimension it - as such using the :ref:`dim` command before issuing :ref:`toper`. This command is valid in any - processor. + :ref:`toper` operates on table parameters according to: ParR(i,j,k) = FACT1\2Par1(i,j,k) + FACT2 + *Par2(i,j,k) +CON1 + + Par1 and Par2 must have the same dimensions and the same variable names corresponding to those + dimensions. Par1 and Par2 must also have identical index values for rows, columns, etc. + + If you want a local coordinate system for the resulting array, you must dimension it as such using + the :ref:`dim` command before issuing :ref:`toper` . + + This command is valid in any processor. """ command = f"*TOPER,{parr},{par1},{oper},{par2},{fact1},{fact2},{con1}" return self.run(command, **kwargs) @@ -514,22 +577,29 @@ def starvplot( ----- The column to be graphed and the starting row for each array parameter must be specified as subscripts. Additional columns of the ``ParY`` array parameter may be graphed by specifying column - numbers for ``Y2``, ``Y3`` ,..., ``Y8``. For example, :ref:`starvplot` ,TIME (4,6), DISP (8,1),2,3 - specifies that the 1st, 2nd, and 3rd columns of array parameter DISP (all starting at row 8) are to - be graphed against the 6th column of array parameter TIME (starting at row 4). The columns are - graphed from the starting row to their maximum extent. See the :ref:`vlen` and :ref:`vmask` commands - to limit or skip data to be graphed. The array parameters specified on the :ref:`starvplot` command - must be of the same type (type ARRAY or TABLE; ( :ref:`dim` ). Arrays of type TABLE are graphed as - continuous curves. Arrays of type ARRAY is displayed in bar chart fashion. The normal curve - labeling scheme for :ref:`starvplot` is to label curve 1 "COL 1", curve 2 "COL 2" and so on. You can - use the :ref:`gcolumn` command to apply user-specified labels (8 characters maximum) to your curves. - See `Modifying Curve Labels + numbers for ``Y2``, ``Y3``, ..., ``Y8``. For example, :ref:`starvplot` ,TIME (4,6), DISP + (8,1),2,3 specifies that the 1st, 2nd, and 3rd columns of array parameter DISP (all starting at row + 8) are to be graphed against the 6th column of array parameter TIME (starting at row 4). The columns + are graphed from the starting row to their maximum extent. See the :ref:`vlen` and :ref:`vmask` + commands to limit or skip data to be graphed. The array parameters specified on the :ref:`starvplot` + command must be of the same type (type ARRAY or TABLE; ( :ref:`dim` ). Arrays of type TABLE are + graphed as continuous curves. Arrays of type ARRAY is displayed in bar chart fashion. + + The normal curve labeling scheme for :ref:`starvplot` is to label curve 1 "COL 1", curve 2 "COL 2" + and so on. You can use the :ref:`gcolumn` command to apply user-specified labels (8 characters + maximum) to your curves. See `Modifying Curve Labels `_ - in the `Ansys Parametric Design Language Guide `_ for more information on using :ref:`gcolumn`. Caret 243? When a graph plot reaches - minimum or maximum y-axis limits, the program indicates the condition by clipping the graph. The - clip appears as a horizontal magenta line. Mechanical APDL calculates y-axis limits automatically; however, - you can modify the (YMIN and YMAX) limits via the :ref:`yrange` command. This command is valid in - any processor. + in the `Ansys Parametric Design Language Guide + `_ ANSYS Parametric + Design Language Guide for more information on using :ref:`gcolumn`. + + + When a graph plot reaches minimum or maximum y-axis limits, the program indicates the condition by + clipping the graph. The clip appears as a horizontal magenta line. Mechanical APDL calculates y-axis + limits + automatically; however, you can modify the (YMIN and YMAX) limits via the :ref:`yrange` command. + + This command is valid in any processor. """ command = f"*VPLOT,{parx},{pary},{y2},{y3},{y4},{y5},{y6},{y7},{y8}" return self.run(command, **kwargs) @@ -558,8 +628,10 @@ def vmask(self, par: str = "", **kwargs): greater than 0.0 are 1.0 (true). If the mask vector is not specified (or has fewer values than the result vector), true (1.0) values are assumed for the unspecified values. Another skip control may be input with ``NINC`` on the :ref:`vlen` command. If both are present, operations occur only when - both are true. The mask setting is `reset` to the default (no mask) after each \*V ``XX`` or \*M - ``XX`` operation. Use :ref:`vstat` to list settings. This command is valid in any processor. + both are true. The mask setting is reset to the default (no mask) after each **\*V** ``XX`` or + **\*M** ``XX`` operation. Use :ref:`vstat` to list settings. + + This command is valid in any processor. """ command = f"*VMASK,{par}" return self.run(command, **kwargs) @@ -572,26 +644,31 @@ def vcol(self, ncol1: str = "", ncol2: str = "", **kwargs): Parameters ---------- ncol1 : str - Number of columns to be used for Par1 with \*M ``XX`` operations. Defaults to whatever is needed - to fill the result array. + Number of columns to be used for Par1 with **\*M** ``XX`` operations. Defaults to whatever is + needed to fill the result array. ncol2 : str - Number of columns to be used for Par2 with \*M ``XX`` operations. Defaults to whatever is needed - to fill the result array. + Number of columns to be used for Par2 with **\*M** ``XX`` operations. Defaults to whatever is + needed to fill the result array. Notes ----- Specifies the number of columns to be used in array parameter matrix operations. The size of the submatrix used is determined from the upper left starting array element (defined on the operation command) to the lower right array element (defined by the number of columns on this command and the - number of rows on the :ref:`vlen` command). The default ``NCOL`` is calculated from the maximum - number of columns of the result array (the :ref:`dim` column dimension) minus the starting location - + 1. For example, :ref:`dim` ,R,,1,10 and a starting location of R(1,7) gives a default of 4 columns - ( starting with R(1,7), R(1,8), R(1,9), and R(1,10)). Repeat operations automatically terminate at - the last column of the result array. Existing values in the rows and columns of the results matrix - remain unchanged where not overwritten by the requested input or operation values. The column - control settings are `reset` to the defaults after each \*M ``XX`` operation. Use :ref:`vstat` to - list settings. This command is valid in any processor. + number of rows on the :ref:`vlen` command). + + The default ``NCOL`` is calculated from the maximum number of columns of the result array (the + :ref:`dim` column dimension) minus the starting location + 1. For example, :ref:`dim` ,R,,1,10 and a + starting location of R(1,7) gives a default of 4 columns ( starting with R(1,7), R(1,8), R(1,9), and + R(1,10)). Repeat operations automatically terminate at the last column of the result array. Existing + values in the rows and columns of the results matrix remain unchanged where not overwritten by the + requested input or operation values. + + The column control settings are reset to the defaults after each **\*M** ``XX`` operation. Use + :ref:`vstat` to list settings. + + This command is valid in any processor. """ command = f"*VCOL,{ncol1},{ncol2}" return self.run(command, **kwargs) @@ -609,23 +686,36 @@ def vscfun(self, parr: str = "", func: str = "", par1: str = "", **kwargs): func : str Functions: - * ``MAX`` - Maximum: the maximum ``Par1`` array element value. - * ``MIN`` - Minimum: the minimum ``Par1`` array element value. - * ``LMAX`` - Index location of the maximum ``Par1`` array element value. Array ``Par1`` is searched - starting from its specified index. - * ``LMIN`` - Index location of the minimum ``Par1`` array element value. Array ``Par1`` is searched - starting from its specified index. - * ``FIRST`` - Index location of the first nonzero value in array ``Par1``. Array ``Par1`` is + * ``MAX`` - Maximum: the maximum ``Par1`` array element value. + + * ``MIN`` - Minimum: the minimum ``Par1`` array element value. + + * ``LMAX`` - Index location of the maximum ``Par1`` array element value. Array ``Par1`` is + searched starting from its specified index. + + * ``LMIN`` - Index location of the minimum ``Par1`` array element value. Array ``Par1`` is + searched starting from its specified index. + + * ``FIRST`` - Index location of the first nonzero value in array ``Par1``. Array ``Par1`` is searched starting from its specified index. - * ``LAST`` - Index location of the last nonzero value in array ``Par1``. Array ``Par1`` is searched - starting from its specified index. - * ``SUM`` - Sum: ``Par1`` (the summation of the ``Par1`` array element values). - * ``MEDI`` - Median: value of ``Par1`` at which there are an equal number of values above and below. - * ``MEAN`` - Mean: (σ Par1)/NUM, where NUM is the number of summed values. - * ``VARI`` - Variance: (σ (( ``Par1`` -MEAN)\*\*2))/NUM. - * ``STDV`` - Standard deviation: square root of VARI. - * ``RMS`` - Root-mean-square: square root of (σ ( ``Par1`` \*\*2))/NUM. - * ``NUM`` - Number: the number of summed values (masked values are not counted). + + * ``LAST`` - Index location of the last nonzero value in array ``Par1``. Array ``Par1`` is + searched starting from its specified index. + + * ``SUM`` - Sum: ``Par1`` (the summation of the ``Par1`` array element values). + + * ``MEDI`` - Median: value of ``Par1`` at which there are an equal number of values above and + below. + + * ``MEAN`` - Mean: (σ Par1)/NUM, where NUM is the number of summed values. + + * ``VARI`` - Variance: (σ (( ``Par1`` -MEAN)**2))/NUM. + + * ``STDV`` - Standard deviation: square root of VARI. + + * ``RMS`` - Root-mean-square: square root of (σ ( ``Par1`` **2))/NUM. + + * ``NUM`` - Number: the number of summed values (masked values are not counted). par1 : str Array parameter vector in the operation. @@ -633,13 +723,16 @@ def vscfun(self, parr: str = "", func: str = "", par1: str = "", **kwargs): Notes ----- Operates on one input array parameter vector and produces one output scalar parameter according to: - ``ParR`` = f( ``Par1`` ) where the functions (f) are described below. The starting array element - number must be defined for the array parameter vector. For example, :ref:`vscfun` ,MU,MEAN,A(1) - finds the mean of the A vector values, starting from the first value and stores the result as - parameter MU. Operations use successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the - default being all successive array elements. Absolute values and scale factors may be applied to all - parameters ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). See the - :ref:`voper` command for details. This command is valid in any processor. + ``ParR`` = f( ``Par1`` ) + + where the functions (f) are described below. The starting array element number must be defined for + the array parameter vector. For example, :ref:`vscfun` ,MU,MEAN,A(1) finds the mean of the A vector + values, starting from the first value and stores the result as parameter MU. Operations use + successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the default being all successive array + elements. Absolute values and scale factors may be applied to all parameters ( :ref:`vabs` , + :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). See the :ref:`voper` command for details. + + This command is valid in any processor. """ command = f"*VSCFUN,{parr},{func},{par1}" return self.run(command, **kwargs) @@ -652,7 +745,9 @@ def vstat(self, **kwargs): Notes ----- Lists the current specifications for the :ref:`vabs`, :ref:`vcol`, :ref:`vcum`, :ref:`vfact` , - :ref:`vlen`, and :ref:`vmask` commands. This command is valid in any processor. + :ref:`vlen`, and :ref:`vmask` commands. + + This command is valid in any processor. """ command = f"*VSTAT" return self.run(command, **kwargs) @@ -683,59 +778,82 @@ def voper( oper : str Operations: - * ``ADD`` - Addition: ``Par1`` + ``Par2``. - * ``SUB`` - Subtraction: ``Par1`` - ``Par2``. - * ``MULT`` - Multiplication: ``Par1`` * ``Par2``. - * ``DIV`` - Division: ``Par1`` / ``Par2`` (a divide by zero results in a value of zero). - * ``MIN`` - Minimum: minimum of ``Par1`` and ``Par2``. - * ``MAX`` - Maximum: maximum of ``Par1`` and ``Par2``. - * ``LT`` - Less than comparison: ``Par1`` < ``Par2`` gives 1.0 if true, 0.0 if false. - * ``LE`` - Less than or equal comparison: ``Par1`` :math:`` ``Par2`` gives 1.0 if true, 0.0 if + * ``ADD`` - Addition: ``Par1`` + ``Par2``. + + * ``SUB`` - Subtraction: ``Par1`` - ``Par2``. + + * ``MULT`` - Multiplication: ``Par1`` * ``Par2``. + + * ``DIV`` - Division: ``Par1`` / ``Par2`` (a divide by zero results in a value of zero). + + * ``MIN`` - Minimum: minimum of ``Par1`` and ``Par2``. + + * ``MAX`` - Maximum: maximum of ``Par1`` and ``Par2``. + + * ``LT`` - Less than comparison: ``Par1`` < ``Par2`` gives 1.0 if true, 0.0 if false. + + * ``LE`` - Less than or equal comparison: ``Par1`` :math:`` ``Par2`` gives 1.0 if true, 0.0 if false. - * ``EQ`` - Equal comparison: ``Par1`` = ``Par2`` gives 1.0 if true, 0.0 if false. - * ``NE`` - Not equal comparison: ``Par1`` ≠ ``Par2`` gives 1.0 if true, 0.0 if false. - * ``GE`` - Greater than or equal comparison: ``Par1`` :math:`` Par2 gives 1.0 if true, 0.0 if + + * ``EQ`` - Equal comparison: ``Par1`` = ``Par2`` gives 1.0 if true, 0.0 if false. + + * ``NE`` - Not equal comparison: ``Par1`` ≠ ``Par2`` gives 1.0 if true, 0.0 if false. + + * ``GE`` - Greater than or equal comparison: ``Par1`` :math:`` Par2 gives 1.0 if true, 0.0 if false. - * ``GT`` - Greater than comparison: ``Par1`` > ``Par2`` gives 1.0 if true, 0.0 if false. - * ``DER1`` - First derivative: d( ``Par1`` )/d( ``Par2`` ). The derivative at a point is determined - over points half way between the previous and next points (by linear interpolation). ``Par1`` must - be a function (a unique ``Par1`` value for each ``Par2`` value) and ``Par2`` must be in ascending - order. - * ``DER2`` - Second derivative: d :sup:`2` ( ``Par1`` )/d( ``Par2`` ) :sup:`2`. See also DER1. - * ``INT1`` - Single integral: ``Par1`` d( ``Par2`` ), where ``CON1`` is the integration constant. + + * ``GT`` - Greater than comparison: ``Par1`` > ``Par2`` gives 1.0 if true, 0.0 if false. + + * ``DER1`` - First derivative: d( ``Par1`` )/d( ``Par2`` ). The derivative at a point is + determined over points half way between the previous and next points (by linear interpolation). + ``Par1`` must be a function (a unique ``Par1`` value for each ``Par2`` value) and ``Par2`` must be + in ascending order. + + * ``DER2`` - Second derivative: d :sup:`2` ( ``Par1`` )/d( ``Par2`` ) :sup:`2`. See also DER1. + + * ``INT1`` - Single integral: ``Par1`` d( ``Par2`` ), where ``CON1`` is the integration constant. The integral at a point is determined by using the single integration procedure described in the - `Theory Reference `_. - * ``INT2`` - Double integral: ``Par1`` d( ``Par2`` ), where ``CON1`` is the integration constant + `Theory Reference `_ Mechanical APDL Theory Reference. + + * ``INT2`` - Double integral: ``Par1`` d( ``Par2`` ), where ``CON1`` is the integration constant of the first integral and ``CON2`` is the integration constant of the second integral. If ``Par1`` contains acceleration data, ``CON1`` is the initial velocity and ``CON2`` is the initial displacement. See also INT1. - * ``DOT`` - Dot product: ``Par1``. ``Par2``. ``Par1`` and ``Par2`` must each have three consecutive - columns of data, with the columns containing the i, j, and k vector components, respectively. Only - the starting row index and the column index for the i components are specified for ``Par1`` and - ``Par2``, such as A(1,1). The j and k components of the vector are assumed to begin in the - corresponding next columns, such as A(1,2) and A(1,3). - * ``CROSS`` - Cross product: ``Par1`` x ``Par2``. ``Par1``, ``Par2``, and ``ParR`` must each have - 3 components, respectively. Only the starting row index and the column index for the i components - are specified for ``Par1``, ``Par2``, and ``ParR``, such as A(1,1). The j and k components of - the vector are assumed to begin in the corresponding next columns, such as A(1,2) and A(1,3). - * ``GATH`` - Gather: For a vector of position numbers, ``Par2``, copy the value of ``Par1`` at each - position number to ``ParR``. Example: for ``Par1`` = 10,20,30,40 and ``Par2`` = 2,4,1; ``ParR`` = - 20,40,10. - * ``SCAT`` - Scatter: Opposite of GATH operation. For a vector of position numbers, ``Par2``, copy - the value of ``Par1`` to that position number in ``ParR``. Example: for ``Par1`` = 10,20,30,40,50 - and ``Par2`` = 2,1,0,5,3; ``ParR`` = 20,10,50,0,40. - * ``ATN2`` - Arctangent: arctangent of ``Par1`` / ``Par2`` with the sign of each component + + * ``DOT`` - Dot product: ``Par1``. ``Par2``. ``Par1`` and ``Par2`` must each have three + consecutive columns of data, with the columns containing the i, j, and k vector components, + respectively. Only the starting row index and the column index for the i components are specified + for ``Par1`` and ``Par2``, such as A(1,1). The j and k components of the vector are assumed to + begin in the corresponding next columns, such as A(1,2) and A(1,3). + + * ``CROSS`` - Cross product: ``Par1`` x ``Par2``. ``Par1``, ``Par2``, and ``ParR`` must each + have 3 components, respectively. Only the starting row index and the column index for the i + components are specified for ``Par1``, ``Par2``, and ``ParR``, such as A(1,1). The j and k + components of the vector are assumed to begin in the corresponding next columns, such as A(1,2) + and A(1,3). + + * ``GATH`` - Gather: For a vector of position numbers, ``Par2``, copy the value of ``Par1`` at + each position number to ``ParR``. Example: for ``Par1`` = 10,20,30,40 and ``Par2`` = 2,4,1; + ``ParR`` = 20,40,10. + + * ``SCAT`` - Scatter: Opposite of GATH operation. For a vector of position numbers, ``Par2``, + copy the value of ``Par1`` to that position number in ``ParR``. Example: for ``Par1`` = + 10,20,30,40,50 and ``Par2`` = 2,1,0,5,3; ``ParR`` = 20,10,50,0,40. + + * ``ATN2`` - Arctangent: arctangent of ``Par1`` / ``Par2`` with the sign of each component considered. - * ``LOCAL`` - Transform the data in ``Par1`` from the global Cartesian coordinate system to the - local coordinate system given in ``CON1``. ``Par1`` must be an `N x 3` (that is, vector) or an `N - x 6` (that is, stress or strain tensor) array. If the local coordinate system is a cylindrical, + + * ``LOCAL`` - Transform the data in ``Par1`` from the global Cartesian coordinate system to the + local coordinate system given in ``CON1``. ``Par1`` must be an N x 3 (that is, vector) or an N x + 6 (that is, stress or strain tensor) array. If the local coordinate system is a cylindrical, spherical, or toroidal system, then you must provide the global Cartesian coordinates in ``Par2`` - as an `N x 3` array. Set ``CON2`` = 1 if the data is strain data. - * ``GLOBAL`` - Transform the data in ``Par1`` from the local coordinate system given in ``CON1`` to - the global Cartesian coordinate system. ``Par1`` must be an `N x 3` (that is, vector) or an `N x - 6` (that is, stress or strain tensor) array. If the local coordinate system is a cylindrical, + as an N x 3 array. Set ``CON2`` = 1 if the data is strain data. + + * ``GLOBAL`` - Transform the data in ``Par1`` from the local coordinate system given in ``CON1`` + to the global Cartesian coordinate system. ``Par1`` must be an N x 3 (that is, vector) or an N x 6 + (that is, stress or strain tensor) array. If the local coordinate system is a cylindrical, spherical, or toroidal system, then you must provide the global Cartesian coordinates in ``Par2`` - as an `N x 3` array. Set ``CON2`` = 1 if the data is strain data. + as an N x 3 array. Set ``CON2`` = 1 if the data is strain data. par2 : str Second array parameter vector in the operation. May also be a scalar parameter or a literal @@ -750,37 +868,57 @@ def voper( Notes ----- Operates on two input array parameter vectors and produces one output array parameter vector - according to: ``ParR`` = ``Par1`` o ``Par2`` where the operations (o) are described below. - ``ParR`` can be the same as ``Par1`` or ``Par2``. Absolute values and scale factors can be applied - to all parameters ( :ref:`vabs`, :ref:`vfact` ). Results can be cumulative ( :ref:`vcum` ). + according to: ``ParR`` = ``Par1`` o ``Par2`` + + where the operations (o) are described below. ``ParR`` can be the same as ``Par1`` or ``Par2``. + + Absolute values and scale factors can be applied to all parameters ( :ref:`vabs`, :ref:`vfact` ). + Results can be cumulative ( :ref:`vcum` ). + Starting array element numbers must be defined for each array parameter vector if it does not start - at the first location, such as :ref:`voper` ,A,B(5),ADD,C(3) which adds the third element of C to - the fifth element of B and stores the result in the first element of A. Operations continue on - successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the default being all successive - elements. Skipping array elements via :ref:`vmask` or :ref:`vlen` for the DER and INT functions - skips only the writing of the results (skipped array element data are used in all calculations). + at the first location, such as :ref:`voper`,A,B(5),ADD,C(3) which adds the third element of C to + the fifth element of B and stores the result in the first element of A. + + Operations continue on successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the default + being all successive elements. + + Skipping array elements via :ref:`vmask` or :ref:`vlen` for the DER and INT functions skips only + the writing of the results (skipped array element data are used in all calculations). + Parameter functions and operations are available to operate on a scalar parameter or a single element of an array parameter, such as SQRT(B) or SQRT(A(4)). (See :ref:`starset` for more - information.) Operations on a sequence of array elements can be performed by repeating the desired - function or operation in a do-loop ( :ref:`do` ). The vector operations within Mechanical APDLm ( \*V ``XX`` + information.) + + Operations on a sequence of array elements can be performed by repeating the desired function or + operation in a do-loop ( :ref:`do` ). The vector operations within Mechanical APDLm ( **\*V** ``XX`` commands) are internally programmed do-loops that conveniently perform the indicated operation over a sequence of array elements. If the array is multidimensional, only the first subscript is incremented in the do-loop; that is, the operation repeats in column vector fashion down the array. For example, for A(1,5), A(2,5), A(3,5), etc. The starting location of the row index must be defined - for each parameter read and for the result written. The default number of loops is from the - starting result location to the last result location and can be altered via :ref:`vlen`. A logical - mask vector can be defined to control at which locations the operations are to be skipped ( - :ref:`vmask` ). The default is to skip no locations. Repeat operations automatically terminate at - the last array element of the result array column if the number of loops is undefined or if it - exceeds the last result array element. Zeroes are used in operations for values read beyond the - last array element of an input array column. Existing values in the rows and columns of the results - matrix remain unchanged where not changed by the requested operation values. The result array - column may be the same as the input array column, as results in progress are stored in a temporary - array until being moved to the results array at the end of the operation. Results may be overwritten - or accumulated with the existing results ( :ref:`vcum` ). The default is to overwrite results. The - absolute value can be used for each parameter read or written ( :ref:`vabs` ). A scale factor - (defaulting to 1.0) is also applied to each parameter read and written ( :ref:`vfact` ). This - command is valid in any processor. + for each parameter read and for the result written. + + The default number of loops is from the starting result location to the last result location and can + be altered via :ref:`vlen`. + + A logical mask vector can be defined to control at which locations the operations are to be skipped + ( :ref:`vmask` ). The default is to skip no locations. + + Repeat operations automatically terminate at the last array element of the result array column if + the number of loops is undefined or if it exceeds the last result array element. + + Zeroes are used in operations for values read beyond the last array element of an input array + column. Existing values in the rows and columns of the results matrix remain unchanged where not + changed by the requested operation values. + + The result array column may be the same as the input array column, as results in progress are stored + in a temporary array until being moved to the results array at the end of the operation. Results may + be overwritten or accumulated with the existing results ( :ref:`vcum` ). The default is to overwrite + results. + + The absolute value can be used for each parameter read or written ( :ref:`vabs` ). A scale factor + (defaulting to 1.0) is also applied to each parameter read and written ( :ref:`vfact` ). + + This command is valid in any processor. """ command = f"*VOPER,{parr},{par1},{oper},{par2},{con1},{con2}" return self.run(command, **kwargs) @@ -815,122 +953,122 @@ def vwrite( Parameters ---------- par1 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par2 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par3 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par4 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par5 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par6 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par7 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par8 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par9 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par10 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par11 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par12 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par13 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par14 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par15 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par16 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par17 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par18 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. par19 : str - You can write up to 19 parameters (or constants) at a time. Any `Par` values after a blank `Par` + You can write up to 19 parameters (or constants) at a time. Any Par values after a blank Par value are ignored. If you leave them all blank, one line will be written (to write a title or a blank line). If you input the keyword SEQU, a sequence of numbers (starting from 1) will be written for that item. Notes ----- - You use :ref:`vwrite` to write data to a file in a formatted sequence. Data items ( ``Par1`` , + You use :ref:`vwrite` to write data to a file in a formatted sequence. Data items ( ``Par1``, ``Par2``, etc.) may be array parameters, scalar parameters, character parameters (scalar or array), or constants. You must evaluate expressions and functions in the data item fields before using the :ref:`vwrite` command, since initially they will be evaluated to a constant and remain constant @@ -939,38 +1077,48 @@ def vwrite( file by first switching the current output file with the :ref:`output` command. You can also use the :ref:`mwrite` command to write data to a specified file. Both commands contain format descriptors on the line immediately following the command. The format descriptors can be in either FORTRAN or C - format. You must enclose FORTRAN format descriptors in parentheses. They must immediately follow - the :ref:`vwrite` command on a separate line of the same input file. Do not include the word FORMAT. - The format must specify the number of fields to be written per line, the field width, the placement - of the decimal point, etc. You should use one field descriptor for each data item written. The write + format. + + You must enclose FORTRAN format descriptors in parentheses. They must immediately follow the + :ref:`vwrite` command on a separate line of the same input file. Do not include the word FORMAT. The + format must specify the number of fields to be written per line, the field width, the placement of + the decimal point, etc. You should use one field descriptor for each data item written. The write operation uses your system's available FORTRAN FORMAT conventions (see your system FORTRAN manual). - You can use any standard FORTRAN `real` format (such as (4F6.0), (E10.3,2X,D8.2), etc.) and - alphanumeric format (A). Alphanumeric strings are limited to a maximum of 8 characters for any field - (A8) using the FORTRAN format. Use the "C" format for string arrays larger than 8 characters. - Integer (I) and list-directed (\*) descriptors may `not` be used. You can include text in the format - as a quoted string. `The parentheses must be included in the format` and the format must not exceed - 80 characters (including parentheses). The output line length is limited to 128 characters. The "C" - format descriptors are used if the first character of the format descriptor line is not a left - parenthesis. "C" format descriptors are up to 80 characters long, consisting of text strings and - predefined "data descriptors" between the strings where numeric or alphanumeric character data will - be inserted. The normal descriptors are %I for integer data, %G for double precision data, %C for - alphanumeric character data, and %/ for a line break. There must be one data descriptor for each + You can use any standard FORTRAN real format (such as (4F6.0), (E10.3,2X,D8.2), etc.) and + alphanumeric format (A). Alphanumeric strings + are limited to a maximum of 8 characters for any field (A8) using the FORTRAN format. Use the "C" + format for string arrays larger than 8 characters. Integer (I) and list-directed (\2) descriptors may + not be used. You can include text in the format as a quoted string. The parentheses must be included + in the format and the format must not exceed 80 characters (including parentheses). The output line + length is + limited to 128 characters. + + The "C" format descriptors are used if the first character of the format descriptor line is not a + left parenthesis. "C" format descriptors are up to 80 characters long, consisting of text strings + and predefined "data descriptors" between the strings where numeric or alphanumeric character data + will be inserted. The normal descriptors are %I for integer data, %G for double precision data, %C + for alphanumeric character data, and %/ for a line break. There must be one data descriptor for each specified value (8 maximum) in the order of the specified values. The enhanced formats described in - :ref:`msg` may also be used. For array parameter items, you must define the starting array element - number. Looping continues (incrementing the vector index number of each array parameter by one) each - time you output a line, until the maximum array vector element is written. For example, - :ref:`vwrite` ,A(1) followed by (F6.0) will write one value per output line, that is, A(1), A(2), - A(3), A(4), etc. You write constants and scalar parameters with the same values for each loop. You - can also control the number of loops and loop skipping with the :ref:`vlen` and :ref:`vmask` - commands. The vector specifications :ref:`vabs`, :ref:`vfact`, and :ref:`vcum` do not apply to - this command. If looping continues beyond the supplied data array's length, zeros will be output for - numeric array parameters and blanks for character array parameters. For multi-dimensioned array - parameters, only the first (row) subscript is incremented. See the :ref:`voper` command for details. - If you are in the GUI, the :ref:`vwrite` command must be contained in an externally prepared file - and read into Mechanical APDL (that is, :ref:`use`, :ref:`input`, etc.). If ``Par`` is a table array - name, the subscripts refer to the index numbers of the table and not the index values of its primary - variables. See :ref:`starset` if you want to evaluate a table array at certain values of its primary - variables for writing. This command is valid in any processor. + :ref:`msg` may also be used. + + For array parameter items, you must define the starting array element number. Looping continues + (incrementing the vector index number of each array parameter by one) each time you output a line, + until the maximum array vector element is written. For example, :ref:`vwrite`,A(1) followed by + (F6.0) will write one value per output line, that is, A(1), A(2), A(3), A(4), etc. You write + constants and scalar parameters with the same values for each loop. You can also control the number + of loops and loop skipping with the :ref:`vlen` and :ref:`vmask` commands. The vector specifications + :ref:`vabs`, :ref:`vfact`, and :ref:`vcum` do not apply to this command. If looping continues + beyond the supplied data array's length, zeros will be output for numeric array parameters and + blanks for character array parameters. For multi-dimensioned array parameters, only the first (row) + subscript is incremented. See the :ref:`voper` command for details. If you are in the GUI, the + :ref:`vwrite` command must be contained in an externally prepared file and read into Mechanical APDL + (that is, :ref:`use`, :ref:`input`, etc.). + + If ``Par`` is a table array name, the subscripts refer to the index numbers of the table and not the + index values of its primary variables. See :ref:`starset` if you want to evaluate a table array at + certain values of its primary variables for writing. + + This command is valid in any processor. """ command = f"*VWRITE,{par1},{par2},{par3},{par4},{par5},{par6},{par7},{par8},{par9},{par10},{par11},{par12},{par13},{par14},{par15},{par16},{par17},{par18},{par19}" return self.run(command, **kwargs) @@ -1012,18 +1160,21 @@ def vitrp( ----- Forms an array parameter (of type ARRAY) by interpolating values of an array parameter (of type TABLE) at specified table index locations according to: ``ParR`` = f( ``ParT``, ``Parl``, ``ParJ`` - , ``ParK`` ) where ``ParT`` is the type TABLE array parameter, and ``ParI``, ``ParJ``, ``ParK`` - are the type ARRAY array parameter vectors of index values for interpolation in ``ParT``. See the - :ref:`dim` command for TABLE and ARRAY declaration types. Linear interpolation is used. The starting - array element number for the TABLE array ( ``ParT`` ) is not used (but a value must be input). - Starting array element numbers must be defined for each array parameter vector if it does not start - at the first location. For example, :ref:`vitrp` ,R(5),TAB(1,1),X(2),Y(4) uses the second element of - X and the fourth element of Y as index values (row and column) for a 2D interpolation in TAB and - stores the result in the fifth element of R. Operations continue on successive array elements ( - :ref:`vlen`, :ref:`vmask` ) with the default being all successive elements. Absolute values and - scale factors may be applied to the result parameter ( :ref:`vabs`, :ref:`vfact` ). Results may be - cumulative ( :ref:`vcum` ). See the :ref:`voper` command for details. This command is valid in any - processor. + , ``ParK`` ) + + where ``ParT`` is the type TABLE array parameter, and ``ParI``, ``ParJ``, ``ParK`` are the type + ARRAY array parameter vectors of index values for interpolation in ``ParT``. See the :ref:`dim` + command for TABLE and ARRAY declaration types. Linear interpolation is used. The starting array + element number for the TABLE array ( ``ParT`` ) is not used (but a value must be input). Starting + array element numbers must be defined for each array parameter vector if it does not start at the + first location. For example, :ref:`vitrp` ,R(5),TAB(1,1),X(2),Y(4) uses the second element of X and + the fourth element of Y as index values (row and column) for a 2D interpolation in TAB and stores + the result in the fifth element of R. Operations continue on successive array elements ( :ref:`vlen` + , :ref:`vmask` ) with the default being all successive elements. Absolute values and scale factors + may be applied to the result parameter ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( + :ref:`vcum` ). See the :ref:`voper` command for details. + + This command is valid in any processor. """ command = f"*VITRP,{parr},{part},{pari},{parj},{park}" return self.run(command, **kwargs) @@ -1045,35 +1196,45 @@ def vabs( kabsr : str Absolute value of results parameter: - * ``0`` - Do not take absolute value of results parameter (ParR). - * ``1`` - Take absolute value. + * ``0`` - Do not take absolute value of results parameter (ParR). + + * ``1`` - Take absolute value. kabs1 : str Absolute value of first parameter: - * ``0`` - Do not take absolute value of first parameter (Par1 or ParI). - * ``1`` - Take absolute value. + * ``0`` - Do not take absolute value of first parameter (Par1 or ParI). + + * ``1`` - Take absolute value. kabs2 : str Absolute value of second parameter: - * ``0`` - Do not take absolute value of second parameter (Par2 or ParJ). - * ``1`` - Take absolute value. + * ``0`` - Do not take absolute value of second parameter (Par2 or ParJ). + + * ``1`` - Take absolute value. kabs3 : str Absolute value of third parameter: - * ``0`` - Do not take absolute value of third parameter (Par3 or ParK). - * ``1`` - Take absolute value. + * ``0`` - Do not take absolute value of third parameter (Par3 or ParK). + + * ``1`` - Take absolute value. Notes ----- - Applies an absolute value to parameters used in certain \*V ``XX`` and \*M ``XX`` operations. - Typical absolute value applications are of the form: ParR = \|f(\|Par1\|)\| or ParR = \|(\|Par1\| o - \|Par2\|)\| The absolute values are applied to each input parameter value before the operation and to - the result value after the operation. Absolute values are applied before the scale factors so that - negative scale factors may be used. The absolute value settings are `reset` to the default (no - absolute value) after each \*V ``XX`` or \*M ``XX`` operation. Use :ref:`vstat` to list settings. + Applies an absolute value to parameters used in certain **\*V** ``XX`` and **\*M** ``XX`` + operations. Typical absolute value applications are of the form: ParR = \|f(\|Par1\|)\| + + or + + ParR = \|(\|Par1\| o \|Par2\|)\| + + The absolute values are applied to each input parameter value before the operation and to the result + value after the operation. Absolute values are applied before the scale factors so that negative + scale factors may be used. The absolute value settings are reset to the default (no absolute value) + after each **\*V** ``XX`` or **\*M** ``XX`` operation. Use :ref:`vstat` to list settings. + This command is valid in any processor. """ command = f"*VABS,{kabsr},{kabs1},{kabs2},{kabs3}" @@ -1127,19 +1288,36 @@ def starvput( kloop : str Field to be looped on: - * ``0 or 2`` - Loop on the ``ENTNUM`` field (default). - * ``3`` - Loop on the ``Item1`` field. - * ``4`` - Loop on the ``IT1NUM`` field. Successive items are as shown with ``IT1NUM``. - * ``5`` - Loop on the ``Item2`` field. - * ``6`` - Loop on the ``IT2NUM`` field. Successive items are as shown with ``IT2NUM``. + * ``0 or 2`` - Loop on the ``ENTNUM`` field (default). - Notes - ----- - The :ref:`starvput` command is not supported for PowerGraphics displays. Inconsistent results may be obtained if this command is not used in :ref:`graphics`, FULL. + * ``3`` - Loop on the ``Item1`` field. + + * ``4`` - Loop on the ``IT1NUM`` field. Successive items are as shown with ``IT1NUM``. - Plot and print operations entered via the GUI ( Utility Menu> Pltcrtls, Utility Menu> Plot ) incorporate the :ref:`avprin` command. This means that the principal and equivalent values are recalculated. If you use :ref:`starvput` to put data back into the database, issue the plot commands from the command line to preserve your data. + * ``5`` - Loop on the ``Item2`` field. - This operation is basically the inverse of the :ref:`starvget` operation. Vector items are put directly (without any coordinate system transformation) into the Mechanical APDL database. Items can only replace existing items of the database and not create new items. Degree of freedom results that are replaced in the database are available for all subsequent postprocessing operations. Other results are changed temporarily and are available mainly for the immediately following print and display operations. The vector specification :ref:`vcum` does not apply to this command. The valid labels for the location fields ( ``Entity``, ``ENTNUM``, ``Item1``, and ``IT1NUM`` ) are listed below. ``Item2`` and ``IT2NUM`` are not currently used. Not all items from the :ref:`starvget` list are allowed on :ref:`starvput`, as putting values into some locations could cause the database to be inconsistent. + * ``6`` - Loop on the ``IT2NUM`` field. Successive items are as shown with ``IT2NUM``. + + Notes + ----- + The :ref:`starvput` command is not supported for PowerGraphics displays. Inconsistent results may be + obtained if this command is not used in :ref:`graphics`, FULL. + + Plot and print operations entered via the GUI ( Utility Menu> Pltcrtls, Utility Menu> Plot ) + incorporate the :ref:`avprin` command. This means that the principal and equivalent values are + recalculated. If you use :ref:`starvput` to put data back into the database, issue the plot commands + from the command line to preserve your data. + + This operation is basically the inverse of the :ref:`starvget` operation. Vector items are put + directly (without any coordinate system transformation) into the Mechanical APDL database. Items can + only replace existing items of the database and not create new items. Degree of freedom results that + are replaced in the database are available for all subsequent postprocessing operations. Other + results are changed temporarily and are available mainly for the immediately following print and + display operations. The vector specification :ref:`vcum` does not apply to this command. The valid + labels for the location fields ( ``Entity``, ``ENTNUM``, ``Item1``, and ``IT1NUM`` ) are listed + below. ``Item2`` and ``IT2NUM`` are not currently used. Not all items from the :ref:`starvget` list + are allowed on :ref:`starvput`, as putting values into some locations could cause the database to + be inconsistent. This command is valid in any processor. @@ -1160,7 +1338,7 @@ def starvput( - X, Y, or Z structural rotation. * - TEMP - - - Temperature. For SHELL131 and SHELL132 elements with KEYOPT(3) = 0 or 1, use TBOT, TE2, TE3,..., TTOP instead of TEMP. Alternative getfunctions: TEMP(N), TBOT(N), TE2(N), etc. + - Temperature. For SHELL131 and SHELL132 elements with KEYOPT(3) = 0 or 1, use TBOT, TE2, TE3, ..., TTOP instead of TEMP. Alternative getfunctions: TEMP(N), TBOT(N), TE2(N), etc. * - PRES - - Pressure. @@ -1288,7 +1466,7 @@ def starvput( * - FMAG - X, Y, Z - Component electromagnetic force. - * - Entity= ELEM, ``ENTNUM`` = ``n`` (element number) + * - **Entity= ELEM,** ``ENTNUM`` = ``n`` (element number) * - Valid labels for element results are: * - Item1 - IT1NUM @@ -1326,53 +1504,78 @@ def vfun( func : str Function to be performed: - * ``ACOS`` - Arccosine: ACOS( ``Par1`` ). - * ``ASIN`` - Arcsine: ASIN( ``Par1`` ). - * ``ASORT`` - Par1 is sorted in ascending order. :ref:`vcol`, :ref:`vmask`, :ref:`vcum`, and - :ref:`vlen` ,,NINC do not apply. :ref:`vlen` ,NROW does apply. - * ``ATAN`` - Arctangent: ATAN( ``Par1`` ). - * ``COMP`` - Compress: Selectively compresses data set. "True" ( :ref:`vmask` ) values of ``Par1`` + * ``ACOS`` - Arccosine: ACOS( ``Par1`` ). + + * ``ASIN`` - Arcsine: ASIN( ``Par1`` ). + + * ``ASORT`` - Par1 is sorted in ascending order. :ref:`vcol`, :ref:`vmask`, :ref:`vcum`, and + :ref:`vlen`,,NINC do not apply. :ref:`vlen`,NROW does apply. + + * ``ATAN`` - Arctangent: ATAN( ``Par1`` ). + + * ``COMP`` - Compress: Selectively compresses data set. "True" ( :ref:`vmask` ) values of ``Par1`` (or row positions to be considered according to the ``NINC`` value on the :ref:`vlen` command) are written in compressed form to ``ParR``, starting at the specified position. - * ``COPY`` - Copy: ``Par1`` copied to ``ParR``. - * ``COS`` - Cosine: COS( ``Par1`` ). - * ``COSH`` - Hyperbolic cosine: COSH( ``Par1`` ). - * ``DIRCOS`` - Direction cosines of the principal stresses ( ``n`` X9). ``Par1`` contains the ``n`` - X6 component stresses for the ``n`` locations of the calculations. - * ``DSORT`` - ``Par1`` is sorted in descending order. :ref:`vcol`, :ref:`vmask`, :ref:`vcum`, and - :ref:`vlen` ,,NINC do not apply. :ref:`vlen` ,NROW does apply. - * ``EULER`` - Euler angles of the principal stresses ( ``n`` X3). ``Par1`` contains the ``n`` X6 + + * ``COPY`` - Copy: ``Par1`` copied to ``ParR``. + + * ``COS`` - Cosine: COS( ``Par1`` ). + + * ``COSH`` - Hyperbolic cosine: COSH( ``Par1`` ). + + * ``DIRCOS`` - Direction cosines of the principal stresses ( ``n`` X9). ``Par1`` contains the + ``n`` X6 component stresses for the ``n`` locations of the calculations. + + * ``DSORT`` - ``Par1`` is sorted in descending order. :ref:`vcol`, :ref:`vmask`, :ref:`vcum`, + and :ref:`vlen`,,NINC do not apply. :ref:`vlen`,NROW does apply. + + * ``EULER`` - Euler angles of the principal stresses ( ``n`` X3). ``Par1`` contains the ``n`` X6 component stresses for the ``n`` locations of the calculations. - * ``EXP`` - Exponential: EXP( ``Par1`` ). - * ``EXPA`` - Expand: Reverse of the COMP function. All elements of ``Par1`` (starting at the + + * ``EXP`` - Exponential: EXP( ``Par1`` ). + + * ``EXPA`` - Expand: Reverse of the COMP function. All elements of ``Par1`` (starting at the position specified) are written in expanded form to corresponding "true" ( :ref:`vmask` ) positions (or row positions to be considered according to the ``NINC`` value on the :ref:`vlen` command) of ``ParR``. - * ``LOG`` - Natural logarithm: LOG( ``Par1`` ). - * ``LOG10`` - Common logarithm: LOG10( ``Par1`` ). - * ``NINT`` - Nearest integer: 2.783 becomes 3.0, -1.75 becomes -2.0. - * ``NOT`` - Logical complement: values :math:`` 0.0 (false) become 1.0 (true). Values > 0.0 + + * ``LOG`` - Natural logarithm: LOG( ``Par1`` ). + + * ``LOG10`` - Common logarithm: LOG10( ``Par1`` ). + + * ``NINT`` - Nearest integer: 2.783 becomes 3.0, -1.75 becomes -2.0. + + * ``NOT`` - Logical complement: values :math:`` 0.0 (false) become 1.0 (true). Values > 0.0 (true) become0.0 (false). - * ``PRIN`` - Principal stresses ( ``n`` X5). ``Par1`` contains the ``n`` X6 component stresses for + + * ``PRIN`` - Principal stresses ( ``n`` X5). ``Par1`` contains the ``n`` X6 component stresses for the ``n`` locations of the calculations. - * ``PWR`` - Power function: ``Par1`` \*\* ``CON1``. Exponentiation of any negative number in the + + * ``PWR`` - Power function: ``Par1`` ** ``CON1``. Exponentiation of any negative number in the vector ``Par1`` to a non-integer power is performed by exponentiating the positive number and - prepending the minus sign. For example, -4\*\*2.3 is -(4\*\*2.3). - * ``SIN`` - Sine: SIN( ``Par1`` ). - * ``SINH`` - Hyperbolic sine: SINH( ``Par1`` ). - * ``SQRT`` - Square root: SQRT( ``Par1`` ). - * ``TAN`` - Tangent: TAN( ``Par1`` ). - * ``TANH`` - Hyperbolic tangent: TANH( ``Par1`` ). - * ``TANG`` - Tangent to a path at a point: the slope at a point is determined by linear + prepending the minus sign. For example, -4**2.3 is -(4**2.3). + + * ``SIN`` - Sine: SIN( ``Par1`` ). + + * ``SINH`` - Hyperbolic sine: SINH( ``Par1`` ). + + * ``SQRT`` - Square root: SQRT( ``Par1`` ). + + * ``TAN`` - Tangent: TAN( ``Par1`` ). + + * ``TANH`` - Hyperbolic tangent: TANH( ``Par1`` ). + + * ``TANG`` - Tangent to a path at a point: the slope at a point is determined by linear interpolation half way between the previous and next points. Points are assumed to be in the global Cartesian coordinate system. Path points are specified in array ``Par1`` (having 3 consecutive columns of data, with the columns containing the x, y, and z coordinate locations, respectively, of the points). Only the starting row index and the column index for the x coordinates are specified, such as A(1,1). The y and z coordinates of the vector are assumed to - begin in the corresponding next columns, such as A(1,2) and A(1,3). The tangent result, ``ParR`` , + begin in the corresponding next columns, such as A(1,2) and A(1,3). The tangent result, ``ParR``, must also have 3 consecutive columns of data and will contain the tangent direction vector (normalized to 1.0); such as 1,0,0 for an x-direction vector. - * ``NORM`` - Normal to a path and an input vector at a point: determined from the cross-product of + + * ``NORM`` - Normal to a path and an input vector at a point: determined from the cross-product of the calculated tangent vector (see TANG) and the input direction vector (with the i, j, and k components input as ``CON1``, ``CON2``, and ``CON3`` ). Points are assumed to be in the global Cartesian coordinate system. Path points are specified in array ``Par1`` (having 3 consecutive @@ -1382,7 +1585,8 @@ def vfun( corresponding next columns, such as A(1,2) and A(1,3). The normal result, ``ParR``, must also have 3 consecutive columns of data and will contain the normal direction vector (normalized to 1.0); such as 1,0,0 for an x-direction vector. - * ``LOCAL`` - Transforms global Cartesian coordinates of a point to the coordinates of a specified + + * ``LOCAL`` - Transforms global Cartesian coordinates of a point to the coordinates of a specified system: points to be transformed are specified in array ``Par1`` (having 3 consecutive columns of data, with the columns containing the x, y, and z global Cartesian coordinate locations, respectively, of the points). Only the starting row index and the column index for the x @@ -1391,7 +1595,8 @@ def vfun( coordinate system ``CON1`` (which may be any valid coordinate system number, such as 1,2,11,12, etc.). The transformed result, ``ParR``, must also have 3 consecutive columns of data and will contain the corresponding transformed coordinate locations. - * ``GLOBAL`` - Transforms specified coordinates of a point to global Cartesian coordinates: points + + * ``GLOBAL`` - Transforms specified coordinates of a point to global Cartesian coordinates: points to be transformed are specified in array ``Par1`` (having 3 consecutive columns of data, with the columns containing the local coordinate locations (x, y, z or r, θ, z or etc.) of the points). Only the starting row index and the column index for the x coordinates are specified, @@ -1417,18 +1622,21 @@ def vfun( Notes ----- Operates on one input array parameter vector and produces one output array parameter vector - according to: ``ParR`` = f( ``Par1`` ) where the functions (f) are described below. Functions are - based on the standard FORTRAN definitions where possible. Out-of-range function results (or results - with exponents whose magnitudes are approximately greater than 32 or less than -32) produce a zero - value. Input and output for angular functions may be radians (default) or degrees ( :ref:`afun` ). - ``ParR`` may be the same as ``Par1``. Starting array element numbers must be defined for each array - parameter vector if it does not start at the first location. For example, :ref:`vfun` ,A,SQRT,B(5) - takes the square root of the fifth element of B and stores the result in the first element of A. - Operations continue on successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the default - being all successive elements. Absolute values and scale factors may be applied to all parameters ( - :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). Skipping array elements via - :ref:`vmask` or :ref:`vlen` for the TANG and NORM functions skips only the writing of the results - (skipped array element data are used in all calculations). See the :ref:`voper` command for details. + according to: ``ParR`` = f( ``Par1`` ) + + where the functions (f) are described below. Functions are based on the standard FORTRAN definitions + where possible. Out-of-range function results (or results with exponents whose magnitudes are + approximately greater than 32 or less than -32) produce a zero value. Input and output for angular + functions may be radians (default) or degrees ( :ref:`afun` ). ``ParR`` may be the same as ``Par1`` + . Starting array element numbers must be defined for each array parameter vector if it does not + start at the first location. For example, :ref:`vfun`,A,SQRT,B(5) takes the square root of the + fifth element of B and stores the result in the first element of A. Operations continue on + successive array elements ( :ref:`vlen`, :ref:`vmask` ) with the default being all successive + elements. Absolute values and scale factors may be applied to all parameters ( :ref:`vabs`, + :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). Skipping array elements via :ref:`vmask` + or :ref:`vlen` for the TANG and NORM functions skips only the writing of the results (skipped array + element data are used in all calculations). See the :ref:`voper` command for details. + This command is valid in any processor. """ command = f"*VFUN,{parr},{func},{par1},{con1},{con2},{con3}" @@ -1462,12 +1670,18 @@ def vfact( Notes ----- - Applies a scale factor to parameters used in certain \*V ``XX`` and \*M ``XX`` operations. Typical - scale factor applications are of the form: ParR = ``FACTR`` \*f( ``FACT1`` \*Par1) or ParR = - ``FACTR`` \*(( ``FACT1`` \*Par1) o ( ``FACT2`` \*Par2)) The factors are applied to each input - parameter value before the operation and to the result value after the operation. The scale factor - settings are `reset` to the default (1.0) after each \*V ``XX`` or \*M ``XX`` operation. Use - :ref:`vstat` to list settings. This command is valid in any processor. + Applies a scale factor to parameters used in certain **\*V** ``XX`` and **\*M** ``XX`` operations. + Typical scale factor applications are of the form: ParR = ``FACTR`` *f( ``FACT1`` *Par1) + + or + + ParR = ``FACTR`` *(( ``FACT1`` *Par1) o ( ``FACT2`` *Par2)) + + The factors are applied to each input parameter value before the operation and to the result value + after the operation. The scale factor settings are reset to the default (1.0) after each **\*V** + ``XX`` or **\*M** ``XX`` operation. Use :ref:`vstat` to list settings. + + This command is valid in any processor. """ command = f"*VFACT,{factr},{fact1},{fact2},{fact3}" return self.run(command, **kwargs) @@ -1482,15 +1696,19 @@ def vcum(self, key: str = "", **kwargs): key : str Accumulation key: - * ``0`` - Overwrite results. - * ``1`` - Add results to the current value of the results parameter. + * ``0`` - Overwrite results. + + * ``1`` - Add results to the current value of the results parameter. Notes ----- - Allows results from certain \*V ``XX`` and \*M ``XX`` operations to overwrite or add to existing - results. The cumulative operation is of the form: ParR = ParR + ParR(Previous) The cumulative - setting is `reset` to the default (overwrite) after each \*V ``XX`` or \*M ``XX`` operation. Use - :ref:`vstat` to list settings. This command is valid in any processor. + Allows results from certain **\*V** ``XX`` and **\*M** ``XX`` operations to overwrite or add to + existing results. The cumulative operation is of the form: ParR = ParR + ParR(Previous) + + The cumulative setting is reset to the default (overwrite) after each **\*V** ``XX`` or **\*M** + ``XX`` operation. Use :ref:`vstat` to list settings. + + This command is valid in any processor. """ command = f"*VCUM,{key}" return self.run(command, **kwargs) @@ -1514,8 +1732,11 @@ def vedit(self, par: str = "", **kwargs): Row and column index values may be set or changed in any plane, and those values will be applied to all planes. The menu system must be on ( :ref:`menu` ) when this command is issued. Graphical editing is not available for character array parameters. The :ref:`vedit` command can not be used in - a macro or other secondary input file. This command is not applicable to 4- or 5-D arrays. This - command is valid in any processor. + a macro or other secondary input file. + + This command is not applicable to 4- or 5-D arrays. + + This command is valid in any processor. """ command = f"*VEDIT,{par}" return self.run(command, **kwargs) @@ -1528,8 +1749,8 @@ def vlen(self, nrow: str = "", ninc: str = "", **kwargs): Parameters ---------- nrow : str - Number of rows to be used with the \*V ``XX`` or \*M ``XX`` operations. Defaults to the number - of rows needed to fill the result array. + Number of rows to be used with the **\*V** ``XX`` or **\*M** ``XX`` operations. Defaults to the + number of rows needed to fill the result array. ninc : str Perform the operation on every ``NINC`` row (defaults to 1). @@ -1541,19 +1762,24 @@ def vlen(self, nrow: str = "", ninc: str = "", **kwargs): the lower right array element (defined by the number of rows on this command and the number of columns on the :ref:`vcol` command). ``NINC`` allows skipping row operations for some operation commands. Skipped rows are included in the row count. The starting row number must be defined on the - operation command for each parameter read and for the result written. The default ``NROW`` is - calculated from the maximum number of rows of the result array (the :ref:`dim` row dimension) minus - the starting location + 1. For example, :ref:`dim` ,R,,10 and a starting location of R(7) gives a - default of 4 loops (filling R(7), R(8), R(9), and R(10)). Repeat operations automatically terminate - at the last row of the result array. Existing values in the rows and columns of the results matrix - remain unchanged where not overwritten by the requested input or operation values. The stride ( - ``NINC`` ) allows operations to be performed at regular intervals. It has no effect on the total - number of row operations. Skipped operations retain the previous result. For example, :ref:`dim` - ,R,,6, with a starting location of R(1), ``NROW`` = 10, and ``NINC`` = 2 calculates values for - locations R(1), R(3), and R(5) and retains values for locations R(2), R(4), and R(6). A more general - skip control may be done by masking ( :ref:`vmask` ). The row control settings are `reset` to the - defaults after each \*V ``XX`` or \*M ``XX`` operation. Use :ref:`vstat` to list settings. This - command is valid in any processor. + operation command for each parameter read and for the result written. + + The default ``NROW`` is calculated from the maximum number of rows of the result array (the + :ref:`dim` row dimension) minus the starting location + 1. For example, :ref:`dim` ,R,,10 and a + starting location of R(7) gives a default of 4 loops (filling R(7), R(8), R(9), and R(10)). Repeat + operations automatically terminate at the last row of the result array. Existing values in the rows + and columns of the results matrix remain unchanged where not overwritten by the requested input or + operation values. + + The stride ( ``NINC`` ) allows operations to be performed at regular intervals. It has no effect on + the total number of row operations. Skipped operations retain the previous result. For example, + :ref:`dim` ,R,,6, with a starting location of R(1), ``NROW`` = 10, and ``NINC`` = 2 calculates + values for locations R(1), R(3), and R(5) and retains values for locations R(2), R(4), and R(6). A + more general skip control may be done by masking ( :ref:`vmask` ). The row control settings are + reset to the defaults after each **\*V** ``XX`` or **\*M** ``XX`` operation. Use :ref:`vstat` to + list settings. + + This command is valid in any processor. """ command = f"*VLEN,{nrow},{ninc}" return self.run(command, **kwargs) diff --git a/src/ansys/mapdl/core/_commands/apdl/encryption_decryption.py b/src/ansys/mapdl/core/_commands/apdl/encryption_decryption.py index 20ec8c66ca..3ea4b21ae6 100644 --- a/src/ansys/mapdl/core/_commands/apdl/encryption_decryption.py +++ b/src/ansys/mapdl/core/_commands/apdl/encryption_decryption.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -45,9 +45,13 @@ def encrypt(self, key: str = "", fname: str = "", ext: str = "", **kwargs): Notes ----- This command opens the encrypted file specified by ``Fname`` and ``Ext`` for writing encrypted input - commands. Issuing this command results in a new file that overwrites any data in an existing file - by the same name. When the encrypted file is written, the first line in the file is ``/DECRYPT`` - ,PASSWORD,OPENSSL and the last line is ``/DECRYPT``. See `Encrypting Command Input and Other Data + commands. + + Issuing this command results in a new file that overwrites any data in an existing file by the same + name. When the encrypted file is written, the first line in the file is ``/DECRYPT`` + ,PASSWORD,OPENSSL and the last line is ``/DECRYPT``. + + See `Encrypting Command Input and Other Data `_ :ref:`encrypt` and performing encryption and decryption. """ @@ -62,23 +66,31 @@ def decrypt(self, key1: str = "", key2: str = "", **kwargs): Parameters ---------- key1 : str - Key to decrypt the encrypted input created by :ref:`encrypt`. The only valid label is PASSWORD. + Key to decrypt the encrypted input created by :ref:`encrypt` . The only valid label is PASSWORD. key2 : str Key to decrypt the encrypted input or to set the global encryption key. The following are valid - inputs: If ``Key2`` = OPENSSL or is blank, then decryption commences and the previously set - global encryption key is used for decryption. If ``Key2`` has a value, then that value is set as - the global encryption key. If ``Key2`` = OFF, then the global encryption password previously set - by the command :ref:`decrypt`,PASSWORD, ``Key2`` is reset. + inputs: + + If ``Key2`` = OPENSSL or is blank, then decryption commences and the previously set global + encryption key is used for decryption. If ``Key2`` has a value, then that value is set as the + global encryption key. If ``Key2`` = OFF, then the global encryption password previously set by + the command :ref:`decrypt` ,PASSWORD, ``Key2`` is reset. Notes ----- When decrypting an encrypted input, ``/DECRYPT,PASSWORD,OPENSSL`` must appear as the first line of the encrypted file. The line is inserted automatically when you issue :ref:`encrypt` to create the - encrypted file. To read an encrypted file, enter :ref:`decrypt` ,PASSWORD, ``Key2`` anywhere in the - standard input file to set the global encryption key. The encryption key must be set before reading - in the encrypted input. :ref:`decrypt` is also valid when entered in the Command Input Window of - the Mechanical APDL user interface. See `Encrypting Command Input and Other Data + encrypted file. + + To read an encrypted file, enter :ref:`decrypt` ,PASSWORD, ``Key2`` anywhere in the standard input + file to set the global encryption key. The encryption key must be set before reading in the + encrypted input. + + :ref:`decrypt` is also valid when entered in the Command Input Window of the Mechanical APDL user + interface. + + See `Encrypting Command Input and Other Data `_ :ref:`decrypt` and performing encryption and decryption. """ @@ -128,14 +140,18 @@ def dbdecrypt( Notes ----- This command decrypts data in the database file. It must be issued before resuming the database file - ( :ref:`resume` command). Only ``KeyA`` is required for a one-level encryption. For a `two-level + ( :ref:`resume` command). Only ``KeyA`` is required for a one-level encryption . For a `two-level encryption `_ , inputting ``KeyB`` gives you partial access to the data. Inputting both ``KeyA`` and ``KeyB`` - gives you full access. For more information about using :ref:`dbdecrypt` in the - encryption/decryption procedure, see `Encrypting Material Data + gives you full access. + + For more information about using :ref:`dbdecrypt` in the encryption/decryption procedure, see + `Encrypting Material Data `_ - :ref:`dbencrypt` command. This command is valid in any processor. + :ref:`dbencrypt` command. + + This command is valid in any processor. """ command = f"/DBDECRYPT,{keya},{keyb},{datatype},{num1},{num2},{inc}" return self.run(command, **kwargs) @@ -162,7 +178,7 @@ def dbencrypt( keyb : str Encryption key B (32-character maximum). This key is used to encrypt the data in a two-level - encryption. If ``KeyB`` is not specified, a one-level encryption is used to encrypt the data. + encryption . If ``KeyB`` is not specified, a one-level encryption is used to encrypt the data. datatype : str Type of data to encrypt. Must be set to MAT for material data. @@ -182,14 +198,21 @@ def dbencrypt( Notes ----- This command encrypts data in the database file. It must be issued before saving the database file ( - :ref:`save` command). For a one-level encryption, specify only ``KeyA`` and set ``NUM1`` to ALL. ( - ``NUM2`` and ``INC`` are not used.) For a `two-level encryption + :ref:`save` command). + + For a one-level encryption, specify only ``KeyA`` and set ``NUM1`` to ALL. ( ``NUM2`` and ``INC`` + are not used.) + + For a `two-level encryption `_ - , specify both ``KeyA`` and ``KeyB``. Also specify ``NUM1``, ``NUM2``, and ``INC`` as needed. For - more information about using :ref:`dbencrypt` in the encryption/decryption procedure, see + , specify both ``KeyA`` and ``KeyB``. Also specify ``NUM1``, ``NUM2``, and ``INC`` as needed. + + For more information about using :ref:`dbencrypt` in the encryption/decryption procedure, see `Encrypting Material Data `_ - :ref:`dbdecrypt` command. This command is valid in any processor. + :ref:`dbdecrypt` command. + + This command is valid in any processor. """ command = f"/DBENCRYPT,{keya},{keyb},{datatype},{num1},{num2},{inc}" return self.run(command, **kwargs) diff --git a/src/ansys/mapdl/core/_commands/apdl/macro_files.py b/src/ansys/mapdl/core/_commands/apdl/macro_files.py index 663dff1c10..829e439926 100644 --- a/src/ansys/mapdl/core/_commands/apdl/macro_files.py +++ b/src/ansys/mapdl/core/_commands/apdl/macro_files.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -30,8 +30,8 @@ def pmacro(self, **kwargs): Notes ----- - This command forces the contents of a macro or other input file to be written to ``Jobname.LOG``. It - is valid only within a macro or input file, and should be placed at the top of the file. + This command forces the contents of a macro or other input file to be written to ``Jobname.LOG``. + It is valid only within a macro or input file, and should be placed at the top of the file. :ref:`pmacro` should be included in any macro or input file that calls GUI functions. """ command = f"/PMACRO" @@ -53,9 +53,12 @@ def psearch(self, pname: str = "", **kwargs): Notes ----- Specifies the pathname of a directory for file searches when reading unknown-command macro files. + The search for the files is typically from the program directory, then from the user home directory, and then from the current working directory. The command allows the middle directory searched to be - other than the user home directory. This command is valid only at the Begin level. + other than the user home directory. + + This command is valid only at the Begin level. """ command = f"/PSEARCH,{pname}" return self.run(command, **kwargs) @@ -83,7 +86,7 @@ def ulib(self, fname: str = "", ext: str = "", **kwargs): file. The macro blocks must be enclosed within block identifier and terminator lines as shown in this example: Macro Blocks - .. code:: + .. code:: apdl ABC! Any valid alphanumeric name (32 characters maximum) ! identifying this data block @@ -98,19 +101,24 @@ def ulib(self, fname: str = "", ext: str = "", **kwargs): /EOF! Terminator for this data block (etc.) - To add comment lines to a macro block, place them anywhere `within` the macro block, including directly on the lines where the macro block identifier and the macro + To add comment lines to a macro block, place them anywhere within the macro block, including + directly on the lines where the macro block identifier and the macro block terminator appear as shown in the example. Do not place comment lines (or any other lines) outside of a macro block. - The name of the macro library file is identified for reading via :ref:`ulib` . The name of the macro block is identified via :ref:`use` . + The name of the macro library file is identified for reading via :ref:`ulib` . The name of the macro + block is identified via :ref:`use` . - Commands within the macro block are copied to a temporary file (of the macro block name) during the :ref:`use` operation and executed as if a macro file of that name had been created. The temporary file is deleted after it has been used. + Commands within the macro block are copied to a temporary file (of the macro block name) during the + :ref:`use` operation and executed as if a macro file of that name had been created. The temporary + file is deleted after it has been used. Macro block names should be acceptable file names (system-dependent) and should not match user- created macro file names, as the user-created macro file is used first (if it exists) before the library file is searched. - Macro blocks may be stacked in any order. Branching ( :ref:`stargo` or :ref:`if` ) external to the macro block is not allowed. + Macro blocks may be stacked in any order. Branching ( :ref:`stargo` or ``\*IF`` ) external to the + macro block is not allowed. This command is valid in any processor. """ @@ -253,54 +261,72 @@ def use( ----- Causes execution of a macro file called ``Name``, or, if not found, a macro block " ``Name`` " on the macro library file ( :ref:`ulib` ). Argument values (numeric or character) are passed into the - file or block and substituted for local parameters ARG1, ARG2,..., AR18. The file ``Name`` may also + file or block and substituted for local parameters ARG1, ARG2, ..., AR18. The file ``Name`` may also be executed as an "unknown command" (that is, without the :ref:`use` command name) as described - below. A macro is a sequence of Mechanical APDL commands (as many as needed) recorded in a file or in a - macro block in a library file (specified with the :ref:`ulib` command). The file or block is - typically executed via :ref:`use`. In addition to command, numerical and alphanumeric data, the - macro can include parameters which will be assigned numerical or alphanumerical character values - when the macro is used. Use of the macro can be repeated (within a do-loop, for example) with the - parameters incremented. A macro is defined within a run by enclosing a sequence of data input - commands between :ref:`create` and :ref:`end` commands. The data input commands are passive (not - executed) while being written to the macro file. The macro file (without :ref:`create` and - :ref:`end` ) can also be created external to Mechanical APDL. Up to 99 specially named scalar parameters, - ARG1 to AR99, are `locally` available to each macro: The prefix for the first nine parameters is - ARG, and the prefix for the remaining 90 parameters is AR. A local parameter is not affected by, nor - does it affect, other parameters, even those of the same name, which are used outside of the macro. - The only way a local parameter can affect, or be affected by, parameters outside the macro is if - values are passed out of, or into, the macro by an argument list. Parameters ARG1 through AR18 can - have their values (numeric or character) passed via the argument list on :ref:`use`. (ARG1 through - AR19 can be passed as arguments on the unknown-command macro.) Parameters AR19 through AR99 (AR20 - through AR99 in the unknown-command macro) are available solely for use within the macro; they - cannot be passed via an argument list. Local parameters are available to do-loops and to - :ref:`input` files processed within the macro. In addition to an ARG1--AR99 set for each macro, - another ARG1--AR99 set is available external to all macros, local to "non-macro" space. A macro is - exited after its last line is executed. Macros may be nested (such as a :ref:`use` or an unknown - command within a macro). Each nested macro has its own set of 99 local parameters. Only one set of - local parameters can be active at a time and that is the set corresponding to the macro currently - being executed or to the set external to all macros (if any). When a nested macro completes - execution, the previous set of local parameters once again becomes available. Issue - :ref:`starstatus` ,ARGX to view current macro parameter values. An alternate way of executing a - macro file is via the unknown-command route. If a command unknown to Mechanical APDL is entered, a search - for a file of that name (plus a ``.MAC`` suffix) is made. If the file exists, it is executed, if - not, the "unknown command" message is output. Thus, you can write your own commands in terms of - other Mechanical APDL commands. The procedure is similar to issuing :ref:`use` with the unknown command in - the ``Name`` field. For example, the command CMD ,10,20,30 is internally similar to :ref:`use` - ,CMD,10,20,30. The macro file named ``CMD.MAC`` is executed with the three parameters. The - :ref:`use` macro description also applies to the unknown-command macro, except that various - directories are searched and a suffix ( ``.MAC`` ) is assumed. Also, a macro library file is not - searched. A three-level directory search for the unknown-command macro file may be available. The - search order may be: 1) a high-level system directory, 2) the log-in directory, and 3) the local - (working) directory. Issue :ref:`psearch` to change the directory search path. For an unknown - command CMD, the first file named ``CMD.MAC`` found to exist in the search order is executed. The - command can be input in lower-, upper-, or mixed-case; however, it converts to uppercase - automatically before the file name search occurs. On systems that preserve the case as it was input, - a file matching the upper-case name is used first, followed by a file with the matching the lower- - case name, and finally a file matching the mixed-case name. All macro files placed in the ``apdl`` - directory must be upper-case. Because undocumented commands exist in Mechanical APDL, you should issue the - command intended for the macro file name to ensure that the unknown-command message is output in the - processor where it is to be used. If the macro is to be used in other processors, the other - processors must also be checked. This command is valid in any processor. + below. + + A macro is a sequence of Mechanical APDL commands (as many as needed) recorded in a file or in a + macro + block in a library file (specified with the :ref:`ulib` command). The file or block is typically + executed via :ref:`use` . In addition to command, numerical and alphanumeric data, the macro can + include parameters which will be assigned numerical or alphanumerical character values when the + macro is used. Use of the macro can be repeated (within a do-loop, for example) with the parameters + incremented. + + A macro is defined within a run by enclosing a sequence of data input commands between :ref:`create` + and ``\*END`` commands. The data input commands are passive (not executed) while being written to the + macro file. The macro file (without :ref:`create` and ``\*END`` ) can also be created external to + Mechanical APDL. + + Up to 99 specially named scalar parameters, ARG1 to AR99, are locally available to each macro: + + The prefix for the first nine parameters is ARG, and the prefix for the remaining 90 parameters is + AR. + A local parameter is not affected by, nor does it affect, other parameters, even those of the same + name, which are used outside of the macro. The only way a local parameter can affect, or be affected + by, parameters outside the macro is if values are passed out of, or into, the macro by an argument + list. + Parameters ARG1 through AR18 can have their values (numeric or character) passed via the argument + list on :ref:`use` . (ARG1 through AR19 can be passed as arguments on the unknown-command macro.) + Parameters AR19 through AR99 (AR20 through AR99 in the unknown-command macro) are available solely + for use within the macro; they cannot be passed via an argument list. + Local parameters are available to do-loops and to :ref:`input` files processed within the macro. In + addition to an ARG1--AR99 set for each macro, another ARG1--AR99 set is available external to all + macros, local to "non-macro" space. + + A macro is exited after its last line is executed. Macros may be nested (such as a :ref:`use` or an + unknown command within a macro). Each nested macro has its own set of 99 local parameters. Only one + set of local parameters can be active at a time and that is the set corresponding to the macro + currently being executed or to the set external to all macros (if any). When a nested macro + completes execution, the previous set of local parameters once again becomes available. Issue + :ref:`starstatus` ,ARGX to view current macro parameter values. + + An alternate way of executing a macro file is via the unknown-command route. If a command unknown to + Mechanical APDL is entered, a search for a file of that name (plus a ``.MAC`` suffix) is made. If + the file exists, it is executed, if not, the "unknown command" message is output. Thus, you can + write your own commands in terms of other Mechanical APDL commands. The procedure is similar to + issuing :ref:`use` with the unknown command in the ``Name`` field. For example, the command **CMD** + ,10,20,30 is internally similar to :ref:`use` ,CMD,10,20,30. The macro file named ``CMD.MAC`` is + executed with the three parameters. The :ref:`use` macro description also applies to the unknown- + command macro, except that various directories are searched and a suffix ( ``.MAC`` ) is assumed. + Also, a macro library file is not searched. + + A three-level directory search for the unknown-command macro file may be available. The search order + may be: 1) a high-level system directory, 2) the log-in directory, and 3) the local (working) + directory. Issue :ref:`psearch` to change the directory search path. For an unknown command **CMD** + , the first file named ``CMD.MAC`` found to exist in the search order is executed. The command can + be input in lower-, upper-, or mixed-case; however, it converts to uppercase automatically before + the file name search occurs. On systems that preserve the case as it was input, a file matching the + upper-case name is used first, followed by a file with the matching the lower-case name, and finally + a file matching the mixed-case name. All macro files placed in the ``apdl`` directory must be upper- + case. + + Because undocumented commands exist in Mechanical APDL, you should issue the command intended for + the macro + file name to ensure that the unknown-command message is output in the processor where it is to be + used. If the macro is to be used in other processors, the other processors must also be checked. + + This command is valid in any processor. """ command = f"*USE,{name},{arg1},{arg2},{arg3},{arg4},{arg5},{arg6},{arg7},{arg8},{arg9},{ar10},{ar11},{ar12},{ar13},{ar14},{ag15},{ar16},{ar17},{ar18}" return self.run(command, **kwargs) @@ -319,15 +345,19 @@ def cfwrite(self, command: str = "", **kwargs): Notes ----- - Writes a Mechanical APDL command (or similar string) to the file opened via :ref:`cfopen`. The ``Command`` - string is not executed (except that numeric and character parameter substitution and operations - (with imbedded \*, /, >, etc. characters) are performed before writing). When used with :ref:`get` - results and parameter substitution, a command can be created from results and then read back into - the Mechanical APDL program (or used elsewhere). For example, if the command :ref:`cfwrite` - ,BF,NNUM,TEMP,TVAL is used in a do-loop, where TVAL is a parameter value returned from the - :ref:`get` operation and NNUM is a specified or returned parameter value, a series of :ref:`bf` - commands, with numerical values substituted for the two parameters, will be written. To create a - file without parameter substitution, issue :ref:`create`. This command is valid in any processor. + Writes a Mechanical APDL command (or similar string) to the file opened via :ref:`cfopen` . The + ``Command`` string is not executed (except that numeric and character parameter substitution and + operations (with imbedded *, /, >, etc. characters) are performed before writing). + + When used with :ref:`get` results and parameter substitution, a command can be created from results + and then read back into the Mechanical APDL program (or used elsewhere). For example, if the command + :ref:`cfwrite` ,BF,NNUM,TEMP,TVAL is used in a do-loop, where TVAL is a parameter value returned + from the :ref:`get` operation and NNUM is a specified or returned parameter value, a series of + :ref:`bf` commands, with numerical values substituted for the two parameters, will be written. + + To create a file without parameter substitution, issue :ref:`create` . + + This command is valid in any processor. """ command = f"*CFWRITE,{command}" return self.run(command, **kwargs) @@ -353,24 +383,29 @@ def cfopen(self, fname: str = "", ext: str = "", loc: str = "", **kwargs): ---------- fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. The file name defaults to ``Jobname``. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. The file name defaults to ``Jobname``. ext : str - Filename extension (eight-character maximum). The extension defaults to CMD if ``Fname`` is blank. + Filename extension (eight-character maximum). The extension defaults to CMD if ``Fname`` is + blank. loc : str Determines whether existing file will be overwritten or appended: - * ```` - The existing file will be overwritten. - * ``APPEND`` - The file will be appended to the existing file. + * ```` - The existing file will be overwritten. + + * ``APPEND`` - The file will be appended to the existing file. Notes ----- Mechanical APDL commands specified by the :ref:`cfwrite` command are written to the file opened by :ref:`cfopen`. Data processed with the :ref:`vwrite` command are also written to this file if the - file is open when the :ref:`vwrite` command is issued. Issue the :ref:`cfclos` command to close the - command file. This command is valid in any processor. + file is open when the :ref:`vwrite` command is issued. + + Issue the :ref:`cfclos` command to close the command file. + + This command is valid in any processor. """ command = f"*CFOPEN,{fname},{ext},,{loc}" return self.run(command, **kwargs) @@ -384,24 +419,26 @@ def create(self, fname: str = "", ext: str = "", **kwargs): ---------- fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. Do not use a directory path if file is to be read with the macro ``Name`` option of - the :ref:`use` command. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. Do not use a directory path if file is to be + read with the macro ``Name`` option of the :ref:`use` command. ext : str - Filename extension (eight-character maximum). ``Ext`` should not be used if file is to be read with the macro ``Name`` option of - the :ref:`use` command. + Filename extension (eight-character maximum). ``Ext`` should not be used if file is to be read + with the macro ``Name`` option of the :ref:`use` command. Notes ----- See the :ref:`use` command for a discussion of macros. All commands following the :ref:`create` - command, up to the :ref:`end` command, are written to the specified file without being executed. An + command, up to the ``\*END`` command, are written to the specified file without being executed. An existing file of the same name, if any, will be overwritten. Parameter values are not substituted for parameter names in the commands when the commands are written to the file. Use :ref:`cfwrite` to create a file if this is desired. The resulting macro may be executed with a :ref:`use` command (which also allows parameters to be passed into the macro) or a :ref:`input` command (which does not allow parameters to be passed in). Several macros may be stacked into a library file ( :ref:`ulib` - ). You cannot use :ref:`create` within a DO loop. This command is valid in any processor. + ). You cannot use :ref:`create` within a DO loop. + + This command is valid in any processor. """ command = f"*CREATE,{fname},{ext}" return self.run(command, **kwargs) @@ -428,16 +465,21 @@ def msg( lab : str Label for output and termination control: - * ``INFO`` - Writes the message with no heading (default). - * ``NOTE`` - Writes the message with a "NOTE" heading. - * ``WARN`` - Writes the message with a "WARNING" heading. Also writes the message to the errors + * ``INFO`` - Writes the message with no heading (default). + + * ``NOTE`` - Writes the message with a "NOTE" heading. + + * ``WARN`` - Writes the message with a "WARNING" heading. Also writes the message to the errors file, ``Jobname.ERR``. - * ``ERROR`` - Writes the message with a "ERROR" heading and causes run termination (if batch) at + + * ``ERROR`` - Writes the message with a "ERROR" heading and causes run termination (if batch) at earliest "clean exit" point. Also writes the message to the errors file, ``Jobname.ERR``. - * ``FATAL`` - Writes the message with a "FATAL ERROR" heading and causes run termination + + * ``FATAL`` - Writes the message with a "FATAL ERROR" heading and causes run termination immediately. Also writes the message to the errors file, ``Jobname.ERR``. - * ``UI`` - Writes the message with a "NOTE" heading and displays it in the message dialog box. This - option is most useful in GUI mode. + + * ``UI`` - Writes the message with a "NOTE" heading and displays it in the message dialog box. + This option is most useful in GUI mode. val1 : str Numeric or alphanumeric character values to be included in message. Values may be the results of @@ -481,9 +523,12 @@ def msg( Notes ----- - Allows writing an output message via the Mechanical APDL message subroutine. Also allows run termination - control. This command is used only when contained in a prepared file read into the Mechanical APDL program - (that is, :ref:`use`, :ref:`input`, etc.). A message format must immediately follow the :ref:`msg` command (on a separate line, without parentheses, as described below). + Allows writing an output message via the Mechanical APDL message subroutine. Also allows run + termination + control. This command is used only when contained in a prepared file read into the Mechanical APDL + program + (that is, :ref:`use`, :ref:`input`, etc.). A message format must immediately follow the :ref:`msg` + command (on a separate line, without parentheses, as described below). The message format may be up to 80 characters long, consisting of text strings and predefined "data descriptors" between the strings where numeric or alphanumeric character data are to be inserted. @@ -494,26 +539,32 @@ def msg( Enhanced descriptions may also be used: InformalTables need to be added. - Do not begin :ref:`msg` format lines with :ref:`if`, :ref:`else`, :ref:`elseif`, or :ref:`endif` . If the last nonblank character of the message format is an ampersand (&), a second line will also be read as a continuation of the format. Up to nine continuations (ten total lines) may be read. If normal descriptions are used, then consecutive blanks are condensed into one blank upon output, and a period is appended. Up to ten lines of output of 72 characters each may be produced (using the %/ descriptor). Two examples follow. + Do not begin :ref:`msg` format lines with ``\*IF``, ``\*ELSE``, :ref:`elseif`, or :ref:`endif`. If + the last nonblank character of the message format is an ampersand (&), a second line will also be + read as a continuation of the format. Up to nine continuations (ten total lines) may be read. If + normal descriptions are used, then consecutive blanks are condensed into one blank upon output, and + a period is appended. Up to ten lines of output of 72 characters each may be produced (using the %/ + descriptor). Two examples follow. - Here is an example of the :ref:`msg` command and a format to print a message with two integer values and one real value: + Here is an example of the :ref:`msg` command and a format to print a message with two integer values + and one real value: - .. code:: + .. code:: apdl - \*MSG, INFO, 'Inner',25,1.2,148 + *MSG, INFO, 'Inner',25,1.2,148 Radius ( %C) = %I, Thick = %G, Length = %I The output line is: - .. code:: + .. code:: apdl Radius (Inner) = 25, Thick = 1.2, Length = 148. Here is an example illustrating multiline displays in GUI message windows: - .. code:: + .. code:: apdl - \*MSG,UI,Vcoilrms,THTAv,Icoilrms,THTAi,Papprnt,Pelec,PF,indctnc + *MSG,UI,Vcoilrms,THTAv,Icoilrms,THTAi,Papprnt,Pelec,PF,indctnc Coil RMS voltage, RMS current, apparent pwr, actual pwr, pwr factor: %/& Vcoil = %G V (electrical angle = %G DEG) %/& Icoil = %G A (electrical angle = %G DEG) %/& @@ -523,7 +574,10 @@ def msg( Inductance = %G %/& VALUES ARE FOR ENTIRE COIL (NOT JUST THE MODELED SECTOR) - The :ref:`uis` ,MSGPOP command controls which messages are displayed in the message dialog box when the GUI is active. All messages produced by the :ref:`msg` command are subject to the :ref:`uis` specification, with one exception, If ``Lab`` = UI, the message will be displayed in the dialog box regardless of the :ref:`uis` specification. + The :ref:`uis` ,MSGPOP command controls which messages are displayed in the message dialog box when + the GUI is active. All messages produced by the :ref:`msg` command are subject to the :ref:`uis` + specification, with one exception, If ``Lab`` = UI, the message will be displayed in the dialog box + regardless of the :ref:`uis` specification. This command is valid in any processor. """ @@ -559,29 +613,36 @@ def slashtee(self, label: str = "", fname: str = "", ext: str = "", **kwargs): label : str Specifies how Mechanical APDL is to interpret this :ref:`slashtee` command: - * ``NEW`` - Signals the beginning of the command text that is to be written to ``Fname``. If + * ``NEW`` - Signals the beginning of the command text that is to be written to ``Fname``. If ``Fname`` already exists, specifying NEW causes the contents of ``Fname`` to be overwritten. - * ``APPEND`` - Indicates that you want to append to ``Fname`` the command text that follows. - * ``END`` - Signals the end of the command text that is to be written to or appended to ``Fname``. + + * ``APPEND`` - Indicates that you want to append to ``Fname`` the command text that follows. + + * ``END`` - Signals the end of the command text that is to be written to or appended to ``Fname`` + . fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. ext : str - Filename extension (eight-character maximum). If you plan to execute the file as if it were a Mechanical APDL command, use the extension - ``.mac``. + Filename extension (eight-character maximum). If you plan to execute the file as if it were a + Mechanical APDL command, use the extension ``.mac``. Notes ----- - You can use the :ref:`slashtee` command to record a macro to a specified file at the same time that the macro is being executed. It is similar to the Linux tee command. + You can use the :ref:`slashtee` command to record a macro to a specified file at the same time that + the macro is being executed. It is similar to the Linux **tee** command. - For more information about the :ref:`slashtee` command, see the of the `Ansys Parametric Design Language Guide `_. + For more information about the :ref:`slashtee` command, see the of the `Ansys Parametric Design + Language Guide `_ + ANSYS Parametric Design Language Guide. - The following example illustrates the use of the :ref:`slashtee` command. If you issue these commands: + The following example illustrates the use of the :ref:`slashtee` command. If you issue these + commands: - .. code:: + .. code:: apdl /tee,new,myfile,mac et,1,42,0,0,1 @@ -594,9 +655,9 @@ def slashtee(self, label: str = "", fname: str = "", ext: str = "", **kwargs): ngen,5,5,1,5,1,0,1 /tee,end - the content of myfile.mac is: + the content of **myfile.mac** is: - .. code:: + .. code:: apdl et,1,42,0,0,1 ex,1,3e7 @@ -623,7 +684,8 @@ def rmdir(self, dir: str = "", **kwargs): Notes ----- - Removes a directory on the computer on which Mechanical APDL is currently running. No warning or prompt is + Removes a directory on the computer on which Mechanical APDL is currently running. No warning or + prompt is given, so use with extreme caution. """ command = f"/RMDIR,{dir}" diff --git a/src/ansys/mapdl/core/_commands/apdl/matrix_operations.py b/src/ansys/mapdl/core/_commands/apdl/matrix_operations.py index c0fd5b85f8..9f5d2ec50b 100644 --- a/src/ansys/mapdl/core/_commands/apdl/matrix_operations.py +++ b/src/ansys/mapdl/core/_commands/apdl/matrix_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -83,11 +83,12 @@ def fft( Parameters ---------- - type : str + type_ : str Type of FFT transformation: - * ``FORW`` - Forward FFT computation (default). - * ``BACK`` - Backward FFT computation. + * ``FORW`` - Forward FFT computation (default). + + * ``BACK`` - Backward FFT computation. inputdata : str Name of matrix or vector for which the FFT will be computed. This can be a dense matrix (created @@ -97,6 +98,7 @@ def fft( outputdata : str Name of matrix or vector where the FFT results will be stored. The type of this argument must be consistent with ``InputData`` (see table below). There is no default value for this argument. + InformalTables need to be added. dim1 : str @@ -110,11 +112,12 @@ def fft( resultformat : str Specifies the result format: - * ``FULL`` - Returns the full result. That is, the result matches the dimension specified on this + * ``FULL`` - Returns the full result. That is, the result matches the dimension specified on this command ( ``DIM1``, ``DIM2`` ). - * ``PART`` - Returns partial results. For real input data, there is a symmetry in the results of the - Fourier transform as some coefficients are conjugated. The partial format uses this symmetry to - optimize the storage of the results. (Valid only for real data.) + + * ``PART`` - Returns partial results. For real input data, there is a symmetry in the results of + the Fourier transform as some coefficients are conjugated. The partial format uses this symmetry + to optimize the storage of the results. (Valid only for real data.) Notes ----- @@ -141,19 +144,19 @@ def wrk(self, num: str = "", **kwargs): This feature enables you to associate a set of vector and matrices in a given memory workspace, so that you can easily manage the free step: - .. code:: + .. code:: apdl - \*VEC,V,D,ALLOC,5 ! V belongs to the default Workspace 1 + *VEC,V,D,ALLOC,5 ! V belongs to the default Workspace 1 - \*WRK,2 ! Set the active workspace as the number 2 + *WRK,2 ! Set the active workspace as the number 2 - \*VEC,W,D,IMPORT,FULL,file.full,RHS ! W belongs to the Workspace 2 - \*SMAT,K,D,IMPORT,FULL,file.full,STIFF ! K belongs to the Workspace 2 - \*DMAT,M,ALLOC,10,10 ! M belongs to the Workspace 2 - … - \*FREE,WRK,2 ! W, K and M are deleted, but not V + *VEC,W,D,IMPORT,FULL,file.full,RHS ! W belongs to the Workspace 2 + *SMAT,K,D,IMPORT,FULL,file.full,STIFF ! K belongs to the Workspace 2 + *DMAT,M,ALLOC,10,10 ! M belongs to the Workspace 2 + ... + *FREE,WRK,2 ! W, K and M are deleted, but not V - \*PRINT,V + *PRINT,V This feature can be useful to free all the temporary APDLMath variables inside a MACRO in one call. """ @@ -181,9 +184,11 @@ def comp( algorithm : str Algorithm or method to use: - * ``SVD`` - Singular value decomposition algorithm (default). - * ``MGS`` - Modified Gram-Schmidt algorithm. - * ``SPARSE`` - Compress a sparse matrix based on the threshold value. + * ``SVD`` - Singular value decomposition algorithm (default). + + * ``MGS`` - Modified Gram-Schmidt algorithm. + + * ``SPARSE`` - Compress a sparse matrix based on the threshold value. threshold : str Numerical threshold value used to manage the compression. The default value depends on the @@ -206,13 +211,20 @@ def comp( The SVD and MGS algorithms are only applicable to dense matrices that were created using the :ref:`dmat` command. Columns that are linearly dependent on others are removed, leaving the independent or basis vectors. The matrix is resized according to the new size determined by the - algorithm. For the SVD algorithm, the singular value decomposition of an input matrix :math:`` is - a factorization of the form: .. math:: Here, the :math:`` matrix is replaced by the - :math:`` matrix, according to the specified threshold. The SPARSE compression method is only - applicable to sparse matrices that were created using the :ref:`smat` command. All terms that have - an absolute value below the specified threshold, relative to the maximum value in the matrix, are - removed from the original matrix. For example, given a sparse matrix having 100 as the largest term - and ``THRESHOLD`` = 0.5, all terms having an absolute value below 0.5\*100 = 50 are removed. + algorithm. + + For the SVD algorithm, the singular value decomposition of an input matrix :math:`` is a + factorization of the form: + + M = U Σ V * + Here, the :math:`` matrix is replaced by the :math:`` matrix, according to the specified + threshold. + + The SPARSE compression method is only applicable to sparse matrices that were created using the + :ref:`smat` command. All terms that have an absolute value below the specified threshold, relative + to the maximum value in the matrix, are removed from the original matrix. For example, given a + sparse matrix having 100 as the largest term and ``THRESHOLD`` = 0.5, all terms having an absolute + value below 0.5\2100 = 50 are removed. """ command = f"*COMP,{matrix},{algorithm},{threshold},{val1},{val2}" return self.run(command, **kwargs) @@ -239,9 +251,11 @@ def nrm( normtype : str Mathematical norm to use: - * ``NRM2`` - L2 (Euclidian or SRSS) norm (default). - * ``NRM1`` - L1 (absolute sum) norm (vectors and dense matrices only). - * ``NRMINF`` - Maximum norm. + * ``NRM2`` - L2 (Euclidian or SRSS) norm (default). + + * ``NRM1`` - L1 (absolute sum) norm (vectors and dense matrices only). + + * ``NRMINF`` - Maximum norm. parr : str Parameter name that contains the result. @@ -249,17 +263,32 @@ def nrm( normalize : str Normalization key; to be used only for vectors created by :ref:`vec` : - * ``YES`` - Normalize the vector such that the norm is 1.0. - * ``NO`` - Do not normalize the vector (default). + * ``YES`` - Normalize the vector such that the norm is 1.0. + + * ``NO`` - Do not normalize the vector (default). Notes ----- The NRM2 option corresponds to the Euclidian or L2 norm and is applicable to either vectors or - matrices: :math:``, :math:`` :math:``, :math:`` where :math:`` is the complex conjugate of - :math:`` :math:``, :math:`` = largest eigenvalue of :math:`` The NRM1 option corresponds to - the L1 norm and is applicable to vectors and dense matrices: :math:`` or :math:``, :math:`` - :math:`` or :math:``, :math:`` The NRMINF option is the maximum norm and is applicable to - either vectors or matrices: :math:`` or :math:``, :math:`` :math:`` or :math:``, :math:`` + matrices: + + :math:``, :math:`` + + :math:``, :math:`` where :math:`` is the complex conjugate of :math:`` + + :math:``, :math:`` = largest eigenvalue of :math:`` + + The NRM1 option corresponds to the L1 norm and is applicable to vectors and dense matrices: + + :math:`` or :math:``, :math:`` + + :math:`` or :math:``, :math:`` + + The NRMINF option is the maximum norm and is applicable to either vectors or matrices: + + :math:`` or :math:``, :math:`` + + :math:`` or :math:``, :math:`` """ command = f"*NRM,{name},{normtype},{parr},{normalize}" return self.run(command, **kwargs) @@ -291,13 +320,24 @@ def merge( ----- :ref:`merge` can be used to add new columns or rows to a dense matrix that was created by the :ref:`dmat` command. In this case, ``Name1`` must be the name of the dense matrix and ``Name2`` must - refer to a vector or another dense matrix. The following two examples demonstrate merging columns - into a dense matrix. .. figure::../../images/gMERGE1.png The following example demonstrates - merging rows into a dense matrix. .. figure::../../images/gMERGE3.png :ref:`merge` can also be - used to add new rows to a vector that was created by the :ref:`vec` command. In this case, ``Name1`` - and ``Name2`` must both refer to vectors, as demonstrated in the example below. .. - figure::../../images/gMERGE2.png In all cases, the values of the original matrix or vector are - retained, and the matrix or vector is resized to accommodate the additional rows or columns. + refer to a vector or another dense matrix. + + The following two examples demonstrate merging columns into a dense matrix. + + .. figure::../../images/gMERGE1.png + + The following example demonstrates merging rows into a dense matrix. + + .. figure::../../images/gMERGE3.png + + :ref:`merge` can also be used to add new rows to a vector that was created by the :ref:`vec` + command. In this case, ``Name1`` and ``Name2`` must both refer to vectors, as demonstrated in the + example below. + + .. figure::../../images/gMERGE2.png + + In all cases, the values of the original matrix or vector are retained, and the matrix or vector is + resized to accommodate the additional rows or columns. """ command = f"*MERGE,{name1},{name2},{val1},{val2}" return self.run(command, **kwargs) @@ -311,7 +351,7 @@ def mult( m3: str = "", **kwargs, ): - r"""Performs the matrix multiplication M3 = M1 :sup:`(T1)` \*M2 :sup:`(T2)` . + r"""Performs the matrix multiplication M3 = M1 :sup:`(T1)` *M2 :sup:`(T2)`. Mechanical APDL Command: `\*MULT `_ @@ -341,9 +381,11 @@ def mult( ----- The matrices must be dimensionally consistent such that the number of columns of ``M1`` (or the transposed matrix, if requested) is equal to the number of rows of ``M2`` (or the transposed matrix, - if requested). You cannot multiply two sparse matrices with this command (that is, ``M1`` and - ``M2`` cannot both be sparse). The resulting matrix, ``M3``, will always be a dense matrix, no - matter what combination of input matrices is used (dense\*sparse, sparse\*dense, or dense\*dense). + if requested). + + You cannot multiply two sparse matrices with this command (that is, ``M1`` and ``M2`` cannot both be + sparse). The resulting matrix, ``M3``, will always be a dense matrix, no matter what combination of + input matrices is used (dense\2sparse, sparse\2dense, or dense\2dense). """ command = f"*MULT,{m1},{t1},{m2},{t2},{m3}" return self.run(command, **kwargs) @@ -361,21 +403,23 @@ def starinquire(self, obj: str = "", property: str = "", var1: str = "", **kwarg property : str Object property to get: - * ``DIM1`` - First dimension of a matrix, or size of a vector. - * ``DIM2`` - Second dimension of a matrix. + * ``DIM1`` - First dimension of a matrix, or size of a vector. + + * ``DIM2`` - Second dimension of a matrix. var1 : str Name of the resulting parameter that contains the property value. Notes ----- - The following example demonstrates using :ref:`starinquire` to get the number of rows and columns of an existing matrix. + The following example demonstrates using :ref:`starinquire` to get the number of rows and columns of + an existing matrix. - .. code:: + .. code:: apdl - \*SMAT,K,D,IMPORT,FULL,file.full,STIFF ! Import the stiffness matrix from an existing FULL file - \*INQUIRE,K,DIM1,NROW ! Get the first dimension of the stiffness matrix - \*INQUIRE,K,DIM2,NCOL ! Get the second dimension of the stiffness matrix + *SMAT,K,D,IMPORT,FULL,file.full,STIFF ! Import the stiffness matrix from an existing FULL file + *INQUIRE,K,DIM1,NROW ! Get the first dimension of the stiffness matrix + *INQUIRE,K,DIM2,NCOL ! Get the second dimension of the stiffness matrix /COM, K matrix size: %NROW% x %NCOL% """ command = f"*INQUIRE,{obj},{property},{var1}" @@ -399,10 +443,10 @@ def itengine( Parameters ---------- - type : str + type_ : str Specifies the algorithm to be used: - * ``PCG`` - Preconditioned conjugate gradient (default). + * ``PCG`` - Preconditioned conjugate gradient (default). enginename : str Name used to identify this iterative solver engine. Must be specified. @@ -459,17 +503,23 @@ def init( method : str Initialization method to use: - * ``ZERO`` - Fill the vector/matrix with zeros (default). - * ``CONST`` - Fill the vector/matrix with a constant value. - * ``RAND`` - Fill the vector/matrix with random values. - * ``DIAG`` - Fill the ``n`` th diagonal of the matrix with a constant value. Other values are not + * ``ZERO`` - Fill the vector/matrix with zeros (default). + + * ``CONST`` - Fill the vector/matrix with a constant value. + + * ``RAND`` - Fill the vector/matrix with random values. + + * ``DIAG`` - Fill the ``n`` th diagonal of the matrix with a constant value. Other values are not overwritten. For this option, ``Name`` must be a dense matrix. - * ``ADIAG`` - Fill the ``n`` th anti-diagonal of the matrix with a constant value. Other values are - not overwritten. For this option, ``Name`` must be a dense matrix. - * ``CONJ`` - Take the complex conjugate of the values in the vector/matrix (no change for non- + + * ``ADIAG`` - Fill the ``n`` th anti-diagonal of the matrix with a constant value. Other values + are not overwritten. For this option, ``Name`` must be a dense matrix. + + * ``CONJ`` - Take the complex conjugate of the values in the vector/matrix (no change for non- complex values). - * ``FILTER`` - Initialize a subset of values of a vector using a filtering vector. For this option, - ``Name`` must be a vector. + + * ``FILTER`` - Initialize a subset of values of a vector using a filtering vector. For this + option, ``Name`` must be a vector. val1 : str Additional input. The meaning of ``Val1`` through ``Val3`` will vary depending on the specified @@ -514,20 +564,28 @@ def export( format : str Format of the output file: - * ``MMF`` - Export the matrix in the Matrix Market Format. - * ``SUB`` - Export the matrix in the ``SUB`` file format. - * ``HBMAT`` - Export the matrix in the Harwell-Boeing file format. - * ``MAT`` - Export the matrix in a native format, to be re-imported using the :ref:`dmat` or + * ``MMF`` - Export the matrix in the Matrix Market Format. + + * ``SUB`` - Export the matrix in the ``SUB`` file format. + + * ``HBMAT`` - Export the matrix in the Harwell-Boeing file format. + + * ``MAT`` - Export the matrix in a native format, to be re-imported using the :ref:`dmat` or :ref:`smat` command. - * ``EMAT`` - Export the matrix to an existing ``EMAT`` file. - * ``APDL`` - Export the matrix to an APDL array parameter. - * ``PS`` - Export the matrix profile to a Postscript file. - * ``DMIG`` - Export the matrix in the ``DMIG`` file format. - * ``CSV`` - Export the matrix to an ASCII CSV (comma-separated values) file. + + * ``EMAT`` - Export the matrix to an existing ``EMAT`` file. + + * ``APDL`` - Export the matrix to an APDL array parameter. + + * ``PS`` - Export the matrix profile to a Postscript file. + + * ``DMIG`` - Export the matrix in the ``DMIG`` file format. + + * ``CSV`` - Export the matrix to an ASCII CSV (comma-separated values) file. fname : str Name of the file (case-sensitive, 32-character maximum), or name of the array parameter if - ``Format`` = APDL (no default). + ``Format`` = APDL (no default) . val1 : str Additional input. The meaning of ``Val1`` through ``Val3`` will vary depending on the specified @@ -544,18 +602,26 @@ def export( Notes ----- Only sparse matrices can be exported to Postscript files. This option plots the matrix profile as a - series of dots. If you want to create a ``.SUB`` file from several matrices, you need to set - ``Val3`` = WAIT for all matrices but the last, and ``Val3`` = DONE for the last one. The export will - be effective at the last :ref:`export` command. To create a ``.SUB`` file or ``.DMIG`` file from - scratch, you must supply the row information array. (Specify this array in the ``Val2`` field for - ``.SUB`` or in the ``Val1`` field for ``.DMIG``.) This must be an ``m`` x 2 array, where ``m`` is - the size of the matrix. The first column is the node number and the second column is the DOF number - corresponding to each row of the matrix. When exporting an HBMAT file in ASCII format, you can - include the matrix type in the header of the file by specifying the matrix type in the ``Val2`` - field. The matrix type is not included in the header if ``Val2`` is empty. If ``Val1`` = BINARY, - ``Val2`` is not used. The :ref:`export` command is not applicable to sparse matrices initialized - from ``.FULL`` files by means of the NOD2SOLV option on the :ref:`smat` command (that is, - :ref:`smat` ,,,IMPORT,FULL,,NOD2SOLV). The ``.CSV`` file format does not support sparse matrices. + series of dots. + + If you want to create a ``.SUB`` file from several matrices, you need to set ``Val3`` = WAIT for all + matrices but the last, and ``Val3`` = DONE for the last one. The export will be effective at the + last :ref:`export` command. + + To create a ``.SUB`` file or ``.DMIG`` file from scratch, you must supply the row information array. + (Specify this array in the ``Val2`` field for ``.SUB`` or in the ``Val1`` field for ``.DMIG``.) + This must be an ``m`` x 2 array, where ``m`` is the size of the matrix. The first column is the node + number and the second column is the DOF number corresponding to each row of the matrix. + + When exporting an HBMAT file in ASCII format, you can include the matrix type in the header of the + file by specifying the matrix type in the ``Val2`` field. The matrix type is not included in the + header if ``Val2`` is empty. If ``Val1`` = BINARY, ``Val2`` is not used. + + The :ref:`export` command is not applicable to sparse matrices initialized from ``.FULL`` files by + means of the NOD2SOLV option on the :ref:`smat` command (that is, :ref:`smat` + ,,,IMPORT,FULL,,NOD2SOLV). + + The ``.CSV`` file format does not support sparse matrices. """ command = f"*EXPORT,{matrix},{format},{fname},{val1},{val2},{val3}" return self.run(command, **kwargs) @@ -597,8 +663,10 @@ def eigen( ----- Use the command :ref:`antype` ,MODAL and the :ref:`modopt` command to specify the modal solution options. Only :ref:`modopt` ,DAMP, :ref:`modopt` ,UNSYM, :ref:`modopt` ,LANB, and :ref:`modopt` - ,SUBSP are supported. :ref:`eigen` with Block Lanczos (LANB) only supports sparse matrices. - Distributed-Memory Parallel (DMP) Restriction This command is not supported in a DMP solution. + ,SUBSP are supported. + + :ref:`eigen` with Block Lanczos (LANB) only supports sparse matrices. Distributed-Memory Parallel + (DMP) Restriction This command is not supported in a DMP solution. """ command = f"*EIGEN,{kmatrix},{mmatrix},{cmatrix},{evals},{evects}" return self.run(command, **kwargs) @@ -624,18 +692,21 @@ def smat( matrix : str Name used to identify the matrix. Must be specified. - type : str + type_ : str Matrix type: - * ``D`` - Double precision real values (default). - * ``Z`` - Complex double precision values. + * ``D`` - Double precision real values (default). + + * ``Z`` - Complex double precision values. method : str Method used to create the matrix: - * ``ALLOC`` - Allocate a new matrix. - * ``COPY`` - Copy an existing matrix. - * ``IMPORT`` - Import the matrix from a file. + * ``ALLOC`` - Allocate a new matrix. + + * ``COPY`` - Copy an existing matrix. + + * ``IMPORT`` - Import the matrix from a file. val1 : str Additional input. The meaning of ``Val1`` through ``Val5`` will vary depending on the specified @@ -659,11 +730,17 @@ def smat( Notes ----- - Use the :ref:`dmat` command to create a dense matrix. For more information on the CSR format, see - `Creating a Sparse Matrix Using the CSR Format + Use the :ref:`dmat` command to create a dense matrix. + + For more information on the CSR format, see `Creating a Sparse Matrix Using the CSR Format `_ For more information on the NOD2SOLV and USR2SOLV mapping vectors, see. For more - information about ``.FULL`` file contents, see the :ref:`hbmat` in the `Command Reference `_. + ba5a1903b1bf>`_ + + For more information on the NOD2SOLV and USR2SOLV mapping vectors, see. + + For more information about ``.FULL`` file contents, see the :ref:`hbmat` in the `Command Reference + `_ Command + Reference. """ command = f"*SMAT,{matrix},{type_},{method},{val1},{val2},{val3},{val4},{val5}" return self.run(command, **kwargs) @@ -688,9 +765,11 @@ def starsort( sorttype : str Criteria used to sort the values: - * ``VALUE`` - Values are sorted based on their real value (default). - * ``ABS`` - Values are sorted based on their absolute value. - * ``PERM`` - Values are sorted based on the input permutation vector ( ``Val1`` ). + * ``VALUE`` - Values are sorted based on their real value (default). + + * ``ABS`` - Values are sorted based on their absolute value. + + * ``PERM`` - Values are sorted based on the input permutation vector ( ``Val1`` ). val1 : str Additional input. The meaning of ``Val1``, ``Val2`` varies depending on the specified @@ -706,29 +785,29 @@ def starsort( The following input: - .. code:: + .. code:: apdl - \*VEC,V,I,ALLOC,5 + *VEC,V,I,ALLOC,5 V(1)=5,-3,2,0,-1 - \*SORT,V,VALUE - \*PRINT,V + *SORT,V,VALUE + *PRINT,V generates this output: - .. code:: + .. code:: apdl -3 -1 0 2 5 To reverse the order, this input: - .. code:: + .. code:: apdl - \*SORT,V,VALUE,,1 - \*PRINT,V + *SORT,V,VALUE,,1 + *PRINT,V generates this output: - .. code:: + .. code:: apdl 5 2 0 -1 -3 """ @@ -780,23 +859,29 @@ def vec( vector : str Name used to identify the vector. Must be specified. - type : str + type_ : str Vector type: - * ``D`` - Double precision real values (default). - * ``Z`` - Complex double precision values. - * ``I`` - Integer values. + * ``D`` - Double precision real values (default). + + * ``Z`` - Complex double precision values. + + * ``I`` - Integer values. method : str Method used to create the vector: - * ``ALLOC`` - Allocate space for a vector (default). - * ``RESIZE`` - Resize an existing vector to a new length. Values are kept from the original vector. - If the length specified by ``Val1`` is greater than the original vector length, the additional - rows are assigned a value of zero. - * ``COPY`` - Copy an existing vector. - * ``IMPORT`` - Import the vector from a file. - * ``LINK`` - Link to a column of an existing dense :ref:`dmat` matrix and use it in subsequent + * ``ALLOC`` - Allocate space for a vector (default). + + * ``RESIZE`` - Resize an existing vector to a new length. Values are kept from the original + vector. If the length specified by ``Val1`` is greater than the original vector length, the + additional rows are assigned a value of zero. + + * ``COPY`` - Copy an existing vector. + + * ``IMPORT`` - Import the vector from a file. + + * ``LINK`` - Link to a column of an existing dense :ref:`dmat` matrix and use it in subsequent vector calculations. Any changes to the vector are also made to the corresponding matrix column (memory is shared). @@ -818,8 +903,12 @@ def vec( Notes ----- - Use the :ref:`dmat` command to create a matrix. For more information on the BACK and FORWARD nodal - mapping vectors, see in the `Ansys Parametric Design Language Guide `_. + Use the :ref:`dmat` command to create a matrix. + + For more information on the BACK and FORWARD nodal mapping vectors, see in the `Ansys Parametric + Design Language Guide + `_ ANSYS Parametric + Design Language Guide. """ command = f"*VEC,{vector},{type_},{method},{val1},{val2},{val3},{val4}" return self.run(command, **kwargs) @@ -843,8 +932,10 @@ def hprod(self, a: str = "", b: str = "", c: str = "", **kwargs): Notes ----- For two vectors ``A`` and ``B`` of the same dimension ``n``, the Hadamard product (A∘B) is a vector - of the same dimension as the operands, with elements given by: .. math:: This command is - limited to vector operands. + of the same dimension as the operands, with elements given by: + + A ∘ B i = A i * B i + This command is limited to vector operands. """ command = f"*HPROD,{a},{b},{c}" return self.run(command, **kwargs) @@ -863,12 +954,14 @@ def lsengine( Parameters ---------- - type : str + type_ : str Specifies the algorithm to be used: - * ``DSS`` - MKL sparse linear solver. - * ``LAPACK`` - LAPACK dense matrix linear solver (default if applied to dense matrices). - * ``DSP`` - Distributed sparse solver (default for sparse matrices). + * ``DSS`` - MKL sparse linear solver. + + * ``LAPACK`` - LAPACK dense matrix linear solver (default if applied to dense matrices). + + * ``DSP`` - Distributed sparse solver (default for sparse matrices). enginename : str Name used to identify this engine. Must be specified. @@ -879,13 +972,16 @@ def lsengine( option : str Option to control the memory mode of the DSS solver (used only if ``Type`` = DSS): - * ``INCORE`` - In-core memory mode. - * ``OUTOFCORE`` - Out-of-core memory mode. + * ``INCORE`` - In-core memory mode. + + * ``OUTOFCORE`` - Out-of-core memory mode. Notes ----- - This command creates a linear solver engine. The DSS and DSP solvers can only be used with sparse - matrices. For dense matrices, use the LAPACK solver. + This command creates a linear solver engine. + + The DSS and DSP solvers can only be used with sparse matrices. For dense matrices, use the LAPACK + solver. """ command = f"*LSENGINE,{type_},{enginename},{matrix},{option}" return self.run(command, **kwargs) @@ -898,17 +994,17 @@ def lsfactor(self, enginename: str = "", option: str = "", **kwargs): Parameters ---------- enginename : str - Name used to identify this engine. Must have been previously created using :ref:`lsengine`. + Name used to identify this engine. Must have been previously created using :ref:`lsengine` . option : str Option to invert the matrix, used only with an LAPACK engine ( :ref:`lsengine` ,LAPACK): - * ``INVERT`` - Invert the matrix. + * ``INVERT`` - Invert the matrix. Notes ----- Performs the computationally intensive, memory intensive factorization of a matrix specified by - :ref:`lsengine`, using the solver engine also specified by :ref:`lsengine`. + :ref:`lsengine`, using the solver engine also specified by :ref:`lsengine` . """ command = f"*LSFACTOR,{enginename},{option}" return self.run(command, **kwargs) @@ -929,7 +1025,9 @@ def lsrestore(self, enginename: str = "", filename: str = "", **kwargs): Notes ----- Restores a previously dumped Linear Solver (see the :ref:`lsdump` command). This Linear Solver can - be used to solve a linear system using the :ref:`lsbac` command. Caret 122? + be used to solve a linear system using the :ref:`lsbac` command. + + """ command = f"*LSRESTORE,{enginename},{filename}" return self.run(command, **kwargs) @@ -950,7 +1048,7 @@ def lsbac( ---------- enginename : str Name used to identify this engine. Must have been previously created using :ref:`lsengine` and - factorized using :ref:`lsfactor`. + factorized using :ref:`lsfactor` . rhsvector : str Name of vector containing the right-hand side (load) vectors as input. Must have been previously @@ -968,9 +1066,10 @@ def lsbac( ----- This command performs forward and back substitution to obtain the solution to the linear matrix equation Ax = b (or A :sup:`T` x = b if ``TransKey`` = TRANS). The matrix engine must have been - previously defined using :ref:`lsengine`, and the matrix factored using :ref:`lsfactor`. You can - use the :ref:`dmat` ,,,COPY (or :ref:`vec` ,,,COPY) command to copy the load vector to the solution - vector in order to predefine it with the appropriate size. + previously defined using :ref:`lsengine`, and the matrix factored using :ref:`lsfactor` . + + You can use the :ref:`dmat` ,,,COPY (or :ref:`vec` ,,,COPY) command to copy the load vector to the + solution vector in order to predefine it with the appropriate size. """ command = f"*LSBAC,{enginename},{rhsvector},{solvector},{transkey}" return self.run(command, **kwargs) @@ -984,7 +1083,7 @@ def lsdump(self, enginename: str = "", filename: str = "", **kwargs): ---------- enginename : str Name used to identify this engine. Must have been previously created using :ref:`lsengine` and - factorized using :ref:`lsfactor`. + factorized using :ref:`lsfactor` . filename : str Name of the file to create. @@ -993,8 +1092,11 @@ def lsdump(self, enginename: str = "", filename: str = "", **kwargs): ----- Dumps a previously factorized linear solver system to a binary file. Only LAPACK and BCS linear solvers can be used with this feature. The Linear Solver can later be restored with the - :ref:`lsrestore` command. A BCS Sparse Solver can be dumped only if uses the ``INCORE`` memory - option (see :ref:`bcsoption` ). Caret 7? + :ref:`lsrestore` command. + + A BCS Sparse Solver can be dumped only if uses the ``INCORE`` memory option (see :ref:`bcsoption` ). + + """ command = f"*LSDUMP,{enginename},{filename}" return self.run(command, **kwargs) @@ -1062,7 +1164,7 @@ def axpy( m2: str = "", **kwargs, ): - r"""Performs the matrix operation M2= v\*M1 + w\*M2. + r"""Performs the matrix operation M2= v\2M1 + w\2M2. Mechanical APDL Command: `\*AXPY `_ @@ -1075,7 +1177,7 @@ def axpy( The real and imaginary parts of the scalar ``v``. Default value is 0. m1 : str - Name of matrix ``M1``. If not specified, the operation M2 = w\*M2 will be performed. + Name of matrix ``M1``. If not specified, the operation M2 = w\2M2 will be performed. wr : str The real and imaginary parts of the scalar ``w``. Default value is 0. @@ -1115,26 +1217,32 @@ def dmat( matrix : str Name used to identify the matrix. Must be specified. - type : str + type_ : str Matrix type: - * ``D`` - Double precision real values (default). - * ``Z`` - Complex double precision values. - * ``I`` - Integer values. + * ``D`` - Double precision real values (default). + + * ``Z`` - Complex double precision values. + + * ``I`` - Integer values. method : str Method used to create the matrix: - * ``ALLOC`` - Allocate space for a matrix (default). - * ``RESIZE`` - Resize an existing matrix to new row and column dimensions. Values are kept from the - original matrix. If the dimensions specified by ``Val1`` (rows) and ``Val2`` (columns) are greater - than the original matrix size, the additional entries are assigned a value of zero. - * ``COPY`` - Copy an existing matrix. - * ``LINK`` - Link to an existing matrix. The memory will be shared between the original matrix and + * ``ALLOC`` - Allocate space for a matrix (default). + + * ``RESIZE`` - Resize an existing matrix to new row and column dimensions. Values are kept from + the original matrix. If the dimensions specified by ``Val1`` (rows) and ``Val2`` (columns) are + greater than the original matrix size, the additional entries are assigned a value of zero. + + * ``COPY`` - Copy an existing matrix. + + * ``LINK`` - Link to an existing matrix. The memory will be shared between the original matrix and the new matrix. This is useful for manipulating a submatrix of a larger matrix. The ``Val1`` through ``Val5`` arguments will be used to specify the lower and upper bounds of row and column numbers from the original matrix. - * ``IMPORT`` - Import the matrix from a file. + + * ``IMPORT`` - Import the matrix from a file. val1 : str Additional input. The meaning of ``Val1`` through ``Val5`` will vary depending on the specified @@ -1158,35 +1266,50 @@ def dmat( Notes ----- - This command allows you to create a dense matrix. To create a sparse matrix, use the :ref:`smat` command. :ref:`smat` is recommended for large matrices obtained from the ``.FULL`` or ``.HBMAT`` file. Refer to the :ref:`hbmat` command documentation for more information about ``.FULL`` file contents. + This command allows you to create a dense matrix. To create a sparse matrix, use the :ref:`smat` + command. :ref:`smat` is recommended for large matrices obtained from the ``.FULL`` or ``.HBMAT`` + file. Refer to the :ref:`hbmat` command documentation for more information about ``.FULL`` file + contents. Use the :ref:`vec` command to create a vector. - For very large matrices, use the OUTOFCORE option ( ``Method`` = ALLOC or COPY) to keep some of the matrix on disk if there is insufficient memory. + For very large matrices, use the OUTOFCORE option ( ``Method`` = ALLOC or COPY) to keep some of the + matrix on disk if there is insufficient memory. - When importing a dense matrix from a DMIG file, you can define the formatting of the file using the ``Val3`` and ``Val4`` fields. Here are a few different example of formats: + When importing a dense matrix from a **DMIG** file, you can define the formatting of the file using + the ``Val3`` and ``Val4`` fields. Here are a few different example of formats: - A LARGE field format file (using ``Val3`` = ’LARGE’): - .. code:: - ... - DMIG\* KAAX 21 2 + A LARGE field format file (using ``Val3`` = ``LARGE``): + + .. code:: apdl + + ... + DMIG* KAAX 21 2 * 21 1-2.261491337E+08 - ... - A FREE field format file with blank separators (using ``Val4`` = ’S’): - .. code:: - ... + ... + + A FREE field format file with blank separators (using ``Val4`` = ``S``): + + .. code:: apdl + + ... DMIG stiff 1 2 1 2 29988. 1 6 149940. 2 2 -29988. 2 6 149940. - ... - A FREE field format file with a comma separator (using ``Val4`` = ’,’): - .. code:: - ... + ... + + A FREE field format file with a comma separator (using ``Val4`` = ``,``): + + .. code:: apdl + + ... DMIG,KF,22321,3,,22321,2,-5.00E+6 DMIG,KF,22320,3,,22320,2,-5.00E+6 - ... + ... - Requirement when importing matrices from a Nastran DMIG file: To ensure that the ``.sub`` file is properly generated from matrices imported from Nastran DMIG file, the generalized coordinates for a CMS superelement (SPOINTS in Nastran) must appear last (have + **Requirement when importing matrices from a Nastran DMIG file:** To ensure that the ``.sub`` file + is properly generated from matrices imported from Nastran **DMIG** file, the generalized coordinates + for a CMS superelement (SPOINTS in Nastran) must appear last (have highest ID number). """ command = f"*DMAT,{matrix},{type_},{method},{val1},{val2},{val3},{val4},{val5}" @@ -1222,15 +1345,21 @@ def dot( conj : str Key to specify use of the conjugate of ``Vector1`` when the vectors are complex: - * ``TRUE`` - Use the conjugate of ``Vector1`` (default). - * ``FALSE`` - Do not use the conjugate of ``Vector1``. + * ``TRUE`` - Use the conjugate of ``Vector1`` (default). + + * ``FALSE`` - Do not use the conjugate of ``Vector1``. Notes ----- If ``Vector1`` and ``Vector2`` are complex, the complex conjugate of ``Vector1`` is used to compute - the result ( ``Par_Real``, ``Par_Imag`` ). Therefore, \*DOT applied to complex vectors performs the - operation: .. math:: Set ``Conj`` = FALSE if you do not want to use the conjugate of - ``Vector1``. In this case, the operation is: .. math:: + the result ( ``Par_Real``, ``Par_Imag`` ). Therefore, **\*DOT** applied to complex vectors performs + the operation: + + r e s = V 1 * ⋅ V 2 + Set ``Conj`` = FALSE if you do not want to use the conjugate of ``Vector1``. In this case, the + operation is: + + r e s = V 1 ⋅ V 2 """ command = f"*DOT,{vector1},{vector2},{par_real},{par_imag},{conj}" return self.run(command, **kwargs) diff --git a/src/ansys/mapdl/core/_commands/apdl/parameter_definition.py b/src/ansys/mapdl/core/_commands/apdl/parameter_definition.py index 43f737a868..736181a755 100644 --- a/src/ansys/mapdl/core/_commands/apdl/parameter_definition.py +++ b/src/ansys/mapdl/core/_commands/apdl/parameter_definition.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -33,22 +33,26 @@ def parres(self, lab: str = "", fname: str = "", ext: str = "", **kwargs): lab : str Read operation: - * ``NEW`` - Replace current parameter set with these parameters (default). - * ``CHANGE`` - Extend current parameter set with these parameters, replacing any that already exist. + * ``NEW`` - Replace current parameter set with these parameters (default). + + * ``CHANGE`` - Extend current parameter set with these parameters, replacing any that already + exist. fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. The file name defaults to ``Jobname``. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. The file name defaults to ``Jobname``. ext : str - Filename extension (eight-character maximum). The extension defaults to PARM if ``Fname`` is blank. + Filename extension (eight-character maximum). The extension defaults to PARM if ``Fname`` is + blank. Notes ----- Reads parameters from a coded file. The parameter file may have been written with the :ref:`parsav` - command. The parameters read may replace or change the current parameter set. This command is valid - in any processor. + command. The parameters read may replace or change the current parameter set. + + This command is valid in any processor. Examples -------- @@ -68,24 +72,29 @@ def parsav(self, lab: str = "", fname: str = "", ext: str = "", **kwargs): lab : str Write operation: - * ``SCALAR`` - Write only scalar parameters (default). - * ``ALL`` - Write scalar and array parameters. Parameters may be numeric or alphanumeric. + * ``SCALAR`` - Write only scalar parameters (default). + + * ``ALL`` - Write scalar and array parameters. Parameters may be numeric or alphanumeric. fname : str File name and directory path (248 characters maximum, including the characters needed for the - directory path). An unspecified directory path defaults to the working directory; in this case, you - can use all 248 characters for the file name. The file name defaults to ``Jobname``. + directory path). An unspecified directory path defaults to the working directory; in this case, + you can use all 248 characters for the file name. The file name defaults to ``Jobname``. ext : str - Filename extension (eight-character maximum). The extension defaults to PARM if ``Fname`` is blank. + Filename extension (eight-character maximum). The extension defaults to PARM if ``Fname`` is + blank. Notes ----- Writes the current parameters to a coded file. Previous parameters on this file, if any, will be - overwritten. The parameter file may be read with the :ref:`parres` command. :ref:`parsav` / - :ref:`parres` operations truncate some long decimal strings, and can cause differing values in your - solution data when other operations are performed. A good practice is to limit the number of decimal - places you will use before and after these operations. This command is valid in any processor. + overwritten. The parameter file may be read with the :ref:`parres` command. + + :ref:`parsav` / :ref:`parres` operations truncate some long decimal strings, and can cause differing + values in your solution data when other operations are performed. A good practice is to limit the + number of decimal places you will use before and after these operations. + + This command is valid in any processor. """ command = f"PARSAV,{lab},{fname},{ext}" return self.run(command, **kwargs) @@ -145,26 +154,39 @@ def get( :ref:`get` retrieves a value for a specified item and stores the value as a scalar parameter, or as a value in a user-named array parameter. An item is identified by various keyword, label, and number combinations. Usage is similar to the :ref:`starset` command except that the parameter values are - retrieved from previously input or calculated results. :ref:`get` Usage :ref:`get` ,A,ELEM,5,CENT,X - returns the centroid x location of element 5 and stores the result as parameter A. :ref:`get` - command operations, and corresponding get functions, return values in the active coordinate system ( - :ref:`csys` for input data or :ref:`rsys` for results data) unless stated otherwise. A get function - is an alternative in-line function that can be used instead of the :ref:`get` command to retrieve a - value. For more information, see. Both :ref:`get` and :ref:`starvget` retrieve information from the - active data stored in memory. The database is often the source, and sometimes the information is - retrieved from common memory blocks that the program uses to manipulate information. Although POST1 - and POST26 operations use a ``\*.rst`` file, :ref:`get` data is accessed from the database or from - the common blocks. Get operations do not access the ``\*.rst`` file directly. For repeated gets of - sequential items, such as from a series of elements, see the :ref:`starvget` command. Most items - are stored in the database after they are calculated and are available anytime thereafter. Items are - grouped according to where they are usually first defined or calculated. Preprocessing data will - often not reflect the calculated values generated from section data. Do not use :ref:`get` to obtain - data from elements that use calculated section data, such as beams or shells. When the value - retrieved by :ref:`get` is a component name, the resulting character parameter is limited to 32 - characters. If the component name is longer than 32 characters, the remaining characters are - ignored. Most of the `general` items listed below are available from all modules. Each of the - sections for accessing :ref:`get` parameters are shown in the following order: The :ref:`get` - command is valid in any processor. + retrieved from previously input or calculated results. + + :ref:`get` Usage :ref:`get` ,A,ELEM,5,CENT,X returns the centroid x location of element 5 and stores + the result as parameter A. + + :ref:`get` command operations, and corresponding get functions, return values in the active + coordinate system ( :ref:`csys` for input data or :ref:`rsys` for results data) unless stated + otherwise. + + A get function is an alternative in-line function that can be used instead of the :ref:`get` command + to retrieve a value. For more information, see. + + Both :ref:`get` and :ref:`starvget` retrieve information from the active data stored in memory. The + database is often the source, and sometimes the information is retrieved from common memory blocks + that the program uses to manipulate information. Although POST1 and POST26 operations use a + ``\2.rst`` file, :ref:`get` data is accessed from the database or from the common blocks. Get + operations do not access the ``\2.rst`` file directly. For repeated gets of sequential items, such as + from a series of elements, see the :ref:`starvget` command. + + Most items are stored in the database after they are calculated and are available anytime + thereafter. Items are grouped according to where they are usually first defined or calculated. + Preprocessing data will often not reflect the calculated values generated from section data. Do not + use :ref:`get` to obtain data from elements that use calculated section data, such as beams or + shells. + + When the value retrieved by :ref:`get` is a component name, the resulting character parameter is + limited to 32 characters. If the component name is longer than 32 characters, the remaining + characters are ignored. + + Most of the general items listed below are available from all modules. Each of the sections for + accessing :ref:`get` parameters are shown in the following order: + + The :ref:`get` command is valid in any processor. Examples -------- @@ -231,7 +253,7 @@ def inquire( >>> mapdl.inquire('', 'DIRECTORY') C:\\Users\\user\\AppData\\Local\\Temp\\ansys_nynvxsaooh - \*\*GENERAL FUNC OPTIONS\*\* + **GENERAL FUNC OPTIONS** - ``LOGIN`` - Returns the pathname of the login directory on Linux systems or the pathname of the default directory (including @@ -248,7 +270,7 @@ def inquire( - ``RSTEXT`` - Result file extension. - ``OUTPUT`` - Current output file name. - \*\*RETURNING THE VALUE OF AN ENVIRONMENT VARIABLE TO A PARAMETER\*\* + **RETURNING THE VALUE OF AN ENVIRONMENT VARIABLE TO A PARAMETER** If ``FUNC=ENV``, the command format is ``/INQUIRE,StrArray,ENV,ENVNAME,Substring``. In this instance, ENV specifies that the command should return the @@ -265,14 +287,14 @@ def inquire( If this argument is either blank or 0, the entire value of the environment variable is returned. - \*\*RETURNING THE VALUE OF A TITLE TO A PARAMETER\*\* + **RETURNING THE VALUE OF A TITLE TO A PARAMETER** If ``FUNC = TITLE``, the command format is ``/INQUIRE,StrArray,TITLE,Title_num``. In this context, the value of Title_num can be blank or ``1`` through ``5``. If the value is ``1`` or blank, the title is returned. If the value is ``2`` through ``5``, a corresponding subtitle is returned (``2`` denoting the first subtitle, and so on). - \*\*RETURNING INFORMATION ABOUT A FILE TO A PARAMETER\*\* + **RETURNING INFORMATION ABOUT A FILE TO A PARAMETER** The ``/INQUIRE`` command can also return information about specified files within the file system. @@ -289,7 +311,7 @@ def inquire( Returns a ``1`` if the specified file exists, and ``0`` if it does not. DATE: - Returns the date stamp of the specified file in the format ``\*yyyymmdd.hhmmss\*``. + Returns the date stamp of the specified file in the format ``\2yyyymmdd.hhmmss*``. SIZE: Returns the size of the specified file in MB. @@ -363,107 +385,130 @@ def starset( ---------- par : str An alphanumeric name used to identify this parameter. ``Par`` can contain up to 32 characters, - beginning with a letter and containing only letters, numbers, and underscores. `Examples:` ABC - A3X TOP_END Command names, function names, label names, component and assembly names, etc., are - invalid, as are parameter names beginning with an underscore (for example, _LOOP ). Parameter - names ending in an underscore are not listed by the :ref:`starstatus` command. Array parameter - names must be followed by a subscript, and the entire expression must be 32 characters or less. - `Examples:` A(1,1) NEW_VAL(3,2,5) RESULT(1000) There is no character parameter substitution - for the ``Par`` field. Table parameters used in command fields (where constant values are - normally given) are limited to 32 characters. + beginning with a letter and containing only letters, numbers, and underscores. Examples: ABC + A3X TOP_END + + Command names, function names, label names, component and assembly names, etc., are invalid, as + are parameter names beginning with an underscore (for example, _LOOP ). + + Parameter names ending in an underscore are not listed by the :ref:`starstatus` command. Array + parameter names must be followed by a subscript, and the entire expression must be 32 characters + or less. Examples: A(1,1) NEW_VAL(3,2,5) RESULT(1000) + + There is no character parameter substitution for the ``Par`` field. Table parameters used in + command fields (where constant values are normally given) are limited to 32 characters. value : str Numerical value or alphanumeric character string (up to 32 characters enclosed in single quotes) to be assigned to this parameter. Examples: A(1,3)=7.4 B='ABC3' Can also be a parameter or a - parametric expression. `Examples:` C=A(1,3) A(2,2)=(C+4)/2. If ``VALUE`` is the table array + parametric expression. Examples: C=A(1,3) A(2,2)=(C+4)/2 . If ``VALUE`` is the table array name, the subscripts are the values of the primary variables and the table is evaluated at these - specified index values. If blank, delete this parameter. `Example:` A= deletes parameter A. + specified index values. + + If blank, delete this parameter. Example: A= deletes parameter A . val2 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val3 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val4 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val5 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val6 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val7 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val8 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val9 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . val10 : str If ``Par`` is an array parameter, values ``VAL2`` through ``VAL10`` (up to the last nonblank - value) are sequentially assigned to the succeeding array elements of the column. `Examples:` - \*SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and \*SET,B(2,3),'file10','file11' assigns - B(2,3)='file10', B(3,3)='file11'. + value) are sequentially assigned to the succeeding array elements of the column. Examples: + *SET,A(1,4),10,11 assigns A(1,4)=10, A(2,4)=11, and *SET,B(2,3),'file10','file11' assigns + B(2,3)='file10', B(3,3)='file11' . Notes ----- Assigns values to user-named parameters that can be substituted later in the run. The equivalent - (and recommended) format is ``Par`` = ``VALUE``, ``VAL2``, ``VAL3`` ,..., ``VAL10`` which can - be used in place of :ref:`starset`, ``Par`` ,... for convenience. This command is valid in any - processor. Parameters (numeric or character) can be scalars (single valued) or arrays (multiple - valued in one, two, or three dimensions). An unlimited number of parameter names can be defined in - any run. For very large numbers of parameters, it is most efficient to define them in alphabetical - order. Parameter values can be redefined at any time. Array parameters can also be assigned values - within a do-loop ( :ref:`do` ) for convenience. Internally programmed do-loop commands are also - available with the \*V ``XX`` commands ( :ref:`vfill` ). Parameter values (except for parameters - ending in an underscore) can be listed with the :ref:`starstatus` command, displayed via - :ref:`starvplot` (numeric parameters only), and modified via :ref:`vedit` (numeric parameters only). + (and recommended) format is ``Par`` = ``VALUE``, ``VAL2``, ``VAL3``, ..., ``VAL10`` + + which can be used in place of :ref:`starset`, ``Par``, ... for convenience. + + This command is valid in any processor. + + Parameters (numeric or character) can be scalars (single valued) or arrays (multiple valued in one, + two, or three dimensions). An unlimited number of parameter names can be defined in any run. For + very large numbers of parameters, it is most efficient to define them in alphabetical order. + + Parameter values can be redefined at any time. Array parameters can also be assigned values within a + do-loop ( :ref:`do` ) for convenience. Internally programmed do-loop commands are also available + with the **\*V** ``XX`` commands ( :ref:`vfill` ). Parameter values (except for parameters ending in + an underscore) can be listed with the :ref:`starstatus` command, displayed via :ref:`starvplot` + (numeric parameters only), and modified via :ref:`vedit` (numeric parameters only). + Older program-provided macro files can use parameter names that do not begin with an underscore. Using these macros embedded in your own macros may cause conflicts if the same parameter names are - used. Parameters can also be resolved in comments created via :ref:`com`. A parameter can be - deleted by redefining it with a blank ``VALUE``. If the parameter is an array, the entire array is - deleted. Parameters can also be defined by a response to a query via :ref:`ask` or from a - Mechanical APDL-provided value via :ref:`get`. Array parameters must be dimensioned ( :ref:`dim` ) before - being assigned values unless they are the result of an array operation or defined using the implied - loop convention. Undefined scalar parameters are initialized to a near-zero value. Numeric array - parameters are initialized to zero when dimensioned, and character array parameters are initialized - to blank. An existing array parameter must be deleted before it can be redimensioned. Array - parameter names must be followed by a subscript list (enclosed in parentheses) identifying the + used. + + Parameters can also be resolved in comments created via :ref:`com`. A parameter can be deleted by + redefining it with a blank ``VALUE``. If the parameter is an array, the entire array is deleted. + Parameters can also be defined by a response to a query via ``\*ASK`` or from a Mechanical APDL- + provided value via :ref:`get`. + + Array parameters must be dimensioned ( :ref:`dim` ) before being assigned values unless they are the + result of an array operation or defined using the implied loop convention. + + Undefined scalar parameters are initialized to a near-zero value. Numeric array parameters are + initialized to zero when dimensioned, and character array parameters are initialized to blank. + + An existing array parameter must be deleted before it can be redimensioned. + + Array parameter names must be followed by a subscript list (enclosed in parentheses) identifying the element of the array. The subscript list can have one, two, or three values (separated by commas). Typical array parameter elements are A(1,1), NEW_VAL(3,2,5), RESULT(1000). Subscripts for defining an array element must be integers (or parameter expressions that evaluate to integers). Non-integer - values are rounded to the nearest integer value. All array parameters are stored as 3D arrays with - the unspecified dimensions set to 1. For example, the 4th array element of a 1-dimensional array, - A(4), is stored as array element A(4,1,1). Arrays adhere to standard FORTRAN conventions. If the - parameter name ``Par`` is input in a numeric argument of a command, the numeric value of the + values are rounded to the nearest integer value. + + All array parameters are stored as 3D arrays with the unspecified dimensions set to 1. For example, + the 4th array element of a 1-dimensional array, A(4), is stored as array element A(4,1,1). + + Arrays adhere to standard FORTRAN conventions. + + If the parameter name ``Par`` is input in a numeric argument of a command, the numeric value of the parameter (as assigned with :ref:`starset`, :ref:`get`, =, etc.) is substituted into the command at that point. Substitution occurs only if the parameter name is used between blanks, commas, parentheses, or arithmetic operators (or any combination) in a numeric argument. Substitution can be @@ -471,7 +516,9 @@ def starset( alone in the argument; if the parameter is part of an arithmetic expression, the entire expression must be enclosed within single quotes to prevent substitution. In either case the character string will be used instead of the numeric value (and the string will be taken as 0.0 if it is in a numeric - argument). A forced substitution is available in the text fields of :ref:`title`, :ref:`stitle` , + argument). + + A forced substitution is available in the text fields of :ref:`title`, :ref:`stitle`, :ref:`tlabel`, :ref:`an3d`, :ref:`syp` ( ``ARG1`` -- ``ARG8`` ), and :ref:`abbr` by enclosing the parameter within percent (%) signs. Also, parameter substitution can be forced within the file name or extension fields of commands having these fields by enclosing the parameter within percent (%) @@ -479,8 +526,11 @@ def starset( array element whose value is to be substituted, such as A(1,3). Out-of-range subscripts result in an error message. Non-integer subscripts are allowed when identifying a TABLE array element for substitution. A proportional linear interpolation of values among the nearest array elements is - performed before substitution. Interpolation is done in all three dimensions. Interpolation is - based upon the assigned index numbers which must be defined when the table is filled ( :ref:`dim` ). + performed before substitution. Interpolation is done in all three dimensions. + + Interpolation is based upon the assigned index numbers which must be defined when the table is + filled ( :ref:`dim` ). + Most alphanumeric arguments permit the use of character parameter substitution. When the parameter name ``Par`` input, the alphanumeric value of the parameter is substituted into the command at that point. Substitution can be suppressed by enclosing the parameter name within single quotes ( ' ). @@ -488,43 +538,63 @@ def starset( signs. Valid forced substitution fields include command name fields, ``Fname`` (filename) or ``Ext`` (extension) arguments, :ref:`abbr` command ( ``Abbr`` arguments), :ref:`title` and :ref:`stitle` commands ( ``Title`` argument) and :ref:`tlabel` command ( ``Text`` argument). Character parameter - substitution is also available in the :ref:`ask`, :ref:`an3d`, :ref:`cfwrite`, :ref:`if` , + substitution is also available in the ``\*ASK``, :ref:`an3d`, :ref:`cfwrite`, ``\*IF``, :ref:`elseif`, :ref:`msg`, :ref:`starset`, :ref:`use`, :ref:`vread`, and :ref:`vwrite` commands. Character array parameters must include a subscript (within parentheses) to identify the - array element whose value is to be substituted. If a parameter `operation expression` is input in a - numeric argument, the numeric value of the expression is substituted into the command at that point. - Allowable operation expressions are of the form E1oE2oE3...oE10 where E1, E2, etc. are expressions - connected by operators (o). The allowable operations (o) are + - * / \*\* < > For example, - A+B\*\*C/D\*E is a valid operation expression. The * represents multiplication and the \*\* represents - exponentiation. Exponentiation of a negative number (without parentheses) to an integer power - follows standard FORTRAN hierarchy conventions; that is, the positive number is exponentiated and - then the sign is attached. Thus, -4\*\*2 is evaluated as -16. If parentheses are applied, such as - (-4)\*\*2, the result is 16. A parameter is evaluated as a number within parentheses before - exponentiation. Exponentiation of a negative number to a non-integer power is performed by - exponentiating the positive number and prepending the minus sign, for example, -4\*\*2.3 is -(4\*\*2.3). - The < and > operators allow conditional substitution. For example, E1 + + For example, A+B**C/D\*E is a valid operation expression. The * represents multiplication and the ** + represents exponentiation. + + Exponentiation of a negative number (without parentheses) to an integer power follows standard + FORTRAN hierarchy conventions; that is, the positive number is exponentiated and then the sign is + attached. Thus, -4**2 is evaluated as -16. If parentheses are applied, such as (-4)**2, the result + is 16. + + A parameter is evaluated as a number within parentheses before exponentiation. Exponentiation of a + negative number to a non-integer power is performed by exponentiating the positive number and + prepending the minus sign, for example, -4**2.3 is -(4**2.3). The < and > operators allow + conditional substitution. For example, E1`_ solution. - Each of the sections for accessing \*VGET parameters are shown in the following order: `\*VGET - PREP7 Items + + Each of the sections for accessing \*VGET parameters are shown in the following order: + + `\*VGET PREP7 Items `_ `\*VGET POST1 Items `_ + This command is valid in any processor. """ command = ( @@ -991,43 +1126,60 @@ def vfill( func : str Fill function: - * ``DATA`` - Assign specified values ``CON1``, ``CON2``, etc. to successive array elements. Up to - 10 assignments may be made at a time. Any `CON` values after a blank `CON` value are ignored. - * ``RAMP`` - Assign ramp function values: ``CON1`` +((n-1)\* ``CON2`` ), where n is the loop number ( - :ref:`vlen` ). To specify a constant function (no ramp), set ``CON2`` to zero. - * ``RAND`` - Assign random number values based on a uniform distribution RAND( ``CON1``, ``CON2`` - ), where: ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the upper bound (defaults to - 1.0) - * ``GDIS`` - Assign random sample of Gaussian distributions GDIS( ``CON1``, ``CON2`` ) where: + * ``DATA`` - Assign specified values ``CON1``, ``CON2``, etc. to successive array elements. Up + to 10 assignments may be made at a time. Any CON values after a blank CON value are ignored. + + * ``RAMP`` - Assign ramp function values: ``CON1`` +((n-1)* ``CON2`` ), where n is the loop number + ( :ref:`vlen` ). To specify a constant function (no ramp), set ``CON2`` to zero. + + * ``RAND`` - Assign random number values based on a uniform distribution RAND( ``CON1``, ``CON2`` + ), where: + + ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the upper bound (defaults to 1.0) + + * ``GDIS`` - Assign random sample of Gaussian distributions GDIS( ``CON1``, ``CON2`` ) where: + ``CON1`` is the mean (defaults to 0.0) ``CON2`` is the standard deviation (defaults to 1.0) - * ``TRIA`` - Assigns random number values based on a triangular distribution TRIA( ``CON1`` , - ``CON2``, ``CON3`` ) where: ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the - location of the peak value ( ``CON1`` ≤ ``CON2`` ≤ ``CON3`` ; ``CON2`` defaults to 0 if ``CON1`` ≤ - 0 ≤ ``CON3``, ``CON1`` if 0 ≤ ``CON1``, or ``CON3`` if ``CON3`` ≤ 0) ``CON3`` is the upper bound - (defaults to 1.0 + ``CON1`` if ``CON1`` ≥ 0 or 0.0 if ``CON1`` ≤ 0) - * ``BETA`` - Assigns random number values based on a beta distribution BETA( ``CON1``, ``CON2`` , - ``CON3``, ``CON4`` ) where: ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the upper - bound (defaults to 1.0 + ``CON1`` if ``CON1`` ≥ 0 or 0.0 if ``CON1`` ≤ 0) ``CON3`` and ``CON4`` - are the alpha and beta parameters, respectively, of the beta function. Alpha and beta must both be - positive; they default to 1.0. - * ``GAMM`` - Assigns random number values based on a gamma distribution: GAMM( ``CON1``, ``CON2`` , - ``CON3`` ) where: ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` and ``CON3`` are the - alpha and beta parameters, respectively, of the gamma function. Alpha and beta must both be - positive; they default to 1.0. - * ``RIGID`` - Generates the rigid body modes with respect to the reference point coordinates ( + + * ``TRIA`` - Assigns random number values based on a triangular distribution TRIA( ``CON1``, + ``CON2``, ``CON3`` ) where: + + ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the location of the peak value ( + ``CON1`` ≤ ``CON2`` ≤ ``CON3`` ; ``CON2`` defaults to 0 if ``CON1`` ≤ 0 ≤ ``CON3``, ``CON1`` if 0 + ≤ ``CON1``, or ``CON3`` if ``CON3`` ≤ 0) ``CON3`` is the upper bound (defaults to 1.0 + ``CON1`` + if ``CON1`` ≥ 0 or 0.0 if ``CON1`` ≤ 0) + + * ``BETA`` - Assigns random number values based on a beta distribution BETA( ``CON1``, ``CON2``, + ``CON3``, ``CON4`` ) where: + + ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` is the upper bound (defaults to 1.0 + + ``CON1`` if ``CON1`` ≥ 0 or 0.0 if ``CON1`` ≤ 0) ``CON3`` and ``CON4`` are the alpha and beta + parameters, respectively, of the beta function. Alpha and beta must both be positive; they default + to 1.0. + + * ``GAMM`` - Assigns random number values based on a gamma distribution: GAMM( ``CON1``, ``CON2`` + , ``CON3`` ) where: + + ``CON1`` is the lower bound (defaults to 0.0) ``CON2`` and ``CON3`` are the alpha and beta + parameters, respectively, of the gamma function. Alpha and beta must both be positive; they + default to 1.0. + + * ``RIGID`` - Generates the rigid body modes with respect to the reference point coordinates ( ``CON1``, ``CON2``, ``CON3`` ). The dimensions of the array parameter ``ParR`` are (dim 1 ,dim 2 ) where dim 1 is the maximum node number (including internal nodes but excluding orientation nodes ) multiplied by the number of degrees of freedom, and dim 2 is the number of rigid body modes (which corresponds to the number of structural degrees of freedom). - * ``CLUSTER`` - Generates excitation frequencies with clustering option CLUSTER( ``CON1``, ``CON2`` - , ``CON3``, ``CON4``, ``%CON5%`` ) where: ``CON1`` is the lower end of the frequency range in - Hz (0 < ``CON1`` ) ``CON2`` is the upper end of the frequency range in Hz ( ``CON1`` < ``CON2`` ) - ``CON3`` is the number of points on each side of the natural frequency (4 ≤ ``CON3`` ≤ 20, - defaults to 4) ``CON4`` is the constant damping ratio value or an array parameter (size NFR) - specifying the damping ratios (if zero or blank, defaults to constant damping ratio of 0.005) - ``CON5`` is an array parameter (size NFR) specifying the natural frequencies in Hz The dimension - of the resulting array parameter ParR is less than 2+NFR\*(2\* ``CON3`` +1) where NFR is the number - of natural frequencies defined in ``CON5``. + + * ``CLUSTER`` - Generates excitation frequencies with clustering option CLUSTER( ``CON1``, + ``CON2``, ``CON3``, ``CON4``, ``%CON5%`` ) where: + + ``CON1`` is the lower end of the frequency range in Hz (0 < ``CON1`` ) ``CON2`` is the upper end + of the frequency range in Hz ( ``CON1`` < ``CON2`` ) ``CON3`` is the number of points on each side + of the natural frequency (4 ≤ ``CON3`` ≤ 20, defaults to 4) ``CON4`` is the constant damping ratio + value or an array parameter (size NFR) specifying the damping ratios (if zero or blank, defaults + to constant damping ratio of 0.005) ``CON5`` is an array parameter (size NFR) specifying the + natural frequencies in Hz The dimension of the resulting array parameter ParR is less than + 2+NFR\2(2* ``CON3`` +1) where NFR is the number of natural frequencies defined in ``CON5``. con1 : str Constants used with above functions. @@ -1062,12 +1214,16 @@ def vfill( Notes ----- Operates on input data and produces one output array parameter vector according to: ``ParR`` = f( - ``CON1``, ``CON2`` ,...) where the functions (f) are described above. Operations use successive - array elements ( :ref:`vlen`, :ref:`vmask` ) with the default being all successive elements. For - example, :ref:`vfill` ,A,RAMP,1,10 assigns A(1) = 1.0, A(2) = 11.0, A(3) = 21.0, etc. :ref:`vfill` - ,B(5,1),DATA,1.5,3.0 assigns B(5,1) = 1.5 and B(6,1) = 3.0. Absolute values and scale factors may be - applied to the result parameter ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( - :ref:`vcum` ). See the :ref:`voper` command for details. This command is valid in any processor. + ``CON1``, ``CON2``, ...) + + where the functions (f) are described above. Operations use successive array elements ( :ref:`vlen` + , :ref:`vmask` ) with the default being all successive elements. For example, :ref:`vfill` + ,A,RAMP,1,10 assigns A(1) = 1.0, A(2) = 11.0, A(3) = 21.0, etc. :ref:`vfill`,B(5,1),DATA,1.5,3.0 + assigns B(5,1) = 1.5 and B(6,1) = 3.0. Absolute values and scale factors may be applied to the + result parameter ( :ref:`vabs`, :ref:`vfact` ). Results may be cumulative ( :ref:`vcum` ). See the + :ref:`voper` command for details. + + This command is valid in any processor. """ command = f"*VFILL,{parr},{func},{con1},{con2},{con3},{con4},{con5},{con6},{con7},{con8},{con9},{con10}" return self.run(command, **kwargs) @@ -1082,9 +1238,11 @@ def afun(self, lab: str = "", **kwargs): lab : str Specifies the units to be used: - * ``RAD`` - Use radians for input and output of parameter angular functions (default). - * ``DEG`` - Use degrees for input and output of parameter angular functions. - * ``STAT`` - Show current setting (DEG or RAD) for this command. + * ``RAD`` - Use radians for input and output of parameter angular functions (default). + + * ``DEG`` - Use degrees for input and output of parameter angular functions. + + * ``STAT`` - Show current setting (DEG or RAD) for this command. Notes ----- @@ -1104,42 +1262,56 @@ def stardel(self, val1: str = "", val2: str = "", **kwargs): val1 : str Command behavior key: - * ``ALL`` - Delete all user-defined parameters, or all user-defined parameters `and` all system + * ``ALL`` - Delete all user-defined parameters, or all user-defined parameters and all system parameters, as specified by ``Val2``. - * ```` - Delete the parameter(s) specified by ``Val2``. - * ``ParmName`` - Delete a single named parameter, specified here. ( ``Val2`` is not used in this + + * ```` - Delete the parameter(s) specified by ``Val2``. + + * ``ParmName`` - Delete a single named parameter, specified here. ( ``Val2`` is not used in this case.) val2 : str The parameter or parameters to delete (used only when ``Val1`` = ALL or (blank)): - * ``LOC`` - When ``Val1`` is (blank), specifies the location of the parameter within the `Array + * ``LOC`` - When ``Val1`` is (blank), specifies the location of the parameter within the `Array Parameters `_ dialog box. The location number is based on an alphabetically ordered list of all parameters in the database. - * ``_PRM`` - When ``Val1`` is ALL, deletes all parameters, including those named with a leading + + * ``_PRM`` - When ``Val1`` is ALL, deletes all parameters, including those named with a leading underscore (_) (except _STATUS and _RETURN). When ``Val1`` is (blank), deletes only those parameters named with a leading underscore (_) (except _STATUS and _RETURN). - * ``PRM_`` - When ``Val1`` is (blank), deletes only those parameters named with a trailing + + * ``PRM_`` - When ``Val1`` is (blank), deletes only those parameters named with a trailing underscore (_). - * ```` - When ``Val1`` is ALL, a (blank) value for ``Val2`` causes `all` user-defined parameters to + + * ```` - When ``Val1`` is ALL, a (blank) value for ``Val2`` causes all user-defined parameters to be deleted. Notes ----- This is a command generally created by the graphical user interface (GUI). It appears in the log file ( ``Jobname.LOG`` ) if an array parameter is deleted from within the Array Parameters dialog. - Usage examples: Delete all user-defined parameters: :ref:`stardel`,ALL Delete only those user- - defined parameters named with a trailing underscore: :ref:`stardel`,,PRM Delete all user-defined - `and` all system parameters (except for _STATUS and _RETURN): :ref:`stardel`,ALL,_PRM Delete a - parameter by specifying its location within the Array Parameters dialog: :ref:`stardel`, ``LOC`` + + Usage examples: + + Delete all user-defined parameters: :ref:`stardel` ,ALL + Delete only those user-defined parameters named with a trailing underscore: :ref:`stardel` ,,PRM + Delete all user-defined and all system parameters (except for _STATUS and _RETURN): :ref:`stardel` + ,ALL,_PRM + Delete a parameter by specifying its location within the Array Parameters dialog: :ref:`stardel` ,, + ``LOC`` Delete a single specified parameter by name: :ref:`stardel`, ``ParmName`` (You cannot specify more - than one named parameter at a time.) The :ref:`stardel` command does not free up memory but only - deletes the specified reference. For example, memory usage increases from the continued issuance of - :ref:`stardel` and :ref:`dim` within :ref:`dowhile` loops, as arrays are stored in the database - (memory) and :ref:`stardel` removes only the ``reference`` to the array. To release the memory in - use, issue the :ref:`save` command after :ref:`stardel`. This command is valid in any processor. + than one named parameter at a time.) + + The :ref:`stardel` command does not free up memory but only deletes the specified reference. For + example, memory usage increases from the continued issuance of :ref:`stardel` and :ref:`dim` within + :ref:`dowhile` loops, as arrays are stored in the database (memory) and :ref:`stardel` removes only + the ``reference`` to the array. To release the memory in use, issue the :ref:`save` command after + :ref:`stardel`. + + This command is valid in any processor. """ command = f"*DEL,{val1},{val2}" return self.run(command, **kwargs) @@ -1166,27 +1338,34 @@ def dim( par : str Name of parameter to be dimensioned. See :ref:`starset` for name restrictions. - type : str + type_ : str Array type: - * ``ARRAY`` - Arrays are similar to standard FORTRAN arrays (indices are integers) (default). Index - numbers for the rows, columns, and planes are sequential values beginning with one. Used for 1-, - 2-, or 3D arrays. - * ``ARR4`` - Same as ARRAY, but used to specify 4-D arrays. - * ``ARR5`` - Same as ARRAY, but used to specify 5-D arrays. - * ``CHAR`` - Array entries are character strings (up to 8 characters each). Index numbers for rows, - columns, and planes are sequential values beginning with one. - * ``TABLE`` - Array indices are real (non-integer) numbers which must be defined when filling the + * ``ARRAY`` - Arrays are similar to standard FORTRAN arrays (indices are integers) (default). + Index numbers for the rows, columns, and planes are sequential values beginning with one. Used for + 1-, 2-, or 3D arrays. + + * ``ARR4`` - Same as ARRAY, but used to specify 4-D arrays. + + * ``ARR5`` - Same as ARRAY, but used to specify 5-D arrays. + + * ``CHAR`` - Array entries are character strings (up to 8 characters each). Index numbers for + rows, columns, and planes are sequential values beginning with one. + + * ``TABLE`` - Array indices are real (non-integer) numbers which must be defined when filling the table. Index numbers for the rows and columns are stored in the zero column and row "array elements" and are initially assigned a near-zero value. Index numbers must be in ascending order and are used only for retrieving an array element. When retrieving an array element with a real index that does not match a specified index, linear interpolation is done among the nearest indices and the corresponding array element values ( :ref:`starset` ). Used for 1-, 2-, or 3D tables. - * ``TAB4`` - Same as TABLE, but used to specify 4-D tables. - * ``TAB5`` - Same as TABLE, but used to specify 5-D tables. - * ``STRING`` - Array entries are character strings (up to IMAX each). Index numbers for columns and - planes are sequential values beginning with 1. Row index is character position in string. + + * ``TAB4`` - Same as TABLE, but used to specify 4-D tables. + + * ``TAB5`` - Same as TABLE, but used to specify 5-D tables. + + * ``STRING`` - Array entries are character strings (up to IMAX each). Index numbers for columns + and planes are sequential values beginning with 1. Row index is character position in string. imax : str Extent of first dimension (row). (For ``Type`` = STRING, ``IMAX`` is rounded up to the next @@ -1219,14 +1398,26 @@ def dim( ARR5, TAB4, and TAB5 to define up to five dimensions (row, column, plane, book, and shelf). An index number is associated with each row, column, and plane. For array and table type parameters, element values are initialized to zero. For character and string parameters, element values are initialized - to (blank). A defined parameter must be deleted ( :ref:`starset` ) before its dimensions can be changed. Scalar (single valued) parameters should not be dimensioned. :ref:`dim` ,A,,3 defines a vector array with elements A(1), A(2), and A(3). :ref:`dim` ,B,,2,3 defines a 2x3 array with elements B(1,1), B(2,1), B(1,2), B(2,2), B(1,3), and B(2,3). Use :ref:`starstatus`, ``Par`` to display elements of array ``Par`` . You can write formatted data files (tabular formatting) from data held in arrays through the :ref:`vwrite` command. - - If you use table parameters to define boundary conditions, then ``Var1``, ``Var2``, and/or ``Var3`` can either specify a primary variable (listed in ) or can be an independent parameter. If specifying an independent parameter, then you must define an additional table for the independent parameter. The additional table must have the same name as the independent parameter and may be a function of one or more primary variables or another independent parameter. All independent parameters must relate to a primary variable. + to (blank). A defined parameter must be deleted ( :ref:`starset` ) before its dimensions can be + changed. Scalar (single valued) parameters should not be dimensioned. :ref:`dim`,A,,3 defines a + vector array with elements A(1), A(2), and A(3). :ref:`dim`,B,,2,3 defines a 2x3 array with + elements B(1,1), B(2,1), B(1,2), B(2,2), B(1,3), and B(2,3). Use :ref:`starstatus`, ``Par`` to + display elements of array ``Par``. You can write formatted data files (tabular formatting) from + data held in arrays through the :ref:`vwrite` command. + + If you use table parameters to define boundary conditions, then ``Var1``, ``Var2``, and/or + ``Var3`` can either specify a primary variable (listed in ) or can be an independent parameter. If + specifying an independent parameter, then you must define an additional table for the independent + parameter. The additional table must have the same name as the independent parameter and may be a + function of one or more primary variables or another independent parameter. All independent + parameters must relate to a primary variable. Tabular load arrays can be defined in both global Cartesian (default), cylindrical, spherical, or - local (see below) coordinate systems by specifying ``CSYSID``, as defined in :ref:`local` . Coordinate system ``CSYSID`` must exist prior to issuing the :ref:`dim` command. + local (see below) coordinate systems by specifying ``CSYSID``, as defined in :ref:`local`. + Coordinate system ``CSYSID`` must exist prior to issuing the :ref:`dim` command. - The following constraints apply when specifying a local coordinate system for your tabular loads: + **The following constraints apply when specifying a local coordinate system for your tabular + loads:** Only Cartesian, cylindrical and spherical coordinate systems are supported Angle values for Y in cylindrical or spherical coordinate systems must be input in degrees and must @@ -1234,21 +1425,23 @@ def dim( Angle values for Z in spherical coordinate system must be input in degrees and must be positive values between -90 and +90 ( -90 :math:`` Z :math:`` 90) - If specifying a 4- or 5-D array or table, four additional fields ( ``LMAX``, ``MMAX``, ``Var4``, and ``Var5`` ) are available. Thus, for a 4-D table, the command syntax would be: + If specifying a 4- or 5-D array or table, four additional fields ( ``LMAX``, ``MMAX``, ``Var4``, + and ``Var5`` ) are available. Thus, for a 4-D table, the command syntax would be: - .. code:: + .. code:: apdl - \*DIM,Par,Type,IMAX,JMAX,KMAX,LMAX,Var1,Var2,Var3,Var4,CSYSID + *DIM,Par,Type,IMAX,JMAX,KMAX,LMAX,Var1,Var2,Var3,Var4,CSYSID For a 5-D table, the command syntax is: - .. code:: + .. code:: apdl - \*DIM,Par,Type,IMAX,JMAX,KMAX,LMAX,MMAX,Var1,Var2,Var3,Var4,Var5,CSYSID + *DIM,Par,Type,IMAX,JMAX,KMAX,LMAX,MMAX,Var1,Var2,Var3,Var4,Var5,CSYSID You cannot create or edit 4- or 5-D arrays or tables via the GUI. - For more information, see `Array Parameters `_ + For more information, see `Array Parameters + `_ **\*DIM - Primary Variables** @@ -1290,6 +1483,7 @@ def dim( * - Concentration - CONC + Specify PRESSURE as the independent variable (not PRES). The X, Y, and Z coordinate locations listed above are valid in global Cartesian, or local @@ -1306,15 +1500,18 @@ def dim( The node and element labels (NODE and ELEM) allow you to use node and element numbers as primary variables, and their axis values should be integers. - The OMEGS, ECCENT, and THETA primary variables only apply to the COMBI214 element. The amplitude of the rotational velocity (OMEGS) is an absolute value, so only positive + The OMEGS, ECCENT, and THETA primary variables only apply to the COMBI214 element. The amplitude of + the rotational velocity (OMEGS) is an absolute value, so only positive values of OMEGS are valid. The eccentricity (ECCENT) and phase shift (THETA) labels are only valid for nonlinear analyses. - If you use table parameters to define boundary conditions, the table names ( ``Par`` ) must not exceed 32 characters. + If you use table parameters to define boundary conditions, the table names ( ``Par`` ) must not + exceed 32 characters. In thermal analyses, if you apply tabular loads as a function of temperature but the rest of the model is linear (for example, includes no temperature-dependent material properties or radiation ), - you should turn on Newton-Raphson iterations ( :ref:`nropt` ,FULL) to evaluate the temperature-dependent tabular boundary conditions correctly. + you should turn on Newton-Raphson iterations ( :ref:`nropt`,FULL) to evaluate the temperature- + dependent tabular boundary conditions correctly. This command is valid in any processor. """ diff --git a/src/ansys/mapdl/core/_commands/apdl/process_controls.py b/src/ansys/mapdl/core/_commands/apdl/process_controls.py index bdc7622846..645b4c2224 100644 --- a/src/ansys/mapdl/core/_commands/apdl/process_controls.py +++ b/src/ansys/mapdl/core/_commands/apdl/process_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # @@ -33,19 +33,22 @@ def stargo(self, base: str = "", **kwargs): base : str "Go to" action: - * ``:, label`` - A user-defined label (beginning with a colon (:), 8 characters maximum). The + * ``:, label`` - A user-defined label (beginning with a colon (:), 8 characters maximum). The command reader will skip (and wrap to the beginning of the file, if necessary) to the first line - that begins with the matching : ``label``. .. warning:: This label option may not be mixed - with do-loop or if-then-else constructs. - * ``STOP`` - This action will cause an exit from the Mechanical APDL program at this line. + that begins with the matching : ``label``. + + .. warning:: This label option may not be mixed with do-loop or if-then-else constructs. + * ``STOP`` - This action will cause an exit from the Mechanical APDL program at this line. Notes ----- Causes the next read to be from a specified line on the input file. Lines may be skipped or reread. - The :ref:`stargo` command will `not` be executed unless it is part of a macro, user file (processed - by :ref:`use` ), an alternate input file (processed by :ref:`input` ), or unless it is used in a - batch-mode input stream. Jumping into, out of, or within a do-loop or an if-then-else construct to a - : ``label`` line is not allowed. This command is valid in any processor. + The :ref:`stargo` command will not be executed unless it is part of a macro, user file (processed by + :ref:`use` ), an alternate input file (processed by :ref:`input` ), or unless it is used in a batch- + mode input stream. Jumping into, out of, or within a do-loop or an if-then-else construct to a : + ``label`` line is not allowed. + + This command is valid in any processor. """ command = f"*GO,{base}" return self.run(command, **kwargs) @@ -65,7 +68,9 @@ def wait(self, dtime: str = "", **kwargs): The command following the :ref:`wait` will not be processed until the specified wait time increment has elapsed. Useful when reading from a prepared input file to cause a pause, for example, after a display command so that the display can be reviewed for a period of time. Another "wait" feature is - available via the :ref:`ask` command. This command is valid in any processor. + available via the ``\*ASK`` command. + + This command is valid in any processor. """ command = f"/WAIT,{dtime}" return self.run(command, **kwargs) @@ -79,8 +84,9 @@ def cycle(self, **kwargs): ----- Bypasses all commands between this command and the :ref:`enddo` command within a do-loop. The next loop (if applicable) is initiated. The cycle option may also be conditionally executed [Use the - :ref:`if` ]. The :ref:`cycle` command must appear on the same file as the :ref:`do` command. This - command is valid in any processor. + ``\*IF`` ]. The :ref:`cycle` command must appear on the same file as the :ref:`do` command. + + This command is valid in any processor. """ command = f"*CYCLE" return self.run(command, **kwargs) @@ -92,11 +98,14 @@ def endif(self, **kwargs): Notes ----- - Required terminator for the if-then-else construct. See :ref:`if` for details. If a batch input - stream hits an end-of-file during a false :ref:`if` condition, the analysis will not terminate - normally. You will need to terminate it externally (use either the Linux "kill" function or the - Windows task manager). The :ref:`endif` command must appear on the same file as the :ref:`if` - command, and all six characters must be input. This command is valid in any processor. + Required terminator for the if-then-else construct. See ``\*IF`` for details. + + If a batch input stream hits an end-of-file during a false ``\*IF`` condition, the analysis will not + terminate normally. You will need to terminate it externally (use either the Linux "kill" function + or the Windows task manager). The :ref:`endif` command must appear on the same file as the ``\*IF`` + command, and all six characters must be input. + + This command is valid in any processor. """ command = f"*ENDIF" return self.run(command, **kwargs) @@ -126,14 +135,21 @@ def elseif( oper1 : str Operation label. A tolerance of 1.0E-10 is used for comparisons between real numbers: - * ``EQ`` - Equal (for ``VAL1`` = ``VAL2`` ). - * ``NE`` - Not equal (for ``VAL1`` ≠ ``VAL2`` ). - * ``LT`` - Less than (for ``VAL1`` < ``VAL2`` ). - * ``GT`` - Greater than (for ``VAL1`` > ``VAL2`` ). - * ``LE`` - Less than or equal (for ``VAL1`` :math:`` ``VAL2`` ). - * ``GE`` - Greater than or equal (for ``VAL1`` :math:`` ``VAL2`` ). - * ``ABLT`` - Absolute values of ``VAL1`` and ``VAL2`` before < operation. - * ``ABGT`` - Absolute values of ``VAL1`` and ``VAL2`` before > operation. + * ``EQ`` - Equal (for ``VAL1`` = ``VAL2`` ). + + * ``NE`` - Not equal (for ``VAL1`` ≠ ``VAL2`` ). + + * ``LT`` - Less than (for ``VAL1`` < ``VAL2`` ). + + * ``GT`` - Greater than (for ``VAL1`` > ``VAL2`` ). + + * ``LE`` - Less than or equal (for ``VAL1`` :math:`` ``VAL2`` ). + + * ``GE`` - Greater than or equal (for ``VAL1`` :math:`` ``VAL2`` ). + + * ``ABLT`` - Absolute values of ``VAL1`` and ``VAL2`` before < operation. + + * ``ABGT`` - Absolute values of ``VAL1`` and ``VAL2`` before > operation. val2 : str Second numerical value (or parameter which evaluates to numerical value) in the conditional @@ -142,9 +158,11 @@ def elseif( conj : str (Optional) Connection between two logical clauses. - * ``AND -`` - True if both clauses ( ``Oper1`` and ``Oper2`` ) are true. - * ``OR -`` - True if either clause is true. - * ``XOR -`` - True if either (but not both) clause is true. + * ``AND -`` - True if both clauses ( ``Oper1`` and ``Oper2`` ) are true. + + * ``OR -`` - True if either clause is true. + + * ``XOR -`` - True if either (but not both) clause is true. val3 : str (Optional) Third numerical value (or parameter which evaluates to numerical value). @@ -159,10 +177,11 @@ def elseif( Notes ----- Optional intermediate block separator within an if-then-else construct. All seven characters of the - command name (\*ELSEIF) must be input. This command is similar to the :ref:`if` command except that - the ``Base`` field is not used. The :ref:`if`, :ref:`elseif`, :ref:`else`, and :ref:`endif` - commands for each if-then-else construct must all be read from the same file (or keyboard). This - command is valid in any processor. + command name (\2ELSEIF) must be input. This command is similar to the ``\*IF`` command except that the + ``Base`` field is not used. The ``\*IF``, :ref:`elseif`, ``\*ELSE``, and :ref:`endif` commands for + each if-then-else construct must all be read from the same file (or keyboard). + + This command is valid in any processor. """ command = f"*ELSEIF,{val1},{oper1},{val2},{conj},{val3},{oper2},{val4}" return self.run(command, **kwargs) @@ -175,8 +194,10 @@ def starexit(self, **kwargs): Notes ----- The command following the :ref:`enddo` is executed next. The exit option may also be conditional - [Use the :ref:`if` ]. The :ref:`starexit` command must appear on the same file as the :ref:`do` - command. This command is valid in any processor. + [Use the ``\*IF`` ]. The :ref:`starexit` command must appear on the same file as the :ref:`do` + command. + + This command is valid in any processor. """ command = f"*EXIT" return self.run(command, **kwargs) @@ -189,8 +210,9 @@ def enddo(self, **kwargs): Notes ----- One :ref:`enddo` is required for each nested do-loop. The :ref:`enddo` command must appear on the - same file as the :ref:`do` command, and all six characters must be input. This command is valid in - any processor. + same file as the :ref:`do` command, and all six characters must be input. + + This command is valid in any processor. """ command = f"*ENDDO" return self.run(command, **kwargs) @@ -260,13 +282,17 @@ def repeat( the initial command may be incremented in the generated commands. The numeric increment values may be integer or real, positive or negative, zero or blank. Alphanumeric arguments cannot be incremented. For large values of ``NTOT``, consider printout suppression ( :ref:`nopr` command) - first. Most commands beginning with slash (/), star (\*), as well as "unknown command" macros, - cannot be repeated. For these commands, or if more than one command is to be repeated, include them - within a do-loop. File switching commands (those reading additional commands) cannot be repeated. If - a :ref:`repeat` command immediately follows another :ref:`repeat` command, the repeat action only + first. + + Most commands beginning with slash (/), star (\2), as well as "unknown command" macros, cannot be + repeated. For these commands, or if more than one command is to be repeated, include them within a + do-loop. File switching commands (those reading additional commands) cannot be repeated. If a + :ref:`repeat` command immediately follows another :ref:`repeat` command, the repeat action only applies to the last non- :ref:`repeat` command. Also, :ref:`repeat` should not be used in interactive mode immediately after a) a command (or its log file equivalent) that uses picking, or - b) a command that requires a response from the user. This command is valid in any processor. + b) a command that requires a response from the user. + + This command is valid in any processor. """ command = f"*REPEAT,{ntot},{vinc1},{vinc2},{vinc3},{vinc4},{vinc5},{vinc6},{vinc7},{vinc8},{vinc9},{vinc10},{vinc11}" return self.run(command, **kwargs) @@ -288,10 +314,11 @@ def dowhile(self, par: str = "", **kwargs): than zero. The block of commands following the :ref:`dowhile` command (up to the :ref:`enddo` command) is executed repeatedly until some loop control is satisfied. Printout is automatically suppressed on all loops after the first (include a :ref:`gopr` command to restore the printout). The - command line loop control ( ``Par`` ) must be input; however, :ref:`if` within the block can also be + command line loop control ( ``Par`` ) must be input; however, ``\*IF`` within the block can also be used to control looping ( :ref:`starexit`, :ref:`cycle` ). One level of internal file switching is - used for each nested :ref:`dowhile`. Twenty levels of nested do-loops are allowed. This command is - valid in any processor. + used for each nested :ref:`dowhile` . Twenty levels of nested do-loops are allowed. + + This command is valid in any processor. """ command = f"*DOWHILE,{par}" return self.run(command, **kwargs) @@ -311,35 +338,39 @@ def do( parameter substitution for the ``Par`` field. ival : str - Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. If - ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults to - 1. Negative increments and non-integer numbers are allowed. + Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. + If ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults + to 1. Negative increments and non-integer numbers are allowed. fval : str - Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. If - ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults to - 1. Negative increments and non-integer numbers are allowed. + Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. + If ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults + to 1. Negative increments and non-integer numbers are allowed. inc : str - Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. If - ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults to - 1. Negative increments and non-integer numbers are allowed. + Initially assign ``IVAL`` to ``Par``. Increment ``IVAL`` by ``INC`` for each successive loop. + If ``IVAL`` exceeds ``FVAL`` and ``INC`` is positive, the loop is not executed. ``INC`` defaults + to 1. Negative increments and non-integer numbers are allowed. Notes ----- The block of commands following the :ref:`do` command (up to the :ref:`enddo` command) is executed repeatedly until some loop control is satisfied. Printout is automatically suppressed on all loops after the first (include a :ref:`gopr` command to restore the printout). The command line loop - control ( ``Par``, ``IVAL``, ``FVAL``, ``INC`` ) must be input; however, a Use the :ref:`if` - within the block can also be used to control looping ( :ref:`starexit`, :ref:`cycle` ). One level - of internal file switching is used for each nested :ref:`do`. Twenty levels of nested do-loops are - allowed. Do-loops that include :ref:`input`, :ref:`use`, or an "Unknown Command" macro, have less - nesting available because each of these operations also uses a level of file switching. The - :ref:`do`, :ref:`enddo`, and any :ref:`cycle` and :ref:`starexit` commands for a do-loop must all - be read from the same file (or keyboard). You cannot use the `MULTIPRO + control ( ``Par``, ``IVAL``, ``FVAL``, ``INC`` ) must be input; however, a Use the ``\*IF`` within + the block can also be used to control looping ( :ref:`starexit`, :ref:`cycle` ). One level of + internal file switching is used for each nested :ref:`do`. Twenty levels of nested do-loops are + allowed. + + Do-loops that include :ref:`input`, :ref:`use`, or an "Unknown Command" macro, have less nesting + available because each of these operations also uses a level of file switching. The :ref:`do` , + :ref:`enddo`, and any :ref:`cycle` and :ref:`starexit` commands for a do-loop must all be read from + the same file (or keyboard). You cannot use the `MULTIPRO `_ or :ref:`create` commands within a :ref:`do` -loop. Picking operations should also not be used - within a :ref:`do` -loop. This command is valid in any processor. + within a :ref:`do` -loop. + + This command is valid in any processor. """ command = f"*DO,{par},{ival},{fval},{inc}" return self.run(command, **kwargs) diff --git a/src/ansys/mapdl/core/_commands/aux12_/__init__.py b/src/ansys/mapdl/core/_commands/aux12_/__init__.py index bf2f90a475..4c7a98ae01 100644 --- a/src/ansys/mapdl/core/_commands/aux12_/__init__.py +++ b/src/ansys/mapdl/core/_commands/aux12_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux12_/general_radiation.py b/src/ansys/mapdl/core/_commands/aux12_/general_radiation.py index 58463614df..b2bfdf0d67 100644 --- a/src/ansys/mapdl/core/_commands/aux12_/general_radiation.py +++ b/src/ansys/mapdl/core/_commands/aux12_/general_radiation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux12_/radiation_mat.py b/src/ansys/mapdl/core/_commands/aux12_/radiation_mat.py index ee9354a129..7be6c4c412 100644 --- a/src/ansys/mapdl/core/_commands/aux12_/radiation_mat.py +++ b/src/ansys/mapdl/core/_commands/aux12_/radiation_mat.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux12_/radiosity_solver.py b/src/ansys/mapdl/core/_commands/aux12_/radiosity_solver.py index 580637f1d2..3d96a7bc6b 100644 --- a/src/ansys/mapdl/core/_commands/aux12_/radiosity_solver.py +++ b/src/ansys/mapdl/core/_commands/aux12_/radiosity_solver.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux15_.py b/src/ansys/mapdl/core/_commands/aux15_.py index eeaf734280..c9396074a2 100644 --- a/src/ansys/mapdl/core/_commands/aux15_.py +++ b/src/ansys/mapdl/core/_commands/aux15_.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux2_/__init__.py b/src/ansys/mapdl/core/_commands/aux2_/__init__.py index 09bdaa997b..d388e85a7a 100644 --- a/src/ansys/mapdl/core/_commands/aux2_/__init__.py +++ b/src/ansys/mapdl/core/_commands/aux2_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux2_/bin_dump.py b/src/ansys/mapdl/core/_commands/aux2_/bin_dump.py index 29eb8fcd0d..4a588cf2a9 100644 --- a/src/ansys/mapdl/core/_commands/aux2_/bin_dump.py +++ b/src/ansys/mapdl/core/_commands/aux2_/bin_dump.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux2_/bin_manip.py b/src/ansys/mapdl/core/_commands/aux2_/bin_manip.py index 0723d718e4..cfd7a7cc6a 100644 --- a/src/ansys/mapdl/core/_commands/aux2_/bin_manip.py +++ b/src/ansys/mapdl/core/_commands/aux2_/bin_manip.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/aux3_.py b/src/ansys/mapdl/core/_commands/aux3_.py index 6dbde5503b..0119d56be2 100644 --- a/src/ansys/mapdl/core/_commands/aux3_.py +++ b/src/ansys/mapdl/core/_commands/aux3_.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/conn.py b/src/ansys/mapdl/core/_commands/conn.py index 39d8fa699a..9d179627f4 100644 --- a/src/ansys/mapdl/core/_commands/conn.py +++ b/src/ansys/mapdl/core/_commands/conn.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/__init__.py b/src/ansys/mapdl/core/_commands/database/__init__.py index 931aa61355..d989a66010 100644 --- a/src/ansys/mapdl/core/_commands/database/__init__.py +++ b/src/ansys/mapdl/core/_commands/database/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/components.py b/src/ansys/mapdl/core/_commands/database/components.py index b826947cec..466b86cbfe 100644 --- a/src/ansys/mapdl/core/_commands/database/components.py +++ b/src/ansys/mapdl/core/_commands/database/components.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/coord_sys.py b/src/ansys/mapdl/core/_commands/database/coord_sys.py index 7d6fd9d779..ee0e554ecb 100644 --- a/src/ansys/mapdl/core/_commands/database/coord_sys.py +++ b/src/ansys/mapdl/core/_commands/database/coord_sys.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/picking.py b/src/ansys/mapdl/core/_commands/database/picking.py index 16fbc282f2..3055b203ac 100644 --- a/src/ansys/mapdl/core/_commands/database/picking.py +++ b/src/ansys/mapdl/core/_commands/database/picking.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/selecting.py b/src/ansys/mapdl/core/_commands/database/selecting.py index 21831ab7cb..17f10b5837 100644 --- a/src/ansys/mapdl/core/_commands/database/selecting.py +++ b/src/ansys/mapdl/core/_commands/database/selecting.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/setup.py b/src/ansys/mapdl/core/_commands/database/setup.py index c73c27f597..9294c809d2 100644 --- a/src/ansys/mapdl/core/_commands/database/setup.py +++ b/src/ansys/mapdl/core/_commands/database/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/database/working_plane.py b/src/ansys/mapdl/core/_commands/database/working_plane.py index 3acbd48521..757f1fa671 100644 --- a/src/ansys/mapdl/core/_commands/database/working_plane.py +++ b/src/ansys/mapdl/core/_commands/database/working_plane.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/display_/__init__.py b/src/ansys/mapdl/core/_commands/display_/__init__.py index 69da8824a9..737c36038c 100644 --- a/src/ansys/mapdl/core/_commands/display_/__init__.py +++ b/src/ansys/mapdl/core/_commands/display_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/display_/setup.py b/src/ansys/mapdl/core/_commands/display_/setup.py index 061e1a8145..6bdbf3607b 100644 --- a/src/ansys/mapdl/core/_commands/display_/setup.py +++ b/src/ansys/mapdl/core/_commands/display_/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/__init__.py b/src/ansys/mapdl/core/_commands/graphics_/__init__.py index 83fc982ed8..a827eef704 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/__init__.py +++ b/src/ansys/mapdl/core/_commands/graphics_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/annotation.py b/src/ansys/mapdl/core/_commands/graphics_/annotation.py index 41622d9309..830a5a9b95 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/annotation.py +++ b/src/ansys/mapdl/core/_commands/graphics_/annotation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/graphs.py b/src/ansys/mapdl/core/_commands/graphics_/graphs.py index b7de8b316e..d8bdc59174 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/graphs.py +++ b/src/ansys/mapdl/core/_commands/graphics_/graphs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/labeling.py b/src/ansys/mapdl/core/_commands/graphics_/labeling.py index f5b255c3c3..5d773cf524 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/labeling.py +++ b/src/ansys/mapdl/core/_commands/graphics_/labeling.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/scaling.py b/src/ansys/mapdl/core/_commands/graphics_/scaling.py index 56cb163773..3d1460d6cc 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/scaling.py +++ b/src/ansys/mapdl/core/_commands/graphics_/scaling.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/setup.py b/src/ansys/mapdl/core/_commands/graphics_/setup.py index 9c05629368..acc229a52f 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/setup.py +++ b/src/ansys/mapdl/core/_commands/graphics_/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/style.py b/src/ansys/mapdl/core/_commands/graphics_/style.py index 958660d95d..e2ad27d1da 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/style.py +++ b/src/ansys/mapdl/core/_commands/graphics_/style.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/graphics_/views.py b/src/ansys/mapdl/core/_commands/graphics_/views.py index 5cbfa487be..fd1e1a3dfe 100644 --- a/src/ansys/mapdl/core/_commands/graphics_/views.py +++ b/src/ansys/mapdl/core/_commands/graphics_/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/hidden.py b/src/ansys/mapdl/core/_commands/hidden.py index e5518c1a1c..85a4e45c65 100644 --- a/src/ansys/mapdl/core/_commands/hidden.py +++ b/src/ansys/mapdl/core/_commands/hidden.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/inq_func.py b/src/ansys/mapdl/core/_commands/inq_func.py index 47b45a4e02..a5fc2e0817 100644 --- a/src/ansys/mapdl/core/_commands/inq_func.py +++ b/src/ansys/mapdl/core/_commands/inq_func.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/map_cmd.py b/src/ansys/mapdl/core/_commands/map_cmd.py index 5c5649bd3b..979ae076d0 100644 --- a/src/ansys/mapdl/core/_commands/map_cmd.py +++ b/src/ansys/mapdl/core/_commands/map_cmd.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/misc/__init__.py b/src/ansys/mapdl/core/_commands/misc/__init__.py index 7ca71db770..92e037a9d4 100644 --- a/src/ansys/mapdl/core/_commands/misc/__init__.py +++ b/src/ansys/mapdl/core/_commands/misc/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/misc/misc.py b/src/ansys/mapdl/core/_commands/misc/misc.py index b167898b4c..fd4c29ab9a 100644 --- a/src/ansys/mapdl/core/_commands/misc/misc.py +++ b/src/ansys/mapdl/core/_commands/misc/misc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/parse.py b/src/ansys/mapdl/core/_commands/parse.py index a1a4820dcc..05fc560643 100644 --- a/src/ansys/mapdl/core/_commands/parse.py +++ b/src/ansys/mapdl/core/_commands/parse.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/__init__.py b/src/ansys/mapdl/core/_commands/post1_/__init__.py index 7da12c9c15..62488e4ef3 100644 --- a/src/ansys/mapdl/core/_commands/post1_/__init__.py +++ b/src/ansys/mapdl/core/_commands/post1_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/animation.py b/src/ansys/mapdl/core/_commands/post1_/animation.py index fc0fa0be42..9a9718d715 100644 --- a/src/ansys/mapdl/core/_commands/post1_/animation.py +++ b/src/ansys/mapdl/core/_commands/post1_/animation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/controls.py b/src/ansys/mapdl/core/_commands/post1_/controls.py index d5b356da35..4270918066 100644 --- a/src/ansys/mapdl/core/_commands/post1_/controls.py +++ b/src/ansys/mapdl/core/_commands/post1_/controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/element_table.py b/src/ansys/mapdl/core/_commands/post1_/element_table.py index 74cfb80978..7152d8eb28 100644 --- a/src/ansys/mapdl/core/_commands/post1_/element_table.py +++ b/src/ansys/mapdl/core/_commands/post1_/element_table.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/failure_criteria.py b/src/ansys/mapdl/core/_commands/post1_/failure_criteria.py index b16d69ded7..b401a7e3d8 100644 --- a/src/ansys/mapdl/core/_commands/post1_/failure_criteria.py +++ b/src/ansys/mapdl/core/_commands/post1_/failure_criteria.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/listing.py b/src/ansys/mapdl/core/_commands/post1_/listing.py index 4e43929c80..7e52cc5027 100644 --- a/src/ansys/mapdl/core/_commands/post1_/listing.py +++ b/src/ansys/mapdl/core/_commands/post1_/listing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/load_case.py b/src/ansys/mapdl/core/_commands/post1_/load_case.py index a3baca367b..6bfccd8294 100644 --- a/src/ansys/mapdl/core/_commands/post1_/load_case.py +++ b/src/ansys/mapdl/core/_commands/post1_/load_case.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/magnetics_calc.py b/src/ansys/mapdl/core/_commands/post1_/magnetics_calc.py index e04478870f..640e6fbcfd 100644 --- a/src/ansys/mapdl/core/_commands/post1_/magnetics_calc.py +++ b/src/ansys/mapdl/core/_commands/post1_/magnetics_calc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/path_operations.py b/src/ansys/mapdl/core/_commands/post1_/path_operations.py index ead389b32b..ba7794fb83 100644 --- a/src/ansys/mapdl/core/_commands/post1_/path_operations.py +++ b/src/ansys/mapdl/core/_commands/post1_/path_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/results.py b/src/ansys/mapdl/core/_commands/post1_/results.py index ffb5f61036..1b588fad57 100644 --- a/src/ansys/mapdl/core/_commands/post1_/results.py +++ b/src/ansys/mapdl/core/_commands/post1_/results.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/setup.py b/src/ansys/mapdl/core/_commands/post1_/setup.py index 318f4f9c7f..cea5f10075 100644 --- a/src/ansys/mapdl/core/_commands/post1_/setup.py +++ b/src/ansys/mapdl/core/_commands/post1_/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/special.py b/src/ansys/mapdl/core/_commands/post1_/special.py index 798bc5751e..2f3333963f 100644 --- a/src/ansys/mapdl/core/_commands/post1_/special.py +++ b/src/ansys/mapdl/core/_commands/post1_/special.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/status.py b/src/ansys/mapdl/core/_commands/post1_/status.py index db6c545899..f636aa2207 100644 --- a/src/ansys/mapdl/core/_commands/post1_/status.py +++ b/src/ansys/mapdl/core/_commands/post1_/status.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/surface_operations.py b/src/ansys/mapdl/core/_commands/post1_/surface_operations.py index da3aff7c8d..d60f543ca6 100644 --- a/src/ansys/mapdl/core/_commands/post1_/surface_operations.py +++ b/src/ansys/mapdl/core/_commands/post1_/surface_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post1_/trace_points.py b/src/ansys/mapdl/core/_commands/post1_/trace_points.py index c116e9065e..c0e81cb8fb 100644 --- a/src/ansys/mapdl/core/_commands/post1_/trace_points.py +++ b/src/ansys/mapdl/core/_commands/post1_/trace_points.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/__init__.py b/src/ansys/mapdl/core/_commands/post26_/__init__.py index 83cc0ecb60..5f396473ec 100644 --- a/src/ansys/mapdl/core/_commands/post26_/__init__.py +++ b/src/ansys/mapdl/core/_commands/post26_/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/controls.py b/src/ansys/mapdl/core/_commands/post26_/controls.py index d68c5514e3..7e281b7a5f 100644 --- a/src/ansys/mapdl/core/_commands/post26_/controls.py +++ b/src/ansys/mapdl/core/_commands/post26_/controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/display.py b/src/ansys/mapdl/core/_commands/post26_/display.py index 11c63d0de9..93550a5d46 100644 --- a/src/ansys/mapdl/core/_commands/post26_/display.py +++ b/src/ansys/mapdl/core/_commands/post26_/display.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/listing.py b/src/ansys/mapdl/core/_commands/post26_/listing.py index 9130320622..f4290fde89 100644 --- a/src/ansys/mapdl/core/_commands/post26_/listing.py +++ b/src/ansys/mapdl/core/_commands/post26_/listing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/operations.py b/src/ansys/mapdl/core/_commands/post26_/operations.py index bdb5daee3a..7e72716c0e 100644 --- a/src/ansys/mapdl/core/_commands/post26_/operations.py +++ b/src/ansys/mapdl/core/_commands/post26_/operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/setup.py b/src/ansys/mapdl/core/_commands/post26_/setup.py index eb3ac34de6..845f66fda2 100644 --- a/src/ansys/mapdl/core/_commands/post26_/setup.py +++ b/src/ansys/mapdl/core/_commands/post26_/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/special.py b/src/ansys/mapdl/core/_commands/post26_/special.py index 0dd8ed8d35..695d44e3ac 100644 --- a/src/ansys/mapdl/core/_commands/post26_/special.py +++ b/src/ansys/mapdl/core/_commands/post26_/special.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/post26_/status.py b/src/ansys/mapdl/core/_commands/post26_/status.py index 0cad542a57..fa3b84fc5d 100644 --- a/src/ansys/mapdl/core/_commands/post26_/status.py +++ b/src/ansys/mapdl/core/_commands/post26_/status.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/__init__.py b/src/ansys/mapdl/core/_commands/preproc/__init__.py index fef3ab8ae8..82c6e53ae7 100644 --- a/src/ansys/mapdl/core/_commands/preproc/__init__.py +++ b/src/ansys/mapdl/core/_commands/preproc/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/areas.py b/src/ansys/mapdl/core/_commands/preproc/areas.py index 1fedf0d65d..3cb6b2e483 100644 --- a/src/ansys/mapdl/core/_commands/preproc/areas.py +++ b/src/ansys/mapdl/core/_commands/preproc/areas.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/artificially_matched_layers.py b/src/ansys/mapdl/core/_commands/preproc/artificially_matched_layers.py index 0b3e00a8f5..af1fee0f82 100644 --- a/src/ansys/mapdl/core/_commands/preproc/artificially_matched_layers.py +++ b/src/ansys/mapdl/core/_commands/preproc/artificially_matched_layers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/booleans.py b/src/ansys/mapdl/core/_commands/preproc/booleans.py index 0d161beab7..62adc3ec3f 100644 --- a/src/ansys/mapdl/core/_commands/preproc/booleans.py +++ b/src/ansys/mapdl/core/_commands/preproc/booleans.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/constraint_equations.py b/src/ansys/mapdl/core/_commands/preproc/constraint_equations.py index 598d7c2d56..cccd16e21c 100644 --- a/src/ansys/mapdl/core/_commands/preproc/constraint_equations.py +++ b/src/ansys/mapdl/core/_commands/preproc/constraint_equations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/coupled_dof.py b/src/ansys/mapdl/core/_commands/preproc/coupled_dof.py index ad2ef604dc..4a3f8150d6 100644 --- a/src/ansys/mapdl/core/_commands/preproc/coupled_dof.py +++ b/src/ansys/mapdl/core/_commands/preproc/coupled_dof.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/database.py b/src/ansys/mapdl/core/_commands/preproc/database.py index 416e6b4465..3e5ee5d1b2 100644 --- a/src/ansys/mapdl/core/_commands/preproc/database.py +++ b/src/ansys/mapdl/core/_commands/preproc/database.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/digitizing.py b/src/ansys/mapdl/core/_commands/preproc/digitizing.py index a2b5d76066..822cea4450 100644 --- a/src/ansys/mapdl/core/_commands/preproc/digitizing.py +++ b/src/ansys/mapdl/core/_commands/preproc/digitizing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/element_type.py b/src/ansys/mapdl/core/_commands/preproc/element_type.py index bfe21c2d46..d4f3d2ebc4 100644 --- a/src/ansys/mapdl/core/_commands/preproc/element_type.py +++ b/src/ansys/mapdl/core/_commands/preproc/element_type.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/elements.py b/src/ansys/mapdl/core/_commands/preproc/elements.py index 56c8742608..034dcb4002 100644 --- a/src/ansys/mapdl/core/_commands/preproc/elements.py +++ b/src/ansys/mapdl/core/_commands/preproc/elements.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/explicit_dynamics.py b/src/ansys/mapdl/core/_commands/preproc/explicit_dynamics.py index 41206e0ed3..901962d3a3 100644 --- a/src/ansys/mapdl/core/_commands/preproc/explicit_dynamics.py +++ b/src/ansys/mapdl/core/_commands/preproc/explicit_dynamics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/hard_points.py b/src/ansys/mapdl/core/_commands/preproc/hard_points.py index 1c15c77921..c5877aca89 100644 --- a/src/ansys/mapdl/core/_commands/preproc/hard_points.py +++ b/src/ansys/mapdl/core/_commands/preproc/hard_points.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/keypoints.py b/src/ansys/mapdl/core/_commands/preproc/keypoints.py index 37ce6b2a7a..5237d8377a 100644 --- a/src/ansys/mapdl/core/_commands/preproc/keypoints.py +++ b/src/ansys/mapdl/core/_commands/preproc/keypoints.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/lines.py b/src/ansys/mapdl/core/_commands/preproc/lines.py index ce8084ecaf..52fa9771af 100644 --- a/src/ansys/mapdl/core/_commands/preproc/lines.py +++ b/src/ansys/mapdl/core/_commands/preproc/lines.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/material_data_tables.py b/src/ansys/mapdl/core/_commands/preproc/material_data_tables.py index a0c1c4dc33..15eef22159 100644 --- a/src/ansys/mapdl/core/_commands/preproc/material_data_tables.py +++ b/src/ansys/mapdl/core/_commands/preproc/material_data_tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/materials.py b/src/ansys/mapdl/core/_commands/preproc/materials.py index 1bc5c548ff..942b44407e 100644 --- a/src/ansys/mapdl/core/_commands/preproc/materials.py +++ b/src/ansys/mapdl/core/_commands/preproc/materials.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/meshing.py b/src/ansys/mapdl/core/_commands/preproc/meshing.py index 20a7dbe19b..01fe838e09 100644 --- a/src/ansys/mapdl/core/_commands/preproc/meshing.py +++ b/src/ansys/mapdl/core/_commands/preproc/meshing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/morphing.py b/src/ansys/mapdl/core/_commands/preproc/morphing.py index f8ecc35c85..895174a398 100644 --- a/src/ansys/mapdl/core/_commands/preproc/morphing.py +++ b/src/ansys/mapdl/core/_commands/preproc/morphing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/nodes.py b/src/ansys/mapdl/core/_commands/preproc/nodes.py index 48f2a43f78..72f0862ab2 100644 --- a/src/ansys/mapdl/core/_commands/preproc/nodes.py +++ b/src/ansys/mapdl/core/_commands/preproc/nodes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/primitives.py b/src/ansys/mapdl/core/_commands/preproc/primitives.py index a4cd6cb2ae..5a41f1e46c 100644 --- a/src/ansys/mapdl/core/_commands/preproc/primitives.py +++ b/src/ansys/mapdl/core/_commands/preproc/primitives.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/real_constants.py b/src/ansys/mapdl/core/_commands/preproc/real_constants.py index 208be4b966..35a0b6bff9 100644 --- a/src/ansys/mapdl/core/_commands/preproc/real_constants.py +++ b/src/ansys/mapdl/core/_commands/preproc/real_constants.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/sections.py b/src/ansys/mapdl/core/_commands/preproc/sections.py index d95d7d1886..2f71902f06 100644 --- a/src/ansys/mapdl/core/_commands/preproc/sections.py +++ b/src/ansys/mapdl/core/_commands/preproc/sections.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/special_purpose.py b/src/ansys/mapdl/core/_commands/preproc/special_purpose.py index 6f36494d18..18bf3da44c 100644 --- a/src/ansys/mapdl/core/_commands/preproc/special_purpose.py +++ b/src/ansys/mapdl/core/_commands/preproc/special_purpose.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/status.py b/src/ansys/mapdl/core/_commands/preproc/status.py index f0beda5f80..084b2e1047 100644 --- a/src/ansys/mapdl/core/_commands/preproc/status.py +++ b/src/ansys/mapdl/core/_commands/preproc/status.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/superelements.py b/src/ansys/mapdl/core/_commands/preproc/superelements.py index e84bee2fa4..9a329e729d 100644 --- a/src/ansys/mapdl/core/_commands/preproc/superelements.py +++ b/src/ansys/mapdl/core/_commands/preproc/superelements.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/preproc/volumes.py b/src/ansys/mapdl/core/_commands/preproc/volumes.py index 5b19646c70..d725520d3d 100644 --- a/src/ansys/mapdl/core/_commands/preproc/volumes.py +++ b/src/ansys/mapdl/core/_commands/preproc/volumes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/reduced/__init__.py b/src/ansys/mapdl/core/_commands/reduced/__init__.py index 58ba254361..21ba00eea9 100644 --- a/src/ansys/mapdl/core/_commands/reduced/__init__.py +++ b/src/ansys/mapdl/core/_commands/reduced/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/reduced/generation.py b/src/ansys/mapdl/core/_commands/reduced/generation.py index f712df48a2..699b546904 100644 --- a/src/ansys/mapdl/core/_commands/reduced/generation.py +++ b/src/ansys/mapdl/core/_commands/reduced/generation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/reduced/preparation.py b/src/ansys/mapdl/core/_commands/reduced/preparation.py index f346efbf99..74e9c0f6c2 100644 --- a/src/ansys/mapdl/core/_commands/reduced/preparation.py +++ b/src/ansys/mapdl/core/_commands/reduced/preparation.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/reduced/setup.py b/src/ansys/mapdl/core/_commands/reduced/setup.py index 4101a0a21a..600617e9f8 100644 --- a/src/ansys/mapdl/core/_commands/reduced/setup.py +++ b/src/ansys/mapdl/core/_commands/reduced/setup.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/reduced/use_pass.py b/src/ansys/mapdl/core/_commands/reduced/use_pass.py index 32fad9af8f..0589ea1c7a 100644 --- a/src/ansys/mapdl/core/_commands/reduced/use_pass.py +++ b/src/ansys/mapdl/core/_commands/reduced/use_pass.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/session/__init__.py b/src/ansys/mapdl/core/_commands/session/__init__.py index ec94194b59..eff5c0cf7f 100644 --- a/src/ansys/mapdl/core/_commands/session/__init__.py +++ b/src/ansys/mapdl/core/_commands/session/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/session/files.py b/src/ansys/mapdl/core/_commands/session/files.py index 8fb0bfef7a..438e3f4cc2 100644 --- a/src/ansys/mapdl/core/_commands/session/files.py +++ b/src/ansys/mapdl/core/_commands/session/files.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/session/list_controls.py b/src/ansys/mapdl/core/_commands/session/list_controls.py index 6bcf014900..ef12613c01 100644 --- a/src/ansys/mapdl/core/_commands/session/list_controls.py +++ b/src/ansys/mapdl/core/_commands/session/list_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/session/processor_entry.py b/src/ansys/mapdl/core/_commands/session/processor_entry.py index 6808731f03..4a86f311e8 100644 --- a/src/ansys/mapdl/core/_commands/session/processor_entry.py +++ b/src/ansys/mapdl/core/_commands/session/processor_entry.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/session/run_controls.py b/src/ansys/mapdl/core/_commands/session/run_controls.py index 29fea7ec2d..757e2b8707 100644 --- a/src/ansys/mapdl/core/_commands/session/run_controls.py +++ b/src/ansys/mapdl/core/_commands/session/run_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/__init__.py b/src/ansys/mapdl/core/_commands/solution/__init__.py index 5e380d5786..38fa021bed 100644 --- a/src/ansys/mapdl/core/_commands/solution/__init__.py +++ b/src/ansys/mapdl/core/_commands/solution/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/all_others.py b/src/ansys/mapdl/core/_commands/solution/all_others.py index aa3054dc1b..b55dfdc012 100644 --- a/src/ansys/mapdl/core/_commands/solution/all_others.py +++ b/src/ansys/mapdl/core/_commands/solution/all_others.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/analysis_options.py b/src/ansys/mapdl/core/_commands/solution/analysis_options.py index e5b87da1e8..7c929dd9b5 100644 --- a/src/ansys/mapdl/core/_commands/solution/analysis_options.py +++ b/src/ansys/mapdl/core/_commands/solution/analysis_options.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/birth_and_death.py b/src/ansys/mapdl/core/_commands/solution/birth_and_death.py index 4ec4724e92..bd311f1a9f 100644 --- a/src/ansys/mapdl/core/_commands/solution/birth_and_death.py +++ b/src/ansys/mapdl/core/_commands/solution/birth_and_death.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/dynamic_options.py b/src/ansys/mapdl/core/_commands/solution/dynamic_options.py index 9be51e5846..c44501d652 100644 --- a/src/ansys/mapdl/core/_commands/solution/dynamic_options.py +++ b/src/ansys/mapdl/core/_commands/solution/dynamic_options.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/fe_body_loads.py b/src/ansys/mapdl/core/_commands/solution/fe_body_loads.py index 72eed11123..a5db23013f 100644 --- a/src/ansys/mapdl/core/_commands/solution/fe_body_loads.py +++ b/src/ansys/mapdl/core/_commands/solution/fe_body_loads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/fe_constraints.py b/src/ansys/mapdl/core/_commands/solution/fe_constraints.py index 7b5bcf7c06..03c3a1fc41 100644 --- a/src/ansys/mapdl/core/_commands/solution/fe_constraints.py +++ b/src/ansys/mapdl/core/_commands/solution/fe_constraints.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/fe_forces.py b/src/ansys/mapdl/core/_commands/solution/fe_forces.py index 68584dfcad..1ed9f362b2 100644 --- a/src/ansys/mapdl/core/_commands/solution/fe_forces.py +++ b/src/ansys/mapdl/core/_commands/solution/fe_forces.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/fe_surface_loads.py b/src/ansys/mapdl/core/_commands/solution/fe_surface_loads.py index 1df5d96e69..97be8b4776 100644 --- a/src/ansys/mapdl/core/_commands/solution/fe_surface_loads.py +++ b/src/ansys/mapdl/core/_commands/solution/fe_surface_loads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/gap_conditions.py b/src/ansys/mapdl/core/_commands/solution/gap_conditions.py index c73e56070a..0cfe0a5bb3 100644 --- a/src/ansys/mapdl/core/_commands/solution/gap_conditions.py +++ b/src/ansys/mapdl/core/_commands/solution/gap_conditions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/inertia.py b/src/ansys/mapdl/core/_commands/solution/inertia.py index a456de49ea..77fed6f5e7 100644 --- a/src/ansys/mapdl/core/_commands/solution/inertia.py +++ b/src/ansys/mapdl/core/_commands/solution/inertia.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/load_step_operations.py b/src/ansys/mapdl/core/_commands/solution/load_step_operations.py index 28cf878d34..c1062969dc 100644 --- a/src/ansys/mapdl/core/_commands/solution/load_step_operations.py +++ b/src/ansys/mapdl/core/_commands/solution/load_step_operations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/load_step_options.py b/src/ansys/mapdl/core/_commands/solution/load_step_options.py index d3b92330cd..0f12b9aefe 100644 --- a/src/ansys/mapdl/core/_commands/solution/load_step_options.py +++ b/src/ansys/mapdl/core/_commands/solution/load_step_options.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/master_dof.py b/src/ansys/mapdl/core/_commands/solution/master_dof.py index 3e308853fd..451bad8539 100644 --- a/src/ansys/mapdl/core/_commands/solution/master_dof.py +++ b/src/ansys/mapdl/core/_commands/solution/master_dof.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/miscellaneous_loads.py b/src/ansys/mapdl/core/_commands/solution/miscellaneous_loads.py index 4d52bdbfd3..a2acb01c8f 100644 --- a/src/ansys/mapdl/core/_commands/solution/miscellaneous_loads.py +++ b/src/ansys/mapdl/core/_commands/solution/miscellaneous_loads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_convergence_controls.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_convergence_controls.py index fb0b66cb4d..263c209d93 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_convergence_controls.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_convergence_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_definition_commands.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_definition_commands.py index a58b531e28..7c984d82a7 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_definition_commands.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_definition_commands.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_global_controls.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_global_controls.py index a47bd97577..23f2c06f0e 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_global_controls.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_global_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_interface_mapping.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_interface_mapping.py index 3a84e76db1..3b13664bb1 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_interface_mapping.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_interface_mapping.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_load_transfer.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_load_transfer.py index e12f27e5fe..3f9ce0dc3b 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_load_transfer.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_load_transfer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_time_controls.py b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_time_controls.py index 6a495523b3..a97645aa2c 100644 --- a/src/ansys/mapdl/core/_commands/solution/multi_field_solver_time_controls.py +++ b/src/ansys/mapdl/core/_commands/solution/multi_field_solver_time_controls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/nonlinear_options.py b/src/ansys/mapdl/core/_commands/solution/nonlinear_options.py index aea81e12b8..d990be3a8f 100644 --- a/src/ansys/mapdl/core/_commands/solution/nonlinear_options.py +++ b/src/ansys/mapdl/core/_commands/solution/nonlinear_options.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/ocean.py b/src/ansys/mapdl/core/_commands/solution/ocean.py index af8669f56c..ac609817c9 100644 --- a/src/ansys/mapdl/core/_commands/solution/ocean.py +++ b/src/ansys/mapdl/core/_commands/solution/ocean.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/radiosity.py b/src/ansys/mapdl/core/_commands/solution/radiosity.py index 67063800b4..8bab8c3e4b 100644 --- a/src/ansys/mapdl/core/_commands/solution/radiosity.py +++ b/src/ansys/mapdl/core/_commands/solution/radiosity.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/rezoning.py b/src/ansys/mapdl/core/_commands/solution/rezoning.py index a6b9ff95ef..d47d47db9a 100644 --- a/src/ansys/mapdl/core/_commands/solution/rezoning.py +++ b/src/ansys/mapdl/core/_commands/solution/rezoning.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/solid_body_loads.py b/src/ansys/mapdl/core/_commands/solution/solid_body_loads.py index 1a66374b53..53e690e6dd 100644 --- a/src/ansys/mapdl/core/_commands/solution/solid_body_loads.py +++ b/src/ansys/mapdl/core/_commands/solution/solid_body_loads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/solid_constraints.py b/src/ansys/mapdl/core/_commands/solution/solid_constraints.py index 1198c6a44d..19300657ce 100644 --- a/src/ansys/mapdl/core/_commands/solution/solid_constraints.py +++ b/src/ansys/mapdl/core/_commands/solution/solid_constraints.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/solid_forces.py b/src/ansys/mapdl/core/_commands/solution/solid_forces.py index 811e2fd5c1..4ed81c47bd 100644 --- a/src/ansys/mapdl/core/_commands/solution/solid_forces.py +++ b/src/ansys/mapdl/core/_commands/solution/solid_forces.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/solid_surface_loads.py b/src/ansys/mapdl/core/_commands/solution/solid_surface_loads.py index 948862075a..02ed56ce75 100644 --- a/src/ansys/mapdl/core/_commands/solution/solid_surface_loads.py +++ b/src/ansys/mapdl/core/_commands/solution/solid_surface_loads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/solution_status.py b/src/ansys/mapdl/core/_commands/solution/solution_status.py index 85a9c5ccd7..9dc68213b4 100644 --- a/src/ansys/mapdl/core/_commands/solution/solution_status.py +++ b/src/ansys/mapdl/core/_commands/solution/solution_status.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/spectrum_options.py b/src/ansys/mapdl/core/_commands/solution/spectrum_options.py index 5dc638af54..596a441774 100644 --- a/src/ansys/mapdl/core/_commands/solution/spectrum_options.py +++ b/src/ansys/mapdl/core/_commands/solution/spectrum_options.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_commands/solution/twod_to_3d_analysis.py b/src/ansys/mapdl/core/_commands/solution/twod_to_3d_analysis.py index fcdc1b47fc..e354bff531 100644 --- a/src/ansys/mapdl/core/_commands/solution/twod_to_3d_analysis.py +++ b/src/ansys/mapdl/core/_commands/solution/twod_to_3d_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/_version.py b/src/ansys/mapdl/core/_version.py index 96081b15d2..5ea719ba27 100644 --- a/src/ansys/mapdl/core/_version.py +++ b/src/ansys/mapdl/core/_version.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/cli/__init__.py b/src/ansys/mapdl/core/cli/__init__.py index a3cedac94a..35aa06665f 100644 --- a/src/ansys/mapdl/core/cli/__init__.py +++ b/src/ansys/mapdl/core/cli/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/cli/convert.py b/src/ansys/mapdl/core/cli/convert.py index c618ee14ef..8fc9854d3a 100644 --- a/src/ansys/mapdl/core/cli/convert.py +++ b/src/ansys/mapdl/core/cli/convert.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/cli/list_instances.py b/src/ansys/mapdl/core/cli/list_instances.py index 36d6d5b9df..55ca8e72f8 100644 --- a/src/ansys/mapdl/core/cli/list_instances.py +++ b/src/ansys/mapdl/core/cli/list_instances.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/cli/start.py b/src/ansys/mapdl/core/cli/start.py index 7c8332a96c..5d3c1abfb1 100644 --- a/src/ansys/mapdl/core/cli/start.py +++ b/src/ansys/mapdl/core/cli/start.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/cli/stop.py b/src/ansys/mapdl/core/cli/stop.py index 2e16a7404b..051a0b8e96 100644 --- a/src/ansys/mapdl/core/cli/stop.py +++ b/src/ansys/mapdl/core/cli/stop.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/commands.py b/src/ansys/mapdl/core/commands.py index 796032c134..38d740ae55 100644 --- a/src/ansys/mapdl/core/commands.py +++ b/src/ansys/mapdl/core/commands.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/common_grpc.py b/src/ansys/mapdl/core/common_grpc.py index ab5be839ce..edcb0698f1 100644 --- a/src/ansys/mapdl/core/common_grpc.py +++ b/src/ansys/mapdl/core/common_grpc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/component.py b/src/ansys/mapdl/core/component.py index 21bc4765c0..2350eebe76 100644 --- a/src/ansys/mapdl/core/component.py +++ b/src/ansys/mapdl/core/component.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/convert.py b/src/ansys/mapdl/core/convert.py index cbce45f5d4..4df406395e 100644 --- a/src/ansys/mapdl/core/convert.py +++ b/src/ansys/mapdl/core/convert.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/database/__init__.py b/src/ansys/mapdl/core/database/__init__.py index 15ab923f7a..a842823bc6 100644 --- a/src/ansys/mapdl/core/database/__init__.py +++ b/src/ansys/mapdl/core/database/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/database/database.py b/src/ansys/mapdl/core/database/database.py index ee8aa44dcb..3e395a6297 100644 --- a/src/ansys/mapdl/core/database/database.py +++ b/src/ansys/mapdl/core/database/database.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/database/elems.py b/src/ansys/mapdl/core/database/elems.py index 2e96528d9d..7680df8e98 100644 --- a/src/ansys/mapdl/core/database/elems.py +++ b/src/ansys/mapdl/core/database/elems.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/database/nodes.py b/src/ansys/mapdl/core/database/nodes.py index c98c469b01..938a894558 100644 --- a/src/ansys/mapdl/core/database/nodes.py +++ b/src/ansys/mapdl/core/database/nodes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/errors.py b/src/ansys/mapdl/core/errors.py index ebbffcfa53..b4f1fcb8b2 100644 --- a/src/ansys/mapdl/core/errors.py +++ b/src/ansys/mapdl/core/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/examples/__init__.py b/src/ansys/mapdl/core/examples/__init__.py index c5af09b6b6..dc202a9874 100644 --- a/src/ansys/mapdl/core/examples/__init__.py +++ b/src/ansys/mapdl/core/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/examples/downloads.py b/src/ansys/mapdl/core/examples/downloads.py index 67c793e091..6112d97f1c 100644 --- a/src/ansys/mapdl/core/examples/downloads.py +++ b/src/ansys/mapdl/core/examples/downloads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/examples/examples.py b/src/ansys/mapdl/core/examples/examples.py index bbb8a2715e..339f4d1bde 100644 --- a/src/ansys/mapdl/core/examples/examples.py +++ b/src/ansys/mapdl/core/examples/examples.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/examples/verif_files.py b/src/ansys/mapdl/core/examples/verif_files.py index 7a6ccb2ccd..b684c59c74 100755 --- a/src/ansys/mapdl/core/examples/verif_files.py +++ b/src/ansys/mapdl/core/examples/verif_files.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/helpers.py b/src/ansys/mapdl/core/helpers.py index 0f70d2096d..a42dc70390 100644 --- a/src/ansys/mapdl/core/helpers.py +++ b/src/ansys/mapdl/core/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/information.py b/src/ansys/mapdl/core/information.py index 3239b657a7..c6120bfacd 100644 --- a/src/ansys/mapdl/core/information.py +++ b/src/ansys/mapdl/core/information.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/__init__.py b/src/ansys/mapdl/core/inline_functions/__init__.py index 466797780e..3433c2900f 100644 --- a/src/ansys/mapdl/core/inline_functions/__init__.py +++ b/src/ansys/mapdl/core/inline_functions/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/component_queries.py b/src/ansys/mapdl/core/inline_functions/component_queries.py index 5cb10f5dac..1091e8f47f 100644 --- a/src/ansys/mapdl/core/inline_functions/component_queries.py +++ b/src/ansys/mapdl/core/inline_functions/component_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/connectivity_queries.py b/src/ansys/mapdl/core/inline_functions/connectivity_queries.py index a39fc9d432..dc23f9d10b 100644 --- a/src/ansys/mapdl/core/inline_functions/connectivity_queries.py +++ b/src/ansys/mapdl/core/inline_functions/connectivity_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/core.py b/src/ansys/mapdl/core/inline_functions/core.py index 65d7d59d9e..69c3b55c55 100644 --- a/src/ansys/mapdl/core/inline_functions/core.py +++ b/src/ansys/mapdl/core/inline_functions/core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/geometry_queries.py b/src/ansys/mapdl/core/inline_functions/geometry_queries.py index a9c3d14a4d..043006f0f3 100644 --- a/src/ansys/mapdl/core/inline_functions/geometry_queries.py +++ b/src/ansys/mapdl/core/inline_functions/geometry_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/inline_functions.py b/src/ansys/mapdl/core/inline_functions/inline_functions.py index 724409ebed..05eb2aca91 100644 --- a/src/ansys/mapdl/core/inline_functions/inline_functions.py +++ b/src/ansys/mapdl/core/inline_functions/inline_functions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/line_queries.py b/src/ansys/mapdl/core/inline_functions/line_queries.py index 2b4b9f87ca..6063ffc3a4 100644 --- a/src/ansys/mapdl/core/inline_functions/line_queries.py +++ b/src/ansys/mapdl/core/inline_functions/line_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/nearest_queries.py b/src/ansys/mapdl/core/inline_functions/nearest_queries.py index 9fbb41b637..5d01d9fea3 100644 --- a/src/ansys/mapdl/core/inline_functions/nearest_queries.py +++ b/src/ansys/mapdl/core/inline_functions/nearest_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/normals_queries.py b/src/ansys/mapdl/core/inline_functions/normals_queries.py index 151733f77b..76d7ae67a3 100644 --- a/src/ansys/mapdl/core/inline_functions/normals_queries.py +++ b/src/ansys/mapdl/core/inline_functions/normals_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/scalar_queries.py b/src/ansys/mapdl/core/inline_functions/scalar_queries.py index 038ea4fb80..07bf542808 100644 --- a/src/ansys/mapdl/core/inline_functions/scalar_queries.py +++ b/src/ansys/mapdl/core/inline_functions/scalar_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/inline_functions/selection_queries.py b/src/ansys/mapdl/core/inline_functions/selection_queries.py index 10b5b1b30e..bba1882fd4 100644 --- a/src/ansys/mapdl/core/inline_functions/selection_queries.py +++ b/src/ansys/mapdl/core/inline_functions/selection_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/jupyter.py b/src/ansys/mapdl/core/jupyter.py index 754ac92280..7cfe39b41f 100644 --- a/src/ansys/mapdl/core/jupyter.py +++ b/src/ansys/mapdl/core/jupyter.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/krylov.py b/src/ansys/mapdl/core/krylov.py index 9f2ebb6333..7c8a6cd807 100644 --- a/src/ansys/mapdl/core/krylov.py +++ b/src/ansys/mapdl/core/krylov.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/launcher.py b/src/ansys/mapdl/core/launcher.py index 650ba4a252..bd365fd9d9 100644 --- a/src/ansys/mapdl/core/launcher.py +++ b/src/ansys/mapdl/core/launcher.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/licensing.py b/src/ansys/mapdl/core/licensing.py index 6fd4d8beea..a459096cd4 100644 --- a/src/ansys/mapdl/core/licensing.py +++ b/src/ansys/mapdl/core/licensing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/logging.py b/src/ansys/mapdl/core/logging.py index 9c5b8f62f2..d695bcd36d 100644 --- a/src/ansys/mapdl/core/logging.py +++ b/src/ansys/mapdl/core/logging.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl.py b/src/ansys/mapdl/core/mapdl.py index 5f0b58005e..57b0684f8e 100644 --- a/src/ansys/mapdl/core/mapdl.py +++ b/src/ansys/mapdl/core/mapdl.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_console.py b/src/ansys/mapdl/core/mapdl_console.py index d3e1c4f678..cc4ebf8c3c 100644 --- a/src/ansys/mapdl/core/mapdl_console.py +++ b/src/ansys/mapdl/core/mapdl_console.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_core.py b/src/ansys/mapdl/core/mapdl_core.py index ea5fadc0e5..3a927ef249 100644 --- a/src/ansys/mapdl/core/mapdl_core.py +++ b/src/ansys/mapdl/core/mapdl_core.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_extended.py b/src/ansys/mapdl/core/mapdl_extended.py index a12ba23392..1f184150b2 100644 --- a/src/ansys/mapdl/core/mapdl_extended.py +++ b/src/ansys/mapdl/core/mapdl_extended.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_geometry.py b/src/ansys/mapdl/core/mapdl_geometry.py index fca96f5861..59b727a911 100644 --- a/src/ansys/mapdl/core/mapdl_geometry.py +++ b/src/ansys/mapdl/core/mapdl_geometry.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_grpc.py b/src/ansys/mapdl/core/mapdl_grpc.py index 0ebd1618c3..9ca743280f 100644 --- a/src/ansys/mapdl/core/mapdl_grpc.py +++ b/src/ansys/mapdl/core/mapdl_grpc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_inprocess.py b/src/ansys/mapdl/core/mapdl_inprocess.py index f9f500ce25..ca486cf9f4 100644 --- a/src/ansys/mapdl/core/mapdl_inprocess.py +++ b/src/ansys/mapdl/core/mapdl_inprocess.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mapdl_types.py b/src/ansys/mapdl/core/mapdl_types.py index 22afd033fc..09a54db7ed 100644 --- a/src/ansys/mapdl/core/mapdl_types.py +++ b/src/ansys/mapdl/core/mapdl_types.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mesh/__init__.py b/src/ansys/mapdl/core/mesh/__init__.py index aa3054dc1b..b55dfdc012 100644 --- a/src/ansys/mapdl/core/mesh/__init__.py +++ b/src/ansys/mapdl/core/mesh/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mesh/mesh.py b/src/ansys/mapdl/core/mesh/mesh.py index 6853d237d6..0c989bbe6c 100644 --- a/src/ansys/mapdl/core/mesh/mesh.py +++ b/src/ansys/mapdl/core/mesh/mesh.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/mesh_grpc.py b/src/ansys/mapdl/core/mesh_grpc.py index 93e98654ad..dc24f30639 100644 --- a/src/ansys/mapdl/core/mesh_grpc.py +++ b/src/ansys/mapdl/core/mesh_grpc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/misc.py b/src/ansys/mapdl/core/misc.py index 1c14e05610..610f6821ff 100644 --- a/src/ansys/mapdl/core/misc.py +++ b/src/ansys/mapdl/core/misc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/parameters.py b/src/ansys/mapdl/core/parameters.py index 32c96bbef8..cfaef83c76 100644 --- a/src/ansys/mapdl/core/parameters.py +++ b/src/ansys/mapdl/core/parameters.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/plotting/__init__.py b/src/ansys/mapdl/core/plotting/__init__.py index 88dcdee1f1..a3f379af20 100644 --- a/src/ansys/mapdl/core/plotting/__init__.py +++ b/src/ansys/mapdl/core/plotting/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/plotting/consts.py b/src/ansys/mapdl/core/plotting/consts.py index d091473eaf..8d1ee9d427 100644 --- a/src/ansys/mapdl/core/plotting/consts.py +++ b/src/ansys/mapdl/core/plotting/consts.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/plotting/plotting_defaults.py b/src/ansys/mapdl/core/plotting/plotting_defaults.py index a734355e36..801ff6fca4 100644 --- a/src/ansys/mapdl/core/plotting/plotting_defaults.py +++ b/src/ansys/mapdl/core/plotting/plotting_defaults.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/plotting/theme.py b/src/ansys/mapdl/core/plotting/theme.py index 1b8ed546f6..9dab277cc1 100644 --- a/src/ansys/mapdl/core/plotting/theme.py +++ b/src/ansys/mapdl/core/plotting/theme.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/plotting/visualizer.py b/src/ansys/mapdl/core/plotting/visualizer.py index 6f36a527bd..f4df50e8d8 100644 --- a/src/ansys/mapdl/core/plotting/visualizer.py +++ b/src/ansys/mapdl/core/plotting/visualizer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/pool.py b/src/ansys/mapdl/core/pool.py index 40e22ae2b1..5a53d5f9f8 100755 --- a/src/ansys/mapdl/core/pool.py +++ b/src/ansys/mapdl/core/pool.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/post.py b/src/ansys/mapdl/core/post.py index 3beca9c2d6..18ebc102c4 100644 --- a/src/ansys/mapdl/core/post.py +++ b/src/ansys/mapdl/core/post.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/report.py b/src/ansys/mapdl/core/report.py index bfa9382185..0cc3a6d3dc 100644 --- a/src/ansys/mapdl/core/report.py +++ b/src/ansys/mapdl/core/report.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/solution.py b/src/ansys/mapdl/core/solution.py index 09d6478e44..4b7534827f 100644 --- a/src/ansys/mapdl/core/solution.py +++ b/src/ansys/mapdl/core/solution.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mapdl/core/xpl.py b/src/ansys/mapdl/core/xpl.py index 76d6086039..a7e0542bf2 100644 --- a/src/ansys/mapdl/core/xpl.py +++ b/src/ansys/mapdl/core/xpl.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/common.py b/tests/common.py index 0ff9a64632..5ad798693d 100644 --- a/tests/common.py +++ b/tests/common.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/conftest.py b/tests/conftest.py index 157472057d..1a36e31304 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_cli.py b/tests/test_cli.py index bd3c9377b0..a59b957038 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_commands.py b/tests/test_commands.py index ffc4047e98..1b154470c1 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_component.py b/tests/test_component.py index da5ebd91f6..aa790c4ff7 100644 --- a/tests/test_component.py +++ b/tests/test_component.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_console.py b/tests/test_console.py index a8f598b348..b65115ccea 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_convert.py b/tests/test_convert.py index a1eae9a8f5..3f659315bc 100644 --- a/tests/test_convert.py +++ b/tests/test_convert.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_database.py b/tests/test_database.py index e051b72e20..d4bfe448b2 100644 --- a/tests/test_database.py +++ b/tests/test_database.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_dpf.py b/tests/test_dpf.py index fa8a1c5ce2..8fd93f5c36 100644 --- a/tests/test_dpf.py +++ b/tests/test_dpf.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_element.py b/tests/test_element.py index 9df3aa4d10..a078c76cd6 100644 --- a/tests/test_element.py +++ b/tests/test_element.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_errors.py b/tests/test_errors.py index 4cb65fdec5..cf862464cd 100644 --- a/tests/test_errors.py +++ b/tests/test_errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_examples.py b/tests/test_examples.py index cbe980656e..3689deebc1 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_geometry.py b/tests/test_geometry.py index 9d69f86a90..59c6e5589f 100644 --- a/tests/test_geometry.py +++ b/tests/test_geometry.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_grpc.py b/tests/test_grpc.py index fd2454a4d0..0850df9f67 100644 --- a/tests/test_grpc.py +++ b/tests/test_grpc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_importing_geometries.py b/tests/test_importing_geometries.py index adcd622686..f142482685 100644 --- a/tests/test_importing_geometries.py +++ b/tests/test_importing_geometries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_information.py b/tests/test_information.py index 8d2f5cfebf..d09a67f420 100644 --- a/tests/test_information.py +++ b/tests/test_information.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_component_queries.py b/tests/test_inline_functions/test_component_queries.py index 212e835049..5749fced27 100644 --- a/tests/test_inline_functions/test_component_queries.py +++ b/tests/test_inline_functions/test_component_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_connectivity_queries.py b/tests/test_inline_functions/test_connectivity_queries.py index 3f638e08ef..127a9c7d38 100644 --- a/tests/test_inline_functions/test_connectivity_queries.py +++ b/tests/test_inline_functions/test_connectivity_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_field_component_queries.py b/tests/test_inline_functions/test_field_component_queries.py index f67606d5bf..5b4dd3fe52 100644 --- a/tests/test_inline_functions/test_field_component_queries.py +++ b/tests/test_inline_functions/test_field_component_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_geometry_queries.py b/tests/test_inline_functions/test_geometry_queries.py index a6cdd4a56e..6a4e823bdd 100644 --- a/tests/test_inline_functions/test_geometry_queries.py +++ b/tests/test_inline_functions/test_geometry_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_line_component_queries.py b/tests/test_inline_functions/test_line_component_queries.py index f3719f23e9..c8e4186a87 100644 --- a/tests/test_inline_functions/test_line_component_queries.py +++ b/tests/test_inline_functions/test_line_component_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_nearest_queries.py b/tests/test_inline_functions/test_nearest_queries.py index 4b0b69fec0..cc4b0720a6 100644 --- a/tests/test_inline_functions/test_nearest_queries.py +++ b/tests/test_inline_functions/test_nearest_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_normals_queries.py b/tests/test_inline_functions/test_normals_queries.py index 3cf7a453d8..dae67e190d 100644 --- a/tests/test_inline_functions/test_normals_queries.py +++ b/tests/test_inline_functions/test_normals_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_query.py b/tests/test_inline_functions/test_query.py index 442e9ecf18..fe3b3c0d8b 100644 --- a/tests/test_inline_functions/test_query.py +++ b/tests/test_inline_functions/test_query.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_inline_functions/test_selection_queries.py b/tests/test_inline_functions/test_selection_queries.py index 7a754fc666..23e4a2b92a 100644 --- a/tests/test_inline_functions/test_selection_queries.py +++ b/tests/test_inline_functions/test_selection_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_krylov.py b/tests/test_krylov.py index 1d62d9eeed..2cec66114e 100644 --- a/tests/test_krylov.py +++ b/tests/test_krylov.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_launcher.py b/tests/test_launcher.py index 92952a42cc..0f5b736505 100644 --- a/tests/test_launcher.py +++ b/tests/test_launcher.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_launcher_remote.py b/tests/test_launcher_remote.py index f653f78fb4..fa5e937085 100644 --- a/tests/test_launcher_remote.py +++ b/tests/test_launcher_remote.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_licensing.py b/tests/test_licensing.py index b730ec6b2f..3bd1bbfd77 100644 --- a/tests/test_licensing.py +++ b/tests/test_licensing.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_logging.py b/tests/test_logging.py index 3c416706be..a28871b28e 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_mapdl.py b/tests/test_mapdl.py index ed2d611c0b..eaba199f9e 100644 --- a/tests/test_mapdl.py +++ b/tests/test_mapdl.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_mesh_grpc.py b/tests/test_mesh_grpc.py index afbf339b4a..a0aaf421f7 100644 --- a/tests/test_mesh_grpc.py +++ b/tests/test_mesh_grpc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_misc.py b/tests/test_misc.py index ed2be5c6bb..e891c2e94f 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_parameters.py b/tests/test_parameters.py index 417c6389cd..ca5660286a 100644 --- a/tests/test_parameters.py +++ b/tests/test_parameters.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 742f819a8d..feea3c8bd2 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_pool.py b/tests/test_pool.py index 61d920144c..5e73940a30 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_post.py b/tests/test_post.py index 7eca8fcbba..42619bb036 100644 --- a/tests/test_post.py +++ b/tests/test_post.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_report.py b/tests/test_report.py index 4857dbf345..c32bb7a37f 100644 --- a/tests/test_report.py +++ b/tests/test_report.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_solution.py b/tests/test_solution.py index 985a0939fb..00a9e64a0e 100644 --- a/tests/test_solution.py +++ b/tests/test_solution.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_theme.py b/tests/test_theme.py index 9046634a04..25073c34ee 100644 --- a/tests/test_theme.py +++ b/tests/test_theme.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_xpl.py b/tests/test_xpl.py index 6c85f14e53..979b58d594 100644 --- a/tests/test_xpl.py +++ b/tests/test_xpl.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016 - 2024 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2016 - 2025 ANSYS, Inc. and/or its affiliates. # SPDX-License-Identifier: MIT # #