|
[Sponsors] |
June 29, 2008, 12:25 |
drag.H:3: error: `dragPatches'
|
#1 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
drag.H:3: error: `dragPatches' was not declared in this scope
drag.H:7: error: `dragDirection' was not declared in this scope As dragPatches and dragDirection is declared inside the if-scope they do not exist outside these scopes. If you want to use the variables outside the if-sentence, then you need to declare them outside and set the value inside the if-sentence. - Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RhoSimpleFoam tutorial test case system dictionaries | flavio_pergolesi | OpenFOAM Running, Solving & CFD | 2 | April 17, 2014 09:41 |
Using wildcards regexes in dictionaries | chtrapp | OpenFOAM Pre-Processing | 4 | July 18, 2012 12:37 |
Accessing fields and dictionaries from within a BC implementation | alberto | OpenFOAM Running, Solving & CFD | 12 | December 6, 2011 10:30 |
Thermo dictionaries | grtabor | OpenFOAM Running, Solving & CFD | 0 | July 7, 2005 14:07 |
Dictionaries written by FoamX | Mattijs Janssens (Mattijs) | OpenFOAM Pre-Processing | 1 | January 3, 2005 14:44 |