|
@@ -168,7 +168,12 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
|
|
String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+solver.getPid();
|
|
String jobPath = XIFileUtils.getRootPathStr()+ MFConstant.separator+solver.getPid();
|
|
String exePath = jobPath+ MFConstant.separator+"fem";
|
|
String exePath = jobPath+ MFConstant.separator+"fem";
|
|
String exeOutPath = exePath+ MFConstant.separator+"data_out";
|
|
String exeOutPath = exePath+ MFConstant.separator+"data_out";
|
|
- File file = new File(exeOutPath+MFConstant.separator+"dynamicResponse-transient"+step+".vtk");
|
|
|
|
|
|
+ File file;
|
|
|
|
+ if(!step.equals("0")) {
|
|
|
|
+ file = new File(exeOutPath + MFConstant.separator + "dynamicResponse-transient" + step + ".vtk");
|
|
|
|
+ }else {
|
|
|
|
+ file = new File(exeOutPath+MFConstant.separator+"dynamicResponse-transient.vtk");
|
|
|
|
+ }
|
|
if(!file.exists()){
|
|
if(!file.exists()){
|
|
throw new BusinessException("EB4000017");
|
|
throw new BusinessException("EB4000017");
|
|
}
|
|
}
|
|
@@ -181,6 +186,7 @@ public class AFT001Service extends AFT001BaseModel implements ExecProcessFlow {
|
|
obj.put("fileName", "dynamicResponse-transient.vtk");//静态 模态
|
|
obj.put("fileName", "dynamicResponse-transient.vtk");//静态 模态
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
msg.setParamJson(obj.toString());
|
|
msg.setParamJson(obj.toString());
|
|
}
|
|
}
|
|
}else if(action.equals("ContourDisplay")){
|
|
}else if(action.equals("ContourDisplay")){
|