View Issue Details

IDProjectCategoryView StatusLast Update
0000928OpenFOAMBugpublic2013-07-23 12:59
Reportergdtech Assigned Touser2 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentosOS Version6.4
Summary0000928: rotorForce export not handled correctly if more than 1 rotorDisk source
DescriptionWith more than 1 rotorDiskSource, rotorForce export contains the data from only one zone (the latest one specified in fvOptions).
Steps To ReproduceIn turbineSiting tutorial, replace actuationDiskSources by rotorDiskSources and check "rotorForce" data.
Additional InformationOne solution is to replace the following lines in rotorDiskSource.C

volVectorField force
    (
        IOobject
        (
            "rotorForce",
            mesh_.time().timeName(),
            mesh_,
            IOobject::NO_READ,
            IOobject::NO_WRITE
        ),
        mesh_,
        dimensionedVector("zero", dims, vector::zero)
    );

by

volVectorField force
    (
        IOobject
        (
            "rotorForce",
            mesh_.time().timeName(),
            mesh_,
            IOobject::READ_IF_PRESENT,
            IOobject::NO_WRITE
        ),
        mesh_,
        dimensionedVector("zero", dims, vector::zero)
    );
TagsNo tags attached.

Activities

user2

2013-07-23 12:59

  ~0002343

Thanks for the report - fixed by commit 57f49b3

Issue History

Date Modified Username Field Change
2013-07-22 16:14 gdtech New Issue
2013-07-23 12:59 user2 Note Added: 0002343
2013-07-23 12:59 user2 Status new => resolved
2013-07-23 12:59 user2 Fixed in Version => 2.2.x
2013-07-23 12:59 user2 Resolution open => fixed
2013-07-23 12:59 user2 Assigned To => user2