Error when <dictionary>.lookup("variable"). OpenFOAM 1.6-ext
I'm making my owen solver from icoFoam, where I add a body force B = U0m*(2*pi/period)*cos((2*pi/period)*t).
Where the period and free stream velocity (U0m) is to be loaded fra a dictionary. I think I have figured out the syntax from looking in "createFields.H" to keep it simple I started with the assumption that the variables was gonna be placed in "transportProperties". Code:
IOdictionary transportProperties Code:
createFields.H: In function 'int main(int, char**)':
|
Found my own answer
Have spend 48 hours searching for an answer for my problems and the 15 min after posting my thread I find my own answer.
http://www.cfd-online.com/Forums/ope...nt-solver.html |
All times are GMT -4. The time now is 23:05. |