Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 424
    • Issues 424
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #879
Closed
Open
Issue created Jun 15, 2018 by Admin@OpenFOAM-adminMaintainer

Definition of a local coordinate system in function 'forces' causes crash of the calculation

Here after is the definition of a forces function with the declaration of a local coordinate system instead of CofR, like described here: https://www.openfoam.com/documentation/cpp-guide/html/classFoam_1_1functionObjects_1_1forces.html

{ type forces;

functionObjectLibs ( "libforces.so" );

writeControl    timeStep;
writeInterval   1;

log         yes;

patches     ( "blade.*" );
pName       p;
UName       U;
rho         rhoInf;     // Indicates incompressible
log         true;
rhoInf      1;          // Redundant for incompressible

coordinateSystem
{
    type    cartesian;
    origin  (1.524 0 0); 
    coordinateRotation
    {
        type    axesRotation;
        e1      (-0.98480498 -0.17364769 0.00237365);
        e2      (-1.73648178e-01 9.84807753e-01 0.0);
    }
}

}

It causes a crash of the calculation with the error here below:

--> FOAM FATAL IO ERROR: keyword origin is undefined in dictionary "/home/etudes/etudes_NP/ETR180036_NavalGroup_GrandChallengeIrene/01_helice_E779A/E779A_cyclic_MovingMesh/system/controlDict.functions.forces"

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 277.

Looks like a bug.

Assignee
Assign to
Time tracking