View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002686 | OpenFOAM | Bug | public | 2017-09-04 16:36 | 2017-09-09 17:28 |
Reporter | roth | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002686: #ifndef *_H names don't necessarily correspond to *.H filename | ||||
Description | Define'd header name, e.g. compressibleMutRoughWallFunctionFvPatchScalarField_H, is: 1) Not located in the proper header file. This is perhaps a bad example as I couldn't find an associated compressibleMutRoughWallFunction.H 2) Is actually found in multiple unassociated header files e.g. alphatFilmWallFunctionFvPatchScalarField.H and convectiveHeatTransferFvPatchScalarField.H Both of these issues may have unintended consequences at some point down the line. I've come across this multiple times and meant to raise the issue but forgot... | ||||
Steps To Reproduce | > grep -r compressibleMutRoughWallFunctionFvPatchScalarField_H * regionModels/surfaceFilmModels/derivedFvPatchFields/wallFunctions/alphatFilmWallFunction/alphatFilmWallFunctionFvPatchScalarField.H:#ifndef compressibleMutRoughWallFunctionFvPatchScalarField_H regionModels/surfaceFilmModels/derivedFvPatchFields/wallFunctions/alphatFilmWallFunction/alphatFilmWallFunctionFvPatchScalarField.H:#define compressibleMutRoughWallFunctionFvPatchScalarField_H TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/convectiveHeatTransfer/convectiveHeatTransferFvPatchScalarField.H:#ifndef compressibleMutRoughWallFunctionFvPatchScalarField_H TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/convectiveHeatTransfer/convectiveHeatTransferFvPatchScalarField.H:#define compressibleMutRoughWallFunctionFvPatchScalarField_H | ||||
Tags | No tags attached. | ||||
|
Resolved by commit 7fc91b4efd33a0262033bcfcc405ecdf3c7c7570 |
|
Note that I only gave one example. There are others that I've come across. e.g. externalWallHeatFluxTemperature. I suspect that there are others. |
|
If you could provide a list that would help or shall I deal with "externalWallHeatFluxTemperature" and close the report? |
|
If I had time I'd write a script to search these out but alas no. Just thought I'd re-open and put it on record that you'll likely see more of these pop up. If you just want to fix externalWallHeatFluxTemperature, go ahead. I won't re-open. |
|
I have fixed externalWallHeatFluxTemperature and would be happy to fix any others if you or someone else would like to write a script to find them. Please reopen if/when you find any others. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-04 16:36 | roth | New Issue | |
2017-09-04 16:54 | henry | Assigned To | => henry |
2017-09-04 16:54 | henry | Status | new => resolved |
2017-09-04 16:54 | henry | Resolution | open => fixed |
2017-09-04 16:54 | henry | Fixed in Version | => dev |
2017-09-04 16:54 | henry | Note Added: 0008681 | |
2017-09-04 17:00 | roth | Status | resolved => feedback |
2017-09-04 17:00 | roth | Resolution | fixed => reopened |
2017-09-04 17:00 | roth | Note Added: 0008684 | |
2017-09-04 17:06 | henry | Note Added: 0008686 | |
2017-09-04 17:24 | roth | Note Added: 0008687 | |
2017-09-04 17:24 | roth | Status | feedback => assigned |
2017-09-04 17:39 | henry | Note Added: 0008688 | |
2017-09-04 17:39 | henry | Status | assigned => closed |
2017-09-04 17:39 | henry | Resolution | reopened => fixed |
2017-09-09 17:28 | wyldckat | Relationship added | related to 0002692 |