Q:write value at each time step from actuator disc source term
Hi,
I am running a simulation of a tidal turbine using an actuator disc. The actuator disc source term in openfoam is calculated using a variableScaling method defined in fvOptions the thrust coefficient is calculated as Code:
const scalar CtStar = Ct*sqr(magUref/magUdisk); Code:
// Compute calibrated thrust/power (LSRMTK:Eq. 5) as shownhere How can I write the value of CtStar for each timestep that is calculated? I tried to use functionObjLib in control dict but CtStar is not defined in the list of Code:
testing |
Hello,
I was able to write the CtStar at every timestep. It was trivial!!! I added a line to the fvOptions Code:
writeToFile true; |
All times are GMT -4. The time now is 12:58. |