[swak4Foam] Trouble accessing fields within expressionField
Hello all,
I am trying to use swak4foam to calculate a velocity field (based on position in the mesh), and this works great! But then I try to add that velocity field to the UMean field calculate by OpenFOAM 2.4.0, using the following controlDict entry: Code:
UCalc Code:
Creating expression field Urot ... type:volVectorField |
Quick questions:
|
Quote:
|
Quick answer: Sorry, but only today did I managed to come back to your problem.
OK, I believe that the problem is because you need to use a function object that loads the field after it's saved. For example: Code:
readFields The other solution is to use swak4Foam's own function object for calculating the "UMean" field. |
Quote:
Here is what I am working with: Code:
... |
Hi,
rigth now I have the same problem. readFields and also reading the Field with the solver does not solve that in OpenFOAM 4.1 :mad: |
Quote:
https://www.cfd-online.com/Forums/op...tml#post616247 |
All times are GMT -4. The time now is 22:10. |