From 16de12a076c2a59baa77117a9b2e31b52e00b389 Mon Sep 17 00:00:00 2001 From: Ian Bell <ian.bell@nist.gov> Date: Wed, 19 Oct 2022 11:18:45 -0400 Subject: [PATCH] Show how the multifluid setting works --- doc/source/models/multifluid.ipynb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/source/models/multifluid.ipynb b/doc/source/models/multifluid.ipynb index 0ca3078..414fce8 100644 --- a/doc/source/models/multifluid.ipynb +++ b/doc/source/models/multifluid.ipynb @@ -309,6 +309,19 @@ "params, swap_needed = teqp.get_BIPdep(BIP, ['74-82-8','74-84-0'], flags={'estimate': 'Lorentz-Berthelot'})\n", "params" ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# And the same flags can be passed to the multifluid model constructor\n", + "model = teqp.build_multifluid_model(\n", + " ['74-82-8','74-84-0'], \n", + " teqp.get_datapath(), \n", + " flags={'force-estimate':'yes', 'estimate': 'Lorentz-Berthelot'})" + ] } ], "metadata": { -- GitLab