diff --git a/doc/computation/fluid.rst b/doc/computation/fluid.rst index c5153334..657312db 100644 --- a/doc/computation/fluid.rst +++ b/doc/computation/fluid.rst @@ -265,12 +265,17 @@ viscosity and scales with the second power of the velocity. It can be written as Where :math:`C_D` is a drag coefficient, and :math:`A_D` is a reference surface area (e.g. a measure of the projected area on the plane normal to the flow), and :math:`I_D` a reference moment of inertia. +.. youtube:: nljr0X79vI0 + :align: right + :width: 50% + Even for simple shapes, the terms :math:`C_D`, :math:`A_D` and :math:`I_D` need to be tuned to the problem-specific physics and dynamical scales :cite:p:`duan2015`. For example, the drag coefficient :math:`C_D` generally decreases with increasing Reynolds numbers, and a single reference area :math:`A_D` may not be sufficient to account for the skin drag for highly irregular or slender bodies. For example, experimental fits are derived from problems ranging from falling playing cards :cite:p:`wang2004,andersen2005a,andersen2005b` to particle transport :cite:p:`loth2008, -bagheri2016`. +bagheri2016`. See screen capture of the +`cards.xml `__ model on the right. We derive a formula for :math:`\mathbf{f}_\text{D}` based on two surfaces :math:`A^\text{proj}_\mathbf{v}` and :math:`A_\text{max}`. The first, :math:`A^\text{proj}_\mathbf{v}`, is the cylindrical projection of the body onto a diff --git a/model/cards/assets/10_of_clubs.png b/model/cards/assets/10_of_clubs.png new file mode 100644 index 00000000..dd0de41b Binary files /dev/null and b/model/cards/assets/10_of_clubs.png differ diff --git a/model/cards/assets/10_of_diamonds.png b/model/cards/assets/10_of_diamonds.png new file mode 100644 index 00000000..38e81355 Binary files /dev/null and b/model/cards/assets/10_of_diamonds.png differ diff --git a/model/cards/assets/10_of_hearts.png b/model/cards/assets/10_of_hearts.png new file mode 100644 index 00000000..f5cd7a93 Binary files /dev/null and b/model/cards/assets/10_of_hearts.png differ diff --git a/model/cards/assets/10_of_spades.png b/model/cards/assets/10_of_spades.png new file mode 100644 index 00000000..ce6f1aa9 Binary files /dev/null and b/model/cards/assets/10_of_spades.png differ diff --git a/model/cards/assets/2_of_clubs.png b/model/cards/assets/2_of_clubs.png new file mode 100644 index 00000000..09c9020e Binary files /dev/null and b/model/cards/assets/2_of_clubs.png differ diff --git a/model/cards/assets/2_of_diamonds.png b/model/cards/assets/2_of_diamonds.png new file mode 100644 index 00000000..a66ad3ec Binary files /dev/null and b/model/cards/assets/2_of_diamonds.png differ diff --git a/model/cards/assets/2_of_hearts.png b/model/cards/assets/2_of_hearts.png new file mode 100644 index 00000000..4887213b Binary files /dev/null and b/model/cards/assets/2_of_hearts.png differ diff --git a/model/cards/assets/2_of_spades.png b/model/cards/assets/2_of_spades.png new file mode 100644 index 00000000..922e87a5 Binary files /dev/null and b/model/cards/assets/2_of_spades.png differ diff --git a/model/cards/assets/3_of_clubs.png b/model/cards/assets/3_of_clubs.png new file mode 100644 index 00000000..1c4ca94b Binary files /dev/null and b/model/cards/assets/3_of_clubs.png differ diff --git a/model/cards/assets/3_of_diamonds.png b/model/cards/assets/3_of_diamonds.png new file mode 100644 index 00000000..08500cc4 Binary files /dev/null and b/model/cards/assets/3_of_diamonds.png differ diff --git a/model/cards/assets/3_of_hearts.png b/model/cards/assets/3_of_hearts.png new file mode 100644 index 00000000..89fb22b6 Binary files /dev/null and b/model/cards/assets/3_of_hearts.png differ diff --git a/model/cards/assets/3_of_spades.png b/model/cards/assets/3_of_spades.png new file mode 100644 index 00000000..b3fe84bb Binary files /dev/null and b/model/cards/assets/3_of_spades.png differ diff --git a/model/cards/assets/4_of_clubs.png b/model/cards/assets/4_of_clubs.png new file mode 100644 index 00000000..90ce93a5 Binary files /dev/null and b/model/cards/assets/4_of_clubs.png differ diff --git a/model/cards/assets/4_of_diamonds.png b/model/cards/assets/4_of_diamonds.png new file mode 100644 index 00000000..1aec8aa8 Binary files /dev/null and b/model/cards/assets/4_of_diamonds.png differ diff --git a/model/cards/assets/4_of_hearts.png b/model/cards/assets/4_of_hearts.png new file mode 100644 index 00000000..9caaab0b Binary files /dev/null and b/model/cards/assets/4_of_hearts.png differ diff --git a/model/cards/assets/4_of_spades.png b/model/cards/assets/4_of_spades.png new file mode 100644 index 00000000..6ea10e4d Binary files /dev/null and b/model/cards/assets/4_of_spades.png differ diff --git a/model/cards/assets/5_of_clubs.png b/model/cards/assets/5_of_clubs.png new file mode 100644 index 00000000..01c392b3 Binary files /dev/null and b/model/cards/assets/5_of_clubs.png differ diff --git a/model/cards/assets/5_of_diamonds.png b/model/cards/assets/5_of_diamonds.png new file mode 100644 index 00000000..adc97528 Binary files /dev/null and b/model/cards/assets/5_of_diamonds.png differ diff --git a/model/cards/assets/5_of_hearts.png b/model/cards/assets/5_of_hearts.png new file mode 100644 index 00000000..c91e1f98 Binary files /dev/null and b/model/cards/assets/5_of_hearts.png differ diff --git a/model/cards/assets/5_of_spades.png b/model/cards/assets/5_of_spades.png new file mode 100644 index 00000000..a26ed7dd Binary files /dev/null and b/model/cards/assets/5_of_spades.png differ diff --git a/model/cards/assets/6_of_clubs.png b/model/cards/assets/6_of_clubs.png new file mode 100644 index 00000000..14382a78 Binary files /dev/null and b/model/cards/assets/6_of_clubs.png differ diff --git a/model/cards/assets/6_of_diamonds.png b/model/cards/assets/6_of_diamonds.png new file mode 100644 index 00000000..42b82e71 Binary files /dev/null and b/model/cards/assets/6_of_diamonds.png differ diff --git a/model/cards/assets/6_of_hearts.png b/model/cards/assets/6_of_hearts.png new file mode 100644 index 00000000..53ec5c1b Binary files /dev/null and b/model/cards/assets/6_of_hearts.png differ diff --git a/model/cards/assets/6_of_spades.png b/model/cards/assets/6_of_spades.png new file mode 100644 index 00000000..eebfc8ce Binary files /dev/null and b/model/cards/assets/6_of_spades.png differ diff --git a/model/cards/assets/7_of_clubs.png b/model/cards/assets/7_of_clubs.png new file mode 100644 index 00000000..6d29388a Binary files /dev/null and b/model/cards/assets/7_of_clubs.png differ diff --git a/model/cards/assets/7_of_diamonds.png b/model/cards/assets/7_of_diamonds.png new file mode 100644 index 00000000..a8274b67 Binary files /dev/null and b/model/cards/assets/7_of_diamonds.png differ diff --git a/model/cards/assets/7_of_hearts.png b/model/cards/assets/7_of_hearts.png new file mode 100644 index 00000000..5d4f9dac Binary files /dev/null and b/model/cards/assets/7_of_hearts.png differ diff --git a/model/cards/assets/7_of_spades.png b/model/cards/assets/7_of_spades.png new file mode 100644 index 00000000..f3ab5a54 Binary files /dev/null and b/model/cards/assets/7_of_spades.png differ diff --git a/model/cards/assets/8_of_clubs.png b/model/cards/assets/8_of_clubs.png new file mode 100644 index 00000000..524206a0 Binary files /dev/null and b/model/cards/assets/8_of_clubs.png differ diff --git a/model/cards/assets/8_of_diamonds.png b/model/cards/assets/8_of_diamonds.png new file mode 100644 index 00000000..8ac3f167 Binary files /dev/null and b/model/cards/assets/8_of_diamonds.png differ diff --git a/model/cards/assets/8_of_hearts.png b/model/cards/assets/8_of_hearts.png new file mode 100644 index 00000000..18235cf9 Binary files /dev/null and b/model/cards/assets/8_of_hearts.png differ diff --git a/model/cards/assets/8_of_spades.png b/model/cards/assets/8_of_spades.png new file mode 100644 index 00000000..1b4e68e8 Binary files /dev/null and b/model/cards/assets/8_of_spades.png differ diff --git a/model/cards/assets/9_of_clubs.png b/model/cards/assets/9_of_clubs.png new file mode 100644 index 00000000..a43fea43 Binary files /dev/null and b/model/cards/assets/9_of_clubs.png differ diff --git a/model/cards/assets/9_of_diamonds.png b/model/cards/assets/9_of_diamonds.png new file mode 100644 index 00000000..5482caec Binary files /dev/null and b/model/cards/assets/9_of_diamonds.png differ diff --git a/model/cards/assets/9_of_hearts.png b/model/cards/assets/9_of_hearts.png new file mode 100644 index 00000000..e7373e92 Binary files /dev/null and b/model/cards/assets/9_of_hearts.png differ diff --git a/model/cards/assets/9_of_spades.png b/model/cards/assets/9_of_spades.png new file mode 100644 index 00000000..947c7f29 Binary files /dev/null and b/model/cards/assets/9_of_spades.png differ diff --git a/model/cards/assets/ace_of_clubs.png b/model/cards/assets/ace_of_clubs.png new file mode 100644 index 00000000..b3ccb41f Binary files /dev/null and b/model/cards/assets/ace_of_clubs.png differ diff --git a/model/cards/assets/ace_of_diamonds.png b/model/cards/assets/ace_of_diamonds.png new file mode 100644 index 00000000..1d6245a3 Binary files /dev/null and b/model/cards/assets/ace_of_diamonds.png differ diff --git a/model/cards/assets/ace_of_hearts.png b/model/cards/assets/ace_of_hearts.png new file mode 100644 index 00000000..430b3ad9 Binary files /dev/null and b/model/cards/assets/ace_of_hearts.png differ diff --git a/model/cards/assets/ace_of_spades.png b/model/cards/assets/ace_of_spades.png new file mode 100644 index 00000000..d706ffe2 Binary files /dev/null and b/model/cards/assets/ace_of_spades.png differ diff --git a/model/cards/assets/black_joker.png b/model/cards/assets/black_joker.png new file mode 100644 index 00000000..feba1cb2 Binary files /dev/null and b/model/cards/assets/black_joker.png differ diff --git a/model/cards/assets/card.obj b/model/cards/assets/card.obj new file mode 100644 index 00000000..a2d35a25 --- /dev/null +++ b/model/cards/assets/card.obj @@ -0,0 +1,232 @@ +# Blender 3.5.1 +# www.blender.org +mtllib playing_card_tris.mtl +o playing_card_tris +v -0.047000 0.027461 -0.000125 +v -0.042461 0.032000 -0.000125 +v -0.046654 0.029198 -0.000125 +v -0.045670 0.030670 -0.000125 +v -0.044198 0.031654 -0.000125 +v -0.042461 -0.032000 -0.000125 +v -0.047000 -0.027461 -0.000125 +v -0.044198 -0.031654 -0.000125 +v -0.045670 -0.030670 -0.000125 +v -0.046654 -0.029198 -0.000125 +v 0.047000 0.027461 -0.000125 +v 0.042461 0.032000 -0.000125 +v 0.046654 0.029198 -0.000125 +v 0.045670 0.030670 -0.000125 +v 0.044198 0.031654 -0.000125 +v 0.047000 -0.027461 -0.000125 +v 0.042461 -0.032000 -0.000125 +v 0.046654 -0.029198 -0.000125 +v 0.045670 -0.030670 -0.000125 +v 0.044198 -0.031654 -0.000125 +v 0.042461 0.032000 0.000125 +v -0.042461 0.032000 0.000125 +v -0.044198 0.031654 0.000125 +v -0.045670 0.030670 0.000125 +v -0.046654 0.029198 0.000125 +v -0.047000 0.027461 0.000125 +v -0.047000 -0.027461 0.000125 +v -0.046654 -0.029198 0.000125 +v -0.045670 -0.030670 0.000125 +v -0.044198 -0.031654 0.000125 +v -0.042461 -0.032000 0.000125 +v 0.042461 -0.032000 0.000125 +v 0.044198 -0.031654 0.000125 +v 0.045670 -0.030670 0.000125 +v 0.046654 -0.029198 0.000125 +v 0.047000 -0.027461 0.000125 +v 0.047000 0.027461 0.000125 +v 0.046654 0.029198 0.000125 +v 0.045670 0.030670 0.000125 +v 0.044198 0.031654 0.000125 +vn -0.0000 -1.0000 -0.0000 +vn -0.8315 0.5556 -0.0000 +vn 0.5556 0.8315 -0.0000 +vn 0.1951 -0.9808 -0.0000 +vn -0.9808 0.1951 -0.0000 +vn 0.1951 0.9808 -0.0000 +vn 0.5556 -0.8315 -0.0000 +vn -1.0000 -0.0000 -0.0000 +vn 0.8315 -0.5556 -0.0000 +vn -0.9808 -0.1951 -0.0000 +vn 0.9808 -0.1951 -0.0000 +vn -0.8315 -0.5556 -0.0000 +vn -0.0000 1.0000 -0.0000 +vn 1.0000 -0.0000 -0.0000 +vn -0.5556 -0.8315 -0.0000 +vn -0.1951 0.9808 -0.0000 +vn 0.9808 0.1951 -0.0000 +vn -0.1951 -0.9808 -0.0000 +vn -0.5556 0.8315 -0.0000 +vn 0.8315 0.5556 -0.0000 +vn -0.0000 -0.0000 -1.0000 +vn -0.0000 -0.0000 1.0000 +vt 0.316411 0.713926 +vt 0.440347 0.005985 +vt 0.372514 0.714185 +vt 0.473507 0.039144 +vt 0.325338 0.713926 +vt 0.453037 0.008509 +vt 0.332906 0.713926 +vt 0.356018 0.714185 +vt 0.463794 0.015697 +vt 0.363586 0.714185 +vt 0.470982 0.026454 +vt 0.372514 0.716173 +vt 0.005985 0.039144 +vt 0.034156 0.713926 +vt 0.039144 0.005985 +vt 0.363586 0.716173 +vt 0.008509 0.026454 +vt 0.356018 0.716173 +vt 0.015697 0.015697 +vt 0.017661 0.713926 +vt 0.025229 0.713926 +vt 0.026455 0.008509 +vt 0.316410 0.715914 +vt 0.440347 0.692657 +vt 0.808945 0.714185 +vt 0.473507 0.659498 +vt 0.325338 0.715914 +vt 0.453037 0.690133 +vt 0.825440 0.714185 +vt 0.332906 0.715914 +vt 0.463794 0.682945 +vt 0.817872 0.714185 +vt 0.470982 0.672188 +vt 0.034156 0.715914 +vt 0.039144 0.692657 +vt 0.808945 0.716173 +vt 0.005985 0.659498 +vt 0.025229 0.715914 +vt 0.026454 0.690133 +vt 0.017661 0.715914 +vt 0.825440 0.716173 +vt 0.015697 0.682945 +vt 0.817872 0.716173 +vt 0.008509 0.672188 +vt 0.808945 0.705893 +vt 0.952998 0.039144 +vt 0.372514 0.705893 +vt 0.952998 0.659498 +vt 0.363586 0.705893 +vt 0.950474 0.672188 +vt 0.332906 0.705634 +vt 0.356018 0.705893 +vt 0.943286 0.682945 +vt 0.325338 0.705634 +vt 0.932528 0.690133 +vt 0.316411 0.705634 +vt 0.919839 0.692657 +vt 0.034156 0.705634 +vt 0.518635 0.692657 +vt 0.025229 0.705634 +vt 0.505946 0.690133 +vt 0.017661 0.705634 +vt 0.356018 0.724465 +vt 0.495188 0.682945 +vt 0.363586 0.724465 +vt 0.488000 0.672188 +vt 0.372514 0.724465 +vt 0.485476 0.659498 +vt 0.808945 0.724465 +vt 0.485476 0.039144 +vt 0.817872 0.724465 +vt 0.488000 0.026454 +vt 0.825440 0.724465 +vt 0.017661 0.724206 +vt 0.495188 0.015697 +vt 0.025229 0.724206 +vt 0.505946 0.008509 +vt 0.034156 0.724206 +vt 0.518635 0.005985 +vt 0.316410 0.724206 +vt 0.919839 0.005985 +vt 0.325338 0.724206 +vt 0.932528 0.008509 +vt 0.825440 0.705893 +vt 0.332906 0.724206 +vt 0.943286 0.015697 +vt 0.817872 0.705893 +vt 0.950474 0.026454 +s 0 +usemtl Material +f 17/36/1 31/67/1 6/12/1 +f 3/5/2 24/51/2 4/7/2 +f 15/32/3 39/84/3 14/29/3 +f 20/43/4 32/69/4 17/36/4 +f 1/1/5 25/54/5 3/5/5 +f 12/25/6 40/87/6 15/32/6 +f 19/41/7 33/71/7 20/43/7 +f 7/14/8 26/56/8 1/1/8 +f 18/38/9 34/74/9 19/40/9 +f 10/21/10 27/58/10 7/14/10 +f 16/34/11 35/76/11 18/38/11 +f 9/20/12 28/60/12 10/21/12 +f 2/3/13 21/45/13 12/25/13 +f 11/23/14 36/78/14 16/34/14 +f 8/16/15 29/63/15 9/18/15 +f 5/10/16 22/47/16 2/3/16 +f 13/27/17 37/80/17 11/23/17 +f 6/12/18 30/65/18 8/16/18 +f 4/8/19 23/49/19 5/10/19 +f 14/30/20 38/82/20 13/27/20 +f 8/17/21 9/19/21 10/22/21 +f 17/36/1 32/69/1 31/67/1 +f 3/5/2 25/54/2 24/51/2 +f 15/32/3 40/87/3 39/84/3 +f 20/43/4 33/71/4 32/69/4 +f 1/1/5 26/56/5 25/54/5 +f 12/25/6 21/45/6 40/87/6 +f 19/41/7 34/73/7 33/71/7 +f 7/14/8 27/58/8 26/56/8 +f 18/38/9 35/76/9 34/74/9 +f 10/21/10 28/60/10 27/58/10 +f 16/34/11 36/78/11 35/76/11 +f 9/20/12 29/62/12 28/60/12 +f 2/3/13 22/47/13 21/45/13 +f 11/23/14 37/80/14 36/78/14 +f 8/16/15 30/65/15 29/63/15 +f 5/10/16 23/49/16 22/47/16 +f 13/27/17 38/82/17 37/80/17 +f 6/12/18 31/67/18 30/65/18 +f 4/8/19 24/52/19 23/49/19 +f 14/30/20 39/85/20 38/82/20 +f 25/55/22 23/50/22 24/53/22 +f 31/68/22 28/61/22 30/66/22 +f 35/77/22 33/72/22 34/75/22 +f 22/48/22 25/55/22 26/57/22 +f 29/64/22 30/66/22 28/61/22 +f 40/88/22 38/83/22 39/86/22 +f 32/70/22 35/77/22 36/79/22 +f 36/79/22 21/46/22 32/70/22 +f 37/81/22 40/88/22 21/46/22 +f 31/68/22 26/57/22 27/59/22 +f 32/70/22 22/48/22 31/68/22 +f 13/28/21 15/33/21 14/31/21 +f 17/37/21 2/4/21 12/26/21 +f 2/4/21 1/2/21 3/6/21 +f 6/13/21 1/2/21 2/4/21 +f 8/17/21 7/15/21 6/13/21 +f 17/37/21 18/39/21 20/44/21 +f 19/42/21 20/44/21 18/39/21 +f 17/37/21 11/24/21 16/35/21 +f 12/26/21 13/28/21 11/24/21 +f 31/68/22 27/59/22 28/61/22 +f 22/48/22 23/50/22 25/55/22 +f 32/70/22 33/72/22 35/77/22 +f 36/79/22 37/81/22 21/46/22 +f 37/81/22 38/83/22 40/88/22 +f 31/68/22 22/48/22 26/57/22 +f 32/70/22 21/46/22 22/48/22 +f 17/37/21 6/13/21 2/4/21 +f 4/9/21 5/11/21 3/6/21 +f 5/11/21 2/4/21 3/6/21 +f 6/13/21 7/15/21 1/2/21 +f 8/17/21 10/22/21 7/15/21 +f 17/37/21 16/35/21 18/39/21 +f 17/37/21 12/26/21 11/24/21 +f 12/26/21 15/33/21 13/28/21 diff --git a/model/cards/assets/jack_of_clubs.png b/model/cards/assets/jack_of_clubs.png new file mode 100644 index 00000000..db008825 Binary files /dev/null and b/model/cards/assets/jack_of_clubs.png differ diff --git a/model/cards/assets/jack_of_diamonds.png b/model/cards/assets/jack_of_diamonds.png new file mode 100644 index 00000000..89315d59 Binary files /dev/null and b/model/cards/assets/jack_of_diamonds.png differ diff --git a/model/cards/assets/jack_of_hearts.png b/model/cards/assets/jack_of_hearts.png new file mode 100644 index 00000000..e68eaf99 Binary files /dev/null and b/model/cards/assets/jack_of_hearts.png differ diff --git a/model/cards/assets/jack_of_spades.png b/model/cards/assets/jack_of_spades.png new file mode 100644 index 00000000..116da6fc Binary files /dev/null and b/model/cards/assets/jack_of_spades.png differ diff --git a/model/cards/assets/king_of_clubs.png b/model/cards/assets/king_of_clubs.png new file mode 100644 index 00000000..babebaa3 Binary files /dev/null and b/model/cards/assets/king_of_clubs.png differ diff --git a/model/cards/assets/king_of_diamonds.png b/model/cards/assets/king_of_diamonds.png new file mode 100644 index 00000000..ff742a58 Binary files /dev/null and b/model/cards/assets/king_of_diamonds.png differ diff --git a/model/cards/assets/king_of_hearts.png b/model/cards/assets/king_of_hearts.png new file mode 100644 index 00000000..8f5e7cd0 Binary files /dev/null and b/model/cards/assets/king_of_hearts.png differ diff --git a/model/cards/assets/king_of_spades.png b/model/cards/assets/king_of_spades.png new file mode 100644 index 00000000..8148c985 Binary files /dev/null and b/model/cards/assets/king_of_spades.png differ diff --git a/model/cards/assets/queen_of_clubs.png b/model/cards/assets/queen_of_clubs.png new file mode 100644 index 00000000..4ead9d6b Binary files /dev/null and b/model/cards/assets/queen_of_clubs.png differ diff --git a/model/cards/assets/queen_of_diamonds.png b/model/cards/assets/queen_of_diamonds.png new file mode 100644 index 00000000..6c851a95 Binary files /dev/null and b/model/cards/assets/queen_of_diamonds.png differ diff --git a/model/cards/assets/queen_of_hearts.png b/model/cards/assets/queen_of_hearts.png new file mode 100644 index 00000000..50ed82e4 Binary files /dev/null and b/model/cards/assets/queen_of_hearts.png differ diff --git a/model/cards/assets/queen_of_spades.png b/model/cards/assets/queen_of_spades.png new file mode 100644 index 00000000..47a75273 Binary files /dev/null and b/model/cards/assets/queen_of_spades.png differ diff --git a/model/cards/assets/red_joker.png b/model/cards/assets/red_joker.png new file mode 100644 index 00000000..94dd8ccf Binary files /dev/null and b/model/cards/assets/red_joker.png differ diff --git a/model/cards/cards.xml b/model/cards/cards.xml new file mode 100644 index 00000000..42f2306b --- /dev/null +++ b/model/cards/cards.xml @@ -0,0 +1,518 @@ + + + + + + + + + + + + +