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

[swak4Foam] downgrading groovyBC

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2013, 14:56
Default downgrading groovyBC
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 15:14
Default downgrading groovyBC
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 16:29
Default
  #3
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 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, 09:18
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 15:03
Default
  #5
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 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, 17:25
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 05:40
Default
  #7
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 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, 06:11
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 06:21
Default
  #9
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 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, 06:42
Default
  #10
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 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


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
[swak4Foam] groovyBC for oscillatory flow liybzd OpenFOAM Community Contributions 5 November 12, 2018 07:53
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC zanilu70 OpenFOAM Community Contributions 4 December 13, 2016 06:46
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam dani2702 OpenFOAM Community Contributions 0 November 17, 2016 03:30
[swak4Foam] groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Community Contributions 24 March 1, 2015 07:16
[swak4Foam] groovyBC and Eqn.setReference() benk OpenFOAM Community Contributions 3 June 2, 2011 08:49


All times are GMT -4. The time now is 15:22.