how to outpt the gradp force

Submitted by openfoam on Mon, 04/15/2013 - 15:38

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

cgoniva's picture

cgoniva | Wed, 04/17/2013 - 15:09

Hi

verbose;

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

Cheers,
Chris