Transient Source Term

Hey there,
what is the easiest way to define a transient Neumann source term on a polyline in OGS5?
I’d like to use a given time-series for a pumping condition at a well.

Thanks for any suggestions!
Cheers,
Sebastian

Found it out myself. It is quite easy:

model.st.add_block(
    PCS_TYPE='GROUNDWATER_FLOW',
    PRIMARY_VARIABLE='HEAD',
    GEO_TYPE=['POLYLINE', "pwell"],
    DIS_TYPE=['CONSTANT_NEUMANN', 1],  # factor multiplied with the curve
    TIM_TYPE=["CURVE", 1],             # refere to curve 1 in the rfd file
)
model.rfd.add_block(CURVE=zip(times, curve(times)))

(Code from an ogs5py script)

2 Likes

Something related:

1 Like