Difference between revisions of "Simple flow.m"
(Created page with "{{DISPLAYTITLE:simple_flow.m}} __NOTOC__ Simple forward evolution experiment for the microfluidics module; trajectory is returned. This sequence must be called from the mesh...") |
(Update function See also links and function index membership) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:simple_flow.m}} __NOTOC__ | {{DISPLAYTITLE:simple_flow.m}} __NOTOC__ | ||
| − | Simple forward evolution experiment for the microfluidics module; trajectory is returned. This sequence must be called from the [[meshflow.m]] [[Kernel_contexts|context]], which would provide H, R, K, G, and F. Because gradients are not being used, the G input is ignored. | + | Simple forward evolution experiment for the microfluidics module; trajectory is returned. This sequence must be called from the [[meshflow.m]] [[Kernel_contexts|context]], which would provide H, R, K, G, and F. Because gradients are not being used in this experiment, the G input is ignored. |
==Syntax== | ==Syntax== | ||
| Line 6: | Line 6: | ||
traj=simple_flow(spin_system,parameters,H,R,K,~,F) | traj=simple_flow(spin_system,parameters,H,R,K,~,F) | ||
| − | == | + | ==Parameters== |
parameters.npoints - number of points in | parameters.npoints - number of points in | ||
| Line 21: | Line 21: | ||
==Examples== | ==Examples== | ||
| − | Below is a frame from the video produced by examples/microfluidics/plain_flow.m example file. | + | Below is a frame from the video produced by examples/microfluidics/plain_flow.m example file, illustrating parabolic flow on a non-uniform mesh representing a microfluidic chip. |
| − | [[plain_flow_paraqchip.png]] | + | [[File:plain_flow_paraqchip.png]] |
==Notes== | ==Notes== | ||
| Line 29: | Line 29: | ||
==See also== | ==See also== | ||
| − | [[Built-in_experiments | + | [[meshflow.m]], [[fpl2phan.m]], [[fpl2rho.m]], [[Built-in_experiments]] |
| − | |||
''Version 2.8, authors: [[Ilya Kuprov]]'' | ''Version 2.8, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:41, 6 June 2026
Simple forward evolution experiment for the microfluidics module; trajectory is returned. This sequence must be called from the meshflow.m context, which would provide H, R, K, G, and F. Because gradients are not being used in this experiment, the G input is ignored.
Syntax
traj=simple_flow(spin_system,parameters,H,R,K,~,F)
Parameters
parameters.npoints - number of points in
the trajectory
parameters.rho0 - initial state in Fokker-
Planck space
parameters.dt - trajectory time step
Outputs
traj - trajectory in the Fokker-Planck space
Examples
Below is a frame from the video produced by examples/microfluidics/plain_flow.m example file, illustrating parabolic flow on a non-uniform mesh representing a microfluidic chip.
Notes
To convert Fokker-Planck space trajectory into R3 or Liouville space, use fpl2phan.m and fpl2rho.m functions.
See also
meshflow.m, fpl2phan.m, fpl2rho.m, Built-in_experiments
Version 2.8, authors: Ilya Kuprov
