View Issue Details

IDProjectCategoryView StatusLast Update
0003455OpenFOAMPatchpublic2020-02-17 09:55
Reporterhandrake0724Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0003455: incorrect description in forces.H
DescriptionI would like to make sure the Note on coordinate system in forces.H which reads:

\verbatim
    coordinateSystem
    {
        origin (0 0 0);
        e3 (0 0 1);
        e1 (1 0 0);
    }
\endverbatim

I tried to use local coordinate to measure wind load following wind direction.
At first, forces functionObject dictionary went like this

forces
{
  type forces;
  functionObjectLibs 1 ( ”libforces.so” );
  writeControl timeStep;
  writeInterval 1;
  patches ("hull");
  rhoName rhoInf;
  rho rhoInf;
  log true;
  rhoInf 1.21;
  coordianateSystem
  {
    origin (0 0 0);
    e3 (0 0 1);
    e1 (1 0 0);
  }
}

But the above did not work saying failed to find origin.
The next thing I found to make it work is that

forces
{
  type forces;
  functionObjectLibs 1 ( ”libforces.so” );
  writeControl timeStep;
  writeInterval 1;
  patches ("hull");
  rhoName rhoInf;
  rho rhoInf;
  log true;
  rhoInf 1.21;
  origin (0 0 0);
  coordinateRotation
  {
       type axesRotation;
       e3 (0 0 1);
       e1 (1 0 0);
  }
}

So, I am wondering if the description on the header file is incorrect.
TagsNo tags attached.

Activities

henry

2020-02-17 09:55

manager   ~0011189

Resolved by commit fe13ba9face16b9de1dc77a45aacf3b93d8548ab

Issue History

Date Modified Username Field Change
2020-02-16 13:24 handrake0724 New Issue
2020-02-17 09:55 henry Assigned To => henry
2020-02-17 09:55 henry Status new => resolved
2020-02-17 09:55 henry Resolution open => fixed
2020-02-17 09:55 henry Fixed in Version => dev
2020-02-17 09:55 henry Note Added: 0011189