TUT: binField: changes for binData

This commit is contained in:
Kutalmis Bercin 2022-06-07 14:02:43 +01:00 committed by Andrew Heather
parent de5f75eb13
commit be8cf2ad5c
2 changed files with 32 additions and 5 deletions

View File

@ -27,15 +27,28 @@ forceCoeffs1
magUInf 20;
lRef 1.42; // Wheelbase length
Aref 0.75; // Estimated
/*
}
/*
binField1
{
type binField;
libs (fieldFunctionObjects);
binModel singleDirectionUniformBin;
fields (forceCoeff);
patches (motorBikeGroup);
decomposePatchValues true;
CofR ${..forceCoeffs1.CofR};
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
*/
writeControl timeStep;
}
*/
// ************************************************************************* //

View File

@ -27,13 +27,27 @@ forceCoeffs1
lRef 4; // Wheelbase length
Aref 1; // Estimated
porosity on;
}
binField1
{
type binField;
libs (fieldFunctionObjects);
binModel singleDirectionUniformBin;
fields (forceCoeff);
patches (body);
decomposePatchValues yes;
CofR ${..forceCoeffs1.CofR};
cellZones (porousZone);
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
writeControl writeTime;
}