Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: growth edge ratio not applied on outline

growth edge ratio not applied on outline 10 years 6 months ago #12822

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi Martin,

to create very large meshes I use a lot of polygons to mark different density of mesh in different areas. This works very well and with the edge growth ratio I can control the transition between two different densities. However I noticed that this edge growth ratio is not applied on the outline, leaving me a very bad local meshing result. I also noticed it is in the tutorial as well but since there the difference between the two densities is not so big, this problem is small.
1. Is there a good way to work around this problem?
2. Is this something that you might consider improving in a next release?

I added a figure as an example

Kind regards,
Sven
Attachments:
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 6 months ago #12823

  • riadh
  • riadh's Avatar
Hello Sven

did you use the "resample outline" option before launcing the mesh generation?
This works pretty well for my applications. To be verified (with Martin)!

Cheers
Riadh ATA
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 6 months ago #12824

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi Riadh,

yes I use this option, but I think it works before the edge growth ratio is taken into account, because BK resamples the outline strictly in the density that is given for that location. There is no transition on the outline between two neighbouring different densities.

Sven
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 6 months ago #12825

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Sven
You're right, the resampling is only managed by the density and it doesn't take in account the edge growth ratio.
One possibility I usually use to solve such problem is to build a larger area and triangulate it. Then I build a first mesh with my criterion and also the hardlines. I extract the edgelength of this mesh and use it as a final criterion of density.
With this method, the resample of outline is consistent with your criterion and also with the edge growth ratio

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Svensmolders

growth edge ratio not applied on outline 10 years 6 months ago #12826

  • riadh
  • riadh's Avatar
Hello Sven

In that case, you need to resample your outlines (or boundary) with a delta less our equal to your internal density.
I guess that this will not ensure automatically a nice transition from elements on the boundary to the internal ones, however, it could improve the mesh quality.
Meanwhile, it is better that the growth ratio needs to be applied for boundary as well, as you have proposed.

Riadh
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 6 months ago #12827

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Riadh and Christophe,

thanks for the quick replies. Christophe, I will try your solution. It will work I'm sure, but it will be labour intensive :-) as I have like 50 density polygons.
I'm making a new 3D model for the Scheldt estuary that will be coupled with Delwaq and I hope Sisyphe. I'm looking forward to present it at the TUC in Grenoble!

Thanks,
Sven
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 6 months ago #12828

  • Serrer
  • Serrer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 720
  • Thank you received: 304
Hi Sven,

Unfortunately, as previously posted, this is a current limitation of the mesher. I had hoped to finish implementing this functionality but it seems like there is always something else to do.

Anway, Christophes suggestion is what I would recommend at this point and is indeed what we often do here.

The other approach I like is to use is to develop the mesh in 2 stages.

1. Supply the density as a pointSet and enable the "Resample Lines Only" option. (local densities are interpolated from the pointSet(s) using inverse distance weighting so you have nice smooth transitions)

2. Then use the resulting "Resampled Outline" (and "Resampled Softlines" if applicable) as a fixed outline (turn off "Resample Outline") and "hardLines" for the final mesh.

Hope this helps... Martin
The administrator has disabled public write access.
The following user(s) said Thank You: Svensmolders

growth edge ratio not applied on outline 10 years 6 months ago #12829

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi Martin,

it's good to hear that at least this is an issue to be implemented somewhere in the future. It will only make Blue Kenue more awesome!

For now I can really try your suggestions. Like the one that Christophe suggested, this one can also really solve my problem.

Thanks a lot

Sven
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 1 month ago #14529

  • ritta
  • ritta's Avatar
Hi ;
Thank you for all of your suggestions
I tried all of them to solve this problem ,
I Used to resample the outline with an equal delta of my internal density then, I generated a new mesh .
But I found that the anomaly of the mesh still exists and there is a deformation of the outline which takes the same shape like the anomali of the mesh like this:

mesh_BK.jpg


please there is any recommandation ?

cheers Ritta
The administrator has disabled public write access.

growth edge ratio not applied on outline 10 years 1 month ago #14530

  • Svensmolders
  • Svensmolders's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 105
  • Thank you received: 20
Hi Ritta,

what you can try is to draw a polygon outside your outline and use this as a new outline to generate a bigger mesh, but with the same density as you want in your first mesh.
Then you add the new bigger mesh to a mesh generator as density map and add your first outline as outline. Then you resample outline and resample lines only. This mesh generator will then only resample your outline.
You can then replace the bigger outline in your first mesh generator with this resampled one and then make sure you don't resample only anymore.

Hope this is a little clear to you if not let me know and I try to explain more elaborate.

Sven
The administrator has disabled public write access.
The following user(s) said Thank You: ritta
  • Page:
  • 1
  • 2
Moderators: Serrer, a.barton

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.