CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

post-processing utility R: no files are saved

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2024, 07:10
Default post-processing utility R: no files are saved
  #1
New Member
 
Zeno Brighenti
Join Date: May 2023
Posts: 4
Rep Power: 3
Il_Briga is on a distinguished road
Hi there!

Apologize for this silly question. A lot of people had the same issue in the past but all the topics i've read did not bring me to any valid solution.

I have to estimate the Reynolds stress tensor from a KomegaSST time variant compressible simulation (rhoPimpleFoam) whose results are saved on my laptot. I'm currently using OpenFOAMv10. Following this guide: https://www.openfoam.com/documentati...nceFields.html i modified my /system/controlDict as follows:

Code:
  turbulenceFields1
{
    // Mandatory entries (unmodifiable)
    type            turbulenceFields;
    libs            (fieldFunctionObjects);

    // Mandatory entries (runtime modifiable)
    // Either field or fields entries
    fields          (R devRhoReff);
    field           R;
}
Then i launched the command:

Code:
rhoPimpleFoam -postProcess -func turbulenceFields
The postProcessing utility seemed to work, but no results are saved, neither in the time-step folders, neither in the 'postProcessing' one. An extract of the log file is here reported:

Code:
Time = 0.005s
Reading thermophysical properties

Selecting thermodynamics package 
{
    type            hePsiThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleEnthalpy;
}

Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RAS
Selecting RAS turbulence model kOmegaSST
Selecting patchDistMethod meshWave
RAS
{
    RASModel        kOmegaSST;
    turbulence      on;
    printCoeffs     on;
    alphaK1         0.85;
    alphaK2         1;
    alphaOmega1     0.5;
    alphaOmega2     0.856;
    gamma1          0.555556;
    gamma2          0.44;
    beta1           0.075;
    beta2           0.0828;
    betaStar        0.09;
    a1              0.31;
    b1              1;
    c1              10;
    F3              false;
}

Creating thermophysical transport model

Selecting thermophysical transport type RAS
Selecting default RAS thermophysical transport model unityLewisEddyDiffusivity
Creating field dpdt

Creating field kinetic energy K

No MRF models present

No fvModels present
No fvConstraints present
turbulenceFields turbulenceFields: no fields requested to be stored
As i said, no values are saved or prompted. Could somebody help?

Last edited by Il_Briga; August 14, 2024 at 04:41.
Il_Briga is offline   Reply With Quote

Old   July 31, 2024, 08:30
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,171
Rep Power: 27
Yann will become famous soon enough
Hello,

You have several things mixed up. Lets try to clarify.
When you are using this command:

Code:
rhoPimpleFoam -postProcess -func turbulenceFields
You are not calling the function defined in your controlDict (which would be turbulenceFields1) but a predefined function defined in $FOAM_ETC/caseDicts/postProcessing.

When using this predefined function, you need to pass the list of fields you want to process as an argument. This is why you are getting this message in your log:

Quote:
turbulenceFields turbulenceFields: no fields requested to be stored
The proper syntax is:

Code:
rhoPimpleFoam -postProcess -func "turbulenceFields(R devRhoReff)"
If you want to run the functions defined in your controlDict file intead of the predefined functions, you should use this:

Code:
rhoPimpleFoam -postProcess
Now, the second thing mixed-up: you are using the documentation from the OpenCFD branch (openfoam.com) while you are using OpenFOAM-10 which is the foundation branch (openfoam.org). So your function in controlDict is not properly defined for OpenFOAM-10. Have a look at the documentation corresponding to your version: https://github.com/OpenFOAM/OpenFOAM...ulenceFields.H

I hope this helps,
Yann
Il_Briga likes this.
Yann is offline   Reply With Quote

Old   September 22, 2024, 06:24
Default
  #3
New Member
 
Zeno Brighenti
Join Date: May 2023
Posts: 4
Rep Power: 3
Il_Briga is on a distinguished road
Hi Yann,

Apologize for my late reply. I have been very busy lately. I hope i'm not doing necroposting.

Thank you so much for your reply. Yeap, you gave me a precious hand to clarify several concepts. One last question then i close the topic: in your opinion is better to recover the R stress tensor starting from a K-epsilon or a K-omega simulation (same mesh, same BC, etc..)? Should it be the same?

Thank you very much.
Il_Briga is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
post processing working error albus04*-* FLUENT 1 February 28, 2022 10:00
retaining files and getting contours in post processing transient simulation Mounarah Main CFD Forum 5 October 7, 2021 12:18
Post Processing Results: Ansys Workbench 18.2 - Fluent - CFD Post - Porous Body onlycfd FLUENT 0 April 28, 2021 23:41
Ansys Post processing ano999 ANSYS 1 May 27, 2011 16:24
NO model vs post processing in coal combustion,CFX sakalido CFX 1 April 15, 2011 14:07


All times are GMT -4. The time now is 16:34.