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

changing refValue in groovybc

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2012, 16:23
Default changing refValue in groovybc
  #1
Member
 
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 4
mahdiiowa is an unknown quantity at this point
Hi FOAMERS
do you have any idea how can I change the value of refValue in groovybc to some other value than the default 0?
mahdiiowa is offline   Reply With Quote

Old   September 22, 2012, 05:31
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,063
Blog Entries: 1
Rep Power: 13
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Quote:
Originally Posted by mahdiiowa View Post
Hi FOAMERS
do you have any idea how can I change the value of refValue in groovybc to some other value than the default 0?
add:

refValue uniform 1.0;
nimasam is offline   Reply With Quote

Old   September 24, 2012, 18:35
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,789
Rep Power: 37
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by mahdiiowa View Post
Hi FOAMERS
do you have any idea how can I change the value of refValue in groovybc to some other value than the default 0?
The refValue will only be used in the first timestep anyway. After that it will be "overwritten" by the result of valueExpression
__________________
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 online now   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
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 161 March 30, 2014 08:04
groovyBC mugi OpenFOAM Running, Solving & CFD 1 March 26, 2012 16:49
GroovyBC for 2D wave flume! Hisham OpenFOAM Running, Solving & CFD 13 January 20, 2012 05:04
energy changing associated with mass changing Martin duan FLUENT 0 August 6, 2011 12:42
groovyBC and Eqn.setReference() benk OpenFOAM 3 June 2, 2011 08:49


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