mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
fix post-processing of ErgunTest cases for OpenFOAM 4.0
fix number of headerlines expected in probe files for ErgunTestCG, ErgunTestMPI_cgs and ErgunTestMPI_restart
This commit is contained in:
@ -9,7 +9,7 @@ rhoG = 10 % density in kg/m3
|
||||
%path = '../probes/0/p';
|
||||
path = '../postProcessing/probes/0/p';
|
||||
columns=22;
|
||||
headerlines=4;
|
||||
headerlines=23;
|
||||
data = loaddata(path,columns,headerlines);
|
||||
data=transpose(data);
|
||||
[x,y]=size(data)
|
||||
|
||||
@ -9,7 +9,7 @@ rhoG = 10 % density in kg/m3
|
||||
%path = '../probes/0/p'; % 2.1.x
|
||||
path = '../postProcessing/probes/0/p'; % 2.2.x
|
||||
columns=22;
|
||||
headerlines=23;%4;
|
||||
headerlines=23;
|
||||
data = loaddata(path,columns,headerlines);
|
||||
data=transpose(data);
|
||||
[x,y]=size(data)
|
||||
|
||||
@ -9,7 +9,7 @@ rhoG = 0.01 % density in g/cm3
|
||||
%path = '../probes/0/p'; % 2.1.x
|
||||
path = '../postProcessing/probes/0/p'; % 2.2.x
|
||||
columns=22;
|
||||
headerlines=4;
|
||||
headerlines=23;
|
||||
data = loaddata(path,columns,headerlines);
|
||||
data=transpose(data);
|
||||
[x,y]=size(data)
|
||||
|
||||
@ -9,7 +9,7 @@ rhoG = 10 % density in kg/m3
|
||||
%path = '../probes/0/p'; % 2.1.x
|
||||
path = '../postProcessing/probes/0/p'; % 2.2.x
|
||||
columns=22;
|
||||
headerlines=4;
|
||||
headerlines=23;
|
||||
data = loaddata(path,columns,headerlines);
|
||||
data=transpose(data);
|
||||
[x,y]=size(data)
|
||||
@ -23,7 +23,7 @@ t_sim = data(:,1);
|
||||
%path = '../probes/0.05/p'; % 2.1.x
|
||||
path = '../postProcessing/probes/0.05/p'; % 2.2.x
|
||||
columns=22;
|
||||
headerlines=4;
|
||||
headerlines=23;
|
||||
data = loaddata(path,columns,headerlines);
|
||||
data=transpose(data);
|
||||
[x,y]=size(data)
|
||||
|
||||
Reference in New Issue
Block a user