The single_bead.py
module#
Summary#
Provides input parameters for a single bead simulation. |
|
|
Provides column names for the melt pool data frame. |
|
Contains the melt pool size dimensions for each time step during a single bead simulation. |
|
Provides a summary of a single bead simulation. |
Description#
Provides input and result summary containers for single bead simulations.
Module detail#
Overview#
User-provided ID for the simulation. |
|
Machine parameters. |
|
Material parameters. |
|
Length (m) of bead to simulate. |
Default bead length (m). |
|
Minimum bead length (m). |
|
Maximum bead length (m). |
Import detail#
from ansys.additive.core.single_bead import SingleBeadInput
Property detail#
- property SingleBeadInput.machine: ansys.additive.core.machine.AdditiveMachine#
Machine parameters.
- property SingleBeadInput.material: ansys.additive.core.material.AdditiveMaterial#
Material parameters.
- property SingleBeadInput.bead_length: float#
Length (m) of bead to simulate.
Valid values are from the
MIN_BEAD_LENGTH
value to theMAX_BEAD_LENGTH
value.
Attribute detail#
- SingleBeadInput.DEFAULT_BEAD_LENGTH = 0.003#
Default bead length (m).
- SingleBeadInput.MIN_BEAD_LENGTH = 0.001#
Minimum bead length (m).
- SingleBeadInput.MAX_BEAD_LENGTH = 0.01#
Maximum bead length (m).
- class SingleBeadInput.MeltPoolColumnNames#
Provides column names for the melt pool data frame.
Overview#
Width of melt pool (m). |
|
Depth of melt pool (m). |
|
Length of melt pool (m). |
|
Width of melt pool at the surface of the base plate (m). |
|
Depth of melt pool measured from the surface of the base plate (m). |
Import detail#
from ansys.additive.core.single_bead import MeltPoolColumnNames
Attribute detail#
- MeltPoolColumnNames.WIDTH = 'width'#
Width of melt pool (m).
- MeltPoolColumnNames.DEPTH = 'depth'#
Depth of melt pool (m).
- MeltPoolColumnNames.LENGTH = 'length'#
Length of melt pool (m).
- MeltPoolColumnNames.REFERENCE_WIDTH = 'reference_width'#
Width of melt pool at the surface of the base plate (m).
- MeltPoolColumnNames.REFERENCE_DEPTH = 'reference_depth'#
Depth of melt pool measured from the surface of the base plate (m).
- class MeltPoolColumnNames.MeltPool(msg: ansys.api.additive.v0.additive_domain_pb2.MeltPool)#
Contains the melt pool size dimensions for each time step during a single bead simulation.
Overview#
Get the data frame containing the melt pool data. |
Import detail#
from ansys.additive.core.single_bead import MeltPool
Method detail#
- MeltPool.data_frame() pandas.DataFrame #
Get the data frame containing the melt pool data.
Values are in meters.
- Indices:
bead_length
: Length of the bead at each time step.
- Columns:
- class MeltPool.SingleBeadSummary(input: SingleBeadInput, msg: ansys.api.additive.v0.additive_domain_pb2.MeltPool)#
Provides a summary of a single bead simulation.
Overview#
Import detail#
from ansys.additive.core.single_bead import SingleBeadSummary
Property detail#
- property SingleBeadSummary.input: SingleBeadInput#
Simulation input.