How to Cluster Lines in an Elliptic Mesh Generator Using Matlab?

  • Context: Graduate 
  • Thread starter Thread starter Clausius2
  • Start date Start date
  • Tags Tags
    Mesh
Click For Summary
SUMMARY

This discussion focuses on the challenges of clustering lines in an elliptic mesh generator using Matlab. The user is attempting to cluster iso-eta lines around a constant eta_o using a specific forcing function: Q=a*sign(eta-etao)*exp(-b*abs(eta-etao)). Despite efforts, the method diverges, indicating issues with the clustering approach. Key advice includes reviewing the algorithm and parameters, as well as seeking guidance from experienced individuals in mesh generation.

PREREQUISITES
  • Understanding of elliptic mesh generation in Matlab
  • Familiarity with solving coupled Laplace equations
  • Knowledge of clustering techniques in numerical methods
  • Experience with mesh quality assessment and parameter selection
NEXT STEPS
  • Research advanced techniques for clustering in mesh generation
  • Explore Matlab's built-in functions for mesh refinement
  • Learn about the impact of mesh quality on numerical stability
  • Consult online forums dedicated to computational fluid dynamics and mesh generation
USEFUL FOR

This discussion is beneficial for researchers, engineers, and developers involved in computational modeling, particularly those working on mesh generation and numerical simulations in Matlab.

Clausius2
Science Advisor
Gold Member
Messages
1,433
Reaction score
7
AN ADVICE: "If you are not familiarized with mesh generation, don't keep on reading, you will not understand nothing and I will not make you to waste your time."

Sorry if it is not the appropiate forum for posting my problem.

I'm currently programming an elliptic mesh generator in Matlab. If someone knows about it, you have to solve a two coupled Laplace equations. I have not any problems to solve it.

The difficulties arrive when I have to cluster the lines to the internal boundary. See the drawing below:

-|---|--|---|------------ iso-eta line

-|---|--|---|------------

-|---|--|---|------------- iso-eta line
-|---|--|---|------------- iso-eta line
-|---|--|---|--------------
| | | |
iso -xi lines

As you (roughly) can see the transverse lines are iso-eta lines, and the vertical ones are iso-xi lines.

I want to cluster iso-eta lines around one named eta_o=constant.

I have proved with the next forcing function:

Q=a*sign(eta-etao)*exp(-b*abs(eta-etao))

but nothing happens, or simply the method diverges.

I will appreciate some advice, or some warning about the forcing function used. I have not had success in clustering near the internal boundary.

Any comment or web-link will be appreciated. Thanks.
 
Physics news on Phys.org


First off, I want to applaud your efforts in programming an elliptic mesh generator in Matlab. It sounds like a challenging project and I'm sure you have put a lot of time and effort into it.

As for your troubles with clustering the lines to the internal boundary, it seems like you are on the right track with using a forcing function. However, it's important to note that the success of the clustering method also depends on the quality of the mesh and the choice of parameters.

My advice would be to thoroughly review the algorithm and parameters you are using for clustering. It might also be helpful to consult with someone who has experience in mesh generation or to do some additional research on the topic.

Additionally, I would suggest reaching out to online forums or communities dedicated to mesh generation and seeking advice from experts in the field. They may be able to provide more specific guidance or point you towards helpful resources.

Remember, it's always okay to ask for help when facing difficulties, especially in a complex task like mesh generation. Don't give up and keep exploring different approaches until you find a solution that works for you. Good luck!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K