MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
polymerViscosity.polymerViscosity Namespace Reference

Surrogate function and model for Polymer viscosity. More...

Variables

 f_polymerViscosity
 Surrogate function for polymer viscosity. More...
 
 inputs = json.load(jsonfile)
 contents of unifiedInput.json
 
 X_gel = inputs['kinetics']['gelPoint']
 gel point
 
list par = [4.1e-8, 38.3e3, 4.0, -2.0, X_gel]
 literature data
 
list par2 = [10.3e-8, 41.3e3, 1.5, 1.0, X_gel]
 literature data
 
list par3 = [3.32e-8, 42.9e3, 2.32, 1.4, X_gel]
 literature data
 
list par4 = [4.1e-8, 38.3e3, 4.0, -2.0, X_gel]
 based on literature data, but gel point changed to 0.5 (Baser and Khakhar)
 
list par5 = [3.1e0, 2.24e3, 3.5, -2.0, X_gel]
 literature data
 
list par6 = [1.6e-7, 44.9e3, 1.29, 1.86, X_gel]
 literature data
 
list par7 = [2.49707805e-13, 6.88758966e+04, 1.03553549e+01, -1.46554648e+01, 0.5]
 based on BASF data for 100 s^-1 shear rate, you must use 0.5 for gel point
 
list par8 = [7.03759789e-17, 8.91382466e+04, 1.32209736e+01, -1.82153953e+01, 0.5]
 based on BASF data for 1 s^-1 shear rate, you must use 0.5 for gel point
 
 m_polymerViscosity
 Surrogate model for polymer viscosity. More...
 

Detailed Description

Surrogate function and model for Polymer viscosity.

Author
Pavel Ferkl

Polymer viscosity python module

Contains a definition of surrogate function and surrogate model. The surrogate model is Forward mapping. Thus, no detail model is present. The parameters of the model are provided instead. Several sets of parameters based on literature and experiments are provided and can be selected. Model needs to be re-initialized after the change of parameters.

Variable Documentation

◆ f_polymerViscosity

polymerViscosity.polymerViscosity.f_polymerViscosity
Initial value:
1 = CFunction(
2  Ccode=,
3  # These are global bounds for the function
4  inputs={
5  'T': {'min': 200, 'max': 550 },
6  'X': {'min': 0, 'max': 1 },
7  },
8  outputs={
9  'mu': {'min': 0, 'max': +9e99, 'argPos': 0},
10  },
11  parameters={
12  'param1': {'min': -1e9, 'max': 1e9, 'argPos': 0},
13  'param2': {'min': -1e9, 'max': 1e9, 'argPos': 1},
14  'param3': {'min': -1e9, 'max': 1e9, 'argPos': 2},
15  'param4': {'min': -1e9, 'max': 1e9, 'argPos': 3},
16  'param5': {'min': -1e9, 'max': 1e9, 'argPos': 4},
17  },
18 )

Surrogate function for polymer viscosity.

Polymer viscosity is a function of temperature and conversion.

Definition at line 58 of file polymerViscosity.py.

◆ m_polymerViscosity

polymerViscosity.polymerViscosity.m_polymerViscosity
Initial value:
1 = ForwardMappingModel(
2  _id='polymerViscosity',
3  surrogateFunction=f_polymerViscosity,
4  substituteModels=[],
5  parameters=par,
6 )

Surrogate model for polymer viscosity.

Forward mapping model is used.

Definition at line 138 of file polymerViscosity.py.