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

gravitational acceleration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2016, 06:41
Default gravitational acceleration
  #1
New Member
 
Shizuo Fu
Join Date: Apr 2016
Location: Beijing
Posts: 4
Rep Power: 10
novist is on a distinguished road
hi, all.

I am new to OpenFoam. I wanna know why gravitational acceleration "g" is in the form of (0 -9.81 0) instead of (0 0 -9.81).
Does this mean that all the position vectors are expressed as (i j k), where i, j, k represents the component in the x-, y- and z-direction?
novist is offline   Reply With Quote

Old   April 18, 2016, 07:39
Default
  #2
C-L
Member
 
Charlie Lloyd
Join Date: Feb 2016
Posts: 57
Rep Power: 10
C-L is on a distinguished road
Hi Novist,

The 'g' vector can be defined in any direction you wish - if your case requires gravity in the z direction then just change it to (0 0 -9.81). Positions vectors are defined as (x y z), as are all of the other vector quantities.
C-L is offline   Reply With Quote

Old   April 18, 2016, 09:38
Default
  #3
New Member
 
Shizuo Fu
Join Date: Apr 2016
Location: Beijing
Posts: 4
Rep Power: 10
novist is on a distinguished road
Thank you, C-L. Your answer is so helpful.
novist 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
Implementing Gravitational Acceleration in dragModels of multiphaseEulerFoam kkeule OpenFOAM Programming & Development 0 January 2, 2016 21:39
Gravitational Acceleration Problem??? fakerangel FLUENT 3 April 2, 2012 09:10
gravitational acceleration in laminar pipe flow atmcfd ANSYS 0 January 4, 2010 23:19
gravitational acceleration.. vickrenz FLUENT 1 September 30, 2009 04:29
Gravitational Acceleration gh FLUENT 2 June 2, 2005 09:56


All times are GMT -4. The time now is 23:06.