LLNL / UEDGE

2D fluid simulation of plasma and neutrals in magnetic fusion devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter notebook iphibcc = 0

rmchurch opened this issue · comments

Newbie trying out the jupyter example notebook using Google Colab (pip install forthon mppl uedge directly in the notebook). I ran into an issue right away, under "Run a Case" I get the following error:

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-27-3253ef9ba79b> in <module>()
      1 from uedge import *
----> 2 bbb.exmain()   #
      3 print("Usual iteration output should be in terminal window running Jupyter Notebook")
      4 print("nksol ---  iterm = ",bbb.iterm)

RuntimeError: **INPUT ERROR: only iphibcc=1,2,3 available

From the boundary.m code, it seems to be true: iphibcc==0 is not allowed. I change by hand:

bbb.iphibcc = 1

And it works fine. Just wondering if I have something wrong with version installation? Or is this simply an outdated input file?

Right, adding the bbb.iphibcc = 1 works. Here is the notebook in Colab that runs for me: https://colab.research.google.com/drive/1XqSg-PMeSsDtJHk26Y0gy-X4peazLzo6?usp=sharing
what does iphibcc represent? Was it modified to no longer accept 0 as input? I saw something in release notes about it, but didn't understand it. If there is a different example case_setup file that is a good test case, let me know.

Closed as resolved