|September 8, 2015, 01:59||
Specifying analytical velocity feild
Sarang A. Holay
Join Date: Jul 2015
Posts: 1Rep Power: 0
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|LES and TKE calculations||MST||Main CFD Forum||2||August 8, 2013 03:51|
|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|