mesh_size

More
3 years 2 months ago #3933 by shasha
mesh_size was created by shasha
Hi, everyone!
I want to ask how to know the size of the mesh refined by the center of gravity.

Thank you in advance!
shasha

######################
geo = SplineGeometry()
geo.AddRectangle( (0, 0), (1, 1), bcs = ("wall", "outlet", "wall", "inlet"))
mesh1 = Mesh( geo.GenerateMesh(maxh=0.1))
mesh = Mesh(BarycentricRefinement(mesh1))
More
3 years 2 months ago #3934 by hvwahl
Replied by hvwahl on topic mesh_size
Hi sasha,

the answer will depend on how you define the mesh size. What "size" exactly are you interested in?

Since barycentric mesh refinement does not split any edges from the original mesh, the longest edge length in the refined mesh will be the same. In my opinion, the original mesh size remains a reasonable scale to describe the mesh size with.

Best wishes,
Henry
The following user(s) said Thank You: shasha
More
3 years 2 months ago #3937 by shasha
Replied by shasha on topic mesh_size
Thank you for your reply!I understand it now!
Time to create page: 0.096 seconds