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

Surrogate function and model for Strut content. More...

Variables

 f
 Surrogate function for strut content. More...
 
 m
 Surrogate model for density_reaction_mixture. More...
 

Detailed Description

Surrogate function and model for Strut content.

Author
Pavel Ferkl

Strut content 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. Model needs to be re-initialized after the change of parameters.

Variable Documentation

◆ f

StrutContent.StrutContent.f
Initial value:
1 = CFunction(
2  Ccode=,
3  # These are global bounds for the function
4  inputs={
5  'rho': { 'min': 0, 'max': 1e5},
6  },
7  outputs={
8  'fs': { 'min': 0, 'max': 1, 'argPos': 0 },
9  },
10  parameters={
11  'param0': { 'min': -9e99, 'max': +9e99, 'argPos': 0 },
12  'param1': { 'min': -9e99, 'max': +9e99, 'argPos': 1 },
13  'param2': { 'min': -9e99, 'max': +9e99, 'argPos': 2 },
14  },
15 )

Surrogate function for strut content.

Strut content is a assumed to be a function of foam density.

Definition at line 57 of file StrutContent.py.

◆ m

StrutContent.StrutContent.m
Initial value:
1 = ForwardMappingModel(
2  _id='strutContent',
3  surrogateFunction=f,
4  substituteModels= [ ],
5  parameters=[0.06115509, -0.72513392, 1.],
6 )

Surrogate model for density_reaction_mixture.

Forward mapping model is used.

Definition at line 96 of file StrutContent.py.