人生的意义就是思考其意义分享 http://blog.sciencenet.cn/u/qianlivan 天体物理工作者,家乡云南昆明。

博文

Athena工作日志

已有 2749 次阅读 2013-12-12 17:24 |个人分类:知识|系统分类:科研笔记| 数值模拟, Athena

20131213
发现Athena的初始条件市由problem generator和输入文件共同决定的。problem generator对一类问题是相同的。



20131212

Athena的初始条件放在problem generator里。就是/src/prob里的那些文件里。所以如果要解新的问题,得写自己的problem generator。


20131211

对不同的问题,Athena每次需要编译然后运行。
[xxx@xxx]$ make clean
[xxx@xxx]$ configure --with-problem=orszag-tang --with-order=3
[xxx@xxx]$ make all
[xxx@xxx]$ cd bin
[xxx@xxx]$ athena -i ../tst/2D-mhd/athinput.orszag-tang
[xxx@xxx]$ animate *.d.ppm


20131210

Athena可以在如下地址下载
http://www.astro.princeton.edu/~jstone/downloads/athena/athena4.2.tar.gz
安装步骤如下(第一步很关键,之前很少见)
[xxx@xxx]$ autoconf
[xxx@xxx]$ configure
[xxx@xxx]$ make all
[xxx@xxx]$ make test




https://blog.sciencenet.cn/blog-117333-749262.html

上一篇:图书漂流实验(二)改变漂流规则
下一篇:starlink工作日志
收藏 IP: 159.226.171.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-24 15:24

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部