Loadings & outputs¶
- class py4amitex.input.LoadingOutput¶
Definitions of all loadings and output settings
- add(self: py4amitex.input.LoadingOutput, arg0: py4amitex.input.Loading) None¶
Append a partial loading
- property initLoadExt¶
Initialization of the temperature and the external parameters
- property output¶
Output specification
- toXML(self: py4amitex.input.LoadingOutput) str¶
Loadings¶
(partial) loading |
|
Loading axis pair and axis note: only finite strain needs YX,ZX, ZY |
|
Types of driving for mechanical problems |
|
Types of driving for difffusion problems |
|
Types of loading evolution |
|
Type of stress tensor |
|
Initialization of the temperature and the external parameters warning: If defined, the evolution of the temperature and all the parameters must be specified in the loadings. |
- class py4amitex.input.Loading¶
(partial) loading
- addUserInterruptValue(self: py4amitex.input.Loading, arg0: float) None¶
Add a value for user-defined interuptions
- setConstantEvolution(*args, **kwargs)¶
Overloaded function.
setConstantEvolution(self: py4amitex.input.Loading, component: tuple[int, int], driving: py4amitex.input.MechanicDriving, dirstress: Optional[float] = None) -> None
set a diffusion constant loading for one component
- Parameter
component: $Parameter
driving:
setConstantEvolution(self: py4amitex.input.Loading, arg0: int, arg1: py4amitex.input.DiffusionDriving) -> None
set a diffusion constant loading for one component
- Parameter
component: $Parameter
driving:
- setDirStress(self: py4amitex.input.Loading, arg0: py4amitex.input.DirStress) None¶
Set the constant stress direction behavior for finite strains
- Parameter
dirStress: type of stress tensor
- Parameter
- setEvolution(*args, **kwargs)¶
Overloaded function.
setEvolution(self: py4amitex.input.Loading, componant: int, driving: py4amitex.input.DiffusionDriving, evolution: py4amitex.input.Evolution, value: float = 0.0) -> None
set a diffusion loading evolution for one component
- Parameter
component: $Parameter
driving:- Parameter
evolution: $Parameter
value:
value for linear evolution
- Parameter
dirstress: stress direction
setEvolution(self: py4amitex.input.Loading, component: tuple[int, int], driving: py4amitex.input.MechanicDriving, evolution: py4amitex.input.Evolution, value: float = 0.0, dirstress: Optional[float] = None) -> None
set a diffusion loading evolution for one component
- Parameter
component: $Parameter
driving:- Parameter
evolution: $Parameter
value:
value for linear evolution
- Parameter
dirstress: stress direction
- setGradGradU(self: py4amitex.input.Loading, ij: tuple[int, int], k: int, evolution: py4amitex.input.Evolution, value: float = 0.0) None¶
Set the evolution and value of a component grad_i grad_j U_k of an applied strain gradient (bending/twisting beam) component
- Parameter
ij: directions of gradients
- Parameter
k: axis of displacement
- Parameter
evolution: Type of evolution
- Parameter
value: Value for linear evolution todo precise the meaning of components
- Parameter
- setLinearEvolution(*args, **kwargs)¶
Overloaded function.
setLinearEvolution(self: py4amitex.input.Loading, component: tuple[int, int], driving: py4amitex.input.MechanicDriving, value: float = 0.0, dirstress: Optional[float] = None) -> None
set a diffusion constant loading for one component
- Parameter
component: $Parameter
driving:- Parameter
value: final loading value along component
setLinearEvolution(self: py4amitex.input.Loading, component: int, driving: py4amitex.input.DiffusionDriving, value: float = 0.0) -> None
set a diffusion constant loading for one component
- Parameter
component: $Parameter
driving:- Parameter
value: final loading value along component
- setOutputCell(self: py4amitex.input.Loading, arg0: int) None¶
Set the number of increments where per-unit cell quantities are output
- setOutputVtkList(self: py4amitex.input.Loading, arg0: list[int]) None¶
Set the list of increment numbers where to ouput
- Parameter
increments: list of increment numbers
- Parameter
- setOutputZone(self: py4amitex.input.Loading, arg0: int) None¶
Set the number of increments where zone quantities are output
- setParamEvolution(self: py4amitex.input.Loading, index: int, evolution: py4amitex.input.Evolution, value: float = 0.0) None¶
set a the evolution of an external loading parameter
- Parameter
index: index of parameter (defined in InitLoadExt)
- Parameter
evolution: $Parameter
value:
value for linear evolution
- Parameter
- setTemperatureEvolution(self: py4amitex.input.Loading, evolution: py4amitex.input.Evolution, value: float = 0.0) None¶
set a the evolution of the temperature
- Parameter
index: index of parameter (defined in InitLoadExt)
- Parameter
evolution: $Parameter
value:
value for linear evolution
- Parameter
- setTimeDiscretizationLinear(self: py4amitex.input.Loading, arg0: int, arg1: float) None¶
Discretize time by a constant interval
- Parameter
increments: the number of timesteps
- Parameter
tFinal: final time
- Parameter
- setTimeDiscretizationUser(self: py4amitex.input.Loading, arg0: list[float]) None¶
Discretize time by a supplying a list of timesteps
- Parameter
increments: the number of timesteps
- Parameter
times: pointer to the array of times
- Parameter
- setUserInterruptValues(self: py4amitex.input.Loading, arg0: list[float]) None¶
Add a list of values for user-defined interuptions
- class py4amitex.input.Component¶
Loading axis pair and axis note: only finite strain needs YX,ZX, ZY
- class py4amitex.input.MechanicDriving¶
Types of driving for mechanical problems
Members:
Stress
Strain
- property name¶
- class py4amitex.input.DiffusionDriving¶
Types of driving for difffusion problems
Members:
Flux
Gradient
- property name¶
- class py4amitex.input.InitLoadExt¶
Initialization of the temperature and the external parameters warning: If defined, the evolution of the temperature and all the parameters must be specified in the loadings.
- setParam(self: py4amitex.input.InitLoadExt, arg0: int, arg1: float) None¶
Set parameter
- Parameter
index: Index of parameter
- Parameter
Output¶
Output parametrization |
|
Control output of stress and strain |
|
Control output of diffusion flux and gradient |
- class py4amitex.input.Output¶
Output parametrization
- addVtkIntVarList(self: py4amitex.input.Output, arg0: int, arg1: list[int]) None¶
Set the internal variables for field output for a given material
- addZone(self: py4amitex.input.Output, numM: int, intVarList: list[int] = []) None¶
Add zones of a material to .zstd output
- setVtkFluxDGradD(self: py4amitex.input.Output, fluxD: int, gradD: int) None¶
Control output of stress and strain
- setVtkStressStrain(self: py4amitex.input.Output, stress: int, strain: int) None¶
Control output of stress and strain
- class py4amitex.input.VtkStressStrain¶
Control output of stress and strain
- class py4amitex.input.VtkFluxDGradD¶
Control output of diffusion flux and gradient