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

Changing Pressure with time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2019, 17:14
Default Changing Pressure with time
  #1
Member
 
Ysmn
Join Date: Mar 2018
Location: Auburn,AL
Posts: 34
Rep Power: 8
elyasmin is on a distinguished road
Hello everyone,

I am using fixed pressure value in my simulations now. But I would like to use a pressure table that drops in time. Do you know how to do it?

Thank you,
Yasemin
elyasmin is offline   Reply With Quote

Old   January 6, 2019, 13:40
Default
  #2
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 13
gkarlsen is on a distinguished road
Quote:
Originally Posted by elyasmin View Post
Hello everyone,

I am using fixed pressure value in my simulations now. But I would like to use a pressure table that drops in time. Do you know how to do it?

Thank you,
Yasemin
Hi,

There are several built in BC's that support this. You can find them by running:

Code:
    find $FOAM_SRC/finiteVolume/fields/fvPatchFields -type f | \\ 
        xargs grep -l Function1 | xargs dirname | sort -u
For your specific application you might find uniformFixedValue or uniformTotalPressure of use. Something like this:

Code:
  inlet 
  { 
      type         uniformFixedValue; 
      uniformValue table ((0 0) (10 2)); 
  }
If you need something more advanced than the built in functions (which are: table, csv, square, ramp, sine, polynomial) you could take a look at groovyBC (swak4foam)
gkarlsen 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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
p_rgh initial residual no change with different settings manuc OpenFOAM Running, Solving & CFD 3 June 26, 2018 15:53
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09


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