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

Surrogate function and model definitions for diffusivity of blowing agents in polymer. More...

Variables

 species
 List of components, for which surrogate model is provided. More...
 
 f_diffusivity
 Surrogate function for diffusivity of blowing agents in polymer. More...
 
 m_CO2_diffusivity
 Surrogate model for diffusivity. More...
 
 m_CyP_diffusivity
 Surrogate model for diffusivity. More...
 
 m_N2_diffusivity
 Surrogate model for diffusivity. More...
 
 m_O2_diffusivity
 Surrogate model for diffusivity. More...
 

Detailed Description

Surrogate function and model definitions for diffusivity of blowing agents in polymer.

Author
Erik Laurini
Pavel Ferkl

Variable Documentation

◆ f_diffusivity

diffusivity.diffusivity.f_diffusivity
Initial value:
1 = CFunction(
2  Ccode=,
3  # These are global bounds for the function
4  inputs={
5  'T': {'min': 273, 'max': 550},
6  },
7  outputs={
8  'diffusivity': {'min': 0, 'max': +9e99, 'argPos': 0},
9  },
10  parameters={
11  'param0[A]': {'min': 0.0, 'max': +9e99, 'argPos': 0},
12  'param1[A]': {'min': 0.0, 'max': +9e99, 'argPos': 1},
13  },
14  indices={
15  'A': species,
16  },
17 )

Surrogate function for diffusivity of blowing agents in polymer.

Diffusivity is a function of temperature.

Definition at line 56 of file diffusivity.py.

◆ m_CO2_diffusivity

diffusivity.diffusivity.m_CO2_diffusivity
Initial value:
1 = ForwardMappingModel(
2  _id='diffusivityPol[A=CO2]',
3  surrogateFunction=f_diffusivity,
4  substituteModels=[],
5  parameters=[0.00123, 6156],
6 )

Surrogate model for diffusivity.

Forward mapping model is used.

Definition at line 94 of file diffusivity.py.

◆ m_CyP_diffusivity

diffusivity.diffusivity.m_CyP_diffusivity
Initial value:
1 = ForwardMappingModel(
2  _id='diffusivityPol[A=CyP]',
3  surrogateFunction=f_diffusivity,
4  substituteModels=[],
5  parameters=[1.7e-7, 4236],
6 )

Surrogate model for diffusivity.

Forward mapping model is used.

Definition at line 103 of file diffusivity.py.

◆ m_N2_diffusivity

diffusivity.diffusivity.m_N2_diffusivity
Initial value:
1 = ForwardMappingModel(
2  _id='diffusivityPol[A=N2]',
3  surrogateFunction=f_diffusivity,
4  substituteModels=[],
5  parameters=[0.003235, 6927],
6 )

Surrogate model for diffusivity.

Forward mapping model is used.

Definition at line 112 of file diffusivity.py.

◆ m_O2_diffusivity

diffusivity.diffusivity.m_O2_diffusivity
Initial value:
1 = ForwardMappingModel(
2  _id='diffusivityPol[A=O2]',
3  surrogateFunction=f_diffusivity,
4  substituteModels=[],
5  parameters=[0.00085, 6411],
6 )

Surrogate model for diffusivity.

Forward mapping model is used.

Definition at line 121 of file diffusivity.py.

◆ species

diffusivity.diffusivity.species
Initial value:
1 = IndexSet(
2  name= 'diffusivity_pol_species',
3  names= [ 'CO2', 'CyP', 'N2', 'O2' ]
4 )

List of components, for which surrogate model is provided.

Definition at line 49 of file diffusivity.py.