dear all!
I add this commands for data extraction in ComputeDrag.cpp
but in Drag.dat only last drag coeff. has been printed.
if (iT%parameters.nStep(logT)==0) {
xcout
<< "; drag=" << lattice.getInternalStatistics().getSum(forceIds[0])
<< "; lift=" << lattice.getInternalStatistics().getSum(forceIds[1])
<< endl;
if (iT%parameters.nStep(logT)==0) {
xfl_ofstream ofile("Drag.dat");
ofile << setprecision(10) << lattice.getInternalStatistics().getSum(forceIds[0])
<< endl;
}
}
can any one help me?