From 4d83d2154b8be90cbd10d85f488401c523442b52 Mon Sep 17 00:00:00 2001 From: Erwan Date: Thu, 29 Oct 2026 12:15:28 +0100 Subject: [PATCH] Fixed to running_hydro.ipynb; syncs with latest available MESA version on AMUSE --- running_hydrodynamics.ipynb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/running_hydrodynamics.ipynb b/running_hydrodynamics.ipynb index d7d2b8e..d0493d3 100644 --- a/running_hydrodynamics.ipynb +++ b/running_hydrodynamics.ipynb @@ -58,14 +58,13 @@ "source": [ "from amuse.ext.star_to_sph import (pickle_stellar_model, convert_stellar_model_to_SPH,)\n", "from amuse.test.amusetest import get_path_to_results\n", - "from amuse.community.mesa.interface import MESA\n", + "from amuse.community.mesa_r2208.interface import MESA\n", "from amuse.datamodel import Particles\n", "\n", "def setup_stellar_evolution_model():\n", - " out_pickle_file = os.path.join(get_path_to_results(), \n", - " \"super_giant_stellar_structure.pkl\")\n", + " out_pickle_file = os.path.join(\".\", \"super_giant_stellar_structure.pkl\")\n", "\n", - " stellar_evolution = MESA(redirection=\"none\")\n", + " stellar_evolution = MESA(redirection=\"none\", version=\"r2208\")\n", " stars = Particles(1)\n", " stars.mass = 15.0 | units.MSun\n", " stellar_evolution.particles.add_particles(stars)\n",