|
[Sponsors] |
August 7, 2017, 16:31 |
Sector of a Cylinder
|
#1 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Hello everybody,
Can any one tell me how to draw and mesh a 30 degree sector of a cylinder in gambit, that has the best meshing quality for CFD simulations? Thanks in advance |
|
August 8, 2017, 02:10 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
At least follow one tutorial:
https://www.sharcnet.ca/Software/Gam...guide/tg01.htm
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 8, 2017, 05:55 |
|
#3 | |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Quote:
But I don't want to create a full cylinder geometry, I want to create a 30 degree sector of a cylinder and my problem is with its' corner mesh. Actually, I don't know what is the best way to mesh the corner. Oh, how can I attach my images in the topics?! |
||
August 8, 2017, 05:59 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
if you do the tutorials, you will understand how to split geometries.
Then you need to split your cylinder. You can attach pictures by clicking to "Go Advanced", you will have more options
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 8, 2017, 06:09 |
|
#5 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
||
August 8, 2017, 06:11 |
|
#6 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
CylinderSector2.jpg
CylinderSector1.jpg Finally, I could attach my pics Please take a look at these photos |
|
August 8, 2017, 06:13 |
|
#7 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
*Again if you do the tutorials you will understand how it works: in your case, create your cylider, create one plane, create another plane with your angle.
Split your volume with both planes. That's it *You have the attachment icon, next to the smiley
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 8, 2017, 06:25 |
|
#8 | |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Quote:
As I understand, you mean I create a full cylinder and use an O grid mesh for it, then split it with two planes with an angle of 30 degrees between them. Am I right? which tutorials can help me through this? |
||
August 8, 2017, 06:32 |
|
#9 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
what you did is also ok.
You just need to recreate the volume, because, you only have one surface, and the edges. But because you already started with the decomposition for your mesh, you will have some work for recreating all the volumes. That's why I would recommend to start from volume, and then split
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 8, 2017, 07:27 |
|
#10 | |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Quote:
mesh.jpg |
||
August 8, 2017, 07:42 |
|
#11 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
No,
Split first, then Mesh (If you split a volume which is already meshed, the mesh will be deleted)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 8, 2017, 14:26 |
|
#12 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
||
August 13, 2017, 05:01 |
|
#13 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Prob1.jpg
Prob2.jpgHello Maxime, I have created a sector of a cylinder and meshed it. Now, when I am defining boundary conditions it says there are errors especially when I export the mesh for fluent it says it hadn't written the boundary for axis! Also, I want this mesh for openfoam and I don't know how to define openfoam boundary conditions in Gambit! I am attaching the type of error I receive when exporting the mesh! Last edited by omid20110; August 13, 2017 at 08:22. |
|
August 14, 2017, 01:58 |
|
#14 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Check if the edge defining your axis belongs to a surface.
For that just try to pick et delete the edge. If you are able to delete it, then your edge isn't connected to any surface, which mean you have another edge at the same place, and you picked the wrong one. In 3d you don't need any axis Boundary, since the "rotation" will be defined with the periodic BC. Finally for importing Gambit Mesh into OpenFOAM you don't need anything special from Gambit. Just use Fluen3DMeshToFoam
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 14, 2017, 07:53 |
|
#15 | |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
Quote:
As you can see in the photos the AXIS edge is being referenced by the two front and back faces. You mean that in 3d cases I don't need to define any axis boundary? In openfoam I will use cyclic boundary condition for front and back faces and wall boundary condition for the other faces and an axis edge boundary condition, by the do I need axis for this geometry or not? |
||
August 14, 2017, 07:57 |
|
#16 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
in 3d, you don't need any axis BC (also in OF)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 14, 2017, 08:07 |
|
#17 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
||
August 14, 2017, 08:08 |
|
#18 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
which tutorials?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 14, 2017, 08:18 |
|
#19 |
Member
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11 |
||
August 14, 2017, 08:24 |
|
#20 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
you only need axis, if you work with 2d axi-symetrics model.
I can check your model if you insist
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
Tags |
cylinder mesh, gambit, gambit 2.4.6, sector of a cylinder |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow past a 2D cylinder - High Re (1E+05) - Cd too high | Pervispasco | OpenFOAM Running, Solving & CFD | 4 | March 14, 2022 03:19 |
Drag force coefficient too high for a flow past a cylinder using komega sst | Scabbard | OpenFOAM Running, Solving & CFD | 37 | March 21, 2016 17:16 |
Forces Acting on a Rotating Cylinder (Moving Mesh) | dreamchaser | CFX | 5 | April 25, 2015 07:01 |
Incorrect Drag and Drag Coefficient for flow over a cylinder | ozzythewise | Main CFD Forum | 8 | June 13, 2012 07:24 |
[blockMesh] Specifying boundary faces failes in blockMesh | blaise | OpenFOAM Meshing & Mesh Conversion | 0 | May 10, 2010 04:56 |