TUT: use separate forces file for wingMotion2D

This commit is contained in:
Mark Olesen
2018-06-19 17:18:15 +02:00
parent 18f3fadf9c
commit 1871b1d3bc
3 changed files with 32 additions and 14 deletions

View File

@ -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
{ {

View File

@ -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);
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -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);
}
// ************************************************************************* //