Skip to content

Conversation

@talhah-ansari
Copy link
Contributor

@talhah-ansari talhah-ansari commented Dec 24, 2025

📝 Description
This pull request introduces a new TemperatureSensor to the System Identification Application,
Adds normalization feature for sensor-based response functions,
It also makes adjustments to the Python interface for damage detection response, and
Allow multiple adjoint model parts by logging change in structural mechanics adjoint static solver and CreateModelPart in connectivity_preserving_model_part_controller,
Adds tests for temperature sensor and damage_temperature_detection_response (including sensor normalization).

🆕 Changelog

  • *** Temperature Sensor ***
  • Added a new TemperatureSensor class with full implementation (temperature_sensor.cpp, temperature_sensor.h)
  • Exposed the TemperatureSensor to the Python interface by updating add_custom_sensors_to_python.cpp
  • *** Sensor Normalization ***
  • Introduced a new variable SENSOR_NORMALIZATION_FACTOR
  • Updated the default settings and internal data structures in damage_detection_response.py to support sensor normalization settings per test analysis
  • Updated broken response tests to have SENSOR_NORMALIZATION_FACTOR = 1.0
  • *** DamageTemperatureResponse ***
  • Added new DamageTemperatureResponseFunction, which calculates gradients w.r.t both YOUNG_MODULUS and TEMPERATURE (both are essential for correct gradients)
  • Added tests in auxiliary_files_7, auxiliary_files_8, and test_damage_temperature_response.py
  • *** Enabling multiple adjoint model parts for multiple responses ***
  • In structural_mechanics_adjoint_static_solver.py, moved the log status on model part instead of process info to allow multiple adjoint model parts, allowing for combined responses.
  • CreateModelPart in connectivity_preserving_model_part_controller.py happens in init instead of ImportModelPart because the model part is required to exist for ModelPartOperation() in OptApp/SIApp responses.

@talhah-ansari talhah-ansari self-assigned this Dec 24, 2025
@talhah-ansari talhah-ansari requested a review from a team as a code owner December 24, 2025 13:09
…elPart in __init__ instead of ImportModelPart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants