CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Pointwise & Gridgen (https://www.cfd-online.com/Forums/pointwise/)
-   -   Axis Symmetric Mesh for OpenFOAM (https://www.cfd-online.com/Forums/pointwise/225401-axis-symmetric-mesh-openfoam.html)

badwalgurpreet March 25, 2020 17:17

Axis Symmetric Mesh for OpenFOAM
 
2 Attachment(s)
Hi Pointwise Experts,

I am working on CFD simulation of axis symmetric problem using OpenFOAM as a solver and Pointwise a s a Meshing tool. I am attaching the geometry here for reference.

I am very new to Pointwise Meshing tool. I am looking for your valuable advice on this geometry to know whether Structured meshing is possible in this case or I should go for unstructured meshing.

(1)I want to make axis symmetric mesh for openfoam.

(2) I tried to make a simple axis symmetric mesh for cylinder using these steps..

* Made rectangle and created the connectors on it.
* Then I Created the dimensions on those four connectors.
* Created structured domain. Then I rotated the entire domain at an angle of 2.5 degrees using Edit - Transform- Rotate.

* I applied Extrude- Rotate command to rotate the entire domain at an angle of 5. degrees to make the Block.

* Applied all the boundary conditions like Wedge boundary conditions to front and back face.
* Exported the mesh using File- Export- CAE.



Can you please advise me how to mesh this type of complex geometry in Pointwise.

Regards
Gurpreet



Attachment 75876

Attachment 75877

badwalgurpreet March 26, 2020 09:44

Can anyone help me ?

badwalgurpreet March 26, 2020 12:52

Pointwise Axisymmetric Mesh
 
1 Attachment(s)
Hi Dear,

I made Axis symmetric mesh of this geometry using Pointwise for OpenFOAM.
When I run the renumberMesh -overwrite utility, it runs without any problem. But the check mesh gives me one error like this *Wedge patch back not planar. Point (5.22212 1.74019 -0.0759782) is not in patch plane by 2.00397e-007 metre.
and I am attaching the picture here for reference. I also attaching the Pointwise Mesh file here.

You can find the fiels from the link below.

https://spaces.hightail.com/space/No2upnuVf7


Regards
Gurpreet
Attachment 75931

dgarlisch March 30, 2020 12:56

The errors reported by checkMesh are very small (~2e-7). These kinds of small deviations can be introduced by Pointwise because of numerical round-off errors during the generation of the domain points.

To fix, try this:
  • Create the un-extruded, symmetry domain.
  • Create a database plane entity in the same plane as the domain. Menu Create, Plane.
  • Project the domain's boundary AND interior points to this plane (this will constrain the domain and connectors to this plane). Menu Edit, Project.
  • Extrude-rotate this constrained domain.

Constraining the original domain and connectors to the plane will force all the points to be "highly planar" and should make OpenFOAM checkMesh happy.

To verify the domain constraints, select the domain and use Menu Examine, Database Associativity...

tanmay singhal April 25, 2020 09:57

Quote:

Originally Posted by badwalgurpreet (Post 762887)
Hi Pointwise Experts,

I am working on CFD simulation of axis symmetric problem using OpenFOAM as a solver and Pointwise a s a Meshing tool. I am attaching the geometry here for reference.

I am very new to Pointwise Meshing tool. I am looking for your valuable advice on this geometry to know whether Structured meshing is possible in this case or I should go for unstructured meshing.

(1)I want to make axis symmetric mesh for openfoam.

(2) I tried to make a simple axis symmetric mesh for cylinder using these steps..

* Made rectangle and created the connectors on it.
* Then I Created the dimensions on those four connectors.
* Created structured domain. Then I rotated the entire domain at an angle of 2.5 degrees using Edit - Transform- Rotate.

* I applied Extrude- Rotate command to rotate the entire domain at an angle of 5. degrees to make the Block.

* Applied all the boundary conditions like Wedge boundary conditions to front and back face.
* Exported the mesh using File- Export- CAE.



Can you please advise me how to mesh this type of complex geometry in Pointwise.

Regards
Gurpreet



Attachment 75876

Attachment 75877

gurpreet,




did you use 2d or 3d option in Pointwise to generate the mesh for axisymmetric case?

badwalgurpreet April 26, 2020 22:10

Hi Dear,

I used 3d option .

Deniz58 August 12, 2023 11:09

Quote:

Originally Posted by dgarlisch (Post 763583)
The errors reported by checkMesh are very small (~2e-7). These kinds of small deviations can be introduced by Pointwise because of numerical round-off errors during the generation of the domain points.

To fix, try this:
  • Create the un-extruded, symmetry domain.
  • Create a database plane entity in the same plane as the domain. Menu Create, Plane.
  • Project the domain's boundary AND interior points to this plane (this will constrain the domain and connectors to this plane). Menu Edit, Project.
  • Extrude-rotate this constrained domain.

Constraining the original domain and connectors to the plane will force all the points to be "highly planar" and should make OpenFOAM checkMesh happy.

To verify the domain constraints, select the domain and use Menu Examine, Database Associativity...

Hello Mr.Garlisch,

I did exactly what you said, but the error still persists. When I project onto the plane, the color of the errors turns purple. However, when I rotate, the color remains green after rotation. What could be the reason for this? I'm still getting the same error (*Wedge patch back not planar. exactly same as the above) using OpenFOAM.

Best regards

EDIT: I managed to solve the problem in a completely different way. Currently, openFOAM is not giving any errors. Still, thank you :D


All times are GMT -4. The time now is 13:59.