View Issue Details

IDProjectCategoryView StatusLast Update
0001883OpenFOAM[All Projects] Bugpublic2015-11-11 12:19
Reporteruser4Assigned Tohenry 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Version 
Summary0001883: setConstraintTypes does not set value for processor patch fields
DescriptionThe #include "setConstraintTypes" can not be used to initialise processor fvPatchFields for a parallel case.

- it does not set the value field for e.g. type processor
- internally this will not complain but just use pTraits<Type>::zero (fvPatchField.C:134)
- which works for some applications but not e.g. compressible cases where the thermo will crash.

Solutions:
- assume the $internalField is uniform and in caseDicts/setConstraintTypes:
processor
{
    type processor;
    value $internalField;
}

- enforce requiring a value entry for all processor* type patchFields
Steps To ReproduceTake compressible case using setConstraintTypes (e.g. rhoPimpleDyMFoam/annularThermalMixer)

- decomposePar and override the processor*/0/ directory with 0.org/
- run and it will crash in the thermo

TagsNo tags attached.

Activities

henry

2015-11-11 12:19

manager   ~0005604

Resolved by commit 778c0cc8ed359430643007ca76d8679ffff27e60

Issue History

Date Modified Username Field Change
2015-10-29 12:20 user4 New Issue
2015-11-11 12:19 henry Note Added: 0005604
2015-11-11 12:19 henry Status new => resolved
2015-11-11 12:19 henry Resolution open => fixed
2015-11-11 12:19 henry Assigned To => henry