nmartin198 / MOD_FreeSurf2D

MOD_FreeSurf2D is a computer program to solve the depth-averaged, shallow water equations in general situations.
GNU Affero General Public License v3.0
5 stars 1 forks source link

About the mesh in this project #1

Closed canhongluori closed 3 years ago

canhongluori commented 3 years ago

Hello sir, Does this model use structured mesh or unstructured mesh?

nmartin198 commented 3 years ago

A structured mesh is used. It is a regular mesh in that different DX an DY dimensions can be used but there is one DX and one DY for the entire domain.

canhongluori commented 3 years ago

Hello sir, I have read the paper about the MOD_FreeSurf2D,this model use quad and structured mesh,what should I do If I want to add function about use triangle mesh and unstructured mesh?

nmartin198 commented 3 years ago

Hello canhongluori,

The MOD_FreeSurf2D uses the TRIM algorithms developed by Dr. Casulli. There are several related papers and works that provide methods of using unstructured meshes with these algorithms. I have listed a couple of papers below. It should be feasible to convert the code to use unstructured meshes and I think it would be great if you wanted to try it.

Also there is a more advanced 3D code for coastal dynamics that was originally built on the same TRIM algorithms that uses unstructured meshes. This code is called SUNTANS and you can access the source code at:

https://github.com/ofringer/suntans

I hope this might be helpful. And, I wish you all the best in whatever approaches that you might want to try.

Best Regards,

Nick

On Fri, May 28, 2021 at 3:17 AM canhongluori @.***> wrote:

Hello sir, I have read the paper about the MOD_FreeSurf2D,this model use quad and structured mesh,what should I do If I want to add function about use triangle mesh and unstructured mesh?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nmartin198/MOD_FreeSurf2D/issues/1#issuecomment-850277767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLYZ2BKGZCMJJJ3367MWO3TP5NSJANCNFSM43RCMXSA .

canhongluori commented 3 years ago

OK, thank you Professioner