mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
30 lines
971 B
C++
30 lines
971 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration |
|
|
\\ / A nd | Web: www.OpenFOAM.org
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates lift, drag and moment coefficients by summing forces on
|
|
specified patches for a case where the solver is incompressible (pressure
|
|
is kinematic, e.g. m^2/s^2).
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
patches (patch1 patch2);
|
|
|
|
magUInf 20;
|
|
lRef 1;
|
|
Aref 1;
|
|
|
|
liftDir (0 0 1);
|
|
dragDir (1 0 0);
|
|
|
|
CofR (0 0 0);
|
|
pitchAxis (0 1 0);
|
|
|
|
#includeEtc "caseDicts/postProcessing/forces/forceCoeffsIncompressible.cfg"
|
|
|
|
// ************************************************************************* //
|