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

OpenFoam - Vof verification with standard cases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
Rep Power: 12
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
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
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: 17
Rep Power: 12
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
Member
 
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13
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
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 16
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


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
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
New OpenFOAM Verification & Validation Forum Opened jola OpenFOAM Announcements from Other Sources 2 October 1, 2011 18:21
Convertation axisymmetric cases from Fluent to OpenFOAM Svensson OpenFOAM 0 April 19, 2011 07:08
Free OpenFOAM CHT Report and Cases (No Catch!) m.nichols19 OpenFOAM 6 August 23, 2010 22:40
OpenFOAM verification abrupt area change mkraposhin OpenFOAM Running, Solving & CFD 0 October 2, 2008 05:11


All times are GMT -4. The time now is 00:58.