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

Tank sloshing in ansys cfx

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2011, 20:29
Default @ Glenn
  #21
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
Hi, pretty long time since I posted something here! Lateral sloshing can be simulated easily in CFX, but only managed to do so by lateral external excitation. How can the lateral slosh condition due to pitching be simulated?
Haga is offline   Reply With Quote

Old   August 22, 2011, 21:38
Default
  #22
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
With a moving mesh approach you can move the tank in any direction you like.
ghorrocks is offline   Reply With Quote

Old   August 22, 2011, 21:54
Default
  #23
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
@ Glenn..

Yes, am trying to crack it that way. If you find something sometime pls add it up here.
Haga is offline   Reply With Quote

Old   December 20, 2012, 00:33
Default Help
  #24
New Member
 
Join Date: Dec 2012
Posts: 5
Rep Power: 13
nathanlee is on a distinguished road
Hi im new to CFD and i am trying to simulate tank sloshing for 10s but apparently my time does not run at all. It always get stuck at 0.0s even though the system is running. Can anyone help me with this? Help is greatly appreciated!
nathanlee is offline   Reply With Quote

Old   December 20, 2012, 00:34
Default
  #25
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please post your output file.
ghorrocks is offline   Reply With Quote

Old   December 20, 2012, 00:43
Default
  #26
New Member
 
Join Date: Dec 2012
Posts: 5
Rep Power: 13
nathanlee is on a distinguished road
Hi as seen in the attached pictures, the water does not flow at all. The tank is moving at weird angles thou. Thanks for the help.
Attached Images
File Type: jpg image-0020.jpg (70.0 KB, 20 views)
File Type: jpg image-0120.jpg (76.0 KB, 15 views)
File Type: jpg image-0220.jpg (81.0 KB, 13 views)
nathanlee is offline   Reply With Quote

Old   December 20, 2012, 00:52
Default
  #27
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your simulation is in Fluent. Try the fluent forum.

But two general comments - have you set the gravity vector? And have you run the simulation long enough that the fluid would move?
ghorrocks is offline   Reply With Quote

Old   December 20, 2012, 11:56
Default
  #28
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
10s is fair enough for simulation
Haga is offline   Reply With Quote

Old   December 20, 2012, 16:44
Default
  #29
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Not necessarily, it depends on the length and viscosity scales (and a few other parameters, not sure what non-dimensional number that is). If the fluid is highly viscous it will take a while for the fluid to move enough that you will see it.
ghorrocks is offline   Reply With Quote

Old   December 20, 2012, 21:00
Default
  #30
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
glenn is right..if viscosity, impulse time etc are high, 10s is insufficient
Haga is offline   Reply With Quote

Old   December 26, 2012, 03:58
Default How to input 'sin' eqn as part of the operating conditon
  #31
New Member
 
Join Date: Dec 2012
Posts: 5
Rep Power: 13
nathanlee is on a distinguished road
Happy boxing day everyone. With reference to the sloshing tutorial, instead of moving the tank in -9.81m/s in the x direction, may i know how do i input the speed if my speed is in the form Asinwt where 'A= ampitute', 't = seconds' and 'w = 2*pi*f'. For example, how to input 2.5sin(80*pi)t where the tank is undergoing a vibratory motion in the x direction. Thanks for the help!
nathanlee is offline   Reply With Quote

Old   December 26, 2012, 05:04
Default
  #32
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Replace the constant value with a CEL expression. Several CFX tutorials show how to use CEL expressions.
ghorrocks is offline   Reply With Quote

Old   December 26, 2012, 09:52
Default
  #33
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
Quote:
Originally Posted by nathanlee View Post
Happy boxing day everyone. With reference to the sloshing tutorial, instead of moving the tank in -9.81m/s in the x direction, may i know how do i input the speed if my speed is in the form Asinwt where 'A= ampitute', 't = seconds' and 'w = 2*pi*f'. For example, how to input 2.5sin(80*pi)t where the tank is undergoing a vibratory motion in the x direction. Thanks for the help!

Use CEL help to write functions.. 1st assign a func name say Gx.. and try as follows:

Gx = 2.5 [mm] * sine((80 [rad/s] * pi()) * t [sec])

it depends on your omega, amp & timestep size.


@ Glenn,

Pl verify on the feasibility of this expression in CFX (actually I posted it without referring back)..so not sure if my memory is correct
Haga is offline   Reply With Quote

Old   December 27, 2012, 05:51
Default
  #34
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There are a few minor problems with the CEL, but they would stop it from working and end the simulation with an error:
1) The sine function is "sin", not "sine".
2) The pi variable is pi, not pi().
3) The variable t is already in units of time. There is no need to define units for t as they are already defined.

Note I have not checked these through CFX either, but hopefully they are correct.
ghorrocks is offline   Reply With Quote

Old   December 27, 2012, 06:58
Default
  #35
New Member
 
Join Date: Dec 2012
Posts: 5
Rep Power: 13
nathanlee is on a distinguished road
Thanks for the help, appreciate it! I will give it a try
nathanlee is offline   Reply With Quote

Old   December 27, 2012, 10:56
Default
  #36
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
Glenn, the CEL expressions have to be given such that each parameter is followed strictly by its unit in "[ ]"..otherwise you are correct.

Nathan, actually for acceleration as a variable expression, the 1st term in the sample excitation you asked would be steady state acceleration & not displacement. so the unit need to be "[mm/sec^2]" or so..
Haga is offline   Reply With Quote

Old   December 28, 2012, 04:28
Default
  #37
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
Glenn, the CEL expressions have to be given such that each parameter is followed strictly by its unit in "[ ]"..otherwise you are correct.
For a numerical value this is correct. For a variable this is not good practise and probably will fail with an error (Not sure, I have not tried it). For a variable the units are specified either from where it is derived or from numerical values with their units specified.
ghorrocks is offline   Reply With Quote

Old   December 29, 2012, 20:41
Default
  #38
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
here is a sample working expression

Gx = 2.5*sin(20*t[s]/1[s])

if after a particular time, this excitation has to stop, use step function for the value of Gx by giving it as a new expression. Then call it into the acceleration definition of the problem.
Haga is offline   Reply With Quote

Old   December 30, 2012, 06:25
Default
  #39
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I see, I was not aware an equation like that would even work.

Then I simply say it is bad practise. If the variable t is already a variable of time then the [s] is unnecessary, if the variable is of units other than time then I have no idea what it will do, but it sounds undefined.

If you remove the [s] does it still return exactly the same result?
ghorrocks is offline   Reply With Quote

Old   December 30, 2012, 20:52
Default
  #40
New Member
 
Hareesh R Iyer
Join Date: Dec 2010
Location: Thiruvananthapuram
Posts: 21
Rep Power: 15
Haga is on a distinguished road
if [s] is removed from t, then 1 [s] can also be removed, but there is inconsistency.
Haga 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
Tutorial to help tank sloshing modelling (CFX 12.1) enghamed CFX 15 August 27, 2019 17:45
Tank sloshing in fluent diverging...need help lostin4ever FLUENT 4 February 24, 2010 07:20
URANS in ANSYS CFX brissyben CFX 3 October 6, 2009 17:35
CFX transition to being part of Ansys CFXQuestion CFX 12 September 8, 2003 09:00
CFX 5.5.1 stirred tank and LES problem Nishant CFX 2 September 13, 2002 07:11


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