# Maxwell modes¶

## Summary¶

Fit a generalized Maxwell model to a frequency dependent relaxation function.

**Function**- \[\begin{split}\begin{eqnarray} G'(\omega) & = & \sum_{1}^{n_{modes}} G_i \frac{(\omega\tau_i)^2}{1+(\omega\tau_i)^2} \\ G''(\omega) & = & \sum_{1}^{n_{modes}} G_i \frac{\omega\tau_i}{1+(\omega\tau_i)^2} \end{eqnarray}\end{split}\]

**Parameters**\(n_{modes}\): number of Maxwell modes equally distributed in logarithmic scale between \(\omega_{min}\) and \(\omega_{max}\).

logwmin = \(\log(\omega_{min})\): decimal logarithm of the minimum frequency.

logwmax = \(\log(\omega_{max})\): decimal logarithm of the maximum frequency.

logGi = \(\log(G_{i})\): decimal logarithm of the amplitude of Maxwell mode \(i\).

## Description¶

Fit of linear viscoelastic data with a set of \(N\) discrete equidistant Maxwell modes. The number of modes can be selected by pressing the Up/Down arrows in the theory window. The frequencies of the Maxwell modes are equally distributed in logarithmic scale between a minimum frequency, \(\omega_\text{min}\), and a maximum frequency, \(\omega_\text{max}\), which can be fixed or set free by ticking the corresponding checkboxes. The position of \(\omega_\text{min}\) and \(\omega_\text{max}\) can be changed by dragging the leftmost and rightmost modes with the mouse. The vertical position of the modes can be changed by dragging the yellow points.

Each mode contributes to the linear viscoelastic spectrum through the following formulas:

with \(G_i\) the modulus and \(\tau_i\) the characteristic relaxation time of the mode \(i\) (inverse of the frequency).

The parameters of the theory are the number of modes (which is fixed by the user and is not minimized), \(\omega_\text{min}\), \(\omega_\text{max}\), and a value of \(G_i\) for each mode. \(G_i\) is calculated in logarithmic scale.

Warning

The theory can only be applied to one file per data set. If more than one file is active in the current data set, the theory will be applied to the first one in the list of active files.

Note

Roughly one mode per decade should be enough for the purpose of using the modes in flow simulations.

Also for flow simulations, do not use modes much faster than the fastest flow rate in the simulation.

For linear polymers, one mode close to the crossing point of \(G'\) and \(G''\) should be enough to fit the terminal time.