release on 2013-04-30_18-46-52

This commit is contained in:
goniva
2013-04-30 18:46:52 +02:00
parent 86ae03d1cb
commit f796614dd5
13 changed files with 124 additions and 28 deletions

View File

@ -25,7 +25,7 @@ FoamFile
//===========================================================================//
// sub-models & settings
verbose;
//verbose;
modelType B; // A or B

View File

@ -5,6 +5,7 @@ clc;
%====================================%
% simulation data 1
%====================================%
rhoG = 5 % density in kg/m3
%path = '../probes/0/p';
path = '../probes/0/p';
columns=22;
@ -12,7 +13,7 @@ headerlines=4;
data = loaddata(path,columns,headerlines);
data=transpose(data);
[x,y]=size(data)
dp_sim = (data(:,2)-data(:,y))/10000;
dp_sim = (data(:,2)-data(:,y))*rhoG;
t_sim = data(:,1);
%fprintf('final pressureDrop of sim = %f Pa\n',dp_sim(length(dp_sim)) )
@ -55,14 +56,13 @@ epsilon = 1-Vpartiles/Vfilled % void fraction
%epsilon = 0.656968
Ua = U / epsilon; % physical velocity
rhoG = 5 % density in kg/m3
nuG = 1.5*10^-5 % kinemat Visk in m2/s
muG = nuG*rhoG % dynam visc in Pa s
dpErgun= L * (
150*((1-epsilon)^2/epsilon^3)*((muG.*U)/(phip*dp)^2)
+1.75*((1-epsilon)/epsilon^3)*((rhoG.*U.^2)/(phip*dp))
)/10000/rhoG;
);
fprintf('NOTE: this pressure is divided by density (according to CFD solver)\n')
fprintf('so the result does not depend on pressure\n')
@ -92,7 +92,7 @@ ReMF
dpUmf= L * (
150*((1-epsilon)^2/epsilon^3)*((muG.*Umf)/(phip*dp)^2)
+1.75*((1-epsilon)/epsilon^3)*((rhoG.*Umf.^2)/(phip*dp))
)/10000/rhoG;
);
%====================================%
% plot data
@ -104,7 +104,7 @@ title("Ergun pressure drop vs. simulation")
a=strcat("analytical (Ergun), Umf=",num2str(Umf),", dpUmf=",num2str(dpUmf));
legend(a,"simulation")
xlabel("velocity in [m/s]")
ylabel("pressure drop [bar]")
ylabel("pressure drop [Pa]")
axis([0,Uend,0,dpErgun(length(dpErgun))])
%print('cfdemSolverPiso_settlingTest.eps','-deps2')

View File

@ -47,7 +47,7 @@ fix pdd1 all particledistribution/discrete 1. 1 pts1 1.0
group rigid_group region reg
region bc cylinder z 0.0 0.0 0.012 0.001 0.055 units box
fix ins rigid_group insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. 0. insert_every once overlapcheck yes region bc ntry_mc 10000 particles_in_region 1 #2500 # volumefraction_region 0.01 #
fix ins rigid_group insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. 0. insert_every once overlapcheck yes region bc ntry_mc 10000 particles_in_region 2500 # volumefraction_region 0.01 #
#integrator for multisphere rigid bodies
fix integr rigid_group multisphere

View File

@ -35,3 +35,14 @@ dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile
dummyfile

View File

@ -21,7 +21,7 @@ logfileName="log_$headerText"
solverName="cfdemSolverPisoMS"
nrProcs="2"
machineFileName="none" # yourMachinefileName | none
debugMode="on" # on | off
debugMode="off" # on | off
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
cleanUp="true"