CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Tank refuelling simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2015, 05:53
Default Tank refuelling simulation
  #1
Member
 
Kamal Bisht
Join Date: Jun 2015
Location: Germany
Posts: 57
Rep Power: 11
Bisht is on a distinguished road
Hi, I need to simulate a tank refuelling process.

The tank has 2 pipe (an inlet pipe for Adblue chemical and an outlet pipe for air, which leaves the tank as adblue occupy it's space). The position of both pipes is on the side of tank not on top (air outlet pipe is positioned slightly higher than the Inlet pipe). One end of the air outlet pipe is attached to the tank and other one on the side of adblue inlet pipe just above the position where my inlet boundary is.
In practice, during tank refuelling with nozzle when the adblue level reached to the air outlet pipe in tank, it also get filled with it and subsequently the inlet pipe also. At this time the nozzle shuts off. But due to compressed air in the tank few drops of adblue spit back through inlet pipe to the person filling the tank.

To simulate this phenomenon, I choose Multiphase flow, k-epsilon turbulence model with the initial condition of 90% volume of tank is full.
But the main problem is how to shut off the inlet flow during simulation when both inlet and outlet pipes are full as it happens practically and continue to run the simulation for another 1 s to simulate the spit back behaviour of drops.

Do I need a user defined function for this? I have no idea how to write a user defined function for this.
Bisht is offline   Reply With Quote

Old   July 29, 2015, 12:49
Default
  #2
Senior Member
 
Gajendra Gulgulia
Join Date: Apr 2013
Location: Munich
Posts: 144
Rep Power: 13
ggulgulia is on a distinguished road
Hi Kamal

your problem is fairly challenging (atleast for a fledgling like me). Do you know at what time step when the tanks and inlet and outlet pipes are full?

If yes, then you can specify the field function that will convert the inlet boundary to wall.

This can be done using a macro very easily too. Record a macro with Single time step. After one time step is over, convert the inlet boundary to wall boundary, and again hit Run on the ccm+ interface.
Stop the macro and change the number of desired time step in the java code.

This will do the job

Hope this was helpful.
ggulgulia is offline   Reply With Quote

Old   July 30, 2015, 10:03
Default
  #3
Member
 
Kamal Bisht
Join Date: Jun 2015
Location: Germany
Posts: 57
Rep Power: 11
Bisht is on a distinguished road
Hi Gajendra,

Thanks for your answer. Actually I don't know the exact time at which my tank and pipes get full. During experiments, there are lots of factors which affect the Mass flow rate, so I can't depend on that data. Does it mean that I have to do it with hit and trial method?
To change the inlet boumdary to wall, do I need to stop the simulation and keeping the macro running?
Bisht is offline   Reply With Quote

Old   July 30, 2015, 10:40
Default
  #4
Senior Member
 
Gajendra Gulgulia
Join Date: Apr 2013
Location: Munich
Posts: 144
Rep Power: 13
ggulgulia is on a distinguished road
Hi

Had i been in your place, I would have initially simplified my problem by assuming constant rate of volume flowing through the pipe (assuming uniform flow through the pipe) to the tank and done a hand calculation of the time at which the tank would have gotten full and used the macro

Regarding macro, you just have to play the macro once, which will run your simulation and then in the specified time-step will convert the boundary to wall by itself and then continue the iterations further.

Thank You
ggulgulia is offline   Reply With Quote

Old   July 30, 2015, 12:02
Default
  #5
Member
 
Kamal Bisht
Join Date: Jun 2015
Location: Germany
Posts: 57
Rep Power: 11
Bisht is on a distinguished road
Thanks, I will try to simulate it as you suggested.
Bisht 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
simulation of free surface of stirred tank using vof jamalf64 FLUENT 41 May 24, 2016 16:04
Simulation of thermocline in a tank fkhan7 CFX 25 October 22, 2015 12:23
need files of tutorial 10- Simulation of Wave Generation in a Tank Jonson Main CFD Forum 0 November 14, 2013 01:18
Roll Tank Simulation Sam CFX 14 February 15, 2009 21:21
simulation of a stirred tank hu CFX 0 February 17, 2001 08:23


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