how to outpt the gradp force

Submitted by openfoam on
cgoniva

Hi

verbose;

in the gradPProps sub-dict shoul write gradP for some particles to the terminal.

Cheers,
Chris

Wed, 17 Apr 2013 - 15:09 Permalink

if(verbose_ && index >=0 && index <2)
{
Info << "index = " << index << endl;
Info << "gradP = " << gradP << endl;
Info << "force = " << force << endl;
}
I wrtie "verbose" under the gradpprop item in the couplingproperties file.

How can I get the data