CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   chtMultiRegionSimpleFoam probes multiple output (https://www.cfd-online.com/Forums/openfoam-solving/197438-chtmultiregionsimplefoam-probes-multiple-output.html)

linnemann January 5, 2018 02:38

chtMultiRegionSimpleFoam probes multiple output
 
Hi

I cannot find if it is a bug or a feature but in my chtMultiRegionSimpleFoam case here https://github.com/nelinnemann/of-ca...oldplateCooler

I have the following entry in controlDict

Code:

functions
{
    probes
    {
        // Where to load it from
        functionObjectLibs ( "libsampling.so" );

        type            probes;

        // Name of the directory for probe data
        name            probes;

        region                solid;

        // Write at same frequency as fields
        writeControl    timeStep;
        writeInterval  1;

        // Fields to be probed
        fields
        (
            T
        );

        probeLocations
        (
            ( 0.05 0.02 0.075 )    // beginning of solid fin
            ( 0.15 0.02 0.075 )    // middle of solid fin
            ( 0.225 0.02 0.075 )  // end of solid fin
        );
    }
}

What i do not understand is that for each timestep i get 3 lines of output.

Code:

# Probe 0 (0.05 0.02 0.075)
# Probe 1 (0.15 0.02 0.075)
# Probe 2 (0.225 0.02 0.075)
#        Probe              0              1              2
#        Time
            1      499.7919      499.9373      499.9437
            1      499.7919      499.9373      499.9437
            1      499.7919      499.9373      499.9437
            2      499.4074      499.8084      499.8277
            2      499.4074      499.8084      499.8277
            2      499.4074      499.8084      499.8277
            3      498.9954      499.6587      499.6925
            3      498.9954      499.6587      499.6925
            3      498.9954      499.6587      499.6925

EDIT:
Just tried with the multiRegionHeaterRadiation tutorial from official OpenFOAM-dev.
Same result, writing the values 3 times.

EDIT2:
Tried with pipeCyclic case and simpleFoam solver. Here everything is fine, seems like a multiregion issue.

linnemann January 19, 2018 05:55

Fixed in commit

https://github.com/OpenFOAM/OpenFOAM...043612d278a12b

Of OpenFOAM-dev


All times are GMT -4. The time now is 10:04.