mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: binField: changes for binData
This commit is contained in:
committed by
Andrew Heather
parent
de5f75eb13
commit
be8cf2ad5c
@ -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
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user