forked from tp5uiuc/elastic_streaming_sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
streaming_sandbox.html
177 lines (142 loc) · 7.25 KB
/
streaming_sandbox.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Viscous streaming from elastic solid--flow interactions">
<!-- <meta name="description" content="A minimal (setting with coupled )elastic solid--fluid interactions"> -->
<meta name="keywords" content="CFD, fluids, elasticity, hyperelasticity, streaming">
<meta name="author" content="Tejaswin Parthasarathy">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elastic streaming sandbox</title>
<link rel="stylesheet" href="streaming_sandbox.css">
<!-- pararllel_slab_sandbox.css -->
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG.js" defer></script>
<h1>
Elastic Streaming
<!-- A minimal setting with coupled elastic solid--fluid interactions -->
<!---Shear flow benchmark for testing elastic solid--fluid coupling algorithms--->
</h1>
<hr>
<p style="font-size: 16px; text-align: justify;">
The page provides an interactive sandbox for gaining intuition of body elasticity effects
in viscous streaming flows. Elasticity offers an additional, tunable streaming process available even in Stokes flows and hence paves way for advanced forms of flow manipulation at microscale. You can visualize
these elasticity effects by accessing a drop-down menu for choosing behavioral archetypes (from rigid to elastic). If you want more fine-level control, you can utilize sliders to change dynamical parameters. To access the physical meaning of these parameters, please hover over the underlined text.
</p>
<hr>
<div style="padding:20px; margin-left:auto; margin-right:auto; text-align:center;">
<div class="row">
<div class="column">
<div class="row">
<button type="button" id="initButton" class="loading_button"><span class="loading_button_text">Initialize engine</span></button>
</div>
<div class="row">
<span style="font-size:14px;">Initialization takes 10s to load</span>
</div>
</div>
<div class="double_width_column">
<div class="row">
<button id="simulateButton" type="button" disabled class="loading_button">
<span class="loading_button_text">Simulate!</span>
</button>
</div>
<div class="row">
<span style="font-size:14px;">Only need to simulate once:)</span>
<!-- First simulation takes longer -->
</div>
</div>
<div class="column">
<div class="row">
<select disabled id="archetypeSelection" class="big_button">
<option value="elastic">Elastic</option>
<option value="rigid">Rigid</option>
</select>
</div>
<div class="row">
<span style="font-size:14px;">Choose any archetype</span>
</div>
</div>
</div>
<div>
<div class="row" style="margin-top: 0px;">
<div class="column">
<div style="margin-left:-20px; margin-right:-20px; text-align:center; white-space: unset">
<div class="tooltip"> Womersley number <span class="tooltiptext"> A proxy for the Reynolds number, the ratio of inertial to viscous forces </span> </div> <span> \( M\) = </span> <span id="womersleyReadout"></span>
<br>
<div class="row">
<span class ="column" style="font-size:12px;"> More Viscous </span>
<span class="column"><input type="range" min="70" max="150" step="10" value="100"
id="womersleySlider"></span class="column">
<span class ="column" style="font-size:12px;">Less Viscous</span>
</div>
<br>
<div class="tooltip"> Cauchy number <span class="tooltiptext"> Ratio of inertial to elastic forces </span> </div> <span> \(Cau\) = </span><span id="cauchyReadout"></span>
<br>
<div class="row">
<span class ="column" style="font-size:12px;"> More Stiff </span>
<span class="column"><input type="range" min="0" max="5" step="1" value="5"
id="cauchySlider"></span class="column">
<span class ="column" style="font-size:12px;">Less Stiff</span>
</div>
<br>
<div class="tooltip"> Pinned zone radius <span class="tooltiptext"> Radius of rigid zone </span>
</div> <span> \(\zeta\) = </span><span id="zetaReadout"></span>
<br>
<div class="row">
<span class ="column" style="font-size:12px;"> Smaller </span>
<span class="column"><input type="range" min="2" max="10" step="1" value="2"
id="zetaSlider"></span class="column">
<span class ="column" style="font-size:12px;"> Bigger </span>
</div>
</div>
<!-- End sliders -->
<br>
<!-- Readouts -->
<div class="para">
<span class="para_inline">
<div class="tooltip">
\(\delta_{DC}/a\)
<span class="tooltiptext"> Scaled DC boundary layer thickness </span>
</div>
=
<span id="deltaDCReadout"></span>
</span>
</div>
</div>
<div class="double_width_column" style="margin-right: 0px; margin-left: 0px;">
<div class="row">
<div class="double_width_column" style="margin-right: -30px; margin-left: -20px;">
<!-- style="margin-right: 0; margin-left: 0; -->
<figure id="plot_div">
</figure>
</div>
</div>
</div>
<!-- end figure width -->
</div>
<!-- end row -->
</div>
<hr>
<footer>
<p style="font-size:14px; text-align:center;">
This is a beta version of the sandbox and we welcome your <a href="mailto:[email protected]?subject = [Sandbox] Feedback on Elastic streaming sandbox"> feedbacks </a>.
</p>
<p style="font-size:14px; text-align:center;">
Designed by <a href="https://parthas1.github.io/" target="_blank" rel="noopener">Tejaswin Parthasarathy</a>,
with help from <a href="https://bhosale2.github.io/" target="_blank" rel="noopener">Yashraj Bhosale</a> and <a href="https://www.linkedin.com/in/ruidi-huang/">Ruidi Huang</a>.
Powered by <a href="https://pyodide.org/en/stable/" target="_blank" rel="noopener">Pyodide</a>.
</p>
<p style="font-size:14px; text-align:center;">
Copyright © 2022 <a href="https://parthas1.github.io/" target="_blank" rel="noopener">Tejaswin Parthasarathy</a>, <a href="https://mattia-lab.com/" target="_blank" rel="noopener">GazzolaLab</a>.
</p>
</footer>
<script type="text/javascript" id="MathJax-script" src='//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML'>
</script>
<script type="text/javascript" src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script type="text/javascript" src="streaming_sandbox.js"></script>
<noscript>
<p>Oops! This website requires a JavaScript-enabled browser.</p>
</noscript>
</body>
</html>