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

timeVaryingUniformFixedValue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2013, 03:52
Default timeVaryingUniformFixedValue
  #1
Member
 
Hale
Join Date: May 2013
Posts: 53
Rep Power: 12
Hale is on a distinguished road
Hi everyone,

I want to apply the timeVaryingUniformFixedValue boundary condition to the outlet in such a way that the outlet is closed (Dirichlet b.c.) for the first 3 seconds then it is open (Neumann b.c. e.g. an inletOutlet b.c.) for the next 2 seconds and it continues like that.

Is it possible to apply derived boundary conditions (e.g. inletOutlet) in timeVaryingUniformFixedValue for the velocity? In other words just change from Dirichlet b.c. to Neumann b.c.?

Thanks
Hale is offline   Reply With Quote

Old   October 1, 2013, 08:09
Default
  #2
Member
 
Hale
Join Date: May 2013
Posts: 53
Rep Power: 12
Hale is on a distinguished road
anyone has used groovyBC for time-dependent boundary condition? I need to switch between fixedValue and zeroGradient at the outlet as function of time.

Any help is really appreciated.
Hale is offline   Reply With Quote

Old   October 3, 2013, 03:58
Default
  #3
Member
 
Hale
Join Date: May 2013
Posts: 53
Rep Power: 12
Hale is on a distinguished road
no suggestions?
Hale is offline   Reply With Quote

Old   October 5, 2013, 08:06
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Hale,

There are a few possibilities that come to mind:
  • You can run the simulation in two parts and use changeDictionary to modify the boundary condition. You can find examples by running:
    Code:
    find $WM_PROJECT_DIR -name changeDictionary
  • You can take the source code of the two boundary conditions and create your own boundary condition.
  • Have a look into the folder "Examples/groovyBC" in swak4Foam's source code package: http://openfoamwiki.net/index.php/Contrib/swak4Foam - as well as the dedicate page for groovyBC: http://openfoamwiki.net/index.php/Contrib_groovyBC
Best regards,
Bruno
__________________
wyldckat 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



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