-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtfer_2S_diff.m
29 lines (23 loc) · 1001 Bytes
/
tfer_2S_diff.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% TFER_2S_DIFF Evaluates the transfer function for a PMA in Case C (w/ diffusion).
% Author: Timothy Sipkens, 2018-12-27
%
% Inputs:
% sp Structure defining various setpoint parameters
% (e.g. m_star, V). Use 'get_setpoint' method to generate
% this structure.
% m Particle mass
% d Particle mobility diameter
% z Integer charge state
% prop Device properties (e.g. classifier length)
%
% Outputs:
% Lambda Transfer function
% G0 Function mapping final to initial radial position
%=========================================================================%
function [Lambda,G0] = tfer_2S_diff(sp,m,d,z,prop)
[~,~,D] = parse_inputs(sp,m,d,z,prop); % get diffusion coeff.
%-- Evaluate relevant functions ------------------------------------------%
[~,G0] = tfer_2S(sp,m,d,z,prop);
% get G0 function for this case
Lambda = tfer_diff(G0, D, prop); % apply general diffusive form
end