CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

2D rotating ellipse (domain interface??)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2009, 12:26
Question 2D rotating ellipse (domain interface??)
  #1
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Hi,

I'm trying to model a 2D spinning ellipse. The model I'm using is a rectangle with 0.3m depth acting as "wind tunnel" and an extruded ellipse (separate mesh) with the same depth.

The ellipse is effectively touching both sides of the tunnel, how do I create an interface between the tunnel and the ellipse in order for it to rotate correctly?

So far I've been able to do a transient rotor stator using the 2 sides of the ellipse to effectively rotate the ball but it doesn't seem to effect the air flow at all, creating streamlines simply go through the ellipse model.

how can i tackle this?

Patrick
Kambusha is offline   Reply With Quote

Old   April 13, 2009, 06:50
Default
  #2
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Can anyone push me in the right direction for this? Is the current setup valid for creating a domain interface between the two meshes or will I need to alter the mesh somehow?

to reiterate:
wind tunnel mesh has 6 faces
2D ellipse has 3 faces
Kambusha is offline   Reply With Quote

Old   April 13, 2009, 22:21
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

I cannot picture what you are describing. Can you draw a diagram?

Glenn Horrocks
ghorrocks is online now   Reply With Quote

Old   April 14, 2009, 08:19
Default
  #4
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Not at home currently so don't have the files but I created this in workbench quickly to model the problem.
http://img511.imageshack.us/img511/5188/93505141.jpg

Bear in mind that they are 2 separate meshes in my configuration.

Patrick
Kambusha is offline   Reply With Quote

Old   April 14, 2009, 10:09
Default
  #5
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,
you have to model the ellipse inside a cylinder and define it as the rotating frame.
You will end up with 3 domains.

neewbie
mvoss is offline   Reply With Quote

Old   April 14, 2009, 11:49
Default
  #6
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Thanks for the reply.

Could you be more specific in regards to domain interfaces between these 3 domains (ellipse, cylinder, rectangle)?

Patrick
Kambusha is offline   Reply With Quote

Old   April 14, 2009, 12:05
Default
  #7
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,

what you do is setting up a rotating frame which includes the ellipse.
Within the rotating frame you setup everything like you did.A solid/fluid-interface in an rotating frame.
Between the rotating and stationary frame you set up another interface.
Now you could set up the desired spin relatively.
I am not sure about the "windtunnel-walls" in the rotating frame but i think you should set them counterrotating within the rotating frame.Check out the manual on that.

neewbie
mvoss is offline   Reply With Quote

Old   April 14, 2009, 15:36
Default
  #8
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Right, I think I follow the general layout which can be seen in the image:

http://img21.imageshack.us/img21/674...oglecomcvy.jpg

My problem is which faces do I use for the sides in the domain-interfaces? I've read through countless pages in the manual, searched online and on this forum, tutorials that have domain-interfaces don't seem to work on this comp, so I can't figure out how to create the interface between ball-cyllinder and cyllinder-wall.

Here's my setup so far:
2D ball has 3 faces.. defined as solid domain, stationary
cyllinder has 3 faces.. defined as fluid domain, rotating
fluid-solid interface between the two.. using the outer faces (4) ??

wall has 6 faces.. defined as fluid domain, stationary
fluid-fluid interface between wall-cyllinder... faces?

I'm guessing it's probably something really simple that I'm missing?

Patrick

Last edited by Kambusha; April 14, 2009 at 15:37. Reason: forgot link
Kambusha is offline   Reply With Quote

Old   April 14, 2009, 21:26
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

You don't need to model the solid region (which I assume is the ellipse) if you are not modelling heat transfer. If this is the case then you will have two fluid regions, one stationary and one rotating connected by a GGI set to a transient rotor-stator.

Glenn Horrocks
ghorrocks is online now   Reply With Quote

Old   April 15, 2009, 05:04
Default
  #10
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
Quote:
Originally Posted by Kambusha View Post
Here's my setup so far:
2D ball has 3 faces.. defined as solid domain, stationary
cyllinder has 3 faces.. defined as fluid domain, rotating
fluid-solid interface between the two.. using the outer faces (4) ??

wall has 6 faces.. defined as fluid domain, stationary
fluid-fluid interface between wall-cyllinder... faces?

I'm guessing it's probably something really simple that I'm missing?

Patrick
hi,
like glenn said: if you donn´t need heattransfer, you don´t have to model the inner part of the ellipse.
so you will need one fluid-fluid interface for the transient rotor-stator-combination.
The walls will be treated as walls as usual.
Maybe i am wrong but you meshed e.g. the tunnel without the rotating frame, right?

neewbie
mvoss is offline   Reply With Quote

Old   April 15, 2009, 06:00
Default
  #11
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Ok, so I got rid of the solid domain which leaves me now with 2 domains (ellipse and cylinder have been combined as one domain).
Cyllinder is rotating
Wall is stationary
I've tried to create a transient rotor stator interface but I'm obviously using the wrong faces because I keep getting error about the 360 degree tolerance.

http://img16.imageshack.us/img16/9923/cfx.jpg

So I still don't understand which sides to define for the interface.

Patrick
Kambusha is offline   Reply With Quote

Old   April 15, 2009, 06:19
Default
  #12
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,
why is there an ballright/ballleft? Where is the interface in the stationary domain?
You should end up with 7 faces for the tunnel (6 boundaryfaces and the interface(lookslike this is your cyllCIRCLE)) and 4 faces for the rotating domain (2 sideparts touching the tunnelwall, the surface of the ellipse and the interfacesurface which is congruent with the interface within the tunneldomain).

neewbie
mvoss is offline   Reply With Quote

Old   April 15, 2009, 06:52
Default
  #13
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
ballleft and ballright refers to the ellipse sides. ballellipse refers to the ellipse surface, and cyllCIRCLE refers to the cyllinder surface.

Correct me if I'm wrong but this is the setup you're suggesting:
- cylinder + tunnel in one domain (stationary) - the whole cylinder mesh used as side1 for TRS interface
- ellipse in another domain (rotating) - the whole ellipse mesh used as side2 for TRS interface

With this setup though, how do I define the ellipse as a wall without overlapping with interface?

Patrick
Kambusha is offline   Reply With Quote

Old   April 15, 2009, 07:00
Default
  #14
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,
I´m sorry but no.
The ellipse is included in the cylindric domain, which is the rotating domain. This domain in connected via an interface to the stationary one, the tunnel.
Two domains, one interface.
There is no ellipse-sidepart if setup like this.

neewbie
mvoss is offline   Reply With Quote

Old   April 15, 2009, 07:27
Default Frozen Rotor
  #15
New Member
 
Tassi
Join Date: Mar 2009
Location: Mumbai, India
Posts: 11
Rep Power: 17
Tassi is on a distinguished road
Hi

If you want to model a rotating ellipse in a rectangular flow field. Then you ll have to create two domains. A cylinder (encompassing the Ellipse) and a rectangular flow field. The two domains would be joint by a froze rotor interface if it's a steady state simulation and transient rotor if the simulation is transient.

BOL

Tassi
Tassi is offline   Reply With Quote

Old   April 15, 2009, 07:47
Default
  #16
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
Right, I understand the 2 domains 1 interface but like I said before, when defining the interface, I don't know which "face(s)" to use for side-1 and side-2 specifically so the solver keeps ending with errors.

I've defined as transient by the way.

Patrick
Kambusha is offline   Reply With Quote

Old   April 15, 2009, 11:26
Default
  #17
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
hi,
there shouldn't be any problem if you set up proper surface names and the meshes do not intersect.
Side 1 Rotating Domain Interface (Cylinder Surface);
Side 2 Stationary Domain Interface (Cylinder surface included within the Tunneldomain).
Which error do you get and when?
mvoss is offline   Reply With Quote

Old   April 15, 2009, 12:12
Default
  #18
New Member
 
Erik Sandstroem
Join Date: Apr 2009
Posts: 11
Rep Power: 17
Kambusha is on a distinguished road
I created an additional cylinder for the tunnel domain. Then for domain-interface I've used the cylinder surface in rotating domain and the cylinder surface in tunnel domain like this:
http://img185.imageshack.us/img185/6...ninterface.jpg

Using trans-rotor-stator, I get the following error:

| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| For domain interface "Domain Interface 1" the pitch angle ratio o- |
| f 1.0000000E+00 does not match the area ratio of 2.- |
| 0120964E+00.

Yours stuck,
Patrick
Kambusha is offline   Reply With Quote

Old   April 15, 2009, 19:33
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

This simulation is a basic application of rotating frames of reference and really is not that hard when you understand the basics. However, explaining what to do on a forum is difficult. Have a look at the tutorial examples which come with CFX using rotating frames of reference, I think there is an axial flow turbine example.

In fact whenever you do a new type of simulation you should look at relevant tutorial examples first to see the basics of how to set it up.

Glenn Horrocks
ghorrocks is online now   Reply With Quote

Old   April 16, 2009, 01:38
Default
  #20
New Member
 
Tassi
Join Date: Mar 2009
Location: Mumbai, India
Posts: 11
Rep Power: 17
Tassi is on a distinguished road
Hi Erik
Agree with Glenn you can get a better idea after looking in tutorial. Also try using the following settings for you interface
Frame Change/mixing Model : Frozen-Rotor
Rotational Offset : 0 deg
Pitch Change: None
Mesh connection method : GGI

Hope this helps
holzkiste likes this.
Tassi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 7, 2008 00:17
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
rotating domain in rotating domain, different axis Robert Stringer CFX 3 December 4, 2006 08:04
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 17:03.