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

downgrading groovyBC

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

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Display Modes
Old   February 15, 2013, 15:56
Default downgrading groovyBC
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
I have some problems occur for me in 0.2.1 version of groovyBC although i had not them in 0.2.0 but i dont know how delete it for installing previous version.
how can i do that?
immortality is offline   Reply With Quote

Old   February 15, 2013, 16:14
Default downgrading groovyBC
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
sorry for repeat it here.i have downloaded 0.2.1 groovyBC version but it now show an error on thermophysical model though it wasn't show at previous 0.2.0 version.
1)is it because new version is more powerful and has take an error that preceding one couldn't take that.
2)how can i downgrade that?
immortality is offline   Reply With Quote

Old   February 15, 2013, 17:29
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
I have some problems occur for me in 0.2.1 version of groovyBC although i had not them in 0.2.0 but i dont know how delete it for installing previous version.
how can i do that?
In the swak-distribution there is a number of scripts in the folder maintainanceScripts called removeSwakFilesFrom... You'll probably want Local

Anyway: what is the problem you're having. Bug-report on http://sourceforge.net/apps/mantisbt...l_bug_page.php would be most helpful
__________________
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   February 16, 2013, 10:18
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
thank you.how can i use the utility for local?i write its name with and without sh in terminal and also "Run in Terminal" but nothing occurs.
immortality is offline   Reply With Quote

Old   February 16, 2013, 16:03
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
thank you.how can i use the utility for local?i write its name with and without sh in terminal and also "Run in Terminal" but nothing occurs.
In the terminal go to the directory with the swak-sources and run it as ./maintainanceScripts/removeLocalSwakVersion.sh (may be misspelled. I rarely use that utility). It only works when run from that directory
__________________
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   February 16, 2013, 18:25
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
i copy its name to folders'terminal but doesnt recognize it:
Code:
ehsan@Ehsan-com:~/Downloads/swak4Foam/maintainanceScripts$ removeSwakFilesFromLocal.sh
removeSwakFilesFromLocal.sh: command not found
immortality is offline   Reply With Quote

Old   February 17, 2013, 06:40
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
i copy its name to folders'terminal but doesnt recognize it:
Code:
ehsan@Ehsan-com:~/Downloads/swak4Foam/maintainanceScripts$ removeSwakFilesFromLocal.sh
removeSwakFilesFromLocal.sh: command not found
Execute it JUST THE WAY I specified it:
Code:
cd <wherever your swak Sources are>
./maintainanceScripts/removeLocalSwakVersion.sh
The way you use it would only work if it was in the PATH and there is no sense in copying there as this is only a measure of last resort. I rather spend my time fixing bugs (which you supposedly have but don't care to report) or working on features than making this script user-friendly. If you can't use the script just remove everything with swak and groovy in the name from $FOAM_USER_LIBBIN and you've downgraded
__________________
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   February 17, 2013, 07:11
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
it showed this message.what does that mean?has it downgraded to 0.2.0 or it must be compiled again?
Code:
ehsan@Ehsan-com:~/Downloads/swak4Foam$ ./maintainanceScripts/removeSwakFilesFromLocal.sh
./theFiles.sh: 3: Syntax error: "(" unexpected
immortality is offline   Reply With Quote

Old   February 17, 2013, 07:21
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
it showed this message.what does that mean?has it downgraded to 0.2.0 or it must be compiled again?
Code:
ehsan@Ehsan-com:~/Downloads/swak4Foam$ ./maintainanceScripts/removeSwakFilesFromLocal.sh
./theFiles.sh: 3: Syntax error: "(" unexpected
That is a problem with incompatible shells (you have an Ubuntu, right). Replace in the remove-script /bin/sh with /bin/bash
immortality likes this.
__________________
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   February 17, 2013, 07:42
Default
  #10
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by gschaider View Post
That is a problem with incompatible shells (you have an Ubuntu, right). Replace in the remove-script /bin/sh with /bin/bash
Ah. Yeah. And of course you have to recompile
__________________
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

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 issue - k and epsilon sagnikmazumdar OpenFOAM Running, Solving & CFD 24 March 1, 2015 08:16
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 164 January 13, 2015 03:52
Boundary condition with a non-uniform gradient - groovyBC? STiss OpenFOAM Programming & Development 3 October 11, 2013 02:04
groovyBC and Eqn.setReference() benk OpenFOAM 3 June 2, 2011 08:49
Wall heat transfer using groovyBC (XiFoam solver) usergk OpenFOAM 7 February 4, 2011 14:36


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