夏至光线追踪软件的脚本和包装

solsticepy-pkg-jdpipe的Python项目详细描述


简介

此存储库包含用于运行至点光线跟踪软件的包装器。在

(开发正在进行中…)

至日安装

  • 在Linux系统中(例如Ubuntu 16.04):
wget 'https://www.meso-star.com/projects/solstice/downloads/Solstice-0.8.2-GNU-Linux64.tar.gz'
tar xzf ~/Solstice-0.8.2-GNU-Linux64.tar.gz
rm ~/Solstice-0.8.2-GNU-Linux64.tar.gz
  • 在Windows系统中(例如Windows 10,64位):

    (马上就来…)在

在此存储库中运行包装脚本

  • Ubuntu(例如Linux系统中的Ubuntu 16):

(1)下载存储库并将其保存在Solstice目录中,例如

^{pr2}$
git clone https://github.com/anustg/solstice-scripts.git
git checkout develop

(2)设置python源脚本

cd ~/Solstice-0.8.2-GNU-Linux64
sudo python setup.py install

(3)初始化

3.1 initialise the Solstice directory in the '.\runSolstice\run.py' Python script
cd ~/Solstice-0.8.2-GNU-Linux64/runSolstice
gedit run.py
Set the 'solstice_dir' = 'your Solstice directory'

3.2 Define the simulation case
gedit set_case.py
The set_case.py is the script that initialises the Solstice directory, casefolder, detailed parameters of the case: (I) the sun, (II) the field, (III) the target  

-- the example case is a solar tower system, including a heliostat field and a billboard receiver       

-- the example parameters are the case C1.1 in Wang et al., 2019 (in progress), for verification purposes

-- users are welcome to define their own test cases by changing these parameters

(4)运行

python run.py

(5)在Paraview中可视化结果,例如

~/ParaView-5.6.0-MPI-Linux-64bit/bin/paraview 

参考文献

  • Solsticehttps://www.meso-star.com/projects/solstice/solstice.html
  • Wang,Y.,Potter,D.,阿塞利诺,C.-A.,Corsi,C.,Wagner,M.,Caliot,C.,Piaud,B.,Blanco,M.,Kim,J.-S.,Pye,J.,2019年。太阳形状和表面斜率误差光学模型的验证。太阳能-进行中

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java随机填充2d数组   java运行时。getRuntime。带有长参数的exec(cmd)   java Minecraft无法放置自定义背景   java AChartEngine YAxis自定义标签区域边距和图表值为字符串?   泛型类的java类型安全错误   整数的java符号等价物。toBinaryString方法?   Java中数组列表的数组   java WebView应用程序在谷歌登录后显示空白屏幕   java从backback中删除特定片段   如果服务器不支持使用的协议,java JSSE是否实现回退?   java Sonarqube正在进行核心漏洞查找。如何解决   javajavax。jcr。UnsupportedPositionOperationException:testVersionable处的节点不可版本化   java在安卓中每隔X小时运行一次文件/函数,无需打开应用程序   java如何为磁盘持久性配置BigMemory?   java BufferWriter不转换383以上的整数   Java7交集类型:规范具体说明了什么?   Java:CollectionHow创建多列   java如何检测运算符的空白   java问题:在firebase中为导航栏中的第二个表单提交数据第一个表单工作正常。实际isse是连接Mainactivity中的另一个活动