Skip to content

Conversation

@adfboyd
Copy link

@adfboyd adfboyd commented Mar 30, 2025

Added ability for full 3D force and torque evaluation for immersed ellipsoids. The main addition is a new case (ellip) but also forces.f90 now calculates forces in every axis, as well as calculating torque when required. Significant change to the whole repository is that all derivative and filter functions have been altered to take an integer which gets used as a case statement to calculate the required velocity for interpolation. I have tried to make the rationale for this clear in comments but am happy to discuss (this was necessary as rotating solids no longer have constant velocities over their surface). I have attempted to tidy up some bits but there is still some logic for the solid motion that probably shouldn't be in the main xcompact3d.f90 script - I am sure I have missed something elsewhere too.

Many thanks to Paul for his help with this project.

@pbartholomew08 pbartholomew08 self-requested a review March 31, 2025 08:58
@pbartholomew08 pbartholomew08 marked this pull request as draft March 31, 2025 08:59
Copy link
Member

@pbartholomew08 pbartholomew08 left a comment

Choose a reason for hiding this comment

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

This PR appears to have restored some old files that were previously deleted. Please remove these to avoid a larger than necessary set of changes.

Note I've only highlighted the first 2 such files in comments.

Copy link
Member

Choose a reason for hiding this comment

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

Remove this file, it may conflict with other users' settings.

Copy link
Member

Choose a reason for hiding this comment

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

Remove this file - Xcompact3d should be built with CMake now, and the Makefile was removed previously.

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