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

Hi Foamers!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2009, 13:02
Default Hi Foamers!
  #1
Member
 
Primoz Ternik
Join Date: Apr 2009
Location: Maribor, Slovenia
Posts: 65
Rep Power: 17
ternik is on a distinguished road
although that I am quite "fresh" in OpenFoam, I found out that it is pretty powerful and it is gaining on popularity. But on the other hand I am missing the capability to use (prescribe) the combination of "zero gradient" and "mass flow rate" boundary conditions at inlets (or at outlets)! So, do you know someone that has already (or is willing and able) wrote down small piece of program for this? Unfortunately my knowledge in C++ is extremely low...

Of course one can overcome this by modeling long enough "inlet section"(but this can be quite "computer memory" consuming, especially for higher values of Re number) or by prescribing fully developed values for velocity, etc. (but this is known only for Newtonian as well as some basic non-Newtonian fluid models and not for Carreau-Yasuda or some other "industrially" interesting non-Newtonian models)!
ternik is offline   Reply With Quote

Old   August 12, 2009, 08:01
Smile Mass Flow Rate And Zero Gradient
  #2
Member
 
Primoz Ternik
Join Date: Apr 2009
Location: Maribor, Slovenia
Posts: 65
Rep Power: 17
ternik is on a distinguished road
Quote:
Originally Posted by ternik View Post
although that I am quite "fresh" in OpenFoam, I found out that it is pretty powerful and it is gaining on popularity. But on the other hand I am missing the capability to use (prescribe) the combination of "zero gradient" and "mass flow rate" boundary conditions at inlets (or at outlets)! So, do you know someone that has already (or is willing and able) wrote down small piece of program for this? Unfortunately my knowledge in C++ is extremely low...

Of course one can overcome this by modeling long enough "inlet section"(but this can be quite "computer memory" consuming, especially for higher values of Re number) or by prescribing fully developed values for velocity, etc. (but this is known only for Newtonian as well as some basic non-Newtonian fluid models and not for Carreau-Yasuda or some other "industrially" interesting non-Newtonian models)!
In order to "push a bit" my previous post, I will explain "why and what":
  • there are numerous numerical examples (either for validation purposes or calculating something new) that requires fully developed flow conditions at inlets for particular flow field; e.g. velocity, pressure, now with OpefFoam.1.5-dev even for viscoelastic shear stresses
  • currently, there are following possibilities for this
    • defining theoretical profiles for particular flow field, but this is (most likely) limited to Newtonian and some "simple" non-Newtonian (Power law) fluids
    • taking the advantage of pressureInletVelocity boundary conditions (defining pressure at inlet and outlet), but this (pressure drop) on the other hand is not always known!
    • defining the average velocity at inlet and then model "long-enough" section to obtain fully developed conditions, which I find extremely "computer memory & time" consuming
So, it is my strong opinion, that modelling of fully developed inflow conditions with a combination of mass flow rate and zero gradients for particular flow variable would not be only of great interest (for both, steady and transient flow) but would also reduce unnecessary "computer memory & time" consumption!

Unfortunately, I am rather fresh to OpenFoam and C++ and therefore I kindly ask "is there anybody out there" that is willing to hear "my cry for help".

Enjoy the day,
Primoz.
ternik is offline   Reply With Quote

Old   October 26, 2010, 12:35
Default
  #3
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Hi,


I have problem to define mass flow rate B.C too. Any suggestion will be appreciated.
maysmech is offline   Reply With Quote

Reply

Tags
boundary conditions, mass flow rate, zero gradient


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
Where to find the theory for weller flamet combustion model 21kalee OpenFOAM Running, Solving & CFD 7 December 19, 2012 18:18
Torque in a sliding interface mesh antonio_ing OpenFOAM Running, Solving & CFD 8 February 23, 2009 05:58
Is it possible to obtain wallY%23601 for an airfoil dinonettis OpenFOAM Running, Solving & CFD 3 May 28, 2008 05:25
To respected Henry weller and Foamers who use combustion in openfoam 21kalee OpenFOAM Running, Solving & CFD 0 December 29, 2007 08:36
Newbie compiling source code for debugging unoder OpenFOAM Running, Solving & CFD 8 August 24, 2006 02:41


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