User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2014-11-05 08:33:20

michelk
Advanced_User
Registered: 2014-09-17
Posts: 33

Logging discharge of SOURCE.EXTERNAL_SOURCE

Sometimes I'm using SOURCE.EXTERNAL_SOURCE with negative discharge.  I think
currently it is not possible to directly log the actual amount diminishing. I
know, I could circumvent this by balancing logged stringdefs above and underneath.

So this is a feature request for logging SOURCE.EXTERNAL_SOURCE directly.

Thanks and greetings,
Michel

Offline

#2 2014-11-28 16:25:09

Christian Volz
User
Registered: 2014-09-04
Posts: 31

Re: Logging discharge of SOURCE.EXTERNAL_SOURCE

Hello Michel,

it should be possible to log the external source discharges since Basement version 2.4. With the  special-output type 'element_history' the added or removed discharges  (sources or sinks) are written to file for each specified element. For example:

            SPECIAL_OUTPUT {
                output_time_step = 10
                type             = element_history
                element_values   = (external_source_discharge)
                element_ids      = (496 294 170 36 509 605 674 726) // all elements of to the EXTERNAL_SOURCE
            }

I think this output should also work for sinks (= negative sources). However, you still have to sum up all the element values at the end.

Regards,
Christian

Offline

#3 2014-12-01 10:34:34

michelk
Advanced_User
Registered: 2014-09-17
Posts: 33

Re: Logging discharge of SOURCE.EXTERNAL_SOURCE

Thanks a lot Christian for the helpful answer.

Offline

Board footer

Powered by FluxBB