|
[Sponsors] |
February 18, 2010, 13:55 |
|
#81 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello again :-)!
So... here are some screenshots of the case I have been referring to.... They are images taken after about 400 iterations (a normal run for this case would go up to around 1500 or so), so the fields may not have converged completely. The yellow coloured patch is the inlet patch, and the green coloured one is the outletLS patch. The outlet patch is the third face which I did not colour specifically. The case is basically a hydraulic spool, in which the pressure at the outlet is held constant at around 20 bar or so, and a constant flow of around 0.8 l/min flows out of the outletLS patch. groovyBC couples the inlet patch to outletLS with the condition that the uniform pressure at the inlet be always 9.5 bar higher than the average pressure at outletLS. As I mentioned in my previous post, groovyBC handles this scenario quite well :-)! Have a nice day ahead! Philippose |
|
February 18, 2010, 16:16 |
|
#82 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
February 20, 2010, 06:10 |
|
#83 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Bernhard,
A Good Morning to you! Hope the weekend started off well....! I was looking into the Demo files of the two versions of groovyBC (OF-1.5 and OF-1.6) to see what really needs to be modified, and found the following: [*** Note: As mentioned earlier, I was able to compile the latest version of groovyBC located in the "Breeder-1.6" SVN folder on OpenFOAM-1.5-dev without having to make any modifications ****] 1. Of course, the case average-t-junction does not exist in the OF-1.5 version.... I have finished back-porting this case, and it now works fine on OpenFOAM-1.5-dev with the new version of groovyBC 2. I had to modify the "U" field of the pulsedPitzDaily case in order to make it compatible with the new version of groovyBC, and it runs fine now on OpenFOAM-1.5-dev 3. I had to make no changes to the wobbler case, and it ran "out-of-the-box" with the new version of groovyBC on OpenFOAM-1.5-dev 4. No modifications to the movingConeDistorted case was required, and it too ran with the new version of groovyBC on OpenFOAM-1.5-dev 5. I am not completely sure of the circulatingSplash case, because I dont have PyFoam installed, but on looking into the case, I think the only modification required would be in the "gamma" field.... where the toFace in the "r1" variable will have to be removed...... I ran the case on OpenFOAM-1.5-dev using "interFoam" after making this change to the "gamma" field, but got the error: Code:
Create mesh for time = 0 Reading environmentalProperties Reading field pd Reading field gamma Reading field U Reading/calculating face flux field phi Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Calculating field g.h time step continuity errors : sum local = 0, global = 0, cumulative = 0 PCG: Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 Courant Number mean: 0 max: 0 velocity magnitude: 0 Starting time loop Courant Number mean: 0 max: 0 velocity magnitude: 0 deltaT = 0.00025 Time = 0.00025 MULES: Solving for gamma Liquid phase volume fraction = 0 Min(gamma) = 0 Max(gamma) = 1 MULES: Solving for gamma Liquid phase volume fraction = 0 Min(gamma) = 0 Max(gamma) = 1 MULES: Solving for gamma Liquid phase volume fraction = 0 Min(gamma) = 0 Max(gamma) = 1 GAMG: Solving for pd, Initial residual = 1, Final residual = 0.02034469, No Iterations 3 GAMG: Solving for pd, Initial residual = 0.7797756, Final residual = 0.01510108, No Iterations 3 keyword agglomerator is undefined in dictionary "" file: from line 0 to line 0. From function dictionary::lookupEntry(const word& keyword) const in file db/dictionary/dictionary.C at line 213. FOAM exiting So basically as far as groovyBC is concerned, I think we have everything required and ready, to back-port the changes in the OF-1.6 version of groovyBC to the OF-1.5 version..... What would be the best way to implement the changes? Shall I send you a zipped copy of the entire folder.... so that you could quickly check if everything is ok and update the SVN? Have a nice weekend ahead! Philippose |
|
February 20, 2010, 14:44 |
|
#84 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hi Philippose
I had a similar error, however requesting "smoother" undefined otherwise identical error message. I believe I tracked it down to either pcorr or pdFinal in fvSolution, however I was unable to resolve the problem. The solution was to change the solver to basic PCG, however it would be nice to resolve the error instead. A good weekend to you as well. Best regards, Niels |
|
February 22, 2010, 07:15 |
Building Problems
|
#85 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
I have problems building groovyBC (and also funkySetFields) on our system against both 1.6(.x) and 1.5.x/1.5-dev. For the vanilla 1.6 I get:
Code:
ValueExpressionLexer.ll:136: error: ‘class ValueExpressionDriver’ has no member named ‘isVector’ Regards BastiL |
|
February 24, 2010, 09:17 |
|
#86 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
February 24, 2010, 09:28 |
|
#87 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
February 25, 2010, 03:57 |
|
#88 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Bernhard, thanks for your help. I started with funkySetFields skipping groovyBC at the moments:
Code:
svn status -v ValueExpressionLexer.ll 1669 1608 bgschaid ValueExpressionLexer.ll svn info Path: . URL: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder_1.6/utilities/postProcessing/FunkySetFields/funkySetFields Repository Root: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend Repository UUID: e4e07f05-0c2f-0410-a05a-b8ba57e0c909 Revision: 1669 Node Kind: directory Schedule: normal Last Changed Author: bgschaid Last Changed Rev: 1611 Last Changed Date: 2010-01-26 11:24:56 +0100 (Tue, 26 Jan 2010) Code:
wmake libso wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file ValueExpressionLexer.ll Making dependency list for source file ValueExpressionParser.yy could not open file ValueExpressionParser.tab.hh for source file ValueExpressionLexer.ll could not open file ValueExpressionParser.tab.hh for source file ValueExpressionParser.yy I am not really sure that is going wrong. This was my build against the native vanillia 1.6... Regards Basti |
|
February 25, 2010, 09:48 |
|
#89 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Bernhard |
|||
February 25, 2010, 13:45 |
|
#90 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Of course not....
Code:
wmake Making dependency list for source file ValueExpressionLexer.C Making dependency list for source file ValueExpressionParser.C Making dependency list for source file ValueExpressionDriver.C Making dependency list for source file funkySetFields.C SOURCE=ValueExpressionLexer.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ValueExpressionLexer.o SOURCE=ValueExpressionParser.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ValueExpressionParser.o lex.ve.c:340: warning: use of old-style cast lex.ve.c:410: warning: use of old-style cast lex.ve.c:410: warning: use of old-style cast In file included from ValueExpressionParser.yy:62, from ValueExpressionParser.tab.cc:68: ValueExpressionDriver.H:23: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier ValueExpressionDriver.H:23: error: ‘yylval’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘*’ token ValueExpressionDriver.H:23: error: ‘yylloc’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘&’ token ValueExpressionDriver.H:23: error: ‘driver’ was not declared in this scope ValueExpressionDriver.H:23: error: initializer expression list treated as compound expression ValueExpressionParser.tab.cc:158: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:192: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:202: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:213: error: expected ‘,’ or ‘...’ before ‘*’ token ValueExpressionParser.tab.cc:213: error: ISO C++ forbids declaration of ‘semantic_type’ with no type ValueExpressionParser.tab.cc:213: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:362: error: expected ‘,’ or ‘...’ before ‘*’ token ValueExpressionParser.tab.cc:362: error: ISO C++ forbids declaration of ‘semantic_type’ with no type ValueExpressionParser.tab.cc:362: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:374: error: ‘semantic_type’ has not been declared ValueExpressionParser.tab.cc:374: error: ‘location_type’ has not been declared ValueExpressionParser.tab.cc:374: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:508: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:517: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:523: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:529: error: ‘debug_level_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:536: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:536: error: ‘debug_level_type’ was not declared in this scope ValueExpressionParser.tab.cc:543: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2119: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2169: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2171: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2240: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2307: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2315: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2324: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2326: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2561: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2797: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2866: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2884: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2909: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2936: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2967: error: ‘rhs_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:3056: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3081: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3106: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3117: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3134: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:3183: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3184: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3185: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3186: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3187: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3188: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3189: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3190: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3192: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3193: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.yy:380: error: expected unqualified-id before ‘&’ token ValueExpressionParser.yy:380: error: expected ‘,’ or ‘...’ before ‘&’ token ValueExpressionParser.yy:380: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ make: *** [Make/linux64GccDPOpt/ValueExpressionParser.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ValueExpressionParser.yy:63, from ValueExpressionDriver.H:14, from ValueExpressionLexer.ll:3: ValueExpressionDriverLogicalTemplates.H:7: error: expected initializer before ‘<’ token ValueExpressionDriverLogicalTemplates.H:13: error: expected initializer before ‘<’ token ValueExpressionDriverLogicalTemplates.H:48: error: invalid use of incomplete type ‘struct ValueExpressionDriver’ ValueExpressionDriver.H:12: error: forward declaration of ‘struct ValueExpressionDriver’ ValueExpressionDriverLogicalTemplates.H:74: error: invalid use of incomplete type ‘struct ValueExpressionDriver’ ValueExpressionDriver.H:12: error: forward declaration of ‘struct ValueExpressionDriver’ ValueExpressionDriverLogicalTemplates.H:105: error: invalid use of incomplete type ‘struct ValueExpressionDriver’ ValueExpressionDriver.H:12: error: forward declaration of ‘struct ValueExpressionDriver’ ValueExpressionDriverLogicalTemplates.H:133: error: invalid use of incomplete type ‘struct ValueExpressionDriver’ ValueExpressionDriver.H:12: error: forward declaration of ‘struct ValueExpressionDriver’ In file included from ValueExpressionLexer.ll:3: ValueExpressionDriver.H:23: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier ValueExpressionDriver.H:23: error: ‘yylval’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘*’ token ValueExpressionDriver.H:23: error: ‘yylloc’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘&’ token ValueExpressionDriver.H:23: error: ‘driver’ was not declared in this scope ValueExpressionDriver.H:23: error: initializer expression list treated as compound expression lex.ve.c:8769: error: redefinition of ‘int velex’ ValueExpressionDriver.H:23: error: ‘int velex’ previously defined here lex.ve.c:8769: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier lex.ve.c:8769: error: ‘yylval’ was not declared in this scope lex.ve.c:8769: error: expected primary-expression before ‘*’ token lex.ve.c:8769: error: ‘yylloc’ was not declared in this scope lex.ve.c:8769: error: expected primary-expression before ‘&’ token lex.ve.c:8769: error: ‘driver’ was not declared in this scope lex.ve.c:306: warning: ‘yy_buffer_stack_top’ defined but not used lex.ve.c:307: warning: ‘yy_buffer_stack_max’ defined but not used lex.ve.c:308: warning: ‘yy_buffer_stack’ defined but not used lex.ve.c:335: warning: ‘yy_hold_char’ defined but not used lex.ve.c:336: warning: ‘yy_n_chars’ defined but not used lex.ve.c:340: warning: ‘yy_c_buf_p’ defined but not used lex.ve.c:341: warning: ‘yy_init’ defined but not used lex.ve.c:342: warning: ‘yy_start’ defined but not used lex.ve.c:347: warning: ‘yy_did_buffer_switch_on_eof’ defined but not used lex.ve.c:360: warning: ‘void veensure_buffer_stack()’ declared ‘static’ but never defined lex.ve.c:361: warning: ‘void ve_load_buffer_state()’ declared ‘static’ but never defined lex.ve.c:362: warning: ‘void ve_init_buffer(yy_buffer_state*, FILE*)’ declared ‘static’ but never defined lex.ve.c:8401: warning: ‘yy_state_type yy_get_previous_state()’ declared ‘static’ but never defined lex.ve.c:8402: warning: ‘yy_state_type yy_try_NUL_trans(yy_state_type)’ declared ‘static’ but never defined lex.ve.c:8403: warning: ‘int yy_get_next_buffer()’ declared ‘static’ but never defined lex.ve.c:8404: warning: ‘void yy_fatal_error(const char*)’ declared ‘static’ but never defined lex.ve.c:8484: warning: ‘yy_last_accepting_state’ defined but not used lex.ve.c:8485: warning: ‘yy_last_accepting_cpos’ defined but not used lex.ve.c:8596: warning: ‘int yy_init_globals()’ declared ‘static’ but never defined lex.ve.c:8636: warning: ‘int yyinput()’ declared ‘static’ but never defined lex.ve.c:8647: warning: ‘yy_start_stack_ptr’ defined but not used lex.ve.c:8648: warning: ‘yy_start_stack_depth’ defined but not used lex.ve.c:8649: warning: ‘yy_start_stack’ defined but not used lex.ve.c:8651: warning: ‘void yy_push_state(int)’ declared ‘static’ but never defined lex.ve.c:8653: warning: ‘void yy_pop_state()’ declared ‘static’ but never defined lex.ve.c:8655: warning: ‘int yy_top_state()’ declared ‘static’ but never defined make: *** [Make/linux64GccDPOpt/ValueExpressionLexer.o] Error 1 |
|
February 26, 2010, 10:33 |
|
#91 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Other thing: the compilation you do here: did you use the insertGenerated-script by any chance? Because I'm not 100% sure if the generated files in the SVN are up-to-date Bernhard |
||
February 26, 2010, 10:48 |
|
#92 | ||
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
Quote:
If svn is not up-to-date, what is it? I have problems with all funkySetFields ad groovyBC with 1.5 and 1.6 OF-Line. Regards Basti |
|||
February 26, 2010, 15:06 |
|
#93 | |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Quote:
Thanks for the reply.... :-)! I think it should be possible for me to handle the 1.5 branch of groovyBC.... on the other hand, if you think its better to limit the number of people who have write access to the SVN, then I can send you the TAR package too :-)! Have a nice evening! Philippose |
||
March 1, 2010, 08:10 |
|
#94 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
OK.
Quote:
Code:
SOURCE=ValueExpressionLexer.C; g++ .... Code:
SOURCE=ValueExpressionLexer.ll ; rm Make/linux64GccDPOpt/ValueExpressionLexer.C ; flex -f $SOURCE ; mv *.c Make/linux64GccDPOpt/ValueExpressionLexer.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/home/bgschaid/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/bgschaid/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/home/bgschaid/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/bgschaid/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/ValueExpressionLexer.C -o Make/linux64GccDPOpt/ValueExpressionLexer.o |
||
March 1, 2010, 08:16 |
|
#95 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
March 1, 2010, 10:53 |
|
#96 | |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
I did a "svn update": Code:
svn update U GeneratedFiles/ValueExpressionParser.C U GeneratedFiles/ValueExpressionLexer.C U ValueExpressionParser.output Updated to revision 1670. Code:
wmake Making dependency list for source file ValueExpressionParser.C Making dependency list for source file ValueExpressionLexer.C Making dependency list for source file ValueExpressionDriver.C Making dependency list for source file funkySetFields.C SOURCE=ValueExpressionParser.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ValueExpressionParser.o In file included from ValueExpressionParser.yy:62, from ValueExpressionParser.tab.cc:68: ValueExpressionDriver.H:23: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier ValueExpressionDriver.H:23: error: ‘yylval’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘*’ token ValueExpressionDriver.H:23: error: ‘yylloc’ was not declared in this scope ValueExpressionDriver.H:23: error: expected primary-expression before ‘&’ token ValueExpressionDriver.H:23: error: ‘driver’ was not declared in this scope ValueExpressionDriver.H:23: error: initializer expression list treated as compound expression ValueExpressionParser.tab.cc:158: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:192: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:202: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:213: error: expected ‘,’ or ‘...’ before ‘*’ token ValueExpressionParser.tab.cc:213: error: ISO C++ forbids declaration of ‘semantic_type’ with no type ValueExpressionParser.tab.cc:213: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:362: error: expected ‘,’ or ‘...’ before ‘*’ token ValueExpressionParser.tab.cc:362: error: ISO C++ forbids declaration of ‘semantic_type’ with no type ValueExpressionParser.tab.cc:362: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:374: error: ‘semantic_type’ has not been declared ValueExpressionParser.tab.cc:374: error: ‘location_type’ has not been declared ValueExpressionParser.tab.cc:374: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:508: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:517: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:523: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:529: error: ‘debug_level_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:536: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:536: error: ‘debug_level_type’ was not declared in this scope ValueExpressionParser.tab.cc:543: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2119: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2169: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2171: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2240: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2307: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2315: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2324: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2326: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2561: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2797: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2866: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2884: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2909: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2936: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:2967: error: ‘rhs_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:3056: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3081: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3106: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3117: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3134: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.tab.cc:3183: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3184: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3185: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3186: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3187: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3188: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3189: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3190: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3192: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ ValueExpressionParser.tab.cc:3193: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type ValueExpressionParser.yy:380: error: expected unqualified-id before ‘&’ token ValueExpressionParser.yy:380: error: expected ‘,’ or ‘...’ before ‘&’ token ValueExpressionParser.yy:380: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ make: *** [Make/linux64GccDPOpt/ValueExpressionParser.o] Error 1 |
||
March 2, 2010, 13:49 |
|
#97 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
These look fine (I use the same except for the compiler which differs slightly)
Quote:
Code:
Making dependency list for source file ValueExpressionParser.yy could not open file ValueExpressionParser.tab.hh for source file ValueExpressionParser.yy Making dependency list for source file ValueExpressionLexer.ll could not open file ValueExpressionParser.tab.hh for source file ValueExpressionLexer.ll Making dependency list for source file ValueExpressionDriver.C could not open file ValueExpressionParser.tab.hh for source file ValueExpressionDriver.C Bernhard |
||
March 3, 2010, 08:32 |
|
#98 | |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
Code:
wmake Making dependency list for source file ValueExpressionParser.yy could not open file ValueExpressionParser.tab.hh for source file ValueExpressionParser.yy Making dependency list for source file ValueExpressionLexer.ll could not open file ValueExpressionParser.tab.hh for source file ValueExpressionLexer.ll Making dependency list for source file ValueExpressionDriver.C could not open file ValueExpressionParser.tab.hh for source file ValueExpressionDriver.C Making dependency list for source file funkySetFields.C could not open file ValueExpressionParser.tab.hh for source file funkySetFields.C SOURCE=ValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/ValueExpressionParser.C Make/linux64GccDPOpt/ValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linux64GccDPOpt/ValueExpressionParser.C ; mv *.tab.hh Make/linux64GccDPOpt/ValueExpressionParser.tab.hh ; mv *.hh Make/linux64GccDPOpt ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/ValueExpressionParser.C -o Make/linux64GccDPOpt/ValueExpressionParser.o /opt/bison/2.4.1/share/bison/location.cc:24: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored /opt/bison/2.4.1/share/bison/location.cc:148: /usr/bin/m4: Warning: Excess arguments to built-in `m4_if' ignored /opt/bison/2.4.1/share/bison/location.cc:148: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored /opt/bison/2.4.1/share/bison/location.cc:274: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored /opt/bison/2.4.1/share/bison/lalr1.cc:300: /usr/bin/m4: Warning: Excess arguments to built-in `m4_if' ignored /opt/bison/2.4.1/share/bison/lalr1.cc:300: /usr/bin/m4: Warning: Excess arguments to built-in `_m4_popdef' ignored NONE:0: /usr/bin/m4: ERROR: EOF in string bison: subsidiary program `/usr/bin/m4' failed (exit status 1) mv: cannot stat `*.tab.cc': No such file or directory mv: cannot stat `*.tab.hh': No such file or directory g++: Make/linux64GccDPOpt/ValueExpressionParser.C: No such file or directory g++: no input files make: *** [Make/linux64GccDPOpt/ValueExpressionParser.o] Error 1 |
||
March 3, 2010, 10:36 |
|
#99 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
March 3, 2010, 12:14 |
|
#100 | |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Quote:
Code:
wmake Making dependency list for source file ValueExpressionParser.yy could not open file ValueExpressionParser.tab.hh for source file ValueExpressionParser.yy Making dependency list for source file ValueExpressionLexer.ll could not open file ValueExpressionParser.tab.hh for source file ValueExpressionLexer.ll Making dependency list for source file ValueExpressionDriver.C could not open file ValueExpressionParser.tab.hh for source file ValueExpressionDriver.C Making dependency list for source file funkySetFields.C could not open file ValueExpressionParser.tab.hh for source file funkySetFields.C SOURCE=ValueExpressionParser.yy ; rm -f Make/linux64GccDPOpt/ValueExpressionParser.C Make/linux64GccDPOpt/ValueExpressionParser.tab.hh; bison -ra -v -d $SOURCE ; mv *.tab.cc Make/linux64GccDPOpt/ValueExpressionParser.C ; mv *.tab.hh Make/linux64GccDPOpt/ValueExpressionParser.tab.hh ; mv *.hh Make/linux64GccDPOpt ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/opt/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/ValueExpressionParser.C -o Make/linux64GccDPOpt/ValueExpressionParser.o In file included from ValueExpressionParser.yy:62, from Make/linux64GccDPOpt/ValueExpressionParser.C:24: ./ValueExpressionDriver.H:23: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier ./ValueExpressionDriver.H:23: error: ‘yylval’ was not declared in this scope ./ValueExpressionDriver.H:23: error: expected primary-expression before ‘*’ token ./ValueExpressionDriver.H:23: error: ‘yylloc’ was not declared in this scope ./ValueExpressionDriver.H:23: error: expected primary-expression before ‘&’ token ./ValueExpressionDriver.H:23: error: ‘driver’ was not declared in this scope ./ValueExpressionDriver.H:23: error: initializer expression list treated as compound expression ValueExpressionParser.tab.cc: In member function ‘virtual int yy::ValueExpressionParser::parse()’: ValueExpressionParser.tab.cc:409: error: ‘velex’ cannot be used as a function ValueExpressionParser.tab.cc: In member function ‘unsigned char yy::ValueExpressionParser::yytranslate_(int)’: ValueExpressionParser.tab.cc:2633: warning: use of old-style cast ValueExpressionParser.yy: At global scope: ValueExpressionParser.yy:382: error: expected unqualified-id before ‘&’ token ValueExpressionParser.yy:382: error: expected ‘,’ or ‘...’ before ‘&’ token ValueExpressionParser.yy:382: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’ ./ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’ make: *** [Make/linux64GccDPOpt/ValueExpressionParser.o] Error 1 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ship resistance shows wiggles when using Overset mesh and dynamic mesh in Fluent | Qingsong | FLUENT | 2 | March 21, 2022 16:08 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[ICEM] Dynamic mesh setup with ICEM | David121284 | ANSYS Meshing & Geometry | 0 | April 11, 2014 05:19 |
Dynamic Mesh "Shadow Wall" | thezack | FLUENT | 0 | June 4, 2013 23:09 |
dynamic mesh for drop interface | IndrajitW | FLUENT | 0 | March 30, 2013 09:03 |