bugfix statistics particle force
This commit is contained in:
parent
356beef2d9
commit
be6a85b79c
|
|
@ -13,7 +13,7 @@ function [tbeg,tend,nstat,um,uu,vv,ww,uv,uub,uvb,varargout] = read_statistics_ch
|
||||||
% Open UCF file and read
|
% Open UCF file and read
|
||||||
obj = ucf('verbosity',par.Results.verbosity,'debug',par.Results.debug);
|
obj = ucf('verbosity',par.Results.verbosity,'debug',par.Results.debug);
|
||||||
obj.open(file);
|
obj.open(file);
|
||||||
tend = obj.getSimulationTime(1);
|
tend = obj.getSimulationTime();
|
||||||
|
|
||||||
% Read first dataset
|
% Read first dataset
|
||||||
[um,params] = obj.readSet(1,1);
|
[um,params] = obj.readSet(1,1);
|
||||||
|
|
@ -43,9 +43,9 @@ function [tbeg,tend,nstat,um,uu,vv,ww,uv,uub,uvb,varargout] = read_statistics_ch
|
||||||
fxp = obj.readSet(1,8);
|
fxp = obj.readSet(1,8);
|
||||||
fyp = obj.readSet(1,9);
|
fyp = obj.readSet(1,9);
|
||||||
fzp = obj.readSet(1,10);
|
fzp = obj.readSet(1,10);
|
||||||
varargout{1} = fxp;
|
varargout{1} = fxp/nstat;
|
||||||
varargout{2} = fyp;
|
varargout{2} = fyp/nstat;
|
||||||
varargout{3} = fzp;
|
varargout{3} = fzp/nstat;
|
||||||
end
|
end
|
||||||
|
|
||||||
% Close file
|
% Close file
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue