Giter Site home page Giter Site logo

Comments (3)

krober10nd avatar krober10nd commented on June 26, 2024

Adjust the gradation rate to a lower value, such as 0.05 or 0.075, and/or constrain the minimum mesh element size according to depth. For syntax guidance on depth-based bounding, refer to the Galveston Bay example.

from oceanmesh2d.

aribal2018 avatar aribal2018 commented on June 26, 2024

Hi Keith,

Happy New Year.

I looked at the example but I still could not get the mesh that I am expecting.
I tried:
fh = edgefx('geodata',gdat,'dis',0.3,'fs',3,'max_el_ns',200,'max_el',100,'g',0.1);

This actually violate the value of the grade which is supposed to be between 0.2 and 0.3. The mesh is slightly improved but the transition is still very high.

image

About nine years ago, I created a mesh using SMS and the transition is very good. I hope I can use OceanMesh2D to get a similar results.

mesh

As can be seen from this mesh, the mesh transition location change is quite far from the island. Hence, the transition from coarser mesh to the finer mesh is quite smooth.

I do hope, I can get a similar results using OceanMesh2D as this method is quite convenient to use.

from oceanmesh2d.

krober10nd avatar krober10nd commented on June 26, 2024

You can change the g parameter to any value you want to achieve any level of mesh smoothness. In the code snippet, you've selected a value of 0.1 for g and saying it should be between 0.2 & 0.3? Please explore the values.

from oceanmesh2d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.