CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [GAMBIT] Cylinder with slots meshing (https://www.cfd-online.com/Forums/ansys-meshing/95091-cylinder-slots-meshing.html)

kaushik180587 December 5, 2011 21:07

Cylinder with slots meshing
 
1 Attachment(s)
Hi...I am very new to the gambit software and wish to know how to specify the boundry zones for a cylinder with slots. I am trying the 2d meshing for the same. Kindly help me in understanding the concept because when I am getting an error saying the boundry condition specified is invalid for all the edges.

Thanks

Kaushik

-mAx- December 6, 2011 00:51

what kind of BC are you trying to attach (and where)?

kaushik180587 December 6, 2011 03:01

thanks for your reply max...Actually, i sorted out the boundry condition..I would be grateful if you could advise on the right meshing of the slotted cylinder which is my job. It is subjected to a liquid flow of 10 m/s. How should I divide the rectangular area so that I may get the best possible result regarding the pressure conditions around the cylinder at every slot position.

I am sorry but I am asking you the basics but pls help me as am a beginner in the area. I was also trying the same in 3d with a rectangular prism as my boundry area and a slotted cylinder. So how do I mesh the area to get the best result? I tried first Quad mapping the faces and also the cylindrical slots but I got an error.

Thanks

-mAx- December 6, 2011 03:07

post a picture with your geometry and display how should flow your fluid

kaushik180587 December 6, 2011 03:26

1 Attachment(s)
I am attaching the pic of the 3d drawing i made in gambit with a rectangular prism.

-mAx- December 6, 2011 03:34

ok
For a quick but acceptable mesh, I would apply size function on cylinder-surfaces (choosen as source) >> http://my.fit.edu/itresources/manual...ommands_create

Then go and mesh the volume (no element size is required since it would be driven because of your size function >> max element size)
Choose tet-Hexcore algorithm
You are also free to attach a boundary Layer on your cylinder-surfaces

kaushik180587 December 6, 2011 18:55

thanks max..so should i select the source as 8 cylindrical slots and attachment as the entire cylindrical body volume using proximity type size function. My volume is a single entity consisting of rectangular prism minus the cylindrical part..could you please explain step wise..if i am wrong here..thanks for your time..

kaushik180587 December 6, 2011 21:40

I got an error message " previously meshed edges on one of the faces is unacceptable" . I cant diagnoze the problem

Please help...

-mAx- December 7, 2011 02:23

how many volumes do you have?
Can you post a picture of your domain with shaded modus enabled?

kaushik180587 December 7, 2011 03:31

1 Attachment(s)
I have only 1 volume as shown in the pic

-mAx- December 7, 2011 04:02

Regarding size function: you need to select all surfaces from your cylinder as source, and your volume as attachment.
If you get one error message, check if Gambit gives you any information about edge or surface name.

kaushik180587 December 8, 2011 20:15

Thanks max...it worked...now I would do the next step. Could you tell me how to rotate the slotted cylinder so that I can do a dynamic study?Do we have to change the meshing since mine is static right now?

-mAx- December 12, 2011 01:24

this is now a complete different approach: you need to work with intefaces.
For that you create anoter cylinder (but bigger as your own), and you split your domain with new cylinder.
Now you have 2 volumes: one will be stator, and the other rotor.
To let the rotor rotate independantly from stator, you need to deconnect both together.
Once it is done the only thing you need to define is interfaces. If everything is ok, you should have superposed surface where domains were connected. So at the "interface" just define surfaces from rotor as interface1 (INTERFACE - BC) and those from stator as interface2 ( INTERFACE - BC).
Finally in Fluent you need to create the interfaces by picking both interfaces-bc.
As fluid domains are now "reconnected"(data extrapolation through interfaces), you can rotate your rotor in the moving mesh pane.

kaushik180587 December 12, 2011 03:06

Is there any tutorials available for rotating cylinder? ..it would help me get a better understanding...anyways Ill try your suggested methodology..

kaushik180587 December 12, 2011 03:11

Is there a tutorial for 2d rotation of cylinder?Then I will try the 3d rotation..

-mAx- December 12, 2011 06:46

Check here http://my.fit.edu/itresources/manual...tg/node162.htm, but watch out this is MRF, so no moving mesh.
If you want your rotor to rotate, you need to activate moving mesh

kaushik180587 December 12, 2011 21:30

Hi..I was making a 2d cylinder rotation problem...I made a circular face of r=1 then a bigger circular face of radii 8. Then I split the 2 faces...i am not able to get the superimposed surfaces...please can u explain step by step...thanks for your time...

-mAx- December 13, 2011 01:05

if you split the surface with the other surface, then your 2 domains are connected, and you don t get any superposed edges (2d).
To disconnect either you go to edge/disconnect. Or you can copy and translate your rotor domain, then delete the orginal rotor surface (connected), and finally move back the rotor-copy

kaushik180587 December 14, 2011 01:55

I tried doing it by sliding mesh but I am not able to get the results that I expected.I feel my answer is wrong.I am confused on what should be the boundry conditions that I should set. I drew a cylinder over and above the rotor as interface. Is it correct? Should I give rotational velocity to the interface? I only want the slotted cylinder to rotate and gauge the effect of its rotation on incoming velocity from left as shown in the fig. Max help me to understand on how to specify boundry conditions?

I need to find the simulation for inlet water of 1 m/s and the slotted cylinder rotating at 5 m/s. Ineed to find the pressure and velocity distribution mainly at the slots of cylinder.

This is my last request to you.

Thanks for your patience.

kaushik180587 December 14, 2011 01:58

1 Attachment(s)
The result I obtained is in the pic..

-mAx- December 14, 2011 02:31

No, you only have to define your rotor domain (surface in 2d) as rigid body in the moving mesh panel.
But in Gambit you have to set 2 kinds of fluid domain: one for stator, and one for rotor, else you cannot pick the rotor domain.
So you need in gambit to define as BC:
-your inlet
-your outlet
-your 2 interfaces
-your 2 fluid domains

in Fluent:
-define the interfaces by picking the 2 edges (already defines in gambit)
-in moving mesh panel, just define the rotor domain as rigid body and give the right angular velocity

Maybe you need to create the surface from your fluid zone, check here: http://my.fit.edu/itresources/manual...876.htm#156597

kaushik180587 December 18, 2011 22:28

Please can u show me in the pic I attatched earlier,the explaination u gave above ..also i couldnt set rigid body when i was setting the bc for rotor..

-mAx- December 19, 2011 01:20

1 Attachment(s)
use this tool for defining your 2 fluid domains:
http://my.fit.edu/itresources/manual...zone_cont_type
Attachment 10471

k_k December 19, 2011 06:34

The easiest and safest way to setup the Sliding Mesh simulation is to setup a MRF simulation first and begin the sliding mesh simulation after few iterations. Define the rotating volume as the MRF domain and specify the rotational velocity and axis. After few iterations, on the Text User Interface activate Grid>Modify zones>MRF-to-sliding mesh. This should identify neccesary interface and prepare the sliding mesh boundary conditions.

srini8156 December 21, 2011 20:38

Even I tried doing this example..max/kk I wanted to ask if the rotor domain is given angular velocity..then how do you get the effect on actual rotor surface which is slotted,pls clarify... also can this animated?

Far January 13, 2012 14:31

This topic is still on?


All times are GMT -4. The time now is 01:39.