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

Several questions in simulating fluid transfer in zero-gravity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2015, 19:45
Question Several questions in simulating fluid transfer in zero-gravity
  #1
New Member
 
Niket Ghelani
Join Date: Feb 2012
Posts: 2
Rep Power: 0
niket_thatsme is on a distinguished road
Hi all,

This is my first post, but I have been lingering here quite often. I am trying to simulate fluid transfer in zero-gravity. I have created model in Solidworks.

Here is the brief of what I have done till now:

  1. I have set the whole assembly as a single, fluid region.
  2. I have attached a pic named physics.jpg which shows the physics continuum.
  3. There is axis of rotation at [0.2,0,0] in the direction [0,1,0] and I have specified the rotation at the appropriate place.
  4. I have created a function called Initial_Water, which will depict the initial place of water in the whole setup. This is shown in the image titled scalar1.jpg
  5. When I flip the signs to designate the initial position of air, it doesn't work. I have attached an image called air.jpg You will be able to see how it fails.
  6. Here are the different field functions that I have used:
  • [0,0,-$omega*($$Position[0]-$xAxisRotation)] - initialFluidVelocity
  • ($$Position[0]>=0.45)?1:0 || ($$Position[1]>=0.15)?1:0 - Initial_Water
  • (2*3.14159/60)*${RPM} - omega
  • RPM is set to 15 rpm.
I have a very nice hexa mesh that is also attached. I need help with setting the initial position of air. Also, I would like to know how can I have complete water volume be displayed in simulation. I have been using iso-surface to visualize the water volume surface.


Also, what language syntax does the "User Code" follow ?



I hope the attached pics are able to explain clearly.


I would appreciate your help.


Thank you !


Geometry1.jpg

physics.jpg

scalar1.jpg

air.jpg

trial 2_Mesh Scene 2.jpg
niket_thatsme is offline   Reply With Quote

Old   February 9, 2015, 00:57
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
For VOF sims I usually just make the second field function for the second phase something like:

1-$Initial_Water

which means you only have to set the first one.
me3840 is offline   Reply With Quote

Old   February 9, 2015, 00:58
Default
  #3
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
The user coding is done in C++, but it's pretty rare user coding is necessary.
me3840 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
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Simulating Heat Transfer Spookz CFX 4 November 19, 2012 16:52
Conjugate heat transfer and radiation modeling questions shankara.2 FLUENT 0 April 21, 2009 15:55
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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