mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Template function objects: corrected forces and forceCoeffs for code correction
See bug-report https://bugs.openfoam.org/view.php?id=2387
This commit is contained in:
@ -9,6 +9,5 @@
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
|
||||
type forceCoeffs;
|
||||
rhoInf 1; // Redundant for incompressible
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -25,6 +25,6 @@ dragDir (1 0 0);
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg"
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -12,7 +12,6 @@ libs ("libforces.so");
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
rho rhoInf; // Incompressible solver
|
||||
log off;
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,6 +16,6 @@ patches (patch1 patch2);
|
||||
CofR (0 0 0);
|
||||
pitchAxis (0 1 0);
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forcesCompressible.cfg"
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -11,7 +11,7 @@ Description
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
#includeEtc "caseDicts/postProcessing/forces/forcesIncompressible.cfg"
|
||||
|
||||
rhoInf 1.225; // Fluid density
|
||||
patches (patch1 patch2);
|
||||
|
||||
@ -8,6 +8,6 @@
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||
|
||||
rhoInf 1; // Redundant
|
||||
rho rhoInf; // Incompressible solver
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user