CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Qdot keeps all zero when using xxxFoam postProcess

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2019, 17:13
Default Qdot keeps all zero when using xxxFoam postProcess
New Member
Mingyi Luan
Join Date: May 2018
Posts: 1
Rep Power: 0
adcpk is on a distinguished road
I postprocess my resault from reactingFoam openfoam v7

reactingFoam -postProcess -func Qdot
the fields Qdot appears, but it is all zero

2. If i modify the code by adding a fields named "Qdot" and add code "Qdot=reaction->Qdot()" in main loop, like OF v6

then use
reactingFoam -postProcess -func "writeObjects(Qdot)"
the fields Qdot appears, but it is all zero

3. but if I do it in run-time data processing using "#includeFunc", everything is good.

How can I get the Qdot if I do not output in runtime.
adcpk is offline   Reply With Quote

Old   May 14, 2020, 09:05
Smile Have you found a solution ?
New Member
Join Date: Apr 2020
Posts: 3
Rep Power: 3
F_vdp is on a distinguished road
Hi Minguy,

I am trying to post-process results of an engine simulation (between -152CAD and 30CAD hence the starting time being -152) done with the engineFoam under OpenFOAM7.

My goal is also to obtain the heat release rate using the Qdot Functionobjects. However, when I type : "engineFoam -postProcess -func Qdot", here is the error message that I recieve :

  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
Build  : 7-1ff648926f77
Exec   : engineFoam -postProcess -func Qdot
Date   : May 14 2020
Time   : 10:57:44
Host   : "LAPTOP-6V17VGK6"
PID    : 276
I/O    : uncollated
Case   : /home/francois/OpenFOAM/francois-7/run/combEngineFoam2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create engine time

Selecting engine type crankConRod
Create mesh for time = -152

Selecting engineMesh layered

Cannot find file "points" in directory "polyMesh" in times "-152" down to constant

    From function virtual Foam::IOobject Foam::fileOperation::findInstance(const Foam::IOobject&, Foam::scalar, const Foam::word&) const
    in file global/fileOperations/fileOperation/fileOperation.C at line 871.

FOAM exiting
The exact same error message is returned when I try your second code line.
It seams that some variables are only available with the solver,meaning that only run-time data processing is possible. However, my simulations are quite time consuming so I would appreciate not to do that.

I am relatively new to OpenFOAM (and in C++ for that matter), have you found a way to use Qdot without doing it during run-time ?

If not, could you quickly explain how to do it in run-time data processing using "#includeFunc" ?

Any help is welcomed,
Thanks in advance,

François VdP.
F_vdp is offline   Reply With Quote

Old   May 20, 2020, 18:20
Senior Member
HPE's Avatar
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 817
Rep Power: 9
HPE is on a distinguished road

- The error message suggests that you don't have a `points` file which is a part of the mesh definition.
- I have never seen negative time, in your case it seems to be `-152`. Is there any reason? Or is it just some user defined angle (like for engines)?
- Could you please check if `Qdot` is a part of `postProcess` by executing `postProcess -list`? (You don't need to run the FO during the process, but after your simulation, in principle).
HPE is offline   Reply With Quote


combustion, postprocess, qdot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
postProcess calculate Tdeg jonfah OpenFOAM Post-Processing 2 November 1, 2018 06:07
postprocess: symbol lookup error BenAsbo626 OpenFOAM Post-Processing 2 October 26, 2018 13:28
[ddtExtended] Extended objectFunction for postProcess application Tobi OpenFOAM Community Contributions 2 January 21, 2018 14:25
postProcess functionality in openFOAM 4 bullmut OpenFOAM Post-Processing 23 July 21, 2017 09:11
postProcess Utility: icoFoam -noFunctionObjects Why?How? TeresaT OpenFOAM Post-Processing 7 November 14, 2016 17:10

All times are GMT -4. The time now is 23:36.