CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] Defining two different variables at two patch in groovyBC with the same name (https://www.cfd-online.com/Forums/openfoam-community-contributions/111543-defining-two-different-variables-two-patch-groovybc-same-name.html)

immortality January 9, 2013 11: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 16: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 18: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 15:33.