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 2020-12-17 13:21:04

jiang
User
Registered: 2020-09-15
Posts: 12

stringdef_history

Hi everyone,
I just want to know whether BASEMENT can realize such an output about stringdef: stringdef is consist of several nodes, I want to output the wse of the stringdef in one certain time.for example:at t =0.6s,the output file contains two contents:coordinates and corresponding wse?

I know it can be shown with time and correponding value such as Q and so on.can I get one line(stringdef) for its wse in one certain time?

thank you so much

Offline

#2 2020-12-21 12:21:50

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 281

Re: stringdef_history

Hi jiang,

I suggest you to always refer to the basement Input block structure, that you can find under "Help" in the software's GUI.

In the Input block structure, just by searching "stringdef_history" you can find:

"This feature allows an observation of the temporal change of variables over a cross string defined in a STRINGDEF block, e.g. the discharge. It needs a list of STRINGDEFs and a list of variables that shall be observed. The output is written into an ascii file. Per default the data output is buffered (i.e. usually the data is written at the end of the simulation). To write out the data every output step without buffering use the parameter 'flush_all_num_steps'"

So basically you just have to activate the parameter "flush_all_num_steps" and adjust your output time step at the time you need.

I hope this helps.

Offline

#3 2021-01-08 10:16:31

jiang
User
Registered: 2020-09-15
Posts: 12

Re: stringdef_history

Hi, Matteo,

thank you so much for your reply. But I still can not realize the function I wanted,maybe due to my poor English.I activate the paramater 'Flush_all _nums'. For my intention,I want a stringdef output file like this,for example:
T=1.6s
node_ids(or others)  wse
2                 1.0
538              1.5
413              1.6
...                ....
my question is : a stringdef contains many nodes,every node has its own value,but why always one output value?my wanted stringdef is a line that vertical to inflow stringdef. the output can't be one wse? my running result like this:
Times            wsem_asl   
0.6        -0.0017655896
1.6        -0.0018009726
2.6001        -0.0017977173
3.6001        -0.0018106845
4.6001        -0.0018101438
5.6001         -0.001810219
6.6001        -0.0018103778
7.6001        -0.0018103262
is it one wse value? it has many nodes...I can't figure out!
Vielen Dank!

Offline

#4 2021-03-08 09:48:15

Matteo Facchini
Developer
From: Trento
Registered: 2014-09-05
Posts: 281

Re: stringdef_history

Hi jiang,
the value is an average, as reported in the manual!
Best
Matteo

Offline

Board footer

Powered by FluxBB