Global Definitions
Next, define the geometry and process condition parameters. To streamline this step, you can load the model parameters directly from a text file.
Parameters 1
1
Note: On Linux and Mac, the Home toolbar refers to the specific set of controls near the top of the Desktop.
2
3
Follow the steps below to calculate the power-law fluid model parameters using measured apparent-viscosity vs. shear-rate data.
Least-Squares Fit 1 (lsq1_fun1)
1
In the Home toolbar, click  Functions and choose Global > Least-Squares Fit.
2
In the Settings window for Least-Squares Fit, locate the Data section.
3
Click  Load from File.
4
5
Locate the Column Settings section. In the table, click to select the cell at row number 1 and column number 1.
6
In the Name text field, type gammadot.
7
In the Unit text field, type 1.
8
9
In the Name text field, type mu_app.
10
In the Expression text field, type m*max(gammadot,0.01)^(n-1).
11
In the Unit text field, type Pa*s.
12
Locate the Parameters section. In the Parameters table, enter the following settings:
13
Click  Fit Parameters. The computed parameter values from the least-squares fit appear in the Parameters table.
14
Click  Create Plot to see how close data points are to the fitted function.
Create a step function to use for ramping up the inlet velocity. To improve convergence, define a smoothing transition zone to gently increase the inlet velocity from zero.
Step 1
1
2
3