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, 03:38
Default Direction of g in interFOAM
  #1
Member
 
Anurag
Join Date: Feb 2023
Posts: 78
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, 12:27
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann 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, 18:03
Default
  #3
Member
 
Anurag
Join Date: Feb 2023
Posts: 78
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
ERROR: Flow direction on the boundaries must not be tangential to the boundary. turbomax CFX 3 October 27, 2024 07:19
How to perform surface averaging in one direction chandra shekhar pant OpenFOAM Running, Solving & CFD 5 July 24, 2020 23:20
fvOptions-velocity generates against direction of momentum. mrishi OpenFOAM Running, Solving & CFD 2 September 25, 2019 16:15
solved: contact angle correction in interFoam rcastilla OpenFOAM Bugs 24 March 2, 2016 14:43
[ICEM] Changing edge direction la7low ANSYS Meshing & Geometry 2 June 7, 2010 14:26


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