Part of the simulations done for https://doi.org/10.1063/5.0139000
#r "BoSSSpad.dll"
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Data;
using System.Globalization;
using System.Threading;
using ilPSP;
using ilPSP.Utils;
using BoSSS.Platform;
using BoSSS.Foundation;
using BoSSS.Foundation.Grid;
using BoSSS.Foundation.Grid.Classic;
using BoSSS.Foundation.IO;
using BoSSS.Solution;
using BoSSS.Solution.Control;
using BoSSS.Solution.GridImport;
using BoSSS.Solution.Statistic;
using BoSSS.Solution.Utils;
using BoSSS.Solution.Gnuplot;
using BoSSS.Application.BoSSSpad;
using BoSSS.Application.XNSE_Solver;
using static BoSSS.Application.BoSSSpad.BoSSSshell;
using BoSSS.Foundation.Grid.RefElements;
using BoSSS.Platform.LinAlg;
using BoSSS.Application.XNSE_Solver.PhysicalBasedTestcases.PrintingNip;
Init();
string ProjectName4Correlation = "PrintingNip_Part1";
string ProjectName = "PrintingNip_Part2";
BoSSSshell.WorkflowMgm.Init(ProjectName4Correlation);
static var myDb4Correlation = BoSSSshell.OpenDatabase(BoSSSshell.WorkflowMgm.DefaultDatabase.Path);
Console.WriteLine("Initializing : " + myDb4Correlation.Path); // we need to init the static var! otherwise we end up with a reference to the wrong database!
Project name is set to 'PrintingNip_Part1'. Default Execution queue is chosen for the database. Opening existing database '\\fdygitrunner\ValidationTests\databases\PrintingNip_Part1'. Initializing : \\fdygitrunner\ValidationTests\databases\PrintingNip_Part1
BoSSSshell.WorkflowMgm.Init(ProjectName);
static var myDb = BoSSSshell.OpenDatabase(BoSSSshell.WorkflowMgm.DefaultDatabase.Path);
Console.WriteLine("Initializing : " + myDb.Path);
Project name is set to 'PrintingNip_Part2'. Default Execution queue is chosen for the database. Opening existing database '\\fdygitrunner\ValidationTests\databases\PrintingNip_Part2'. Initializing : \\fdygitrunner\ValidationTests\databases\PrintingNip_Part2
static var myBatch = BoSSSshell.GetDefaultQueue();
BoSSSshell.WorkflowMgm.SetNameBasedSessionJobControlCorrelation();
double H0 = 1e-5;
double V0 = 1.0;
double P0 = 1e6;
var sessions = myDb4Correlation.Sessions.Where(s => s.ProjectName == "PrintingNip_Part1").ToArray();
var sV = sessions.Single(s => Convert.ToDouble(s.KeysAndQueries["id:delta"]).ApproxEqual(H0) & Convert.ToDouble(s.KeysAndQueries["id:P_Diff"]).ApproxEqual(0.0) & Convert.ToDouble(s.KeysAndQueries["id:V_Wall"]).ApproxEqual(V0));
var sP = sessions.Single(s => Convert.ToDouble(s.KeysAndQueries["id:delta"]).ApproxEqual(H0) & Convert.ToDouble(s.KeysAndQueries["id:P_Diff"]).ApproxEqual(P0) & Convert.ToDouble(s.KeysAndQueries["id:V_Wall"]).ApproxEqual(0.0));
Function to create the velocity profile along the symmetry axis
using MathNet.Numerics.Interpolation;
static public CubicSpline ConstructVelocitySpline(ISessionInfo si) {
DGField VelocityX = si.Timesteps.Last().Fields.Single(f => f.Identification == "VelocityX");
var grd = (GridData)VelocityX.GridDat;
EdgeMask em = new EdgeMask(grd, X => Math.Abs(X[1]) < 1e-12); // symmetry axis
var Spline = Postprocessing.SplineOnEdge(em, VelocityX, 0, out double lB, out double uB);
return Spline;
}
Evaluate the profile for both simulations and superpose
var SplineV = ConstructVelocitySpline(sV);
var SplineP = ConstructVelocitySpline(sP);
double[] X = GenericBlas.Linspace(-0.01, 0.01, 1000);
double[] VV = X.Select(x => SplineV.Interpolate(x)).ToArray();
double[] VP = X.Select(x => SplineP.Interpolate(x)).ToArray();
BoSSSshell.Plot(X, VV, "u_A", "k-", X, VP, "u_B", "k--")
Using gnuplot: C:\Program Files (x86)\FDY\BoSSS\bin\native\win\gnuplot-gp510-20160418-win32-mingw\gnuplot\bin\gnuplot.exe Note: In a Jupyter Worksheet, you must NOT have a trailing semicolon in order to see the plot on screen; otherwise, the output migth be surpressed.!
Func<double, double, double, double, double> VelocityFunc = (x, h, v, p) => v/V0 * SplineV.Interpolate(x * Math.Sqrt(H0) / Math.Sqrt(h)) + (p * Math.Pow(h,1.5))/(P0 * Math.Pow(H0,1.5)) * SplineP.Interpolate(x * Math.Sqrt(H0) / Math.Sqrt(h));
Set Velocity to be zero at a certain x_stag and calculate the necessary pressure difference
Func<double, double, double, double> PressureFunc = (x_stag, h, v) => -v/V0 * SplineV.Interpolate(x_stag * Math.Sqrt(H0) / Math.Sqrt(h)) * (P0 * Math.Pow(H0,1.5)) / (Math.Pow(h,1.5) * SplineP.Interpolate(x_stag * Math.Sqrt(H0) / Math.Sqrt(h)));
double[] deltaS = new double[] {
0.001, // millimeters
//0.0005,
0.0001,
//0.00005,
0.00001,
//0.000005,
0.000001 }; // micro-meter
double[] V = new double[] {
0.1,
0.5,
1.0,
5.0,
10.0}; // Wall velocities in m/s
// always same
int Res = 10;
int DGdegree = 5;
double R = 0.1;
double x_stag = 0.01; // always at 10 mm
// set grid to be saved in database
GridFactory.myDb = myDb;
var controls = new List<XNSE_Control>();
foreach(double delta in deltaS) {
foreach(double V_wall in V) {
double p = PressureFunc(x_stag, delta, V_wall);
var C = new XNSE_Control();
C.DbPath = myDb.Path;
C.SetDGdegree(DGdegree);
C.SetGrid(GridFactory.GenerateGrid(Res,delta, R));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("Res", Res));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("delta", delta));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("Radius", R));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("V_Wall", V_wall));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("P_Diff", p));
C.Paramstudy_CaseIdentification.Add(new Tuple<string, object>("X_Stag", x_stag));
C.AddBoundaryValue("wall_walze", "VelocityX", BoundaryValueFactory.Get_VelX(delta, V_wall, R));
C.AddBoundaryValue("wall_walze", "VelocityY", BoundaryValueFactory.Get_VelY(delta, V_wall, R));
C.AddBoundaryValue("wall_substrat", "VelocityX", BoundaryValueFactory.Get_VelX(delta, V_wall, R));
C.AddBoundaryValue("wall_substrat", "VelocityY", BoundaryValueFactory.Get_VelY(delta, V_wall, R));
C.AddBoundaryValue("pressure_outlet_in", "Pressure", $"X => {p}", false);
C.AddBoundaryValue("pressure_outlet_out", "Pressure", $"X => {-p}", false);
C.TimesteppingMode = AppControl._TimesteppingMode.Steady;
C.PhysicalParameters.rho_A = 1026.4;
C.PhysicalParameters.mu_A = 0.0395;
C.PhysicalParameters.IncludeConvection = false;
C.Timestepper_LevelSetHandling = BoSSS.Solution.XdgTimestepping.LevelSetHandling.None;
C.SessionName = "J" + (20*Res*Res) + "_delta" + delta + "_V" + Math.Round(V_wall, 5) + "_xm" + x_stag;
controls.Add(C);
}
}
Grid Edge Tags changed. Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Grid Edge Tags changed. Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Grid Edge Tags changed. Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Grid Edge Tags changed. Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database Warning: grid seems not to be saved in a database
Console.WriteLine(controls.Count);
20
Workaround so we need to deploy the rather large executables only once!
controls.RunBatch(myBatch, true);
Using the DeployAssembliesOnce option, this is experimental and untested if all necessary files are copied in all cases! Deploying executables and additional files ... once copied 'win\amd64' runtime. Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829016, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180834.890423' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.001_V0.1_xm0.01 11/22/2023 18:08:56 73b3d148..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829017, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180847.046701' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.001_V0.5_xm0.01 11/22/2023 18:08:58 078b68bd..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829018, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180857.260246' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.001_V1_xm0.01 11/22/2023 18:09:09 ea4f9624..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829019, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180911.953006' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.001_V5_xm0.01 11/22/2023 18:09:23 8c1adc7a..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829020, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180922.062477' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.001_V10_xm0.01 11/22/2023 18:09:33 c189d987..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829021, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180933.779805' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.0001_V0.1_xm0.01 11/22/2023 18:09:49 fd35677b..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829022, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_180948.156693' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.0001_V0.5_xm0.01 11/22/2023 18:09:59 0604cfbf..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829023, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181003.561946' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.0001_V1_xm0.01 11/22/2023 18:10:22 a18e2dc0..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829024, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181020.849002' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.0001_V5_xm0.01 11/22/2023 18:10:32 c0279b88..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829025, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181036.268875' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta0.0001_V10_xm0.01 11/22/2023 18:10:47 2c1ee2ab..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829026, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181046.579351' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-05_V0.1_xm0.01 11/22/2023 18:10:58 df292ade..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829027, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181101.506093' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-05_V0.5_xm0.01 11/22/2023 18:11:13 ccd39648..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829028, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181111.712351' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-05_V1_xm0.01 11/22/2023 18:11:23 0dcaf579..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829029, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181133.052371' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-05_V5_xm0.01 11/22/2023 18:11:44 7f240e62..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829030, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181143.472188' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-05_V10_xm0.01 11/22/2023 18:11:55 b8f93360..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829031, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181153.720757' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-06_V0.1_xm0.01 11/22/2023 18:12:08 452ec43a..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829032, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181210.010277' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-06_V0.5_xm0.01 11/22/2023 18:12:22 99aa842d..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829033, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181223.307666' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-06_V1_xm0.01 11/22/2023 18:12:34 b4ac95be..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829034, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181236.173462' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-06_V5_xm0.01 11/22/2023 18:12:48 7419a6ad..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful Deployments so far (2): (Job token: unknown, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver-binaries-2023Nov22_180817' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful), (Job token: 829035, FinishedSuccessful 'PrintingNip_Part2-XNSE_Solver2023Nov22_181249.647394' @ MS HPC client MSHPC-AllNodes @DC2, @\\fdygitrunner\ValidationTests\deploy, FinishedSuccessful); Success: 2 Info: Found successful session "PrintingNip_Part2 J2000_delta1E-06_V10_xm0.01 11/22/2023 18:13:01 69cc76ef..." -- job is marked as successful, no further action. No submission, because job status is: FinishedSuccessful
BoSSSshell.WorkflowMgm.BlockUntilAllJobsTerminate(18000);
All jobs finished.
Assert that, all sessions are present and all finished successful
int count = BoSSSshell.wmg.Sessions.Count();
int success = BoSSSshell.wmg.Sessions.Where(s => s.SuccessfulTermination).Count();
if(count != controls.Count() || count != success){
throw new ApplicationException("Not all simulations calculated or finished successful!");
}