Ver código fonte

瓦斯爆炸

huangxingxing 1 ano atrás
pai
commit
50b9fe9105

+ 4 - 1
src/main/java/com/miniframe/bisiness/system/D00008Service.java

@@ -146,7 +146,10 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
 				}
 				cpFile(XIFileUtils.getRootPathStr() + MFConstant.separator + bf.getFilepath()
 						,TemplateGenerator.BPATH + "/" + aid + "/" + jid + "/" + "/gas" + "/" + gas.getId() + "/"+bf.getFilename());
-
+				cpFile("/home/disaster/gas/bin/gas_mod.Lewis_2"
+						,TemplateGenerator.BPATH + "/" + aid + "/" + jid + "/" + "/gas" + "/" + gas.getId() + "/gas_mod.Lewis_2");
+				cpFile("/home/disaster/gas/bin/reac_mod.fluent_CH4_Air_5x1"
+						,TemplateGenerator.BPATH + "/" + aid + "/" + jid + "/" + "/gas" + "/" + gas.getId() + "/reac_mod.fluent_CH4_Air_5x1");
 				//执行文件
 				exeGass(aid,jid,gas.getId());
 			}

+ 1 - 1
src/main/resources/templates/mashGasControl.ftl

@@ -4,7 +4,7 @@ monitorFile : ${monitorPath}
 midPath : ${midPath}
 outPath : ${outPath}
 CPUS: ${cups}
-3Dtotaltime: 0.0000002
+3Dtotaltime: 0.000002
 totaltime: ${totaltime}
 dt: ${dt}
 dx: ${dx}

+ 2 - 1
src/main/resources/templates/mashGasRunsh.ftl

@@ -1,3 +1,4 @@
+ulimit -s unlimited
 cd /home/disaster/gas/bin
 export PATH="/home/disaster/gas/mpich2/bin:/home/disaster/gas/bin:$PATH"
 ./couple --proc=1d-3d --path=${casepath} --input-1d=${gascontrol}
@@ -5,7 +6,7 @@ export PATH="/home/disaster/gas/mpich2/bin:/home/disaster/gas/bin:$PATH"
 ./grid_split --path=${casepath}
 ./prepch --path=${casepath}
 
-mpirun -n 8 ./solver --path=${casepath}
+mpirun -n 4 ./solver --path=${casepath}
 
 ./couple --proc=3d-1d --path=${casepath} --input-1d=${gascontrol} --delhis