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

fieldMinMax is omitting certain fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2023, 07:28
Default fieldMinMax is omitting certain fields
  #1
New Member
 
Join Date: Aug 2020
Posts: 3
Rep Power: 6
javihernandez is on a distinguished road
Hello!


I am trying to track the position of the shock wave in a shock tube front using the rhoReactingCentralFoam solver. One of the fields this solver returns is normalisedGradP which locates the shock wave front.
I added a function of the type fieldMinMax to controlDict as follows:

Code:
libs ("libfieldFunctionObjects.so");

functions
{
    shockWavePosition
    {
    type fieldMinMax;
    libs ("libfieldFunctionObjects.so");
    fields
    (
        normalisedGradP
        p
        U
    );
    mode magnitude;
    writeControl adjustableRunTime;
    writeInterval 1e-6;
    }
}
After the simulation is run, the postProcessing folder contains the information of the maxima and minima for the fields p and U. However, there is no trace of normalisedGradP.
Does anyone have any clue why this might be happening and how to solve it?
Thanks!

Javier.
javihernandez is offline   Reply With Quote

Old   June 7, 2023, 03:15
Default
  #2
Member
 
Vinzenz Götz
Join Date: Mar 2021
Location: Munich, Germany
Posts: 31
Rep Power: 5
Vinzmann is on a distinguished road
Have you solved it yet?

Have you looked in the log of your solver?

Is the fieldMinMax calculated before calculation of normalisedGradP?
Vinzmann is offline   Reply With Quote

Reply

Tags
fieldminmax


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: sampleDict works but creates no output folder shock77 OpenFOAM Post-Processing 14 November 15, 2021 09:27
multiphaseEulerFoam: efficient way of implementing fields for all phases maybee OpenFOAM Programming & Development 0 January 23, 2014 05:16
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 12:25
an odd(at least for me!) reconstructPar error on a field immortality OpenFOAM Running, Solving & CFD 3 June 3, 2013 23:36
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 10:15


All times are GMT -4. The time now is 01:17.