View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003379 | OpenFOAM | Bug | public | 2019-11-04 22:00 | 2019-11-05 15:15 |
Reporter | jheylmun | Assigned To | henry | ||
Priority | low | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | 19.04 |
Summary | 0003379: Non-fixed probe locations do not have cells updated | ||||
Description | In 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_) { return; } if (fixedLocations_) // HERE { findElements(mesh_); } else ... } void Foam::probes::movePoints(const polyMesh& mesh) { DebugInfo<< "probes: movePoints" << endl; if (fixedLocations_ && &mesh == &mesh_) //HERE { findElements(mesh_); } } | ||||
Tags | No tags attached. | ||||
|
Can you provide an example case which reproduces the problem? |
|
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). |
|
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; |
|
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. |
|
User error. |
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: impeller.zip | |
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 |