CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Defining two different variables at two patch in groovyBC with the same name (http://www.cfd-online.com/Forums/openfoam-solving/111543-defining-two-different-variables-two-patch-groovybc-same-name.html)

immortality January 9, 2013 12:58

Defining two different variables at two patch in groovyBC with the same name
 
I have defined two different variables in two patches with the same name and now I have errors in groovyBC.may this error relate to that subject?

gschaider January 9, 2013 17:53

Quote:

Originally Posted by immortality (Post 400996)
I have defined two different variables in two patches with the same name and now I have errors in groovyBC.may this error relate to that subject?

If they are on different patches they should not "shadow" each other ... so: No (each parser has its own space for variables)

immortality January 9, 2013 19:03

thank you.thus the error comes from other thing.im worry i can't find the origin of the print stack error


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