Hi,
May I ask you to have a look at this very useful BlueKenue tutorial at this post:
#6481
Paragraph 5.1 describes creating variable density meshes.
What I usually do in my meshes is that I depend the density of the mesh on the water depth, so that the greater the depth, the greater the element area. To do this, I create a base uniform mesh of my area, assign bathymetry to the mesh
and then I use the calculator tool on the mesh (Tools->Calculator) with an expression to transform depths to element size. Assign the bathymetry variable to "A" and use an expression like this:
-1*A+1
That multiplies bathymetries to make them positive (because element size is positive) and then add or subtract a number (this case 1) depending on how fine or coarse mesh is desired. This is a simple linear expression that works fine if you don't have positive elevations, but even then you can work it out.
The final step is to create a new mesh, adding the mesh created by the calculator as a density object in your mesher. The new mesh will have smooth element sizing depending on the depth.
It may look confusing but if you get your way around Blue Kenue, it will be a straight forward process.
Regards,
Costas