Step-54 Initial mesh

53 views
Skip to first unread message

Tim Braun

unread,
Aug 14, 2024, 9:15:59 AM8/14/24
to deal.II User Group
Hello,
Forgive me if I missed something obvious.I'm having trouble understanding the function of the initial mesh file and how to create one that is suitable for a custom NURBS geometry. It looks like the mesh file in the Step-54 tutorial contains two facets that are very small compared to the iges geometry and the latter is also translated a few meters away from the origin (perhaps the original geometry had the stern of the ship at 0).

So could one just use the same initial mesh file for all other surfaces? Or what information is extracted from this file and used in subsequent triangulation steps?

Best regards to everyone,
Tim

Timothy Braun

unread,
Aug 14, 2024, 11:22:18 AM8/14/24
to dea...@googlegroups.com
It's now too late to edit my question, but I already realized that the size and location difference between the geometry and mesh is because I didn't scale the geometry by 0.001 as is done in the tutorial. And I know you can generate an initial mesh from gmsh or another tool.

My final questions are still open regarding the what to consider in order to generate a "good" initial mesh element file.


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/bt1cerD0UMg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/cc4abb12-4d2b-4f33-844b-68df1fb28aa2n%40googlegroups.com.

Wolfgang Bangerth

unread,
Aug 18, 2024, 7:58:19 PM8/18/24
to dea...@googlegroups.com

Tim:
I'm not sure I understand your question, but in short: A mesh is a good
initial mesh for a curved geometry if it adequately resolves the curvature of
the surface you want to mesh. For example, if the surface oscillates with a
vertical deformation like
sin(2*pi*x/lambda)
then you can't expect that a mesh with mesh size h=lambda is good because it
does not approximate the surface at all. You will need h=lambda/4 or smaller.

Best
W.

On 8/14/24 09:22, Timothy Braun wrote:
> *** Caution: EXTERNAL Sender ***
> <https://groups.google.com/d/topic/dealii/bt1cerD0UMg/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to
> dealii+un...@googlegroups.com
> <mailto:dealii+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/cc4abb12-4d2b-4f33-844b-68df1fb28aa2n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/cc4abb12-4d2b-4f33-844b-68df1fb28aa2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> The deal.II project is located at http://www.dealii.org/
> <http://www.dealii.org/>
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> <https://groups.google.com/d/forum/dealii?hl=en>
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+un...@googlegroups.com
> <mailto:dealii+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CAFbPxOG-2dqoWFUWyc%3DOCjopQCTGDV1KUJTGsgh9k%2BQ9Avpguw%40mail.gmail.com <https://groups.google.com/d/msgid/dealii/CAFbPxOG-2dqoWFUWyc%3DOCjopQCTGDV1KUJTGsgh9k%2BQ9Avpguw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/


Reply all
Reply to author
Forward
0 new messages