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

[swak4Foam] groovyBC specifying time and spatial varying boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2014, 21:34
Default groovyBC specifying time and spatial varying boundary conditions
  #1
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Hi all,

I have been using timelines in groovyBC for awhile now and results has been really good for my applications. I am currently planning to take it a step further and vary the boundary conditions in one of the spatial axis (i.e. y-axis). I am not very sure how I should accomplish this. Is it through lookup tables? Since now I will be inputting data that is going to vary with time and the y-axis, am I supposed to put all the data (a 2D array) into lookuptables? Or should/can timelines and lookuptables be used together?

TIA
haze_1986 is offline   Reply With Quote

Old   December 8, 2014, 05:14
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by haze_1986 View Post
Hi all,

I have been using timelines in groovyBC for awhile now and results has been really good for my applications. I am currently planning to take it a step further and vary the boundary conditions in one of the spatial axis (i.e. y-axis). I am not very sure how I should accomplish this. Is it through lookup tables? Since now I will be inputting data that is going to vary with time and the y-axis, am I supposed to put all the data (a 2D array) into lookuptables? Or should/can timelines and lookuptables be used together?

TIA
As multi-dimensional lookuptables is an often-requested feature I decided to start a FAQ on swak with it: http://openfoamwiki.net/index.php/Contrib/swak4Foam/FAQ
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   December 8, 2014, 05:39
Default
  #3
Senior Member
 
Join Date: Jul 2011
Posts: 120
Rep Power: 14
haze_1986 is on a distinguished road
Quote:
Originally Posted by gschaider View Post
As multi-dimensional lookuptables is an often-requested feature I decided to start a FAQ on swak with it: http://openfoamwiki.net/index.php/Contrib/swak4Foam/FAQ
I see, thanks for the info.
Sorry I'm not very clear on the second point. Does timeVaryingMappedFixedValue only work if we can separate the function into g(x)*h(y) is that correct?
haze_1986 is offline   Reply With Quote

Old   December 9, 2014, 07:45
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by haze_1986 View Post
I see, thanks for the info.
Sorry I'm not very clear on the second point. Does timeVaryingMappedFixedValue only work if we can separate the function into g(x)*h(y) is that correct?
As far as I remember timeVaryingMappedFixedValue interpolates in time between sets of spatial data. It can not be combined with grovvy/swak
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   September 10, 2015, 09:00
Default
  #5
Member
 
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 14
ecbmxer is on a distinguished road
Bumping this thread up because I was wondering if anyone has done any additional development work to implement multidimensional lookup tables in swak4foam (groovyBC).

Or alternatively, does anyone know where in the swak source the lookuptable stuff located? I've not been able to find it thus far.

Thanks!

-Clint
ecbmxer 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
Physical Reason for stability of Implicit Schemes? radhakrishnan Main CFD Forum 26 October 3, 2023 22:05
LES in DES can't be actived! shenying0710 CFX 17 January 23, 2014 04:45
ribbed channel / simpleFoam / boundary conditions beeo OpenFOAM Pre-Processing 20 July 17, 2013 08:39
spatial non uniform boundary conditions pepe.aero OpenFOAM Pre-Processing 4 November 12, 2012 09:29
Fluent accuracy and boundary conditions Paolo Lampitella FLUENT 0 June 12, 2008 06:25


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