init

    Set initial pressure and temperature at all nodes.

    Note

    Required if macro pres not used.

    Group 1 - PEIN, TIN, TIN1, GRAD1, DEPTH, TIN2, GRAD2, QUAD

    Note that the macro pres may overwrite some of the values that are set by macro init.

    Input Variable Format Description
    PEIN real Initial value of pressure (MPa). If initial values are read from the read file (iread), then this value is ignored. If gravity is present, this is the value of the pressure at node 1, and the other nodal pressures are adjusted by applying the hydraulic head. Absolute pressures are used. Pressure as a function of depth is calculated with TIN < 0.
    TIN real Initial value of temperature (oC). If TIN ≤ 0, then the initial temperatures are calculated using the temperature gradient formulas given below.
    TIN1 real Defined in formulas below (oC)
    GRAD1 real Defined in formulas below (oC/m)
    DEPTH real Defined in formulas below (m)
    TIN2 real Defined in formulas below (oC)
    GRAD2 real Defined in formulas below (oC/m)
    QUAD real Defined in formulas below (oC/m2)

    \(T = TIN1 + GRAD1 \times Z, 0 \le Z \le DEPTH\)

    \(T = TIN2 + GRAD2 \times Z + QUAD \times Z^2, Z \gt DEPTH\)

    The following are examples of init. In the first example, the initial pressure is 3.6 MPa and the initial temperature is 240 C over the entire range of depth for the model.

    init              
    3.6 0.0
    0.0 0.0

    In the second example, the initial pressure is 5.0 MPa and the initial temperature field is defined using a surface temperature of 20 C and linear gradient of 0.3 C/m for depths ranging from 0 - 2500 m.

    init              
    5.0 0.0
    00.3
    0.3

    © Copyright 2018, Los Alamos National Laboratory