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 2015-08-05 20:57:48

sajjad
User
Registered: 2014-10-01
Posts: 101

max[depth] file demands output_time_step

Hi,
city
I wanted to only write max[depth] and max[velocity] files, so I inserted the following special output block
SPECIAL_OUTPUT {
                format             = ascii
                type               = element_centered
                values             = (max[depth] max[velocity] )
                //output_time_step   = 4000
                threshold_wse      = -1000000
                ids_instead_coords = yes
            }
but it did not work and the basement demanded 'output-time_step' . I think that such a requirement for max values is counter intuitive because such files are written for the entire simulation once so why should one supply the output time, then?. If it is argued that it is the time period after which the max values are written to the file and is hence necessary, then it is also problematic e.g. if i have a simulation length of 10000 s and output time step of 4000 s then max file will contain values upto 8000s and not 10000 s so that the user is liable to mistake it for the entire duration of simulation. In my opinion, this point needs clarification (pl. correct me if i am wrong). regards

Offline

#2 2015-08-06 08:19:35

Lukas Vonwiller
Developer
Registered: 2014-09-04
Posts: 127

Re: max[depth] file demands output_time_step

Hi sajjad

In your case, with only maximum values, you have a point and the demanded 'output_time_step' is not used.
The max values are the maximum values over the whole simulation time.

The parser (GUI) is used to declare some tags as mandatory.
In this case 'output_time_step' is mandatory, because it is used in most cases.
For example, you could have something like this too:
values = (max[depth] max[velocity] , wse, tau)

Maybe we could clarify this with one sentence in the description of the tag.

Hope this helps!
cheers, lukas

Offline

#3 2015-08-06 14:04:11

sajjad
User
Registered: 2014-10-01
Posts: 101

Re: max[depth] file demands output_time_step

Hi,

thanks for your reply. In fact, to make simulation work, I gave an output time. However, the simulation completed the full duration and at the very end reported " a fatal error. The Basement could not write ProjectName_els_track.dat file". I am using v.2.3. Apparently, if we just write max files, that does not work out. The fatal error message is  not part of the log.

Regards

Offline

#4 2015-08-06 15:46:24

Lukas Vonwiller
Developer
Registered: 2014-09-04
Posts: 127

Re: max[depth] file demands output_time_step

Hi sajjad,

I can not reproduce your error with Version 2.5.1. Therefore, I recommend you to upgrade to the current version.

Best regards
Lukas

Offline

Board footer

Powered by FluxBB