Skip to content
  • Andrew Heather's avatar
    ENH: Pressure function object - added optional inclusion of hydrostatic pressure · 186b0350
    Andrew Heather authored
    Example - create p-rgh from p:
    
        pressure-p-rgh
        {
            type            pressure;
            libs            (fieldFunctionObjects);
            writeControl    writeTime;
            mode            static;
            rho             rhoInf;
            rhoInf          1;
            hydrostaticMode subtract;
            g               (0 -9.81 0);
            hRef            0;
        }
    
    - the hydrostaticMode entry is optional - setting is shown during construction
    - g and/or hRef values are retrieved from the database if not specified
    186b0350