Skip to content

Commit ad0a8aa

Browse files
committed
streamlined non-Newtonian variables as defaults
1 parent fa07bf5 commit ad0a8aa

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

src/forward_solver/m_imr_fd.m

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
acos_opts, wave_opts, sigma_opts, thermal_opts, mass_opts] ...
1212
= f_call_params(varargin{:});
1313

14+
% defaults
15+
16+
% non-Newtonian viscosity parameters
17+
fnu = 0;
18+
intfnu = 0;
19+
dintfnu = 0;
20+
ddintfnu = 0;
21+
1422
% equations settings
1523
radial = eqns_opts(1);
1624
bubtherm = eqns_opts(2);
@@ -97,12 +105,6 @@
97105
iDRe = sigma_opts(13);
98106
iWe = 1/We;
99107

100-
% viscosity parameters
101-
fnu = 0;
102-
intfnu = 0;
103-
dintfnu = 0;
104-
ddintfnu = 0;
105-
106108
% dimensionless thermal
107109
Foh = thermal_opts(1);
108110
Br = thermal_opts(2);

src/forward_solver/m_imr_spectral.m

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
acos_opts, wave_opts, sigma_opts, thermal_opts, mass_opts] ...
1212
= f_call_params(varargin{:});
1313

14+
% defaults
15+
16+
% viscosity parameters
17+
fnu = 0;
18+
intfnu = 0;
19+
dintfnu = 0;
20+
ddintfnu = 0;
21+
1422
% equations settings
1523
radial = eqns_opts(1);
1624
bubtherm = eqns_opts(2);
@@ -97,12 +105,6 @@
97105
iDRe = sigma_opts(13);
98106
iWe = 1/We;
99107

100-
% viscosity parameters
101-
fnu = 0;
102-
intfnu = 0;
103-
dintfnu = 0;
104-
ddintfnu = 0;
105-
106108
% dimensionless thermal
107109
Foh = thermal_opts(1);
108110
Br = thermal_opts(2);

0 commit comments

Comments
 (0)