ldread#
- FeConstraints.ldread(lab='', lstep='', sbstep='', time='', kimg='', fname='', ext='', **kwargs)#
Reads results from the results file and applies them as loads.
Mechanical APDL Command: LDREAD
- Parameters:
- lab
str Valid load label:
TEMP- Temperatures from a thermal analysis are applied as body force nodal loads ( bf ) in a structural analysis or other type of analysis.When used in conjunction with
KIMG= 1 orKIMG= 2, temperatures can be applied to a subsequent thermal analysis as nodal loads ( d ) or initial conditions ( ic ), respectively.See the LDREAD_notes section for details on transferring temperatures from layered thermal shell elements (
SHELL131,SHELL132) and layered thermal solid elements (SOLID278,SOLID279).FORC- Forces from an electromagnetic analysis are applied as force loads ( f ) in a structural analysis. ldread,FORC reads coupling forces. See the discussion on force computation in the Low-Frequency Electromagnetic Analysis Guide.For a full harmonic magnetic analysis, FORC represents the time-averaged force (use in conjunction with
KIMG= 2). Values are in the nodal coordinate system for the force loads ( f ).HGEN- Heat generations from an electromagnetic analysis are applied as body-force loads ( bfe ) in a thermal analysis. For a full harmonic analysis, HGEN represents the time-averaged heat generation load (use in conjunction withKIMG= 2).JS- Source current density from a current-conduction analysis are applied as body-force loads ( bfe ). Values are in the global Cartesian coordinate system.EF- Electric field element centroid values from an electrostatic analysis are applied as body-force loads ( bfe ) in a magnetic analysis. Values are in the global Cartesian coordinate system.REAC- Reaction loads from any analysis are applied as force loads ( f ) in any analysis. Values are in the nodal coordinate system.CONC- Concentrations from a diffusion analysis are applied to a subsequent diffusion analysis as nodal loads ( d ) or initial conditions ( ic ) when used in conjunction withKIMG=1 orKIMG=2, respectively.VMEN- Mean flow velocities from a static mean flow analysis are applied to a subsequent harmonic or modal solution of the convective wave equation as body-force loads ( bf ).VOLT- Voltages from an electric, electrostatic, or electromagnetic analysis are applied to a subsequent electric, electrostatic, or electromagnetic analysis as nodal loads ( d ) whenKIMG= 1 or as initial conditions ( ic ) whenKIMG= 2.
- lstep
str Load step number of the data set to be read. Defaults to 1. If LAST, ignore
SBSTEPandTIMEand read the last data set.- sbstep
str Substep number (within
LSTEP). If zero (or blank),LSTEPrepresents the last substep of the load step.- time
str Time-point identifying the data set to be read. Used only if both
LSTEPandSBSTEPare zero (or blank). IfTIMEis between two solution time points on the results file, a linear interpolation is done between the two data sets. IfTIMEis beyond the last time point on the file, use the last time point.- kimg
intorstr When used with results from harmonic analyses ( antype,HARMIC)
KIMGestablishes which set of data to read:0- Read the real part of the solution. Valid also forLab= EHFLU to read in time-average heat flux.1- Read the imaginary part of the solution.2- Calculate and read the time-average part. Meaningful forLab= HGEN or FORC.
When used with the PRES label,
KIMGrepresents the shell element face on which to apply the pressure:1- Apply pressure to face 12- Apply pressure to face 2
When used with the TEMP label,
KIMGindicates how temperatures are to be applied.0- Apply temperatures as body loads ( bf )1- Apply temperatures as nodal loads ( d )2- Apply temperatures as initial conditions ( ic )
When used with the CONC label,
KIMGindicates how concentrations are to be applied.1- Apply concentrations as nodal loads ( d )2- Apply concentrations as initial conditions ( ic )
When used with the VOLT label,
KIMGindicates how voltages are to be applied.1- Apply voltages as nodal loads ( d )2- Apply voltages as initial conditions ( ic )
- fname
str File name and directory path (248 characters maximum, including the characters needed for the directory path). An unspecified directory path defaults to the working directory; in this case, you can use all 248 characters for the file name. The file name defaults to
Jobname.- ext
str Filename extension (eight-character maximum). The extension defaults to RST (or RMF for a static mean flow analysis) if
Fnameis blank.
- lab
Notes
The ldread command reads results data from the results file and applies them as loads.
The command can also apply results from an analysis defined with one physics environment as loads on a second analysis using a different physics environment. Results values are applied as loads for field-coupling effects (for example, output temperatures from a thermal analysis as input to a structural analysis).
The command works based on the assumption that the meshes have not changed.
Nodal loads are applied only to selected nodes. Element loads are applied only to selected elements. Element surface loads are applied only to selected elements where all face nodes for that surface are selected.
To assure proper distribution of the surface loads, select only the nodes on the element face where the surface load is to be applied.
Scaling and accumulation specifications are applied as the loads are read via the following commands:
bfcum for body-force loads. (Heat-generation loads are not accumulated.)
sfcum for surface loads.
fcum for force loads.
List the results via the appropriate list command:
bflist or bfelist for body-force loads.
sfelist for surface loads.
flist for force loads.
Values may be redefined after being read by issuing ldread again with a different load step and substep, or time value.
This command is also valid in PREP7.
Transferring Temperature Output from SHELL131 and SHELL132
If a thermal analysis uses
SHELL131orSHELL132thermal shell elements, temperatures can be transferred as body force element loads ( bfe ). In most cases, only the top and bottom temperatures fromSHELL131andSHELL132are used by the structural shell elements; any interior temperatures are ignored. However, all temperatures are used bySHELL181having section input, andSHELL281having section input; for these elements, therefore, the number of temperature points at a node generated in the thermal model must match the number of temperature points at a node needed by the structural model.When using
SHELL131orSHELL132information for the ldread operation, all element types should specify the same set of thermal degrees of freedom.Transferring Temperature Output from SOLID278 and SOLID279
If a thermal analysis uses
SOLID278orSOLID279thermal solid elements, the temperatures are available either at the nodes (KEYOPT(3) = 0) or at the nodes and layers (KEYOPT(3) = 1 or 2). Under normal circumstances, only the nodal temperatures are transferred to the structural elements.However, if the structural elements are layered solids (KEYOPT(3) = 1 for
SOLSH190,SOLID185,SOLID186) and the thermal elements have KEYOPT(3) = 1 or 2 (layered solid) and KEYOPT(8) = 1 (store data for all layers), then the layer temperatures are transferred to the structural elements. If the number of layers do not match, the algorithm reverts back to nodal temperature transfer.KIMG= 0 (body loads) is the only valid mode for layered temperature transfer.Examples Thermal-Stress Example: Load Transfer Coupled-Field Analysis with One-way Coupling
Induction Heating Example: Load Transfer Coupled-Field Analysis with Two-way Coupling