This routine creates musubi specific lua function to compute dx and dt.
This string contains lua functions to compute dt from visocosity or velocity