View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003836 | OpenFOAM | Bug | public | 2022-05-06 12:17 | 2022-12-06 12:20 |
Reporter | tomLauriks | Assigned To | chris | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | linux | OS | Ubuntu 18.04 LTS and Rocky 8.5 | OS Version | (please specify) |
Product Version | 8 | ||||
Summary | 0003836: fieldAverage: windowName not added to mean field | ||||
Description | In v6 the windowName is added to the mean field name. I observed that this doesn't occur in v8. I checked the code. I'm not entirely sure, but it seems like the code that makes available the averaging base type name, window and windowName is missing from fieldAverageItem.H. I compiled the v6 version of fieldAverage for v8, after updating the files and options to the v8 version (see attached files). This seemed to work. The windowName is again added. | ||||
Steps To Reproduce | Use fieldAverage with the options window and windowName. | ||||
Tags | No tags attached. | ||||
|
files (146 bytes)
fieldAverage.C fieldAverageItem/fieldAverageItem.C fieldAverageItem/fieldAverageItemIO.C LIB = $(FOAM_USER_LIBBIN)/libfieldFunctionObjectsDebug options (1,079 bytes)
EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/fileFormats/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude \ -I$(LIB_SRC)/surfMesh/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ -I$(LIB_SRC)/transportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude LIB_LIBS = \ -lfiniteVolume \ -lfluidThermophysicalModels \ -lsolidThermo \ -lincompressibleTransportModels \ -lmomentumTransportModels \ -lincompressibleMomentumTransportModels \ -lfluidThermoMomentumTransportModels \ -lthermophysicalTransportModels \ -lmeshTools \ -lsurfMesh \ -llagrangian \ -lfileFormats \ -lsampling \ -lsurfMesh |
|
I tested the window handling in OpenFOAM-dev and it works fine. For the OpenFOAM-dev/tutorials/incompressible/pisoFoam/LES/pitzDaily case I set #includeFunc fieldAverage(U, p, prime2Mean = yes, window = 10, windowName = w1) and I get fields pMean_w1 pPrime2Mean_w1 UMean_w1 UPrime2Mean_w1 Same for OpenFOAM-8. |
|
I performed the same test as you and indeed, window handling occurs correctly. Sorry for the false bug report. |
|
Incorrect issue report. Resolved. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-06 12:17 | tomLauriks | New Issue | |
2022-05-06 12:17 | tomLauriks | File Added: files | |
2022-05-06 12:17 | tomLauriks | File Added: options | |
2022-05-06 13:33 | henry | Note Added: 0012577 | |
2022-05-06 13:36 | henry | Note Edited: 0012577 | |
2022-05-06 13:44 | tomLauriks | Note Added: 0012578 | |
2022-12-06 12:20 | chris | Assigned To | => chris |
2022-12-06 12:20 | chris | Status | new => closed |
2022-12-06 12:20 | chris | Resolution | open => fixed |
2022-12-06 12:20 | chris | Note Added: 0012912 |