[Nek5000-users] Time derivative of Scalar field
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Tue Apr 25 13:06:23 CDT 2017
Hi Saikat,
I have attached a usr file that shows how to calculate finite difference based first derivative of the first passive scalar t(1,1,1,1,2) using the current time step and two previous time steps. The coefficients for the derivative are obtained using a call to fd_weights_full, and I am using a common block for storing the values of the scalar at two previous time-steps.
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170425/80733d71/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t0.usr
Type: application/octet-stream
Size: 2887 bytes
Desc: t0.usr
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20170425/80733d71/attachment.obj>
More information about the Nek5000-users
mailing list