PorosityInput#

class ansys.additive.core.porosity.PorosityInput(*, size_x: float = DEFAULT_SAMPLE_SIZE, size_y: float = DEFAULT_SAMPLE_SIZE, size_z: float = DEFAULT_SAMPLE_SIZE, machine: ansys.additive.core.machine.AdditiveMachine = None, material: ansys.additive.core.material.AdditiveMaterial = None)#

Bases: ansys.additive.core.simulation_input_base.SimulationInputBase

Provides input parameters for porosity simulation.

Overview#

size_x

Size (m) of the simulated sample in the x dimension.

size_y

Size (m) of the simulated sample in the y dimension.

size_z

Size (m) of the simulated sample in the z dimension.

machine

Machine-related parameters.

material

Material used during the simulation.

DEFAULT_SAMPLE_SIZE

Default sample size in each dimension (m).

MIN_SAMPLE_SIZE

Minimum sample size in each dimension (m).

MAX_SAMPLE_SIZE

Maximum sample size in each dimension (m).

Import detail#

from ansys.additive.core.porosity import PorosityInput

Property detail#

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 the MAX_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 the MAX_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 the MAX_SAMPLE_SIZE value.

property PorosityInput.machine: ansys.additive.core.machine.AdditiveMachine#

Machine-related parameters.

property PorosityInput.material: ansys.additive.core.material.AdditiveMaterial#

Material used during the simulation.

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).

Method detail#

PorosityInput.__repr__()#
PorosityInput.__eq__(__o: object) bool#