{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "67bafe91-e2ec-44b7-ba59-21854113bea2",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pyvista as pv\n",
    "\n",
    "pv.set_jupyter_backend('trame')\n",
    "mesh = pv.read(\"tempRes.vtk\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "ce7c06c7-6178-48b3-9449-1af124d45125",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "ed0e6aebb0284b81923e89f18067e6bf",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Widget(value='<iframe src=\"http://localhost:59556/index.html?ui=P_0x15d960230_0&reconnect=auto\" class=\"pyvista…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "pl = pv.Plotter()\n",
    "pl.add_mesh(mesh)\n",
    "pl.show()  "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3776bb78-f64a-41a8-8b65-3ff31d4dabb3",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python (forward_modeling)",
   "language": "python",
   "name": "forward_modeling"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.12.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
