View Issue Details

IDProjectCategoryView StatusLast Update
0003379OpenFOAMBugpublic2019-11-05 15:15
ReporterjheylmunAssigned Tohenry 
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version19.04
Product Version7 
Fixed in Version 
Summary0003379: Non-fixed probe locations do not have cells updated
DescriptionIn probes::updateMesh and probes::movePoints functions probes with non-fixed locations are not updated

void Foam::probes::updateMesh(const mapPolyMesh& mpm)
    DebugInfo<< "probes: updateMesh" << endl;

    if (&mpm.mesh() != &mesh_)

    if (fixedLocations_) // HERE
void Foam::probes::movePoints(const polyMesh& mesh)
    DebugInfo<< "probes: movePoints" << endl;

    if (fixedLocations_ && &mesh == &mesh_) //HERE
TagsNo tags attached.



2019-11-04 22:41

manager   ~0010864

Can you provide an example case which reproduces the problem?


2019-11-04 23:02

reporter   ~0010865

With the debug switches on you can see the cell is initially set, but never updated. The probe should leave the mesh around the first save, but it always produces a value (value in the initial cell). (9,790 bytes)


2019-11-05 10:39

manager   ~0010867

Documentation for fixedLocations:

            //- Fixed locations, default = yes
            // Note: set to false for moving mesh calculations where locations
            // should move with the mesh
            bool fixedLocations_;

 In controlDict you have set

    fixedLocations false;

which causes the probes to move with the mesh rather than having fixed locations, try with

    fixedLocations true;


2019-11-05 14:39

reporter   ~0010868

Thanks, I was mixing up the purpose of the fixedLocations flag. I get the warning for probe locations not being found when they should be with the flag set to true, but apparently It is just at an intermediate step with mapping, and correct values are written in the probes file.


2019-11-05 15:15

manager   ~0010869

User error.

Issue History

Date Modified Username Field Change
2019-11-04 22:00 jheylmun New Issue
2019-11-04 22:41 henry Note Added: 0010864
2019-11-04 23:02 jheylmun File Added:
2019-11-04 23:02 jheylmun Note Added: 0010865
2019-11-05 10:39 henry Note Added: 0010867
2019-11-05 14:39 jheylmun Note Added: 0010868
2019-11-05 15:15 henry Assigned To => henry
2019-11-05 15:15 henry Status new => closed
2019-11-05 15:15 henry Resolution open => no change required
2019-11-05 15:15 henry Note Added: 0010869