From 1b233c2ddb4228839832d622aa1786fb48d50a75 Mon Sep 17 00:00:00 2001 From: helen Date: Tue, 26 Jul 2022 12:22:41 +0100 Subject: [PATCH] :truck: moved data to remote location --- PINNs_1DHeatEquationExample.ipynb | 2 +- PINNs_1DHeatEquation_nonML.ipynb | 2 +- PINNs_NavierStokes_HFM.ipynb | 40 ++++++++++++++++++++++++++++++- PINNs_NavierStokes_example.ipynb | 2 +- 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/PINNs_1DHeatEquationExample.ipynb b/PINNs_1DHeatEquationExample.ipynb index 48c1e0b..50ab951 100644 --- a/PINNs_1DHeatEquationExample.ipynb +++ b/PINNs_1DHeatEquationExample.ipynb @@ -1459,7 +1459,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.7.10" } }, "nbformat": 4, diff --git a/PINNs_1DHeatEquation_nonML.ipynb b/PINNs_1DHeatEquation_nonML.ipynb index 6cdf909..756a439 100644 --- a/PINNs_1DHeatEquation_nonML.ipynb +++ b/PINNs_1DHeatEquation_nonML.ipynb @@ -623,7 +623,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.7.10" } }, "nbformat": 4, diff --git a/PINNs_NavierStokes_HFM.ipynb b/PINNs_NavierStokes_HFM.ipynb index eb2cba0..a953999 100644 --- a/PINNs_NavierStokes_HFM.ipynb +++ b/PINNs_NavierStokes_HFM.ipynb @@ -624,6 +624,44 @@ "" ] }, + { + "cell_type": "markdown", + "id": "d2fa6010", + "metadata": {}, + "source": [ + "
\n", + " \n", + "# If you have not already downloaded the data required the following cell will download the additional data for you \n", + " \n", + "may take a minute or two depending on your internet speed\n", + " \n", + "
" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1aafe7d0", + "metadata": {}, + "outputs": [], + "source": [ + "%%bash\n", + "\n", + "if [ ! -e Data/Stenosis2D.mat ];\n", + " then\n", + " echo 'grabbing addtional data'\n", + " wget https://gitlab.com/CEMACHELEN1/lifd_ml_large_file_store/-/archive/main/lifd_ml_large_file_store-main.zip\n", + " mv lifd_ml_large_file_store-main.zip Data\n", + " cd Data\n", + " unzip lifd_ml_large_file_store-main.zip\n", + " rm -f lifd_ml_large_file_store-main.zip\n", + " cd ../\n", + " mv Data/lifd_ml_large_file_store-main/Physics_Informed_Neural_Networks/Data/Stenosis2D.mat Data/\n", + " rm -rf Data/lifd_ml_large_file_store-main\n", + " ls Data\n", + "fi" + ] + }, { "cell_type": "code", "execution_count": null, @@ -937,7 +975,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.7.10" } }, "nbformat": 4, diff --git a/PINNs_NavierStokes_example.ipynb b/PINNs_NavierStokes_example.ipynb index d7abcf4..cb93206 100644 --- a/PINNs_NavierStokes_example.ipynb +++ b/PINNs_NavierStokes_example.ipynb @@ -1396,7 +1396,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.7.10" } }, "nbformat": 4,