Reports
Set the desired data in the function object of the controlDict file and run the solver with the postProcess option like this
<solver> -postProcess -latestTime -dict <dict file name>
Force dictionary
Force dictionary
<Name>
{
type forces;
libs ("libforces.so");
patches ( upperWall );
CofR (0 0 0);
updateHeader false;
log false;
executeControl onEnd;
writeControl onEnd;
}
Force coefficient dictionary
<Name>
{
type forceCoeffs;
libs ("libforces.so");
patches ( upperWall );
coefficients ( Cd Cl CmPitch );
rho rho;
Aref 1.0;
lRef 1.0;
magUInf 1.0;
rhoInf 1.225;
dragDir (1 0 0);
liftDir (0 1 0);
CofR (0 0 0);
updateHeader false;
log false;
pRef 101325. 0;
executeControl onEnd;
writeControl onEnd;
}
Point dictionary
<Name>
{
type probes;
libs ("libsampling.so");
fields ( p_rgh );
probeLocations ( (0.1 0 0) );
updateHeader false;
log false;
executeControl onEnd;
writeControl onEnd;
}
Surface dictionary
<Name>
{
type surfaceFieldValue;
libs ("libfieldFunctionObjects.so");
regionType patch;
name upperWall;
surfaceFormat none;
fields ( p_rgh );
operation areaAverage;
writeFields false;
updateHeader false;
log false;
executeControl onEnd;
writeControl onEnd;
}
Volume dictionary
<Name>
{
type volFieldValue;
libs ("libfieldFunctionObjects.so");
fields ( p_rgh );
operation volAverage;
writeFields false;
updateHeader false;
log false;
regionType all;
executeControl onEnd;
writeControl onEnd;
}
Collateral Fields dictionary
Age
collateralAge_
{
type age;
libs ("libfieldFunctionObjects.so");
tolerance 0.0001;
nCorr 1000;
executeControl onEnd;
writeControl onEnd;
}
Heat Transfer Coefficient
collateralHeatTransferCoefficient__
{
type heatTransferCoeff;
libs ("libfieldFunctionObjects.so");
htcModel localReferenceTemperature;
field T;
result heatTransferCoeff;
UInf (0 0 0);
rho rhoInf;
patches ( upperWall lowerWall );
executeControl onEnd;
writeControl onEnd;
}
Mach Number
collateralMachNumber_
{
type MachNo;
libs ("libfieldFunctionObjects.so");
result machNo;
executeControl onEnd;
writeControl onEnd;
}
Q
collateralQ_
{
type Q;
libs ("libfieldFunctionObjects.so");
result Q;
executeControl onEnd;
writeControl onEnd;
}
Total Pressure
collateralTotalPressure_
{
type pressure;
libs ("libfieldFunctionObjects.so");
mode total;
result totalPressure;
executeControl onEnd;
writeControl onEnd;
}
Vorticity
collateralVorticity_
{
type vorticity;
libs (libfieldFunctionObjects.so");
result vorticity;
executeControl onEnd;
writeControl onEnd;
}
Wall Heat Flux
collateralWallHeatFlux_
{
type wallHeatFlux;
libs ("libfieldFunctionObjects.so");
writeToFile false;
executeControl onEnd;
writeControl onEnd;
}
Wall Shear Stress
collateralWallShearStress_
{
type wallShearStress;
libs ("libfieldFunctionObjects.so");
writeToFile false;
executeControl onEnd;
writeControl onEnd;
}
Wall y plus
collateralWallYPlus_
{
type yPlus;
libs ("libfieldFunctionObjects.so");
writeToFile false;
executeControl onEnd;
writeControl onEnd;
}