-
Notifications
You must be signed in to change notification settings - Fork 70
Juan mat sa ball #28
Juan mat sa ball #28
Conversation
src/pyfme/aircrafts/ball.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
es una tontería, pero a lo mejor 1.983e-5 queda mejor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitivamente.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
creo que a mas de uno le han sangrado los ojos cuando ha visto * 10 ** -5
|
Por mi parte todo lo que sea mejorar el modelo puede estar bien y mola. Pero podemos hacer el merge de la rama con el modelo que tenemos e ir haciendo mejoras más adelante. Entre otras cosas recuerdo (y de esto ya te diste cuenta tú) que de momento nuestra pelota no puede girar locamente en cualquier dirección porque tenemos gimbal lock. Así que igual tiene más sentido incluir los cambios nuevos cuando tengamos cuaterniones. |
|
Cerrando y abriendo para que salte Travis CI. |
|
Interesante: uno de los tests ha fallado en Python 2. ¿Por qué? 😉 |
|
División entre un entero! ^^ |
src/pyfme/aircrafts/ball.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. [1] "bla bla bla", Pepito ...
|
Cualquier cosa que veáis, cualquier cosa que cambiaríais, por favor decidme. |
src/pyfme/aircrafts/ball.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
over-indented
|
sabéis como meter una tabla en la documentación y que se vea adecuadamente? |
|
@JuanMatSa El lenguaje en el que se escribe la documentación se llama reStructuredText, y he encontrado un poco de información en español sobre tablas en http://code.nabla.net/es/rest.html#tablas |
|
gracie! @Juanlu001 |
|
Good morning mates I have addapted the code to the wiki symbols list. I think it is not really useful to add the ball symbols to the wiki (we are not going to analysis more balls... isn't it?) I have just an issue: I have used TAS instead of U for the velocity... what do you think about? I will have to add some symbols to the wiki (as I_array, C_D_vector_body... etc). However I think will not add the terms which are only used in a ball (Vol, radius... etc). What do you think? If everything is ok, pull could be done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line missing
Included ball with Magnus effects
|
habemus pelota! |
|
🎉 |
Bueno, los test han pasado sin problemas =D
Por favor, toda sugerencia, consejo... todo, decídmelo, no os cortéis =D
Hay cosas tipo: meter rugosidad a la pelota (y ver el efecto de los agujeritos en la pelota de golf retrasando el desprendimiento), permitir otras distribuciones más realistas de resistencia aerodinámica [1] en lugar de una bola lisa... pero bueno, dado que no queremos hacer un simulador de balones, creí que con un modelo valdría.
Lo que a lo mejor si que es interesante es ampliarlo metiendo una función de momentos que dependería de la fricción... (ahora mismo nunca dejaría de girar, parecería el balón de Oliver y Bengi)
Un saludo!
[1] "Aerodynamic Drag of Contemporarty Soccer Balls" F.Alam et all, 19th Australasian Fluid Mechanic Conference