mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: use separate forces file for wingMotion2D
This commit is contained in:
@ -1,4 +1,10 @@
|
|||||||
// -*- C++ -*-
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: plus |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
ensightWrite
|
ensightWrite
|
||||||
{
|
{
|
||||||
|
|||||||
@ -47,19 +47,7 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
forces
|
#include "forces"
|
||||||
{
|
|
||||||
type forces;
|
|
||||||
libs ("libforces.so");
|
|
||||||
writeControl timeStep;
|
|
||||||
writeInterval 10;
|
|
||||||
patches (wing);
|
|
||||||
rho rhoInf;
|
|
||||||
log true;
|
|
||||||
rhoInf 1;
|
|
||||||
CofR (0.4974612746 -0.01671895744 0.125);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -0,0 +1,24 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: plus |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
forces
|
||||||
|
{
|
||||||
|
type forces;
|
||||||
|
libs ("libforces.so");
|
||||||
|
|
||||||
|
writeControl timeStep;
|
||||||
|
writeInterval 10;
|
||||||
|
log false;
|
||||||
|
|
||||||
|
patches (wing);
|
||||||
|
rho rhoInf;
|
||||||
|
rhoInf 1;
|
||||||
|
CofR (0.4974612746 -0.01671895744 0.125);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
Reference in New Issue
Block a user