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

Stokes problem under body force

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2015, 04:50
Default Stokes problem under body force
  #1
New Member
 
Benoit
Join Date: Jul 2015
Location: France
Posts: 4
Rep Power: 11
Garusen is on a distinguished road
Dear OpenFoam users,

I m very struggling, my aim is to create a flow driven by velocity in the top, with inlet condition and the most important think, I need an open outlet boundary, so does not be periodic

To do that, I create a solver like simpleFoam adding gravity force (it could be Coriolis or something else) in the U equation and modify the solver following the definition of Hrvoje Jasak Phd thesis.

I master how this problem for gravity is managed in solver like buoyantXFoam or interFoam or SRFX solver for Coriolis but for the understanding of OpenFoam it could be great to have solution for that problem.

I post under the solver and the test case. The problem use for velocity an atmospheric inlet bc, slip condition in spanwise direction, no slip at the botom, fixedVelocity at the top and zeroGradient for outlet.
For pressure, it is zeroGradient condition everywhere.

To dowload the test case: https://www.dropbox.com/s/aqldo1rw5m...iodic.zip?dl=0

Because the projet is to create DNS for benchmark there are not any turbulence model (set laminar)

Thanks for future talks.
Attached Files
File Type: zip stokesFoam 2.zip (9.6 KB, 8 views)
Garusen is offline   Reply With Quote

Old   June 20, 2022, 09:18
Default
  #2
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6
Mahmoud Abbaszadeh is on a distinguished road
Quote:
Originally Posted by Garusen View Post
Dear OpenFoam users,

I m very struggling, my aim is to create a flow driven by velocity in the top, with inlet condition and the most important think, I need an open outlet boundary, so does not be periodic

To do that, I create a solver like simpleFoam adding gravity force (it could be Coriolis or something else) in the U equation and modify the solver following the definition of Hrvoje Jasak Phd thesis.

I master how this problem for gravity is managed in solver like buoyantXFoam or interFoam or SRFX solver for Coriolis but for the understanding of OpenFoam it could be great to have solution for that problem.

I post under the solver and the test case. The problem use for velocity an atmospheric inlet bc, slip condition in spanwise direction, no slip at the botom, fixedVelocity at the top and zeroGradient for outlet.
For pressure, it is zeroGradient condition everywhere.

To dowload the test case: https://www.dropbox.com/s/aqldo1rw5m...iodic.zip?dl=0

Because the projet is to create DNS for benchmark there are not any turbulence model (set laminar)

Thanks for future talks.


Hi,

You cannot use the zeroGradient for pressure and U at the outlet. The system of equations would be underdetermined.

Cheers
Mahmoud Abbaszadeh 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
Hydrodynamic force? arun7328 STAR-CCM+ 24 July 25, 2020 05:04
force and rigid body armin najarian CFX 1 August 20, 2015 14:46
rigid body force armin najarian CFX 5 August 2, 2015 08:31
how to add body force in a duct jane FLUENT 0 March 28, 2004 00:13
Body force Jacob FLUENT 0 August 4, 2003 17:38


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