|June 29, 2008, 11:25||
drag.H:3: error: `dragPatches'
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,729Rep Power: 28
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.
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
|Thread||Thread Starter||Forum||Replies||Last Post|
|RhoSimpleFoam tutorial test case system dictionaries||flavio_pergolesi||OpenFOAM Running, Solving & CFD||2||April 17, 2014 08:41|
|Using wildcards regexes in dictionaries||chtrapp||OpenFOAM Pre-Processing||4||July 18, 2012 11: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 13:07|
|Dictionaries written by FoamX||Mattijs Janssens (Mattijs)||OpenFOAM Pre-Processing||1||January 3, 2005 14:44|