Jump to content
MartinM711

Export of 2D Mesh to CGNS-file

Recommended Posts

Hello Guys,

 

I have the following questions:

 

- I just made a 2d Mesh and would like to export the mesh data for an external solver. This solver accepts CGNS-Mesh files. Is it possible to create a CGNS-file via Hypermesh Export?

 

- Is it possible to create a structured 2D Mesh in HyperMesh with quads in which the quads take their orientation from geometry (e.g. lines or curves) so that the Mesh is really clean and structured?

 

Thank you very much in advance!

 

Regards

Share this post


Link to post
Share on other sites

Thank you for your answer!

 

When selecting CFD I am only able to select AcuSolve/ Nastran (Acusolve). Perhaps the reason for this is that I am using the Student version?

 

 

Share this post


Link to post
Share on other sites

After I tried to export my 2D CFD Mesh as CGNS (Unstructured) in HM, I am asking myself if HyperMesh is NOT able to export 2D CGNS-Mesh. Therefore I would really like to know if there is a solution for my problem:

 

My 2D mesh is for example looking like this:

image.png.885eeb93bd42eb00a8fa6bad8c37e9c0.png

Before exporting this Mesh, I wanted to set up Boundary Conditions (inlet, wall, outlet for example) and did it with:

  • Selecting Quad elements at the border and organize them to each according component (inlet -->inlet, ...)
  • ==>problems occured: "Problem found in closedness of external boundary" and after that HM created an ^edges component with line elements on Border. When reading the CGNS file after export, the external solver says "no internal elements found" but "e.g. 4700 boundary elements found". These 4700 elements, however, are the elements inside the defined boundary

 

  • Therefore I tried another method: I organized the line elements of the created ^edges component to my different boundary components (inlet, outlet, ...) and defined the quad elements in the inside as normal FLUID
  • ==>after trying to export this mesh (all elements visible) via CGNS, it says:

image.png.c5b24199e429492150dd3dd6279ab313.png

  • ==>The 246 elements that are not allowed are the line elements at border from the ^edges component:

image.png.f419fd8901778974b9dab070056065cf.png

 

Now I am asking myself If HyperMesh can deal with a 2D Mesh export to CGNS with Boundary Information for the 2D Mesh... I am assuming that HyperMesh only wants to export 3D CGNS mesh (because there are always information windows like: "no volume elements found" etc.)

 

Do you have any Idea?

 

 

Thank you so much in advance!

Regards

Share this post


Link to post
Share on other sites

Yes, I really tried to give BCs to the 2D Mesh like that:

Zwischenablage02.thumb.jpg.f8925490ad6bfb0a4dca382236c789f2.jpg

 

However, during export (as described in my post before) it says "free edges found" and when I continue the export and let the CGNS-Mesh be read by my external solver, the solver describes my inner 2D elements (here: green) as a boundary, but I defined the green elements as Fluid...

 

Therefore I think, that HM can only handle CGNS-Export of Mesh with 2D AND 3D Elements

 

I also tried it with 1D elements for the cylinder surface and the farfield (boundary outside of the 2D mesh --> see my last post): However, HM says that only 2D elements and 3D elements are allowed during CGNS-Export...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...