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

Unknown function type pressureTools

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2018, 16:06
Default
  #21
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Sorry for late reply, yet possible options are described in $FOAM_SRC/OpenFOAM/db/functionObjects/functionObject/functionObject.H:

Code:
    Time controls:
    \table
        Option            | Description
        timeStep          | Execute/write every 'Interval' time-steps
        writeTime         | Execute/write every 'Interval' output times
        adjustableRunTime | Execute/write every 'Interval' run time period
        runTime           | Execute/write every 'Interval' run time period
        clockTime         | Execute/write every 'Interval' clock time period
        cpuTime           | Execute/write every 'Interval' CPU time period
        none              | Execute/write every time-step
    \endtable
JasonG likes this.
alexeym is offline   Reply With Quote

Old   May 25, 2021, 04:54
Default Entry 'type' not found in dictionary "IOstream.functions.pressure"
  #22
Member
 
Join Date: Apr 2021
Posts: 41
Rep Power: 5
AlxB is on a distinguished road
Hello,

I try to use the 'pressure' function described here:
https://www.openfoam.com/documentati...-pressure.html

and used in the $FOAM_TUTORIALS/incompressible/pisoFoam/RAS/cavity
https://develop.openfoam.com/develop...oam/RAS/cavity

Unfortunately I can't move on as I get the following error:

Code:
[0] --> FOAM FATAL IO ERROR: (openfoam-2012)
[0] Entry 'type' not found in dictionary "/home/.../OpenFOAM/.../run/case/system/controlDict.functions.pressure"
Here is the pressure file:
Code:
pressure1
{
    // Mandatory entries
    type            pressure;
    libs            (fieldFunctionObjects);
    mode            static;
}
Please may I have your comments about what could be wrong ?

Thank you
AlxB is offline   Reply With Quote

Old   May 25, 2021, 04:59
Default
  #23
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
@AlxB

Hi,

It would be easier to diagnose the problem if you post controlDict also.

Now it looks like you have forgotten semicolon somewhere (to type key is eaten by parser).
alexeym is offline   Reply With Quote

Old   May 25, 2021, 10:24
Default
  #24
Member
 
Join Date: Apr 2021
Posts: 41
Rep Power: 5
AlxB is on a distinguished road
thanks alexeym,

you were right. my mistake was in the controlDict.
AlxB 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
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 17, 2020 00:26
Inlet patch problems martyn88 OpenFOAM Running, Solving & CFD 6 April 21, 2017 19:34
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 06:59
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


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