CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

OpenFoam - Vof verification with standard cases

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 28, 2014, 07:49
Default OpenFoam - Vof verification with standard cases
  #1
New Member
 
praveen kumar sharma
Join Date: Jun 2014
Posts: 11
Rep Power: 3
P Sharma is on a distinguished road
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.
P Sharma is offline   Reply With Quote

Old   November 28, 2014, 08:09
Default
  #2
Senior Member
 
Tushar Chourushi
Join Date: Jul 2009
Location: IIT-Indore, India
Posts: 318
Blog Entries: 1
Rep Power: 9
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by P Sharma View Post
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!
Tushar@cfd is offline   Reply With Quote

Old   November 28, 2014, 12:28
Default
  #3
New Member
 
praveen kumar sharma
Join Date: Jun 2014
Posts: 11
Rep Power: 3
P Sharma is on a distinguished road
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 View Post
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!
P Sharma is offline   Reply With Quote

Old   November 28, 2014, 16:16
Default
  #4
New Member
 
Kaufman
Join Date: Jul 2013
Posts: 17
Rep Power: 4
kmefun is on a distinguished road
http://openfoamwiki.net/index.php/Contrib/groovyBC
kmefun is offline   Reply With Quote

Old   December 1, 2014, 01:25
Default
  #5
Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 41
Rep Power: 6
ybapat is on a distinguished road
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
ybapat 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
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
New OpenFOAM Verification & Validation Forum Opened jola OpenFOAM Announcements from Other Sources 2 October 1, 2011 17:21
Convertation axisymmetric cases from Fluent to OpenFOAM Svensson OpenFOAM 0 April 19, 2011 06:08
Free OpenFOAM CHT Report and Cases (No Catch!) m.nichols19 OpenFOAM 6 August 23, 2010 21:40
OpenFOAM verification abrupt area change mkraposhin OpenFOAM Running, Solving & CFD 0 October 2, 2008 04:11


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