Skip to content
Snippets Groups Projects
Commit be8cf2ad authored by Kutalmış Berçin's avatar Kutalmış Berçin Committed by Andrew Heather
Browse files

TUT: binField: changes for binData

parent de5f75eb
No related branches found
No related tags found
1 merge request!433ENH: binField: new function object for data binning
...@@ -27,15 +27,28 @@ forceCoeffs1 ...@@ -27,15 +27,28 @@ forceCoeffs1
magUInf 20; magUInf 20;
lRef 1.42; // Wheelbase length lRef 1.42; // Wheelbase length
Aref 0.75; // Estimated Aref 0.75; // Estimated
/* }
/*
binField1
{
type binField;
libs (fieldFunctionObjects);
binModel singleDirectionUniformBin;
fields (forceCoeff);
patches (motorBikeGroup);
decomposePatchValues true;
CofR ${..forceCoeffs1.CofR};
binData binData
{ {
nBin 20; // output data into 20 bins nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction direction (1 0 0); // bin direction
cumulative yes; cumulative yes;
} }
*/ writeControl timeStep;
} }
*/
// ************************************************************************* // // ************************************************************************* //
...@@ -27,13 +27,27 @@ forceCoeffs1 ...@@ -27,13 +27,27 @@ forceCoeffs1
lRef 4; // Wheelbase length lRef 4; // Wheelbase length
Aref 1; // Estimated Aref 1; // Estimated
porosity on; porosity on;
}
binField1
{
type binField;
libs (fieldFunctionObjects);
binModel singleDirectionUniformBin;
fields (forceCoeff);
patches (body);
decomposePatchValues yes;
CofR ${..forceCoeffs1.CofR};
cellZones (porousZone);
binData binData
{ {
nBin 20; // output data into 20 bins nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction direction (1 0 0); // bin direction
cumulative yes; cumulative yes;
} }
writeControl writeTime;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment