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:
parent
fb57ecbfdf
commit
750b0402a6
7 changed files with 4 additions and 17 deletions
|
|
@ -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: 4.x |
|
||||
| \\ / 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
|
||||
|
||||
// ************************************************************************* //
|
||||
Loading…
Add table
Reference in a new issue