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

Direction of g in interFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2023, 02:38
Default Direction of g in interFOAM
  #1
Member
 
Anurag
Join Date: Feb 2023
Posts: 65
Rep Power: 3
anubasu is on a distinguished road
Hi all,

I could see that the direction of g in interFOAM, angledDuct and waterChannel tutorials are different. One is in y and in waterChannel is in z direction. Why this discrepancy? Gravity should always act in the y direction right?
Or does it depend on something else?
I plan to create mesh in ansys and then convert.
Thanks.
anubasu is offline   Reply With Quote

Old   December 24, 2023, 11:27
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,098
Rep Power: 26
Yann will become famous soon enough
Hello,

It depends on the coordinate system you are using, it could be anything.
I didn't check the tutorials you mention but probably the geometries and coordinate system are oriented differently.

Regards,
Yann
Yann is offline   Reply With Quote

Old   December 24, 2023, 17:03
Default
  #3
Member
 
Anurag
Join Date: Feb 2023
Posts: 65
Rep Power: 3
anubasu is on a distinguished road
Hi Yann, yes. For my case I use ansys for creating geometry and mesh. SO I have used g like used in ansys coordinates. I hope it is fine.
anubasu 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
How to perform surface averaging in one direction chandra shekhar pant OpenFOAM Running, Solving & CFD 5 July 24, 2020 22:20
fvOptions-velocity generates against direction of momentum. mrishi OpenFOAM Running, Solving & CFD 2 September 25, 2019 15:15
solved: contact angle correction in interFoam rcastilla OpenFOAM Bugs 24 March 2, 2016 13:43
ERROR: Flow direction on the boundaries must not be tangential to the boundary. turbomax CFX 2 August 6, 2015 11:05
[ICEM] Changing edge direction la7low ANSYS Meshing & Geometry 2 June 7, 2010 13:26


All times are GMT -4. The time now is 15:46.