Update the fields during the iteration loop
Hello,
I am trying to print some fields during simulation in two-phase solver of OpenFOAM 23x. Therefore, I first define the fields in createFields.H file of the solver. After that I mentioned as function in controlDict file (let's say volAverage value of the field over the whole domain). Now the problem is that I am getting value of the fields at each time-step but all values are same (like initial values) which is wrong. So it seems, the defined field is not updated each time-step or each iteration. Can anyone suggest me the right way to record it? Best regards, GP |
All times are GMT -4. The time now is 08:55. |