Skip to content

Add actuator disc model#112

Draft
semi-h wants to merge 1 commit intoxcompact3d:mainfrom
semi-h:windturbines
Draft

Add actuator disc model#112
semi-h wants to merge 1 commit intoxcompact3d:mainfrom
semi-h:windturbines

Conversation

@semi-h
Copy link
Member

@semi-h semi-h commented Jul 9, 2024

This PR implements the disc model using the existing backend functions, so compatible with all the backends.

@semi-h semi-h self-assigned this Feb 11, 2025
Comment on lines +171 to +173
call self%backend%vecadd(0._dp, Fx, 0._dp, Fx)
call self%backend%vecadd(0._dp, Fy, 0._dp, Fy)
call self%backend%vecadd(0._dp, Fz, 0._dp, Fz)
Copy link
Member Author

Choose a reason for hiding this comment

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

Just use call Fx%fill(0._dp) so on

Copy link
Member Author

Choose a reason for hiding this comment

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

this is just to zeroise the field

Comment on lines +579 to +581
!call self%backend%vecadd(self%windturb_adm%rho_air, Fx, 1._dp, du)
!call self%backend%vecadd(self%windturb_adm%rho_air, Fy, 1._dp, dv)
!call self%backend%vecadd(self%windturb_adm%rho_air, Fz, 1._dp, dw)
Copy link
Member Author

Choose a reason for hiding this comment

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

uncomment here to add the contribution of the wind turbines back into the RHS

@ia267 ia267 added the enhancement New feature or request label Dec 11, 2025
@ia267 ia267 assigned kaanolgu and unassigned semi-h Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments