Skip to content

[FXC-3870] added reference_velocity for ActuatorDisk power output#1836

Merged
johnmoore4 merged 2 commits intomainfrom
feature/actuator-disk-reference-velocity
Feb 25, 2026
Merged

[FXC-3870] added reference_velocity for ActuatorDisk power output#1836
johnmoore4 merged 2 commits intomainfrom
feature/actuator-disk-reference-velocity

Conversation

@johnmoore4
Copy link
Copy Markdown
Contributor

@johnmoore4 johnmoore4 commented Feb 24, 2026

Added reference_velocity to ActuatorDisk class for use in Power calculations
Ticket: https://flow360.atlassian.net/browse/FXC-3870


Note

Low Risk
Small, additive API/translation change gated behind an optional field; risk is limited to actuator disk JSON output shape when the new parameter is provided.

Overview
Adds an optional reference_velocity vector to the ActuatorDisk model to support using a fixed velocity (instead of local flow velocity) when computing actuator disk power output.

Updates actuator_disk_translator to emit referenceVelocity in the solver JSON only when the new field is set, and extends the test suite with parameter/model-level unit coverage plus a new golden translation reference (Flow360_actuator_disk_with_ref_velocity.json).

Written by Cursor Bugbot for commit 546c04c. This will update automatically on new commits. Configure here.

@benflexcompute benflexcompute changed the title added for ActuatorDisk power output [FXC-3870] added for ActuatorDisk power output Feb 24, 2026
@johnmoore4 johnmoore4 force-pushed the feature/actuator-disk-reference-velocity branch from 361eddf to c28c0d6 Compare February 24, 2026 19:56
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread flow360/component/simulation/translator/solver_translator.py
@benflexcompute benflexcompute changed the title [FXC-3870] added for ActuatorDisk power output [FXC-3870] added reference_velocity for ActuatorDisk power output Feb 24, 2026
Comment thread flow360/component/simulation/translator/solver_translator.py
benflexcompute
benflexcompute previously approved these changes Feb 24, 2026
@johnmoore4 johnmoore4 enabled auto-merge (squash) February 24, 2026 21:28
@johnmoore4 johnmoore4 force-pushed the feature/actuator-disk-reference-velocity branch 4 times, most recently from 459f04f to 1dafeec Compare February 25, 2026 16:40
John Moore and others added 2 commits February 25, 2026 16:43
Adds a translate_and_compare test that verifies non-dimensionalization
of the referenceVelocity field through the full translation pipeline.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@johnmoore4 johnmoore4 force-pushed the feature/actuator-disk-reference-velocity branch from 1dafeec to 546c04c Compare February 25, 2026 16:45
@johnmoore4 johnmoore4 merged commit c41fc81 into main Feb 25, 2026
19 checks passed
@johnmoore4 johnmoore4 deleted the feature/actuator-disk-reference-velocity branch February 25, 2026 17:07
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