|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
hello
here is my groovyBC in a patch but I receive an error that is: Mean and max Courant Numbers = 97.4802 211.345 deltaT = 9.46319e-10 Time = 9.46319e-10 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 swak4Foam: Allocating new repository for sampledGlobalVariables --> FOAM FATAL ERROR: Parser Error at "1.36" :"syntax error, unexpected '(', expecting value or '-'" "pr_01*pow((internalField(T)/Tr_01),(gamma/(gamma-1)))" " ^ " From function parsingValue in file lnInclude/CommonValueExpressionDriverI.H at line 802. FOAM exiting I need a urgent help. thank you to helper! |
|
|
|
|
|
|
|
|
#2 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,115
Rep Power: 30 ![]() ![]() |
Quote:
Code:
--> FOAM FATAL ERROR:
Parser Error at "1.36" :"syntax error, unexpected '(', expecting value or '-'"
"pr_01*pow((internalField(T)/Tr_01),(gamma/(gamma-1)))"
" ^ "
__________________
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 |
||
|
|
|
||
|
|
|
#3 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
ok.from where i can download the new version?
Thank you. |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
another thing gamma here is a scalar i assigned it in variables list.just a number should be use in this version?
|
|
|
|
|
|
|
|
|
#5 |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,115
Rep Power: 30 ![]() ![]() |
New versions of groovyBC are only available as a part of swak4Foam:
http://openfoamwiki.net/index.php/Co...am#Downloading I think so. Best way to find out is try
__________________
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 |
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
yes when I use their number values it dosen't show any error.
|
|
|
|
|
|
|
|
|
#7 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
I can't download new swak4Foam.how I should do it:
https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ it opens a list that I don't know how download it. thanks. |
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Please consult this section on the wiki for details on the download procedure:
http://openfoamwiki.net/index.php/Co...am#Downloading Kind regards, Niels |
|
|
|
|
|
|
|
|
#9 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
ISP I use now doesn't support https so Im downloading with http.
it doesn't have any problem? what should I do then for installing?where this file is saving? |
|
|
|
|
|
|
|
|
#10 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
First of all, you should use svn (google 'subversion') to download the entire package. It is not intended for you to download the files manually.
Secondly, for compiling (building) swak4Foam look at the description on the page I gave you the link for in the previous post. Kind regards, Niels |
|
|
|
|
|
|
|
|
#11 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
Thank you Mr Jacobsen
a directory named swakFoam that is 7.3MB has maked in downloads directory. is it ok? how can I find the version of swak4Foam? thanks. |
|
|
|
|
|
|
|
|
#12 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
I had another swak4foam before.it doesn't make any problem to older one?
it can't be upgrade or must compile from none? thanks. |
|
|
|
|
|
|
|
|
#13 |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,115
Rep Power: 30 ![]() ![]() |
Just compile the new one. The binaries should replace the old ones
__________________
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 |
|
|
|
|
|
|
|
|
#14 |
|
Senior Member
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,124
Rep Power: 6 ![]() |
thanks Mr.Gschaider
How about knowing version? Thanks. |
|
|
|
|
|
|
|
|
#15 |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,115
Rep Power: 30 ![]() ![]() |
You mean: "how do I know which version I have?"?
When you just enter funkySetFields you get an error message. Above that is the usual OF-header. Just below the header is a line saying "swakVersion: 0.x.x". If your version is 0.2.1 you have the most recent. If you don't see that line your version is from before 0.2.0
__________________
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| epsilon groovyBC problem | Thom | OpenFOAM Running, Solving & CFD | 5 | October 26, 2012 05:16 |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
| natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
| Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
| Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |