|July 1, 2015, 06:45||
Accessing field values with in a dynamic mesh motion class
Join Date: May 2014
Posts: 27Rep Power: 3
Can some one please tell me how to access field values (for example p & U) from with in a dynamic mesh motion class?
const volVectorField& U = db().lookupObject<volVectorField>("U");
But it produced the following error.
db was not declared in this scope.
Can some one please tell me the lines of code to use in order to call a field variable to the class.
|July 14, 2015, 10:43||
Join Date: May 2010
Posts: 99Rep Power: 7
It is not clear which class you mean.
But if db() is declared and there is no reference to objectRegistry, you can use IOdictionary or mesh or time to get reference to objectRegistry if available.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Dynamic mesh using profile||sanjeetlimbu||Fluent Multiphase||2||April 11, 2015 09:48|
|Error about inversePointDistance option of diffusivity for dynamic mesh motion||mechy||OpenFOAM||0||August 16, 2013 15:56|
|Polynomial Dynamic Mesh Motion||AVK||Fluent UDF and Scheme Programming||1||March 27, 2009 10:51|
|UDF, dynamic mesh motion||phil||FLUENT||0||September 15, 2004 05:42|
|Dynamic mesh motion||Karthick||FLUENT||5||July 15, 2004 02:33|