-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New data model for dofs #215
Comments
Actually I'm not sure about this statement anymore. |
For my research, I used a single body with 6 rigid DOFs and 8 elastic DOFs. |
I've read the paper [Riggs 2009] and I now more clearly understand the issue.
Both are incomplete, in the sense that they do not recover the known exact values for rigid body dofs. Riggs gives examples of formula that are complete, such as: where The Graal would be a generic formula that (a) involves only surfacic integrals and (b) degenerate to the exact value for rigid body dofs. Until we find one, I guess it is simpler to keep special case expressions for rigid body dofs. |
I did tried to find a general equation for all DOFs. But the alternative equations are either complicated or have conditional assignment. |
Removing the v1.5 milestone as it won't be ready on time for the next release. |
Currently, degrees of freedom are stored as an array of shape (nb_faces, 3) that stores the displacement at each center of panel.
This issue is about the addition of a proper
Dof
class to Capytaine.In its simplest form, it would just wrap the array of displacements:
Optionnally, it could also store the gradient of that displacement field, as a (nb_faces, 3, 3) array.
This gradient would be useful (at least) for hydrostatics and forward speed.
Finally, special subclasses could be created for rigid body dofs.
I'm still not sure if it would really be necessary.
Maybe just encoding rigid body dofs as regular dofs with a known gradient would be sufficient.
For instance, the inaccuracy of the generic formula for hydrostatic stiffness (issue #188) would be solved for rigid body dofs only with the definition of the gradient of the dof.
The text was updated successfully, but these errors were encountered: