# OpenFoam - Vof verification with standard cases

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

 November 28, 2014, 07:49 OpenFoam - Vof verification with standard cases #1 New Member   praveen kumar sharma Join Date: Jun 2014 Posts: 11 Rep Power: 3 Hi, I have to verify vof of openFoam with standard case of circular blob of fluid subjected to a periodic roatating flow field . I took a drop on 2D box and I have to give velocity field in x and y direction. Which is function of time and space u(x,y,t) and v(x,y,t). u(x,y,t)= (1/π)*cos(πt/T)*((sin(πx))^2)*2πsin(πy)cos(πy) v(x,y,t)= (1/π)*cos(πt/T)*((sin(πy))^2)*2πsin(πx)cos(πx) Now, I want to know that how can I implement this initial condition in openFoam.

November 28, 2014, 08:09
#2
Senior Member

Tushar Chourushi
Join Date: Jul 2009
Location: IIT-Indore, India
Posts: 318
Blog Entries: 1
Rep Power: 9
Quote:
 Originally Posted by P Sharma Hi, I have to verify vof of openFoam with standard case of circular blob of fluid subjected to a periodic roatating flow field . I took a drop on 2D box and I have to give velocity field in x and y direction. Which is function of time and space u(x,y,t) and v(x,y,t). u(x,y,t)= (1/π)*cos(πt/T)*((sin(πx))^2)*2πsin(πy)cos(πy) v(x,y,t)= (1/π)*cos(πt/T)*((sin(πy))^2)*2πsin(πx)cos(πx) Now, I want to know that how can I implement this initial condition in openFoam.
Are you sure that you want to implement it for initial condition? Or, is it a boundary condition?

You can apply custom boundaries using "groovyBC". Anyways try these..

-
Best Luck!

November 28, 2014, 12:28
#3
New Member

praveen kumar sharma
Join Date: Jun 2014
Posts: 11
Rep Power: 3
thank you for reply, I am sure I have to to implement it for initial condition........can you tell me how to use "groovyBC" ?

Quote:
 Originally Posted by Tushar@cfd Are you sure that you want to implement it for initial condition? Or, is it a boundary condition? You can apply custom boundaries using "groovyBC". Anyways try these.. - Best Luck!

 November 28, 2014, 16:16 #4 New Member   Kaufman Join Date: Jul 2013 Posts: 17 Rep Power: 4

 December 1, 2014, 01:25 #5 Member   Yogesh Bapat Join Date: Oct 2010 Posts: 41 Rep Power: 6 Hello, I think you can implement this though momentum source term. You have velocity variation, from this get acceleration variation. Use this to add momentum source. -Yogesh

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post jola OpenFOAM 2 October 19, 2011 06:55 jola OpenFOAM Announcements from Other Sources 2 October 1, 2011 17:21 Svensson OpenFOAM 0 April 19, 2011 06:08 m.nichols19 OpenFOAM 6 August 23, 2010 21:40 mkraposhin OpenFOAM Running, Solving & CFD 0 October 2, 2008 04:11

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