浏览代码

1维瓦斯爆炸

huangxingxing 8 月之前
父节点
当前提交
624fc2d9a6
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 2 0
      src/main/resources/templates/mashGas1Control.ftl
  2. 3 0
      src/main/resources/templates/mashGas1Runsh.ftl

+ 2 - 0
src/main/resources/templates/mashGas1Control.ftl

@@ -15,6 +15,8 @@ MashGas number:${mashgasnumber}
 tecplot : OK
 tecplot : OK
 interactionstep : ${interactionstep}
 interactionstep : ${interactionstep}
 ExplosionModel:0
 ExplosionModel:0
+1Dtotaltime: 1
+1Doutputtime: 0.001
 Number Con:${conNum}
 Number Con:${conNum}
 <#list cons as b>
 <#list cons as b>
 ${b.code},${b.diffcoe}
 ${b.code},${b.diffcoe}

+ 3 - 0
src/main/resources/templates/mashGas1Runsh.ftl

@@ -1,4 +1,7 @@
 cd /home/disaster/zhty/Program
 cd /home/disaster/zhty/Program
 export LD_LIBRARY_PATH=./bin:$LD_LIBRARY_PATH
 export LD_LIBRARY_PATH=./bin:$LD_LIBRARY_PATH
+./PathSearch ${gascontrol}
+./Explosion1D_IO --geopath $(midPath)/geometry2  --wampath=$(midPath)/Gas_WAM.dat
+./Explosion1D $(midPath)/case.WAM $(midPath)
 ./1Gas ${gascontrol}
 ./1Gas ${gascontrol}
 ./calDanger ${gasescapecontrol}
 ./calDanger ${gasescapecontrol}