View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000056 | OpenFOAM | Bug | public | 2010-10-14 07:55 | 2010-10-15 10:01 |
Reporter | Assigned To | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 10.04 |
Summary | 0000056: Crash using DirectMapped* boundary conditions and nearestFace | ||||
Description | Further to bug #0000050, there still seems to be a problem with the directMapped and directMappedVelocityFlux boundary conditions, when the nearestFace option in changeDictionaryDict is chosen. new*Values are written out in the incorrect position in the NEARESTFACE case in directMappedVelocityFluxFixedValueFvPatchField.C, and directMappedFixedValueFvPatchField.C. I have attached a tarball containing what I believe to be fixed versions of both of these files. James | ||||
Tags | No tags attached. | ||||
2010-10-14 07:55
|
|
|
Also, should the mapDistribute's be changed too? (directMappedFixedValueFvPatchField.C:260) mapDistribute::distribute ( Pstream::defaultCommsType, distMap.schedule(), distMap.constructSize(), distMap.subMap(), distMap.constructMap(), newValues //instead of allValues? ); and, (directMappedVelocityFluxFixedValueFvPatchField.C:191) newUValues = patch().patchSlice(allUValues); mapDistribute::distribute ( Pstream::defaultCommsType, distMap.schedule(), distMap.constructSize(), distMap.subMap(), distMap.constructMap(), newUValues // instead of allUValues ); newPhiValues = patch().patchSlice(allPhiValues); mapDistribute::distribute ( Pstream::defaultCommsType, distMap.schedule(), distMap.constructSize(), distMap.subMap(), distMap.constructMap(), newPhiValues // instead of allPhiValues ); |
|
I've pushed a fix to 17x. The problem was that the mapDistribute was already compacting the needed values so we can just .transfer() them. Attached a testprogram and case. blockMesh it, change the 'in' type to nearestPatch and run the program. For testing it maps the face-centres of the 'out' patch onto the 'in' patch. Thanks for persevering. |
|
commit f12de259edcfc622c780f503b94dd8a0539d8135 |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-10-14 07:55 |
|
New Issue | |
2010-10-14 07:55 |
|
File Added: directMapped.tar.gz | |
2010-10-14 08:07 |
|
Note Added: 0000079 | |
2010-10-14 08:50 |
|
Assigned To | => user4 |
2010-10-14 08:50 |
|
Status | new => assigned |
2010-10-14 09:56 |
|
Note Added: 0000080 | |
2010-10-15 10:01 |
|
Note Added: 0000081 | |
2010-10-15 10:01 |
|
Status | assigned => resolved |
2010-10-15 10:01 |
|
Resolution | open => fixed |