BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich | ![]() |
You are not logged in.
Pages: 1
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
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
Thanks a lot Christian for the helpful answer.
Offline
Pages: 1