Skip to content

Commit

Permalink
Merge pull request #43 from knc6/master
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
knc6 authored Aug 14, 2024
2 parents b0c8c2c + 556022f commit e0f30c5
Show file tree
Hide file tree
Showing 11 changed files with 19,444 additions and 8,725 deletions.
1,137 changes: 1,110 additions & 27 deletions jarvis-tools-notebooks/ALIGNN_Structure_Relaxation_Phonons_Interface.ipynb

Large diffs are not rendered by default.

2,116 changes: 2,116 additions & 0 deletions jarvis-tools-notebooks/Basic_ML.ipynb

Large diffs are not rendered by default.

1,826 changes: 1,826 additions & 0 deletions jarvis-tools-notebooks/Basic_UQ.ipynb

Large diffs are not rendered by default.

492 changes: 492 additions & 0 deletions jarvis-tools-notebooks/ContourExploration.ipynb

Large diffs are not rendered by default.

110 changes: 58 additions & 52 deletions jarvis-tools-notebooks/JARVIS_FEM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyPUzCJixStpHFSIVjAAIHAe",
"authorship_tag": "ABX9TyNJsg3dxTGLNSva+i9eYZzr",
"include_colab_link": true
},
"kernelspec": {
Expand All @@ -26,6 +26,29 @@
"<a href=\"https://colab.research.google.com/github/knc6/jarvis-tools-notebooks/blob/master/jarvis-tools-notebooks/JARVIS_FEM.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "markdown",
"source": [
"Table of contents\n",
"\n",
"1. Hello world of FEM: Solving Poisson equation\n",
"\n",
"2. Learning about mesh generation through examples\n",
"\n",
"3. 2D linear elasticity example\n",
"\n",
"4. Orthotropic linear elasticity\n",
"\n",
"5. Axisymmetric formulation for elastic structures of revolution\n",
"\n",
"6. Heat equation\n",
"\n",
"7. Thermo-elastic evolution problem"
],
"metadata": {
"id": "w27QB30MfuG4"
}
},
{
"cell_type": "code",
"source": [
Expand All @@ -47,7 +70,7 @@
"metadata": {
"id": "GjMTkxnsXitT"
},
"execution_count": 1,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -173,7 +196,7 @@
"metadata": {
"id": "okxS3hQk6UBq"
},
"execution_count": 2,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -204,7 +227,7 @@
"id": "fEcD8p7k6T-h",
"outputId": "8efca51f-5721-4d95-f57f-07004f1a17fb"
},
"execution_count": 3,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -254,7 +277,7 @@
"id": "q3E-ppKC6iqt",
"outputId": "60e58c8b-fbf4-43c0-eede-95beb1890a37"
},
"execution_count": 4,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -329,7 +352,7 @@
"metadata": {
"id": "b1TjDNUg6ioX"
},
"execution_count": 5,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -358,7 +381,7 @@
"metadata": {
"id": "4byWW9X06imH"
},
"execution_count": 6,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -396,7 +419,7 @@
"metadata": {
"id": "UKVFFZYE6ijs"
},
"execution_count": 7,
"execution_count": null,
"outputs": []
},
{
Expand All @@ -421,7 +444,7 @@
"metadata": {
"id": "4tuz3K3u6ihJ"
},
"execution_count": 8,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -458,7 +481,7 @@
"id": "X0Z4W-Z26ie-",
"outputId": "1bbbda54-52eb-4901-9ebd-34f4cecbaced"
},
"execution_count": 9,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -789,7 +812,7 @@
"id": "eE5STSnp6icb",
"outputId": "78df840a-723a-421b-8d4e-557723b2fdc3"
},
"execution_count": 10,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -833,7 +856,7 @@
"metadata": {
"id": "UAO9Fqa66iZx"
},
"execution_count": 11,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -869,7 +892,7 @@
"id": "ylLvRMsI6T8K",
"outputId": "26786d83-b034-43a2-ff21-ce6a1110a20e"
},
"execution_count": 12,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -1203,7 +1226,7 @@
"id": "gfOng4PQ65wt",
"outputId": "27f0d466-7181-4374-abbf-aa436c9d5eca"
},
"execution_count": 15,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand All @@ -1229,23 +1252,6 @@
{
"cell_type": "code",
"source": [
"# Copyright (C) 2014 Benjamin Kehlet\n",
"#\n",
"# This file is part of mshr.\n",
"#\n",
"# mshr is free software: you can redistribute it and/or modify\n",
"# it under the terms of the GNU Lesser General Public License as published by\n",
"# the Free Software Foundation, either version 3 of the License, or\n",
"# (at your option) any later version.\n",
"#\n",
"# mshr is distributed in the hope that it will be useful,\n",
"# but WITHOUT ANY WARRANTY; without even the implied warranty of\n",
"# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n",
"# GNU Lesser General Public License for more details.\n",
"#\n",
"# You should have received a copy of the GNU Lesser General Public License\n",
"# along with mshr. If not, see <http://www.gnu.org/licenses/>.\n",
"#\n",
"# https://bitbucket.org/fenics-project/mshr/src/master/demo/python/icecream.py\n",
"import dolfin\n",
"from mshr import *\n",
Expand Down Expand Up @@ -1286,7 +1292,7 @@
"id": "VX0OCc7G65uA",
"outputId": "db089b38-73a5-4d26-e7eb-889a00fdebfc"
},
"execution_count": 18,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -1434,7 +1440,7 @@
"id": "nj-RBiBO96s6",
"outputId": "0322860b-b3d1-4e97-f0fc-0bcb31596115"
},
"execution_count": 19,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand Down Expand Up @@ -1481,7 +1487,7 @@
"id": "5dXZHBTU96q8",
"outputId": "597fc70f-0bb2-4b22-e949-615755f6aeb6"
},
"execution_count": 20,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -1672,7 +1678,7 @@
"id": "QsuJ9lr696no",
"outputId": "4754eba6-c4e7-4528-865a-817b3a2eb983"
},
"execution_count": 21,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand All @@ -1698,7 +1704,7 @@
"id": "iTUk7yg065q6",
"outputId": "5ae233a3-1a81-440a-ec8d-c39d56c811a2"
},
"execution_count": 22,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -1830,7 +1836,7 @@
"id": "1OAmsH1P-bTY",
"outputId": "4e13a632-989d-4dc9-e84a-b7c548d14886"
},
"execution_count": 23,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -1987,7 +1993,7 @@
"id": "YOE_V0oh-5XL",
"outputId": "7b95641a-ac76-4f52-b4a1-0acd2fdf05b8"
},
"execution_count": 25,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -2129,7 +2135,7 @@
"id": "r7kfFM4h_QBq",
"outputId": "f021ee2b-8860-478f-9032-1bec930a118f"
},
"execution_count": 27,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -2281,7 +2287,7 @@
"metadata": {
"id": "nnYaf3Eh_P6M"
},
"execution_count": 55,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -2337,7 +2343,7 @@
"id": "Z3KL8QSoXEmW",
"outputId": "6d768b9f-4d05-4664-e0c3-9fb4a9b78496"
},
"execution_count": 28,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down Expand Up @@ -2520,7 +2526,7 @@
"id": "ZN2InJAIiAHs",
"outputId": "93d25d0c-f82f-463a-ebb6-06396623e5a5"
},
"execution_count": 29,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -3119,7 +3125,7 @@
"id": "kqcMm-lHXEo3",
"outputId": "f055c165-92c7-439b-d3a0-b1b1a39ddf5c"
},
"execution_count": 30,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -3243,7 +3249,7 @@
},
"outputId": "b413f7f7-e7ca-4c7e-f7cc-82e7a4ee4a5b"
},
"execution_count": 31,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -3750,7 +3756,7 @@
},
"outputId": "5efffc68-93e9-4547-f23d-45f36ca4bf2e"
},
"execution_count": 32,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand Down Expand Up @@ -3809,7 +3815,7 @@
"id": "JFA06b2LlsGk",
"outputId": "94346f39-5524-474d-d26d-68c64de35e05"
},
"execution_count": 33,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -4118,7 +4124,7 @@
"id": "jpllx6d5lwth",
"outputId": "e258dd65-c68b-448e-c320-07bafc3c36ae"
},
"execution_count": 34,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -4315,7 +4321,7 @@
"id": "TCT4tHdhAnSZ",
"outputId": "5dce44fd-5dea-4f13-c575-63869dc8848a"
},
"execution_count": 43,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand Down Expand Up @@ -4425,7 +4431,7 @@
"metadata": {
"id": "PrdBm_2cAnPz"
},
"execution_count": 43,
"execution_count": null,
"outputs": []
},
{
Expand Down Expand Up @@ -4539,7 +4545,7 @@
"id": "uaubDN8yAnIj",
"outputId": "8a75f933-5fc0-4a90-9413-8f9ff9642567"
},
"execution_count": 2,
"execution_count": null,
"outputs": [
{
"output_type": "stream",
Expand Down Expand Up @@ -6215,7 +6221,7 @@
"id": "jC5b8Aw0AnFt",
"outputId": "d0f83cb7-04ed-4168-9869-a17177944e08"
},
"execution_count": 3,
"execution_count": null,
"outputs": [
{
"output_type": "display_data",
Expand Down Expand Up @@ -7239,7 +7245,7 @@
"id": "RfpP2pjWMIMI",
"outputId": "f0109e61-160c-4d3c-8a45-3bf3d0ee38c7"
},
"execution_count": 6,
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
Expand Down
Loading

0 comments on commit e0f30c5

Please sign in to comment.