The porosity.py
module#
Summary#
Provides input parameters for porosity simulation. |
|
|
Provides a summary of a porosity simulation. |
Description#
Provides input and result summary containers for porosity simulations.
Module detail#
- class porosity.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: ansys.additive.core.machine.AdditiveMachine#
Machine-related parameters.
- property PorosityInput.material: ansys.additive.core.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).
- class PorosityInput.PorositySummary(input: PorosityInput, result: ansys.api.additive.v0.additive_domain_pb2.PorosityResult)#
Provides a summary of a porosity simulation.
Overview#
Simulation input. |
|
Ratio of the density of the simulated sample to a completely solid sample. |
Import detail#
from ansys.additive.core.porosity import PorositySummary
Property detail#
- property PorositySummary.input: PorosityInput#
Simulation input.