Accessing transportProperties from coded functionObject
Hello to all,
I would like to create a custom functionObject to use in laplacianFoam. For this purpose, I need the parameter DT in the dictionary transportProperties. I have: Code:
functions Code:
It the transportProperties not created yet? Am I looking for it in a wrong manner? |
A quick look at the laplacianFoam code suggests that the transportProperties dictionary is only created (inside an if statement) if DT doesn't exist (otherwise it's read). So to guess at a fix you could create a custom version of laplacianFoam in which you force the creation of the dictionary without the if statement, or create a dummy/copy of it inside your function object like :
Code:
Caelan |
All times are GMT -4. The time now is 13:03. |