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
Topic closed
I am using BASEMESH with QGIS to construct a finite-element grid for
use with the ocean wave model SWAN (SWAN can use the triangle
output files to make an unstructured grid).
Is there a way of generating the mesh such that the element area
is a simple function of the water depth ?
See for example, the two plots in the middle of the page at
http://swanmodel.sourceforge.net/unswan/unswan.htm
Regards,
Jim
Offline
Hi,
You can try to increase the number of vertices at the border coast. This means that you line must have more vertices at this border. This will automatically increase the mesh definition.
Cheers.
Offline
this cannot be done automatically within BASEmesh.
But you can manually add region points that define the maximum element size (see Quality meshing in BASEmesh):
- define regions that are enclosed by breaklines e.g. region with water depth larger than 20m.
- put a point inside that region with a field containing the maximum element area within that region (you can choose this value freely, e.g. your function with argument 20)
your result should then look quite similar to the plots you posted.
have fun, cheers
Offline
Pages: 1
Topic closed