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

GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   August 21, 2012, 07:31
Default
  #281
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 147
Rep Power: 5
linch is on a distinguished road
Quote:
Originally Posted by gschaider View Post
A dimensionedScalar defined in the program? No. There are some ways around (the IOreferencer described below is one of them). But to say which is the best it would be helpful if you described the problem you want to solve
I use a moving reference frame. It is sufficient to describe the reference frame velocity with a single vector, this velocity is needed for BCs. That's it, actually.

Best regards,
Illya
linch is offline   Reply With Quote

Old   August 21, 2012, 07:58
Default
  #282
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 765
Rep Power: 13
akidess will become famous soon enough
Done

Quote:
Originally Posted by gschaider View Post
I wasn't aware of this. That's why it was not represented in the grammar.

That would be a simple fix to the grammar.

You don't have to ask to file a bug report. If I don't like them I will turn them down Yes. Please
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Check out the scientific computing exchange http://scicomp.stackexchange.com
akidess is offline   Reply With Quote

Old   August 23, 2012, 13:48
Default
  #283
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,165
Rep Power: 30
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by linch View Post
I use a moving reference frame. It is sufficient to describe the reference frame velocity with a single vector, this velocity is needed for BCs. That's it, actually.
It was discussed elsewhere: it is not possible to access a variable in the solver code if it is not registered with the mesh.

The possibilities with swak are (I assume that the reference frame velocity is specified in a file):
- use a global variable that is used in all boundary conditions. That wy you have to specify the velocity twice (and consistent): once in the original file, the other time in the controlDict with a global-variable functionObject
- with the pythonIntegration (or the swakCoded if you prefer C++) functionObject: the FO reads the value from the file and injects it into the global namespace

Note: with option 1 you have a possibility to keep it consistent: add a dictionary file with an entry

referenceVelocity (1 1 42);

include that using the include directive into both files where the vel is used and write $referenceVelocity instead of the velocity.
gschaider is offline   Reply With Quote

Old   April 8, 2013, 07:52
Default Download of Groovy Bc
  #284
New Member
 
Mohammad Ghandali
Join Date: Jan 2013
Posts: 5
Rep Power: 2
Mohamad(AUT) is on a distinguished road
Hi bernhard
thank you for your works i appreciate you for these
if you notice that the sourcefourge svn for downloading groovy bc lib is down can you mail it for me?
thank you for your help...

Best Regards Mohamad
Mohamad(AUT) is offline   Reply With Quote

Old   April 8, 2013, 09:19
Default
  #285
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,192
Rep Power: 19
ngj will become famous soon enough
Hi Mohamad,

The SVN is still down and has been for a while. Temporary download instructions can be found here:

http://openfoamwiki.net/index.php/Co...am#Downloading

Note that swak4Foam combines groovyBC and funkySetField functionalities, and I believe that the individual devlopment of these two tools have come to a stop along with the introduction of swak4Foam.

Kind regards

Niels
Mohamad(AUT) likes this.
ngj is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running funkySetFields sara OpenFOAM Running, Solving & CFD 10 October 3, 2012 10:08
FunkySetFields for OF 141 mer OpenFOAM Pre-Processing 68 May 5, 2011 04:25
FunkySetFields dictionary gschaider OpenFOAM Running, Solving & CFD 14 December 3, 2008 21:13
FunkySetFields for cyclic bc zakifoam OpenFOAM Pre-Processing 1 December 18, 2007 07:24


All times are GMT -4. The time now is 18:27.