夏至光线追踪软件的脚本和包装
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
参考文献
- Solstice:https://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年。太阳形状和表面斜率误差光学模型的验证。太阳能-进行中
- 项目
标签: