View Issue Details

IDProjectCategoryView StatusLast Update
0001861OpenFOAM[All Projects] Bugpublic2015-10-05 11:35
ReporterwyldckatAssigned Tohenry 
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Version 
Summary0001861: applications/utilities/postProcessing: Adding "-region" option to wallGradU, temporalInterpolate and pPrime2
DescriptionIt's a bit hard to fully determine which utilities can properly use the "-region" option, but the attached files provide the ones that seem that can make proper use of this option with minimum modifications:

 - applications/utilities/postProcessing/wall/wallGradU/wallGradU.C

 - applications/utilities/postProcessing/miscellaneous/temporalInterpolate/temporalInterpolate.C

 - applications/utilities/postProcessing/scalarField/pPrime2/pPrime2.C
Steps To ReproduceI've tested the 3 with the tutorial "heatTransfer/chtMultiRegionFoam/multiRegionHeater" for the region "bottomWater", with the following additional lines in "system/controlDict":

    libs
    (
    "libcompressibleTransportModels.so"
    "libfluidThermophysicalModels.so"
    "libsolidThermo.so"
    "libspecie.so"
    "libturbulenceModels.so"
    "libcompressibleTurbulenceModels.so"
    "libmeshTools.so"
    "libfiniteVolume.so"
    "libradiationModels.so"
    "libfvOptions.so"
    "libregionModels.so"
    "libsampling.so"
    );

    functions
    {
        fieldAverage1
        {
            type fieldAverage;
            functionObjectLibs ( "libfieldFunctionObjects.so" );
            enabled true;
            region bottomWater;
            outputControl outputTime;

            fields
            (
                U
                {
                    mean on;
                    prime2Mean on;
                    base time;
                }

                p
                {
                    mean on;
                    prime2Mean on;
                    base time;
                }
            );
        }
    }
Additional InformationThis is a follow up to Issue #1227.

The utilities stressComponents and createTurbulenceFields can also make good use of the option "-region", but for that they need to "-compressible" option as well (or inherit the mechanism from yPlus), which will be addressed in another report in the near future.
TagsNo tags attached.

Relationships

related to 0001227 resolvedhenry "ptot" utility does not support -region 

Activities

wyldckat

2015-10-03 17:50

updater  

wallGradU.C (3,339 bytes)

wyldckat

2015-10-03 17:50

updater  

temporalInterpolate.C (8,660 bytes)

wyldckat

2015-10-03 17:50

updater  

pPrime2.C (2,957 bytes)

henry

2015-10-05 11:34

manager   ~0005385

Thanks Bruno.

Resolved by commit 445a626805d7f8e98be08f8257a5f18c657a419e

Issue History

Date Modified Username Field Change
2015-10-03 17:50 wyldckat New Issue
2015-10-03 17:50 wyldckat Status new => assigned
2015-10-03 17:50 wyldckat Assigned To => henry
2015-10-03 17:50 wyldckat File Added: wallGradU.C
2015-10-03 17:50 wyldckat File Added: temporalInterpolate.C
2015-10-03 17:50 wyldckat File Added: pPrime2.C
2015-10-03 17:51 wyldckat Relationship added related to 0001227
2015-10-05 11:34 henry Note Added: 0005385
2015-10-05 11:34 henry Status assigned => resolved
2015-10-05 11:34 henry Resolution open => fixed