PorosityInput#
- class PorosityInput(id: str = '', *, size_x: float = DEFAULT_SAMPLE_SIZE, size_y: float = DEFAULT_SAMPLE_SIZE, size_z: float = DEFAULT_SAMPLE_SIZE, machine: ansys.additive.core.machine.AdditiveMachine = AdditiveMachine(), material: ansys.additive.core.material.AdditiveMaterial = AdditiveMaterial())#
Provides input parameters for porosity simulation.
Overview#
User-provided ID for the simulation. |
|
Machine-related parameters. |
|
Material used during the simulation. |
|
Size (m) of the simulated sample in the x dimension. |
|
Size (m) of the simulated sample in the y dimension. |
|
Size (m) of the simulated sample in the z dimension. |
Default sample size in each dimension (m). |
|
Minimum sample size in each dimension (m). |
|
Maximum sample size in each dimension (m). |
Import detail#
from ansys.additive.core.porosity import PorosityInput
Property detail#
- property PorosityInput.machine: AdditiveMachine#
Machine-related parameters.
- property PorosityInput.material: AdditiveMaterial#
Material used during the simulation.
- property PorosityInput.size_x: float#
Size (m) of the simulated sample in the x dimension.
Valid values are from the
MIN_SAMPLE_SIZE
value to theMAX_SAMPLE_SIZE
value.
- property PorosityInput.size_y: float#
Size (m) of the simulated sample in the y dimension.
Valid values are from the
MIN_SAMPLE_SIZE
value to theMAX_SAMPLE_SIZE
value.
- property PorosityInput.size_z: float#
Size (m) of the simulated sample in the z dimension.
Valid values are from the
MIN_SAMPLE_SIZE
value to theMAX_SAMPLE_SIZE
value.
Attribute detail#
- PorosityInput.DEFAULT_SAMPLE_SIZE = 0.003#
Default sample size in each dimension (m).
- PorosityInput.MIN_SAMPLE_SIZE = 0.001#
Minimum sample size in each dimension (m).
- PorosityInput.MAX_SAMPLE_SIZE = 0.01#
Maximum sample size in each dimension (m).