Apply deltaT in utility
At the moment I am trying to modify a utility file, where I want to multiply a constant by deltaT. I use a fixed Courant number, so I do not know the time step beforehand.
I have tried the following:
where alpha is the expression I want to modify, and C is a constant.
When I recompile the utility I get the following error message: error: ‘runTime’ was not declared in this scope.
I know there is not much information in the post, but if anybody could give me an advise on how to declare runTime, it will be appreciated.
Ps. I am using OF 1.5-dev
Hi Bo Terp,
have a look at /applications/utilities/postProcessing/wall/wallGradU/wallGradU.C for example.
Here is a code snippet that shows how to access the time values:
|All times are GMT -4. The time now is 14:08.|