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
Good morning, I read in the Basement v3.0 manual that to create a large mesh I need BASEmesh version 1.44. I currently have installed version 1.4.3 downloaded from the web site: http://people.ee.ethz.ch/~basement/qgis … lugins.xml
On this site the latest version of available is precisely the 1.4.3.
Where can I find the downolad of version 1.4.4?
Thank you
Offline
Hi Gabriele
The release of BASEmesh version 1.44 is planned together with the official release of BASEMENT v3.0 in June/July. You can still create a mesh with version 1.4.3 and adapt the mesh file as described in the Manual in order to use it with BASEMENT v3pre.
Best regards
Matthias
Offline
Hi, following the Manual I've written "NUM_MATERIALS_PER_ELEM 1" after the 1st line of the 2dm file and I've copied the stringdefs (list of nodes) in the last line. When i push "write" the program gives me the following error:
-> unhandled exception (actually, this should never happen)
-> stod
-> ... unfortunately BASEMENT is killed!
The error is refered to this script:
{
"SETUP": {
"DOMAIN": {
"BASEPLANE_2D": {
"GEOMETRY": {
"INTERPOLATION": {
"method": "weighted"
},
"REGIONDEF": [
{
"index": [
1
],
"name": "uno"
},
{
"index": [
2
],
"name": "due"
},
{
"index": [
3
],
"name": "tre"
},
{
"index": [
4
],
"name": "quattro"
},
{
"index": [
5
],
"name": "cinque"
},
{
"index": [
6
],
"name": "sei"
},
{
"index": [
7
],
"name": "sette"
}
],
"STRINGDEF": [
{
"name": "Stringdef_Inflow",
"upstream_direction": "left"
},
{
"name": "Stringdef_Outflow",
"upstream_direction": "left"
}
],
"mesh_file": "/home/gabrielebegnardi/Istia 2D fondo mobile/Tr 2/stato_progetto/6m_progetto_giusto.2dm"
},
"HYDRAULICS": {
"BOUNDARY": {
"STANDARD": [
{
"discharge_file": "/home/gabrielebegnardi/Istia 2D fondo mobile/Tr 2/stato_progetto/inflow_Tr2.txt",
"name": "Inflow",
"slope": 0.006,
"string_name": "Stringdef_Inflow",
"type": "uniform_in"
},
{
"name": "Outflow",
"slope": 0.005,
"string_name": "Stringdef_Outflow",
"type": "uniform_out"
}
]
},
"FRICTION": {
"default_friction": 0.03,
"regions": [
{
"friction": 0.035,
"region_name": "uno"
},
{
"friction": 0.03,
"region_name": "due"
},
{
"friction": 0.03,
"region_name": "tre"
},
{
"friction": 0.05,
"region_name": "quattro"
},
{
"friction": 0.07,
"region_name": "cinque"
},
{
"friction": 0.07,
"region_name": "sei"
},
{
"friction": 0.07,
"region_name": "sette"
}
],
"type": "manning"
},
"INITIAL": {
"file": "/home/gabrielebegnardi/Istia 2D fondo mobile/Tr 2/stato_progetto/6minitial.cgns",
"time": 64800.0,
"type": "continue"
},
"PARAMETER": {
"CFL": 0.95,
"fluid_density": 1000.0,
"max_time_step": 100.0,
"minimum_water_depth": 0.01
}
},
"MORPHOLOGY": {
"BEDLOAD": {
"BOUNDARY": {
"STANDARD": [
{
"boundary_factor": 0.8,
"name": "Inflow_MOR",
"string_name": "Stringdef_Inflow",
"type": "transport_capacity"
},
{
"name": "Outflow_MOR",
"reference_bed_elevation": 11.0,
"string_name": "Stringdef_Outflow",
"type": "equilibrium_out"
}
]
},
"DIRECTION": {
"CURVATURE": {
"factor": 7.0,
"update_time": 0.0
},
"IKEDA": {
"factor": 1.5
}
},
"FORMULA": {
"coefficient": 3.2,
"critical_value": 0.047,
"exponent": 1.6,
"factor": 1.0,
"type": "MPM_like"
}
},
"BEDMATERIAL": {
"FIXED_BED": {
"correction_accuracy": 0.001,
"max_iteration": 50,
"regions": [
{
"region_name": "sei",
"z_rel": -1.0
},
{
"region_name": "sette",
"z_rel": -1.0
}
],
"type": "region_defined"
},
"GRAIN_CLASS": {
"diameters": [
0.063,
3.2,
32.6,
800.0
]
}
},
"INITIAL": {
"type": "mesh"
},
"PARAMETER": {
"morphodynamic_start": 0.0,
"sediment_density": 2650.0,
"sediment_porosity": 0.4
}
}
},
"PHYSICAL_PROPERTIES": {
"gravity": 9.81
}
},
"simulation_name": "Tr2progetto"
}
}
{
"SIMULATION": {
"OUTPUT": [
"bottom_elevation",
"water_surface",
"delta_z",
"flow_velocity",
"friction_chezy",
"ns_hyd_discharge",
"water_depth",
"ns_mor_discharge"
],
"TIME": {
"end": 64800.0,
"out": 720.0,
"start": 2160.0
},
"TIMESTEP": {
"init": 0.02,
"minimum": 0.0001
}
}
}
Offline
Hi Gabriele
Restart simulations of BASEMENT v3pre are not compatible with restart files of BASEMENT version 2.8. Therefore the problem lies in:
"INITIAL": {
"file": "/home/gabrielebegnardi/Istia 2D fondo mobile/Tr 2/stato_progetto/6minitial.cgns",
Offline
I changed "continue" with "dry" in INITIAL tag but it gives me the same error
Offline
Dear Gabriele
Judging from the error message, the problem is related to your mesh file. The mesh file should have the following structure:
MESH2D #created automatically via BASEmesh-Plugin for QGIS
NUM_MATERIALS_PER_ELEM 1
E3T 1 124 114 123 1
.
ND 123 14.3 16.3 123.5
NS 8 12 61 -19 inflow
NS 1 31 32 -10 outflow
Additionally, it looks like you are trying to do a multi-grain simulation, which is not yet available for BASEMENT v3pre.
Best regards,
Matthias
Offline
Pages: 1