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

Heated Cylinder with moving wall

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 21, 2012, 04:12
Default Heated Cylinder with moving wall
  #1
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
Hello.
I failed at setting up the following problem:
The inner volume of a cylindrical tank is separated into two parts by another cylinder. It can move up and down freely (for now I'm not taking friction into account) it also is weightless.
In other words, I have two isolated volumes, filled with air that are separated by
a moving wall.
There is no inlet or outlet.
No remeshing is used, just mesh deformation.
I use an expert parameter to override isolated fluid regions check.
The mesh is swept and consists only of quadrilaterals. About 10 000 cells, maybe less.
Time step is 0.01s Total time is 1s.
https://dl.dropbox.com/u/29706890/Cy...l%20domain.JPG (link will be active for a month or so).
The inner cylinder should start to move upwards when the temperature of the air below it raises. But it doesn't.

At first I tried to create a "rigid body" and use "rigid body solution" in the wall BC. This resulted in small cylinder "jumping" outside of the large cylinder after some calculation time.

After that I wrote an equation in CEL for the movement but it also didn't work (according to Newton's second law). The small cylinder still won't move.

I tried to separate both volumes into two domains and set a higher starting temperature to the lower one. Also I tried putting an Opening BC on the top wall of the big cylinder.

How can I setup this problem correctly?

Last edited by Zmur; June 21, 2012 at 07:53.
Zmur is offline   Reply With Quote

Old   June 22, 2012, 07:11
Default
  #2
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
I simplified the problem. Now I'm trying to calculate only compression of air inside the upper part of cylinder. One wall is a "rigid body" and a force of 500N applied to it.
Here are some results:
https://dl.dropbox.com/u/29706890/Si...ompression.wmv
https://dl.dropbox.com/u/29706890/Si...ession%202.wmv

And the output chart:
https://dl.dropbox.com/u/29706890/Cy...compresion.JPG

The pressure of air inside the cylinder should stop the wall, but it doesn't. What could be wrong?
Zmur is offline   Reply With Quote

Old   June 23, 2012, 06:44
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,951
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Does it give you the correct answer (ie pressure, temperature) if you define the bottom wall displacement (ie simple mesh motion) rather than rigid body motion?
ghorrocks is offline   Reply With Quote

Old   June 23, 2012, 08:12
Default
  #4
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
I haven't tried it yet. Thanks for the advice.

Also, how can the pressure be negative? Is it bad or it depends on location or something?
Zmur is offline   Reply With Quote

Old   June 23, 2012, 08:17
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,951
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Are you using an incompressible fluid?
ghorrocks is offline   Reply With Quote

Old   June 23, 2012, 08:33
Default
  #6
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
I use air ideal gas from standard library. Heat transfer also enabled.
To be honest I don't completely understand how compressibility is enabled.
Zmur is offline   Reply With Quote

Old   June 23, 2012, 08:40
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,951
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You need to enable total energy to get the fluid to be compressible.

Is the fluid going to show compressibility effects?
ghorrocks is offline   Reply With Quote

Old   June 23, 2012, 08:56
Default
  #8
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
It should, because there is no openings in the domain, the air has no way out, and the volume of the cylinder changes.
Zmur is offline   Reply With Quote

Old   June 23, 2012, 14:55
Default
  #9
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
The simulation with mesh displacement looks correct after I turned on th Total Energy setting.

Made the same settings in the simulation with Rigid body. Also seems OK. The velocity of the moving wall started to decrease at some point of the simulation.

I'll try the same with two cylinders. Hope that it will work.
Many thanks for the help ghorrocks. I would have never solved this out on my own.
Zmur is offline   Reply With Quote

Old   June 24, 2012, 08:37
Default
  #10
New Member
 
Yury Timofeyev
Join Date: Mar 2009
Location: Latvia
Posts: 16
Rep Power: 8
Zmur is on a distinguished road
Send a message via Skype™ to Zmur
Here are some results with both cylinders:
temperature:
https://dl.dropbox.com/u/29706890/Cy...emperature.avi
and pressure:
https://dl.dropbox.com/u/29706890/Cy...20Pressure.avi
Zmur is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 3 June 12, 2013 02:12
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
moving wall settings Nikolaos FLUENT 0 September 20, 2006 06:18
moving wall BC problem Sourabh Main CFD Forum 1 August 8, 2006 07:47
moving wall wim vos FLUENT 1 March 30, 2004 18:20


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