Skip to content

Commit b8becc6

Browse files
committed
Minor fixes to quickstart
1 parent 5f33fb3 commit b8becc6

10 files changed

Lines changed: 123 additions & 1168 deletions

docs/user/Notebooks/4-Solvers.ipynb

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@
5757
},
5858
"tags": []
5959
},
60-
"outputs": [],
60+
"outputs": [
61+
{
62+
"name": "stdout",
63+
"output_type": "stream",
64+
"text": [
65+
"PostHog telemetry failed: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /capture/ (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x30820ae70>: Failed to resolve 'eu.i.posthog.com' ([Errno 8] nodename nor servname provided, or not known)\"))\n"
66+
]
67+
}
68+
],
6169
"source": [
6270
"#| output: false # Suppress warnings in html version\n",
6371
"\n",
@@ -91,12 +99,12 @@
9199
{
92100
"data": {
93101
"application/vnd.jupyter.widget-view+json": {
94-
"model_id": "6880c7554aa44bf686d534271771e287",
102+
"model_id": "c866e7da718a4677a808db30bc5c1ac1",
95103
"version_major": 2,
96104
"version_minor": 0
97105
},
98106
"text/plain": [
99-
"Widget(value='<iframe src=\"http://localhost:54175/index.html?ui=P_0x34f4d36b0_0&reconnect=auto\" class=\"pyvista…"
107+
"Widget(value='<iframe src=\"http://localhost:52089/index.html?ui=P_0x31e61c320_0&reconnect=auto\" class=\"pyvista…"
100108
]
101109
},
102110
"metadata": {},
@@ -504,7 +512,7 @@
504512
" "
505513
],
506514
"text/plain": [
507-
"<IPython.lib.display.IFrame at 0x372d715e0>"
515+
"<IPython.lib.display.IFrame at 0x351e5b470>"
508516
]
509517
},
510518
"execution_count": 11,

docs/user/Notebooks/5-Solvers.ipynb

Lines changed: 13 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,15 @@
5151
},
5252
"tags": []
5353
},
54-
"outputs": [],
54+
"outputs": [
55+
{
56+
"name": "stdout",
57+
"output_type": "stream",
58+
"text": [
59+
"PostHog telemetry failed: HTTPSConnectionPool(host='eu.i.posthog.com', port=443): Max retries exceeded with url: /capture/ (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x308e69e80>: Failed to resolve 'eu.i.posthog.com' ([Errno 8] nodename nor servname provided, or not known)\"))\n"
60+
]
61+
}
62+
],
5563
"source": [
5664
"#| output: false # Suppress warnings in html version\n",
5765
"\n",
@@ -79,62 +87,13 @@
7987
"id": "ba20e3bb-2e8d-4e33-a79a-a2768bb2af58",
8088
"metadata": {
8189
"editable": true,
90+
"scrolled": true,
8291
"slideshow": {
8392
"slide_type": ""
8493
},
8594
"tags": []
8695
},
87-
"outputs": [
88-
{
89-
"name": "stdout",
90-
"output_type": "stream",
91-
"text": [
92-
"\n",
93-
"\n",
94-
"Mesh # 0: .meshes/uw_annulus_internalBoundary_rO1.0rInt0.825_rI0.55_csize0.1_csizefs0.075.msh\n",
95-
"\n"
96-
]
97-
},
98-
{
99-
"data": {
100-
"application/vnd.jupyter.widget-view+json": {
101-
"model_id": "21c1f15a98024853b68588a0aef86d49",
102-
"version_major": 2,
103-
"version_minor": 0
104-
},
105-
"text/plain": [
106-
"Widget(value='<iframe src=\"http://localhost:54351/index.html?ui=P_0x34dbaf6b0_0&reconnect=auto\" class=\"pyvista…"
107-
]
108-
},
109-
"metadata": {},
110-
"output_type": "display_data"
111-
},
112-
{
113-
"name": "stdout",
114-
"output_type": "stream",
115-
"text": [
116-
"Number of cells: 2152\n",
117-
"\n",
118-
"No variables are defined on the mesh\n",
119-
"\n",
120-
"| Boundary Name | ID |\n",
121-
"| -------------------------------- |\n",
122-
"| Lower | 1 |\n",
123-
"| Internal | 2 |\n",
124-
"| Upper | 3 |\n",
125-
"| Centre | 10 |\n",
126-
"| Null_Boundary | 666 |\n",
127-
"| All_Boundaries | 1001 |\n",
128-
"| All_Boundaries | 1001 |\n",
129-
"| UW_Boundaries | -- |\n",
130-
"| -------------------------------- |\n",
131-
"\n",
132-
"\n",
133-
"Use view(1) to view detailed mesh information.\n",
134-
"\n"
135-
]
136-
}
137-
],
96+
"outputs": [],
13897
"source": [
13998
"meshball = uw.meshing.AnnulusInternalBoundary(radiusOuter=r_o, \n",
14099
" radiusInternal=r_int, \n",
@@ -143,7 +102,7 @@
143102
" cellSize_Internal=res*0.5,\n",
144103
" cellSize_Outer=res,\n",
145104
" centre=False,)\n",
146-
"meshball.view()\n",
105+
"# meshball.view()\n",
147106
"\n",
148107
"x, y = meshball.CoordinateSystem.X\n",
149108
"r, th = meshball.CoordinateSystem.xR\n",
@@ -408,7 +367,7 @@
408367
" "
409368
],
410369
"text/plain": [
411-
"<IPython.lib.display.IFrame at 0x3713882c0>"
370+
"<IPython.lib.display.IFrame at 0x11027e960>"
412371
]
413372
},
414373
"execution_count": 9,

0 commit comments

Comments
 (0)