CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Specifying analytical velocity feild

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 8, 2015, 01:59
Exclamation Specifying analytical velocity feild
  #1
New Member
 
Sarang A. Holay
Join Date: Jul 2015
Posts: 1
Rep Power: 0
Sarang is on a distinguished road
Hello All,

I wish to validate the vof model in OpenFoam. For that , i need to do a vortex stretching problem , where i am supposed to give a velocity field defined as :

Ux = -cos(pi*t/T) * sin(pi*x) * sin(pi*x) * cos (2*pi*y)
Uy = cos(pi*t/T) * sin(pi*y) * sin(pi*y) * cos (2*pi*x)

T= total time t=current time

I am relatively new to OpenFoam. I really dont know how do i access a particular points co-ordinates and use them in the analytical expression. mesh.points() gives me a list of co-ordinated of points. But i need to access a particular point's x/y/z co-ordinate.

Any help will be much appreciated.

Thanks a lot in advance.
Sarang 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
LES and TKE calculations MST Main CFD Forum 3 May 30, 2016 06:26
Radial velocity and tangential velocity on centrifugal fan, johnnyp FLUENT 2 May 24, 2013 07:10
how to compute relative velocity from absolute? spk Main CFD Forum 3 July 9, 2010 08:42
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
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 20:16.