CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   a reconstructPar issue (http://www.cfd-online.com/Forums/openfoam-post-processing/119226-reconstructpar-issue.html)

immortality June 12, 2013 10:09

a reconstructPar issue
 
although I have set
Code:

writeInterval  .000001;
reconstructPar writes very lower than it:
Code:

Time = 7.29471e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.35352e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.41106e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.46859e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.52612e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.5811e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.63607e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.69105e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.74602e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.801e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.85597e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.91095e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 7.96592e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 8.0209e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 8.07587e-07

Reconstructing FV fields

    Reconstructing volScalarFields

        total(p)

Reconstructing point fields

No point fields

No lagrangian fields

Time = 8.13085e-07


wyldckat June 15, 2013 17:26

Note for future readers: this was due to this function object:
Code:

totalP    // user-defined name of function object entry
    {
        type            pressureTools;
        libs            ("libutilityFunctionObjects.so");
        //region          defaultRegion;
        enabled        yes;
        //timeStart      0;
        //timeEnd        10;
        outputControl timeStep;//outputTime;//
        outputInterval 1; // 5000;
        calcTotal  yes;
        calcCoeff  no;
        pRef 0;
    }

Since it was set to run with:
Code:

outputControl timeStep;
outputInterval 1;

the function object then wrote the field "total(p)" for all solved times.

For more information on this topic, check: http://www.cfd-online.com/Forums/ope...tml#post434184 - post #14

immortality June 16, 2013 05:17

Bruno at last I changed to SWAK again.but if I want to use function objects how should manage the 3 dictionaries?(I want it writes on a patch in all time steps but not in new folders and for all times,how should set the functions settings?)

wyldckat June 16, 2013 08:52

Hi Ehsan,

Sorry, I'm a bit slow today... could you give a more explicit example?

Best regards,
Bruno

immortality June 16, 2013 09:11

Hi Bruno
I only wanted to use function objects without those excess folders like Swak4Foam.I think it isn't possible for current function objects settings as you said,right?

wyldckat June 16, 2013 09:14

:confused: Didn't I explain how it could be used in this post: http://www.cfd-online.com/Forums/ope...tml#post434184 - post #14?

immortality June 16, 2013 09:35

it still writes folders only containing total(p).
maybe it can't be resolved.
anyway Im using swak instead.
thanks so much dear Bruno.:)

wyldckat June 16, 2013 11:22

Quote:

Originally Posted by immortality (Post 434277)
it still writes folders only containing total(p).

As I said twice before: this requires to modify the source code of the function object "pressureTools".

immortality June 16, 2013 11:25

thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks:D ;)


All times are GMT -4. The time now is 00:26.