[Mesa-users] Gyre's 'GAMMA' boundary condition

Santiago Andres Triana repepo at gmail.com
Sat Oct 11 21:06:59 UTC 2025


Hi all,

I'm trying to compute the lowest order g modes using gyre of an n=1
polytropic model (generated with --Gamma_1=3.0 using gyre's own build_poly
tool).
I need to set a no penetration boundary condition on the outer boundary,
and according to the online documentation, the option 'GAMMA' fits the bill.
However, such an option is not recognized by gyre. By looking at the source
code, the closest matches are options 'GAMMA1' and 'GAMMA2' but can't find
much info about them.
Running gyre using 'GAMMA1' produces an output but the displacement near
the outer boundary does not seem to be correct (i.e. the radial derivative
of the displacement is not zero there).
Running gyre with option 'GAMMA2' produces a core dump.

The command to build the model is:
 $GYRE_DIR/bin/build_poly --n_poly=1.0 --dz=0.001 --Gamma_1=3.0
poly.n1_gamma3.h5

Any advice would be much appreciated. Thanks in advance!

Santiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251011/c7346627/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poly.n1_gamma3.h5
Type: application/x-hdf
Size: 79528 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251011/c7346627/attachment.hdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gyre.in
Type: application/octet-stream
Size: 1340 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251011/c7346627/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: detail.l2.n-1.h5
Type: application/x-hdf
Size: 231616 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251011/c7346627/attachment-0001.hdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig.png
Type: image/png
Size: 29053 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20251011/c7346627/attachment.png>


More information about the Mesa-users mailing list