View Issue Details

IDProjectCategoryView StatusLast Update
0002563OpenFOAMBugpublic2017-06-05 18:17
Reporterseoseonguk Assigned Tohenry  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionno change required 
Fixed in Versiondev 
Summary0002563: force and moment calculation in local coordinate system(coordinate convert problem)
DescriptionChanging cofR to coordinateSystem(origin, e3, e1) to change the coordinate system does not work.

I removed cofr and added the following coordinatesystem:

        coordinateSystem
        {
        type cartesian;
        origin (0 0 0);
        
        coordinateRotation
        {
            type axesRotation;
            e1 (0.866025403 0.5 0);
            e2 (0 0 1);
        }
        }

However, the following problems occurred.


--> FOAM FATAL IO ERROR:
 keyword origin is undefined in dictionary "~/system/controlDict.functions.forces"

 file: ~/system/controlDict.functions.forces from line 59 to line 82.

These problems occurred in the OF240 and OF40 versions, but not in the OF211 versions.

There seems to be a bug in the coordinateSystem as progressing to the higher version.

Looking at the force.C code, it seems that coordSys_.origin() does not properly retrive the origin data inside the coordinatesystem.

Thanks.
TagsNo tags attached.

Activities

henry

2017-05-26 08:04

manager   ~0008188

Please provide an example case with reporduces the problem in OpenFOAM-dev.

wyldckat

2017-05-26 21:38

updater   ~0008189

I suspect this is the bug that has already been fixed in report #2454 https://bugs.openfoam.org/view.php?id=2454

In other words, if this is the same bug, then it's already fixed in OpenFOAM 4.x and OpenFOAM-dev, but not in 4.1 and 4.0.

@seoseonguk: If you cannot provide an example case that reproduces this issue with OpenFOAM-dev, then please at least provide an example case that reproduces it with OpenFOAM 4.0.

henry

2017-06-01 09:23

manager   ~0008201

Please reopen when you can provide a case which reproduces the problem in OpenFOAM-dev.

Issue History

Date Modified Username Field Change
2017-05-26 04:06 seoseonguk New Issue
2017-05-26 08:04 henry Note Added: 0008188
2017-05-26 21:38 wyldckat Note Added: 0008189
2017-06-01 09:23 henry Assigned To => henry
2017-06-01 09:23 henry Status new => closed
2017-06-01 09:23 henry Resolution open => no change required
2017-06-01 09:23 henry Fixed in Version => dev
2017-06-01 09:23 henry Note Added: 0008201