Skip to content
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

[mtest] New option for the declaration of the rotation matrix in MTest #15

Closed
Narquoistel opened this issue Oct 20, 2021 · 3 comments
Closed
Assignees
Milestone

Comments

@Narquoistel
Copy link

Pour donner une matrice différente de l'identité, il faut une précision diabolique: 14 décimales

Il faudrait mieux vérifier A^T.A=I avec une faible précision (1e-4) puis reconstruire la matrice comme fait CASTEM:

  1. Conserver le premier vecteur et le normer

  2. Construire le 3ème vecteur comme produit vectoriel des vecteurs 1 et 2, puis le normer

  3. Construire le 2ème vecteur comme produit vectoriel des vecteurs 3 et 1, et théoriquement, la norme n'est pas nécessaire.

@thelfer thelfer self-assigned this Oct 20, 2021
@thelfer thelfer added this to the 3.0.10 milestone Oct 20, 2021
@thelfer
Copy link
Owner

thelfer commented Oct 20, 2021

Salut @Narquoistel,

Je n'aime pas l'idée de reconstruire la matrice de rotation. Je préférerai une solution du type:

@RotationMatrix<Direction> {{0,2,0},{1,0,0}};

Avec cette syntaxe, le premier axe d'orthotropie est colinéaire au vecteur (0,2,0) dans le repère global, ce qui deviendra la première colonne de la matrice après normalisation. Je préférerai imposer que la seconde direction soit orthogonale à la première. La troisième direction serait déduite des deux premières par produit vectoriel.

Qu'en penses-tu ?

@Narquoistel
Copy link
Author

Je ne suis pas d'accord avec l'idée d'imposer que les vecteurs soient orthogonaux: avec quelle précision le vérifier ? cela nous ramène exactement au cas standard de @RotationMatrix. Il faut suivre la sagesse des anciens de CASTEM

@thelfer thelfer modified the milestones: 3.0.10, 3.4.3, 3.4.4 Oct 26, 2021
@thelfer
Copy link
Owner

thelfer commented Nov 10, 2021

The Direction option let the user specify:

  • a 2D vector giving the first direction of orthotropy in modelling hypotheses of space dimension 2.
  • two 3D vectors giving respectively the first and second directions of orthotropy under the tridimensional modelling hypothesis.

The given vectors are not required to be normalised. In the 3D case, the second vector is not required to be orthogonal to the first one. If not, the second direction of orthotropy is deduced from the second vector by removing its projection along the first one.

thelfer added a commit that referenced this issue Nov 10, 2021
@thelfer thelfer closed this as completed Nov 10, 2021
@thelfer thelfer changed the title MTest @RotationMatrix [mtest] New option for the declaration of the rotation matrix in MTest Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants