for consistency with fvModels and fvConstraints, to simplify code and case maintenance and to avoid the potentially complex functions entries being unnecessarily parsed by utilities for which functionObject evaluation is disabled. The functions entry in controlDict is still read if the functions file is not present for backward-compatibility, but it is advisable to migrate cases to use the new functions file.
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates pressure and viscous forces over specified patches for a case
|
|
where the solver is incompressible; i.e., pressure is kinematic and has
|
|
units of m^2/s^2.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#includeEtc "caseDicts/functions/forces/forcesIncompressible.cfg"
|
|
|
|
patches (<patchNames>); // Names of patches on which to calculate forces
|
|
|
|
rhoInf <rhoInf>; // Far field density; e.g., 1.225 kg/m^3 for air
|
|
|
|
CofR <CofR>; // Centre of rotation; e.g., (0 0 0)
|
|
|
|
pitchAxis <pitchAxis>; // Pitch axis; e.g., (0 1 0)
|
|
|
|
// ************************************************************************* //
|