Model¶
Model commands are used to create Abaqus/CAE models. A finished model contains all the data that Abaqus/CAE needs to create and submit an analysis to Abaqus/Standard or Abaqus/Explicit. Models are stored in a model database.
Classes¶
Model¶
- class Model(
- name,
- description=
''
, - stefanBoltzmann=
None
, - absoluteZero=
None
, - waveFormulation=
NOT_SET
, - modelType=
STANDARD_EXPLICIT
, - universalGas=
None
, - copyConstraints=
1
, - copyConnectors=
1
, - copyInteractions=
1
, 基类:
AdaptivityModel
,AmplitudeModel
,AssemblyModel
,BoundaryConditionModel
,CalibrationModel
,ConstraintModel
,FilterModel
,InteractionModel
,LoadModel
,MaterialModel
,OptimizationTaskModel
,PartModel
,PredefinedFieldModel
,BeamSectionProfileModel
,OutputModel
,SectionModel
,SketchModel
,StepModel
Abaqus creates a Model object named Model-1 when a session is started.
备注
This object can be accessed by:
mdb.models[name]
The corresponding analysis keywords are:
PHYSICAL CONSTANTS
备注
Check Model on help.3ds.com/2024.
Public Data Attributes:
Inherited from
ModelBase
A String specifying the repository key.
None or a Float specifying the Stefan-Boltzmann constant.
None or a Float specifying the absolute zero constant.
A SymbolicConstant specifying the type of incident wave formulation to be used in acoustic problems.
None or a Float specifying the universal gas constant.
A Boolean specifying whether an input file should be written without parts and assemblies.
A Boolean specifying that the step specified by restartStep should be terminated at the increment specified by restartIncrement.
A Boolean specifying that a shell global model drives a solid submodel.
A Float specifying the time stamp that indicates when the model was last changed.
A String specifying the purpose and contents of the Model object.
A String specifying the name of the job that generated the restart data.
A String specifying the name of the step where the restart analysis will start.
A String specifying the name of the job that generated the results for the global model.
A boolean specifying the status of constraints created in a model, in the model which instances this model.
A boolean specifying the status of connectors created in a model, in the model which instances this model.
A boolean specifying the status of interactions created in a model, in the model which instances this model.
A KeywordBlock object.
A repository of Amplitude objects.
A repository of Profile objects.
A repository of BoundaryCondition objects.
A repository of ConstrainedSketchConstraint objects.
A repository of AnalyticalField objects.
A repository of DiscreteField objects.
A repository of PredefinedField objects.
A repository of Interaction objects.
A repository of InteractionProperty objects.
A repository of ContactControl objects.
A repository of ContactInitialization objects.
A repository of ContactStabilization objects.
A tuple of tuples of Strings specifying the linked child PartInstance name in the current model to the corresponding parent PartInstance name in a different model.
A tuple of tuples of Strings specifying the linked child Part name in the current model to the corresponding parent Part name in a different model.
A repository of Load objects.
A repository of Material objects.
A repository of Calibration objects.
A repository of Section objects.
A repository of RemeshingRule objects.
A repository of ConstrainedSketch objects.
A repository of Part objects.
A repository of Step objects.
A FeatureOptions object.
A repository of AdaptiveMeshConstraint objects.
A repository of AdaptiveMeshControl objects.
A repository of TimePoint objects.
A repository of Filter objects.
A repository of IntegratedOutputSection objects.
A repository of FieldOutputRequest objects.
A repository of HistoryOutputRequest objects.
A repository of OptimizationTask objects.
A repository of TableCollection objects.
A repository of EventSeriesType objects.
A repository of EventSeriesData objects.
An Int specifying the increment, interval, iteration or cycle where the restart analysis will start.
An Assembly object.
Public Methods:
Inherited from
AdaptivityModel
adaptiveRemesh
(odb)This method remeshes the model using the active remesh rules in the model and the error indicator results from a previous analysis.
AdaptiveMeshConstraint
(name, category, region)The AdaptiveMeshConstraint object is the abstract base type for other Arbitrary Lagrangian Eularian (ALE) style AdaptiveMeshConstraint objects.
AdaptiveMeshControl
(name[, remapping, ...])This method creates an AdaptiveMeshControl object.
DisplacementAdaptiveMeshConstraint
(name, ...)This method creates a DisplacementAdaptiveMeshConstraint object.
RemeshingRule
(name, stepName, variables[, ...])This method creates a RemeshingRule object.
VelocityAdaptiveMeshConstraint
(name, ...[, ...])This method creates a VelocityAdaptiveMeshConstraint object.
Inherited from
AmplitudeModel
ActuatorAmplitude
(name[, timeSpan])This method creates a ActuatorAmplitude object.
DecayAmplitude
(name, initial, maximum, ...)This method creates a DecayAmplitude object.
EquallySpacedAmplitude
(name, fixedInterval, data)This method creates an EquallySpacedAmplitude object.
ModulatedAmplitude
(name, initial, magnitude, ...)This method creates a ModulatedAmplitude object.
PeriodicAmplitude
(name, frequency, start, ...)This method creates a PeriodicAmplitude object.
PsdDefinition
(name, data[, unitType, ...])This method creates a PsdDefinition object.
SmoothStepAmplitude
(name, data[, timeSpan])This method creates a SmoothStepAmplitude object.
SolutionDependentAmplitude
(name[, initial, ...])This method creates a SolutionDependentAmplitude object.
SpectrumAmplitude
(name, method, data[, ...])This method creates a SpectrumAmplitude object.
TabularAmplitude
(name, data[, smooth, timeSpan])This method creates a TabularAmplitude object.
Inherited from
AssemblyModel
Instance
(name, objectToCopy)This method copies a PartInstance object from the specified model and creates a new PartInstance object.
convertAllSketches
([regenerate, ...])This method converts all sketches from Abaqus 6.5 or earlier to the equivalent ConstrainedSketch objects.
linkInstances
(instancesMap)This method links the selected PartInstance objects to the corresponding PartInstance objects from the specified models.
Inherited from
BoundaryConditionModel
AccelerationBaseMotionBC
(name, ...[, ...])This method creates a AccelerationBaseMotionBC object.
AccelerationBC
(name, createStepName, region)This method creates an AccelerationBC object.
AcousticPressureBC
(name, createStepName, region)This method creates a AcousticPressureBC object.
ConcentrationBC
(name, createStepName, region)This method creates a ConcentrationBC object.
ConnAccelerationBC
(name, createStepName[, ...])This method creates an ConnAccelerationBC object on a wire region.
ConnDisplacementBC
(name, createStepName[, ...])This method creates a ConnDisplacementBC object on a wire region.
ConnVelocityBC
(name, createStepName[, ...])This method creates a ConnVelocityBC object on a wire region.
DisplacementBaseMotionBC
(name, ...[, ...])This method creates a DisplacementBaseMotionBC object.
DisplacementBC
(name, createStepName, region)This method creates a DisplacementBC object.
ElectricPotentialBC
(name, createStepName, region)This method creates an ElectricPotentialBC object.
EulerianBC
(name, createStepName, region[, ...])This method creates a EulerianBC object.
EulerianMotionBC
(name, createStepName, ...)This method creates an EulerianMotionBC object.
FluidCavityPressureBC
(name, createStepName, ...)This method creates a FluidCavityPressureBC object.
MagneticVectorPotentialBC
(name, ...[, ...])This method creates a MagneticVectorPotentialBC object.
MaterialFlowBC
(name, createStepName, region)This method creates a MaterialFlowBC object.
PorePressureBC
(name, createStepName, region)This method creates a PorePressureBC object.
RetainedNodalDofsBC
(name, createStepName, region)This method creates a RetainedNodalDofsBC object.
SecondaryBaseBC
(name, createStepName, ...)This method creates a SecondaryBaseBC object.
SubmodelBC
(name, createStepName, region, ...)This method creates a SubmodelBC object.
TemperatureBC
(name, createStepName, region)This method creates a TemperatureBC object.
VelocityBaseMotionBC
(name, createStepName, dof)This method creates a VelocityBaseMotionBC object.
VelocityBC
(name, createStepName, region[, ...])This method creates a VelocityBC object.
EncastreBC
(name, createStepName, region[, ...])This method creates an encastre TypeBC object.
PinnedBC
(name, createStepName, region[, ...])This method creates a pinned TypeBC object.
XsymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies symmetry about the X axis.
YsymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies symmetry about the Y axis.
ZsymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies symmetry about the Z axis.
XasymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies antisymmetry about the X axis.
YasymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies antisymmetry about the Y axis.
ZasymmBC
(name, createStepName, region[, ...])This method creates a TypeBC object that specifies antisymmetry about the Z axis.
Inherited from
CalibrationModel
Calibration
(name)This method creates a Calibration object.
Inherited from
ConstraintModel
AdjustPoints
(name, surface, controlPoints)This method creates an AdjustPoints object.
Coupling
(name, surface, controlPoint, ...[, ...])This method creates a Coupling object.
DisplayBody
(name, instance, controlPoints)This method creates a DisplayBody object.
EmbeddedRegion
(name, embeddedRegion, hostRegion)This method creates a EmbeddedRegion object.
Equation
(name, terms)This method creates an Equation object.
MultipointConstraint
(name, surface, ...[, ...])This method creates a MultipointConstraint object.
RigidBody
(name, refPointRegion[, ...])This method creates a RigidBody object.
ShellSolidCoupling
(name, shellEdge, solidFace)This method creates a ShellSolidCoupling object.
Tie
(name, main, secondary[, adjust, ...])This method creates a Tie object.
Inherited from
FilterModel
ButterworthFilter
(name, cutoffFrequency[, ...])This method creates a ButterworthFilter object.
Chebyshev1Filter
(name, cutoffFrequency[, ...])This method creates a Chebyshev1Filter object.
Chebyshev2Filter
(name, cutoffFrequency[, ...])This method creates a Chebyshev2Filter object.
OperatorFilter
(name, cutoffFrequency[, ...])This method creates an OperatorFilter object.
Inherited from
InteractionModel
contactDetection
([name, createStepName, ...])This method uses contact detection to create SurfaceToSurfaceContactStd, SurfaceToSurfaceContactExp, and Tie objects.
This method returns a list of all possible contacts that can be created using the ContactDetection method.
AcousticImpedance
(name, createStepName, surface)This method creates an AcousticImpedance object.
ActuatorSensor
(name, createStepName, point, ...)This method creates an ActuatorSensor object.
CavityRadiation
(name, createStepName, surfaces)This method creates a CavityRadiation object.
ConcentratedFilmCondition
(name, ...[, ...])This method creates a ConcentratedFilmCondition object.
ConcentratedRadiationToAmbient
(name, ...[, ...])This method creates a ConcentratedRadiationToAmbient object.
ContactExp
(name, createStepName[, ...])This method creates a ContactExp object.
ContactMassScalingExp
(name, createStepName)This method creates an ContactMassScalingExp object.
ContactStd
(name, createStepName[, ...])This method creates a ContactStd object.
CyclicSymmetry
(name, createStepName, main, ...)This method creates a CyclicSymmetry object.
ElasticFoundation
(name, createStepName, ...)This method creates an ElasticFoundation object.
FilmCondition
(name, createStepName, surface, ...)This method creates a FilmCondition object.
FluidCavity
(name, createStepName, ...[, ...])This method creates an FluidCavity object.
FluidExchange
(name, createStepName, ...[, ...])This method creates an FluidExchange object.
FluidInflator
(name, createStepName, cavity, ...)This method creates a FluidInflator object.
IncidentWave
(name, createStepName, ...[, ...])This method creates an IncidentWave object.
ModelChange
(name, createStepName[, ...])This method creates a ModelChange object.
PressurePenetration
(name, createStepName, ...)This method creates a PressurePenetration object.
RadiationToAmbient
(name, createStepName, ...)This method creates a RadiationToAmbient object.
SelfContactExp
(name, createStepName, ...[, ...])This method creates a SelfContactExp object.
SelfContactStd
(name, createStepName, ...[, ...])This method creates a SelfContactStd object.
StdXplCosimulation
(name, createStepName, region)This method creates a StdXplCosimulation object.
SurfaceToSurfaceContactExp
(name, ...[, ...])This method creates a SurfaceToSurfaceContactExp object.
SurfaceToSurfaceContactStd
(name, ...[, ...])This method creates a SurfaceToSurfaceContactStd object.
XFEMCrackGrowth
(name, createStepName, crackName)This method creates an XFEMCrackGrowth object.
Inherited from
InteractionContactControlModel
ExpContactControl
(name[, globTrkChoice, ...])This method creates an ExpContactControl object.
StdContactControl
(name[, ...])This method creates an StdContactControl object.
Inherited from
InteractionContactInitializationModel
ExpInitialization
(name[, overclosureType, ...])This method creates an ExpInitialization object.
StdInitialization
(name[, overclosureType, ...])This method creates a StdInitialization object.
Inherited from
InteractionContactStabilizationModel
StdStabilization
(name[, zeroDistance, ...])This method creates a StdStabilization object.
Inherited from
InteractionPropertyModel
AcousticImpedanceProp
(name, tableType, table)This method creates an AcousticImpedanceProp object.
ActuatorSensorProp
(name[, realProperties, ...])This method creates an ActuatorSensorProp object.
CavityRadiationProp
(name[, ...])This method creates a CavityRadiationProp object.
ContactProperty
(name)This method creates a ContactProperty object.
FilmConditionProp
(name[, ...])This method creates a FilmConditionProp object.
FluidCavityProperty
(name[, definition, ...])This method creates a FluidCavityProperty object.
FluidExchangeProperty
(name, dataTable[, ...])This method creates a FluidExchangeProperty object.
FluidInflatorProperty
(name, definition, ...)This method creates a FluidInflatorProperty object.
IncidentWaveProperty
(name[, definition, ...])This method creates an IncidentWaveProperty object.
Inherited from
LoadModel
BodyCharge
(name, createStepName, region, ...)This method creates a BodyCharge object.
BodyConcentrationFlux
(name, createStepName, ...)This method creates a BodyConcentrationFlux object.
BodyCurrent
(name, createStepName, region, ...)This method creates a BodyCurrent object.
BodyCurrentDensity
(name, createStepName, ...)This method creates a BodyCurrentDensity object.
BodyForce
(name, createStepName, region[, ...])This method creates a BodyForce object.
BodyHeatFlux
(name, createStepName, region, ...)This method creates a BodyHeatFlux object.
BoltLoad
(name, createStepName, region, ...)This method creates a BoltLoad object.
ConcCharge
(name, createStepName, region, ...)This method creates a ConcCharge object.
ConcConcFlux
(name, createStepName, region, ...)This method creates a ConcConcFlux object.
ConcCurrent
(name, createStepName, region, ...)This method creates a ConcCurrent object.
ConcentratedForce
(name, createStepName, region)This method creates a ConcentratedForce object.
ConcentratedHeatFlux
(name, createStepName, ...)This method creates a ConcentratedHeatFlux object.
ConcPoreFluid
(name, createStepName, region, ...)This method creates a ConcPoreFluid object.
ConnectorForce
(name, createStepName[, ...])This method creates a ConnectorForce object on a wire region.
ConnectorMoment
(name, createStepName[, ...])This method creates a ConnectorMoment object on a wire region.
CoriolisForce
(name, createStepName, region, ...)This method creates a CoriolisForce object.
Gravity
(name, createStepName[, ...])This method creates a Gravity object.
InertiaRelief
(name, createStepName[, u1, ...])This method creates an InertiaRelief object.
InwardVolAccel
(name, createStepName, region, ...)This method creates a InwardVolAccel object.
LineLoad
(name, createStepName, region[, ...])This method creates a LineLoad object.
Moment
(name, createStepName, region[, cm1, ...])This method creates a Moment object.
PEGLoad
(name, createStepName, region[, ...])This method creates a PEGLoad object.
PipePressure
(name, createStepName, region, ...)This method creates a Pressure object.
Pressure
(name, createStepName, region[, ...])This method creates a Pressure object.
RotationalBodyForce
(name, createStepName, ...)This method creates a RotationalBodyForce object.
ShellEdgeLoad
(name, createStepName, region, ...)This method creates a ShellEdgeLoad object.
SubmodelSB
(name, createStepName, region, ...)This method creates a SubmodelSB object.
SubstructureLoad
(name, createStepName, ...)This method creates a SubstructureLoad object.
SurfaceCharge
(name, createStepName, region, ...)This method creates a SurfaceCharge object.
SurfaceConcentrationFlux
(name, ...[, field, ...])This method creates a SurfaceConcentrationFlux object.
SurfaceCurrent
(name, createStepName, region, ...)This method creates a SurfaceCurrent object.
SurfaceCurrentDensity
(name, createStepName, ...)This method creates a SurfaceCurrentDensity object.
SurfaceHeatFlux
(name, createStepName, ...[, ...])This method creates a SurfaceHeatFlux object.
SurfacePoreFluid
(name, createStepName, ...)This method creates a SurfacePoreFluid object.
SurfaceTraction
(name, createStepName, ...[, ...])This method creates a SurfaceTraction object.
Inherited from
MaterialModel
Material
(name[, description, materialIdentifier])This method creates a Material object.
Inherited from
OptimizationTaskModel
BeadTask
(name[, abaqusSensitivities, ...])This method creates a BeadTask object.
ShapeTask
(name[, abaqusSensitivities, ...])This method creates a ShapeTask object.
SizingTask
(name[, abaqusSensitivities, ...])This method creates a SizingTask object.
TopologyTask
(name[, abaqusSensitivities, ...])This method creates a TopologyTask object.
Inherited from
PartModel
Part
(name, dimensionality, type[, twist])This method creates a Part object and places it in the parts repository.
Inherited from
PredefinedFieldModel
FluidCavityPressure
(name, fluidCavity, ...)This method creates a FluidCavityPressure object.
InitialState
(name, instances, fileName[, ...])This method creates an InitialState predefined field object.
KinematicHardening
(name, region[, ...])This method creates a KinematicHardening object.
MaterialAssignment
(name, instanceList[, ...])This method creates a MaterialAssignment predefined field object.
PorePressure
(name, region[, ...])This method creates a PorePressure predefined field object.
Temperature
(name, createStepName, region[, ...])This method creates a Temperature object.
Velocity
(name, region, velocity1, velocity2, ...)This method creates a Velocity predefined field object.
Saturation
(name, region[, distributionType, ...])This method creates a Saturation predefined field object.
Stress
(name, region[, distributionType, ...])This method creates a Stress predefined field object.
Field
(name, createStepName, region[, ...])This method creates a Field object.
VoidsRatio
(name, region[, distributionType, ...])This method creates a PorePressure predefined field object.
Inherited from
BeamSectionProfileModel
beamProfilesFromOdb
(fileName)This method creates Profile objects by reading an output database.
ArbitraryProfile
(name, table)This method creates a ArbitraryProfile object.
BoxProfile
(name, a, b, uniformThickness, t1)This method creates a BoxProfile object.
ChannelProfile
(name, l, h, b1, b2, t1, t2, t3, o)This method creates a ChannelProfile object.
CircularProfile
(name, r)This method creates a CircularProfile object.
GeneralizedProfile
(name, area, i11, i12, ...)This method creates a GeneralizedProfile object.
HatProfile
(name, l, h, b, b1, b2, t1, t2, t3)This method creates a HatProfile object.
HexagonalProfile
(name, r, t)This method creates a HexagonalProfile object.
IProfile
(name, l, h, b1, b2, t1, t2, t3)This method creates an IProfile object.
LProfile
(name, a, b, t1, t2)This method creates a LProfile object.
PipeProfile
(name, r, t)This method creates a PipeProfile object.
RectangularProfile
(name, a, b)This method creates a RectangularProfile object.
TProfile
(name, b, h, l, tf, tw)This method creates a TProfile object.
TrapezoidalProfile
(name, a, b, c, d)This method creates a TrapezoidalProfile object.
Inherited from
OutputModel
FieldOutputRequest
(name, createStepName[, ...])This method creates a FieldOutputRequest object.
HistoryOutputRequest
(name, createStepName[, ...])This method creates a HistoryOutputRequest object.
IntegratedOutputSection
(name, surface[, ...])This method creates an IntegratedOutputSection object.
TimePoint
(name, points)This method creates a TimePoint object.
Inherited from
SectionModel
AcousticInfiniteSection
(name, material[, ...])This method creates an AcousticInfiniteSection object.
AcousticInterfaceSection
(name[, thickness])This method creates an AcousticInterfaceSection object.
BeamSection
(name, integration, profile[, ...])This method creates a BeamSection object.
CohesiveSection
(name, response, material[, ...])This method creates a CohesiveSection object.
CompositeShellSection
(name, layup[, ...])This method creates a CompositeShellSection object.
CompositeSolidSection
(name, layup[, ...])This method creates a CompositeSolidSection object.
ConnectorSection
(name[, assembledType, ...])This method creates a ConnectorSection object.
EulerianSection
(name, data)This method creates a EulerianSection object.
GasketSection
(name, material[, ...])This method creates a GasketSection object.
GeneralStiffnessSection
(name, stiffnessMatrix)This method creates a GeneralStiffnessSection object.
HomogeneousShellSection
(name, material[, ...])This method creates a HomogeneousShellSection object.
HomogeneousSolidSection
(name, material[, ...])This method creates a HomogeneousSolidSection object.
MembraneSection
(name, material[, thickness, ...])This method creates a MembraneSection object.
MPCSection
(name, mpcType[, userMode, userType])This method creates a MPCSection object.
PEGSection
(name, material[, thickness, ...])This method creates a PEGSection object.
SurfaceSection
(name[, useDensity, density])This method creates a SurfaceSection object.
TrussSection
(name, material[, area])This method creates a TrussSection object.
Inherited from
SketchModel
ConstrainedSketch
(name, sheetSize[, ...])This method creates a ConstrainedSketch object.
Inherited from
StepModel
AnnealStep
(name, previous[, description, ...])This method creates an AnnealStep object.
BuckleStep
(name, previous, numEigen[, ...])This method creates a BuckleStep object.
ComplexFrequencyStep
(name, previous[, ...])This method creates a ComplexFrequencyStep object.
CoupledTempDisplacementStep
(name, previous)This method creates a CoupledTempDisplacementStep object.
CoupledThermalElectricalStructuralStep
(name, ...)This method creates a CoupledThermalElectricalStructuralStep object.
CoupledThermalElectricStep
(name, previous[, ...])This method creates a CoupledThermalElectricStep object.
DirectCyclicStep
(name, previous[, ...])This method creates a DirectCyclicStep object.
EmagTimeHarmonicStep
(name, previous, ...[, ...])This method creates a EmagTimeHarmonicStep object.
ExplicitDynamicsStep
(name, previous[, ...])This method creates an ExplicitDynamicsStep object.
FrequencyStep
(name, previous, eigensolver[, ...])This method creates a FrequencyStep object.
GeostaticStep
(name, previous[, description, ...])This method creates a GeostaticStep object.
HeatTransferStep
(name, previous[, ...])This method creates a HeatTransferStep object.
ImplicitDynamicsStep
(name, previous[, ...])This method creates an ImplicitDynamicsStep object.
MassDiffusionStep
(name, previous[, ...])This method creates a MassDiffusionStep object.
ModalDynamicsStep
(name, previous[, ...])This method creates a ModalDynamicsStep object.
RandomResponseStep
(name, previous, freq[, ...])This method creates a RandomResponseStep object.
ResponseSpectrumStep
(name, previous, components)This method creates a ResponseSpectrumStep object.
SoilsStep
(name, previous[, description, ...])This method creates a SoilsStep object.
StaticLinearPerturbationStep
(name, previous)This method creates a StaticLinearPerturbationStep object.
StaticRiksStep
(name, previous[, ...])This method creates a StaticRiksStep object.
StaticStep
(name, previous[, description, ...])This method creates a StaticStep object.
SteadyStateDirectStep
(name, previous, ...[, ...])This method creates a SteadyStateDirectStep object.
SteadyStateModalStep
(name, previous, ...[, ...])This method creates a SteadyStateModalStep object.
SteadyStateSubspaceStep
(name, previous, ...)This method creates a SteadyStateSubspaceStep object.
SubspaceDynamicsStep
(name, previous[, ...])This method creates a SubspaceDynamicsStep object.
SubstructureGenerateStep
(name, previous, ...)This method creates a SubstructureGenerateStep object.
TempDisplacementDynamicsStep
(name, previous)This method creates a TempDisplacementDynamicsStep object.
ViscoStep
(name, previous[, description, ...])This method creates a ViscoStep object.
Inherited from
ModelBase
__init__
(name[, description, ...])This method creates a Model object.
ModelFromInputFile
(name, inputFileName)This method creates a Model object by reading the keywords in an input file and creating the corresponding Abaqus/CAE objects.
ModelFromOdbFile
(name, odbFileName)This method creates a Model object by reading an output database and creating any corresponding Abaqus/CAE objects.
ModelFromNastranFile
(modelName, inputFileName)This method creates a Model object by reading the keywords in a Nastran bulk data file or Nastran input file and creating any corresponding Abaqus/CAE objects.
setValues
([description, noPartsInputFile, ...])This method modifies the Model object.
Member Details:
Other Classes¶
- class KeywordBlock[源代码]¶
基类:
object
The KeywordBlock object contains a representation of its model in the Abaqus input file format. You may edit the contents of the KeywordBlock to add solver functionality that is not supported by Abaqus/CAE. As a general rule, edits to the KeywordBlock object should be made as the last step prior to writing the actual Abaqus input file, thus avoiding possible conflicts with changes made using other MDB commands. The KeywordBlock object has no constructor. A KeywordBlock object is created when you create a model object. A model object contains only one KeywordBlock object.
备注
This object can be accessed by:
mdb.models[name].keywordBlock
备注
Member Details:
-
edited : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the Keywords Editor has been used to change the model.
- insert(position, text)[源代码]¶
This method inserts a String at a specified position in the sieBlocks member.
备注
- 参数:¶
- 抛出:¶
IndexError --
-
lastSynchCount : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the value of the counter associated with the Mdb object at the most recent synchronization.
- replace(position, text)[源代码]¶
This method replaces a String at a specified position in the sieBlocks member.
- 参数:¶
- 抛出:¶
IndexError --
-
sieBlocks : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ A tuple of Strings specifying a sequence of Strings that is identical to the information written to the Abaqus input file. Each String in the sequence represents an Abaqus input file keyword along with the parameters and data lines associated with the keyword. A String can also be a comment in the input file. You initialize this data member by calling synchVersions. After you initialize the data member, you use calls to replace and insert to record your edits in the correct location. If the last call to synchVersions used the argument storeNodesAndElements = False, the entry for the keywords NODE and ELEMENT will contain only the keyword and its parameters, not the data lines.
- synchVersions(storeNodesAndElements)[源代码]¶
This method synchronizes, or merges, the edits made in this object with those made in the model using other scripting commands or the user interface. The synchVersions method updates the sieBlocks member. The sieBlocks member is empty prior to the first call to synchVersions. As a side effect, synchVersions sets lastSynchCount to the current value of the counter associated with the Mdb object, which is used to determine if synchronization is necessary.
- 参数:¶
- storeNodesAndElements¶
A Boolean specifying whether the nodal coordinates and element connectivities (i.e. the data lines for the NODE and *ELEMENT keyword blocks) are to be stored in the **sieBlocks* member. All other keywords and their data lines are always stored. The default value is True. If storeNodesAndElements is True, the size of the keywordBlock data will be similar to that of the input file. Since the KeywordBlock is stored in the Abaqus/CAE database, this will result in a larger database. It will also result in a slower execution of the synchVersions command. If storeNodesAndElements is False, the data lines are not stored in sieBlocks. Consequently, only set storeNodesAndElements = True if you wish to make changes to the NODE or ELEMENT data lines themselves. If your task is limited to reading nodal coordinates and element connectivities (i.e. not editing this information) then it is generally better to access this information from other parts of the Mdb.
- 抛出:¶
IndexError --
-
edited : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class ModelBase(
- name,
- description=
''
, - stefanBoltzmann=
None
, - absoluteZero=
None
, - waveFormulation=
NOT_SET
, - modelType=
STANDARD_EXPLICIT
, - universalGas=
None
, - copyConstraints=
1
, - copyConnectors=
1
, - copyInteractions=
1
, 基类:
object
Abaqus creates a Model object named Model-1 when a session is started.
备注
This object can be accessed by:
mdb.models[name]
The corresponding analysis keywords are:
PHYSICAL CONSTANTS
备注
Member Details:
- ModelFromInputFile(name, inputFileName)[源代码]¶
This method creates a Model object by reading the keywords in an input file and creating the corresponding Abaqus/CAE objects.
备注
This function can be accessed by:
mdb.Model
备注
- ModelFromNastranFile(
- modelName,
- inputFileName,
- sectionConsolidation=
PRESERVE_SECTION
, - preIntegratedShell=
0
, - weightMassScaling=
1
, - loadCases=
1
, - coupleBeamOffsets=
1
, - cbar=
B31
, - cquad4=
S4
, - chexa=
C3D8I
, - ctetra=
C3D10
, - keepTranslatedFiles=
1
, This method creates a Model object by reading the keywords in a Nastran bulk data file or Nastran input file and creating any corresponding Abaqus/CAE objects. The default values is discussed in following and can be defined alternatively in the Abaqus environment file as the one used for the translator from Nastran to Abaqus. For more information, see Translating Nastran data to Abaqus files.
备注
This function can be accessed by:
mdb.Model
- 参数:¶
- modelName¶
A String specifying the repository key.
- inputFileName¶
A String specifying the name of the Nastran input file (including the .bdf, .dat, .nas, .nastran, .blk, .bulk extension) to be read into the new model. This String can also be the full path to the Nastran input file if it is located in another directory.
- sectionConsolidation=
PRESERVE_SECTION
¶ A SymbolicConstant specifying the method used to create shell section. Possible values are PRESERVE_SECTION, GROUP_BY_MATERIAL, and NONE. If PRESERVE_SECTION is used, an Abaqus section is created corresponding to each shell property ID. If GROUP_BY_MATERIAL is used, a single Abaqus section is created for all homogeneous elements referencing the same material. In both cases, material orientations and offsets are created using discrete fields. If NONE is used, a separate shell section is created for each combination of orientation, material offset, and/or thickness. The default is PRESERVE_SECTION.
- preIntegratedShell=
0
¶ A Boolean specifying whether the pre-integrated shell section is created in default for shell element. The default value is OFF.
- weightMassScaling=
1
¶ A Boolean specifying whether the value on the Nastran data line PARAM, WTMASS is used as a multiplier for all density, mass, and rotary inertia values created in the Abaqus input file. The default value is ON.
- loadCases=
1
¶ A Boolean specifying whether each SUBCASE for linear static analyses is translated to a LOAD CASE option, and all such LOAD CASE options are grouped in a single STEP option. The default value is ON.
- coupleBeamOffsets=
1
¶ A Boolean specifying whether to translate the beam element connectivity to newly created nodes at the offset location and rigidly coupling the new and original nodes. If not, beam element offsets are translated to the CENTROID and SHEAR CENTER options, which are suboptions of the BEAM GENERAL SECTION option. The default value is ON. When the beam element references a PBARL or PBEAML property or if the beam offset has a significant component in the direction of the beam axis, the setting for this argument is always ON.
- cbar=
B31
¶ A String specifying the 2-node beam that is created from CBAR and CBEAM elements. Possible values are B31 and B33. The default is B31.
- cquad4=
S4
¶ A String specifying the 4-node shell that is created from CQUAD4 elements. Possible values are S4 and S4R. The default is S4. If a reduced-integration element is chosen, the enhanced hourglass formulation is applied automatically.
- chexa=
C3D8I
¶ A String specifying the 8-node brick that is created from CHEXA elements. Possible values are C3D8I, C3D8 and C3D8R. The default is C3D8I. If a reduced-integration element is chosen, the enhanced hourglass formulation is applied automatically.
- ctetra=
C3D10
¶ A String specifying the 10-node tetrahedron that is created from CTETRA elements. Possible values are C3D10 and C3D10M. The default is C3D10.
- keepTranslatedFiles=
1
¶ A Boolean specifying whether to keep the generated Abaqus input file after the model is created from the Nastran input file. The default value is ON.
- 返回:¶
A Model object.
- 返回类型:¶
Model
- ModelFromOdbFile(name, odbFileName)[源代码]¶
This method creates a Model object by reading an output database and creating any corresponding Abaqus/CAE objects.
备注
This function can be accessed by:
mdb.Model
备注
-
absoluteZero : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ None or a Float specifying the absolute zero constant. The default value is None.
-
adaptiveMeshConstraints : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Adaptivity.AdaptiveMeshConstraint.AdaptiveMeshConstraint`] =
{}
[源代码]¶ A repository of AdaptiveMeshConstraint objects.
-
adaptiveMeshControls : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Adaptivity.AdaptiveMeshControl.AdaptiveMeshControl`] =
{}
[源代码]¶ A repository of AdaptiveMeshControl objects.
-
amplitudes : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Amplitude.Amplitude.Amplitude`] =
{}
[源代码]¶ A repository of Amplitude objects.
-
analyticalFields : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Field.AnalyticalField.AnalyticalField`] =
{}
[源代码]¶ A repository of AnalyticalField objects.
-
boundaryConditions : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.BoundaryCondition.BoundaryCondition.BoundaryCondition`] =
{}
[源代码]¶ A repository of BoundaryCondition objects.
-
calibrations : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Calibration.Calibration.Calibration`] =
{}
[源代码]¶ A repository of Calibration objects.
-
constraints : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Constraint.Constraint.Constraint`] =
{}
[源代码]¶ A repository of ConstrainedSketchConstraint objects.
-
contactControls : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Interaction.ContactControl.ContactControl`] =
{}
[源代码]¶ A repository of ContactControl objects.
-
contactInitializations : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Interaction.ContactInitialization.ContactInitialization`] =
{}
[源代码]¶ A repository of ContactInitialization objects.
-
contactStabilizations : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Interaction.ContactStabilization.ContactStabilization`] =
{}
[源代码]¶ A repository of ContactStabilization objects.
-
copyConnectors : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A boolean specifying the status of connectors created in a model, in the model which instances this model.
-
copyConstraints : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A boolean specifying the status of constraints created in a model, in the model which instances this model.
-
copyInteractions : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A boolean specifying the status of interactions created in a model, in the model which instances this model.
-
description : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the purpose and contents of the Model object. The default value is an empty string.
-
discreteFields : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Field.DiscreteField.DiscreteField`] =
{}
[源代码]¶ A repository of DiscreteField objects.
-
endRestartStep : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying that the step specified by restartStep should be terminated at the increment specified by restartIncrement.
-
eventSeriesDatas : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.TableCollection.EventSeriesData.EventSeriesData`] =
{}
[源代码]¶ A repository of EventSeriesData objects.
Added in version 2020: The
eventSeriesDatas
attribute was added.
-
eventSeriesTypes : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.TableCollection.EventSeriesType.EventSeriesType`] =
{}
[源代码]¶ A repository of EventSeriesType objects.
Added in version 2020: The
eventSeriesTypes
attribute was added.
-
featureOptions : --is-rst--:py:class:`~abaqus.Feature.FeatureOptions.FeatureOptions` =
<abaqus.Feature.FeatureOptions.FeatureOptions object>
[源代码]¶ A FeatureOptions object.
-
fieldOutputRequests : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.StepOutput.FieldOutputRequest.FieldOutputRequest`] =
{'F-Output-1': <abaqus.StepOutput.FieldOutputRequest.FieldOutputRequest object>}
[源代码]¶ A repository of FieldOutputRequest objects.
-
filters : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Filter.Filter.Filter`] =
{}
[源代码]¶ A repository of Filter objects.
-
globalJob : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the job that generated the results for the global model.
-
historyOutputRequests : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.StepOutput.HistoryOutputRequest.HistoryOutputRequest`] =
{}
[源代码]¶ A repository of HistoryOutputRequest objects.
-
integratedOutputSections : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.StepOutput.IntegratedOutputSection.IntegratedOutputSection`] =
{}
[源代码]¶ A repository of IntegratedOutputSection objects.
-
interactionProperties : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Interaction.ContactProperty.ContactProperty`] =
{}
[源代码]¶ A repository of InteractionProperty objects.
-
interactions : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Interaction.Interaction.Interaction`] =
{}
[源代码]¶ A repository of Interaction objects.
-
keywordBlock : --is-rst--:py:class:`~abaqus.Model.KeywordBlock.KeywordBlock` =
<abaqus.Model.KeywordBlock.KeywordBlock object>
[源代码]¶ A KeywordBlock object.
-
lastChangedCount : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the time stamp that indicates when the model was last changed.
-
linkedInstances : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A tuple of tuples of Strings specifying the linked child PartInstance name in the current model to the corresponding parent PartInstance name in a different model.
-
linkedParts : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A tuple of tuples of Strings specifying the linked child Part name in the current model to the corresponding parent Part name in a different model.
-
loads : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Load.Load.Load`] =
{}
[源代码]¶ A repository of Load objects.
-
materials : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Material.Material.Material`] =
{}
[源代码]¶ A repository of Material objects.
-
noPartsInputFile : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether an input file should be written without parts and assemblies. The default value is OFF.
-
optimizationTasks : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Optimization.OptimizationTask.OptimizationTask`] =
{}
[源代码]¶ A repository of OptimizationTask objects.
-
parts : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Part.Part.Part`] =
{}
[源代码]¶ A repository of Part objects.
-
predefinedFields : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.PredefinedField.PredefinedField.PredefinedField`] =
{}
[源代码]¶ A repository of PredefinedField objects.
-
profiles : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.BeamSectionProfile.Profile.Profile`] =
{}
[源代码]¶ A repository of Profile objects.
-
remeshingRules : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Adaptivity.RemeshingRule.RemeshingRule`] =
{}
[源代码]¶ A repository of RemeshingRule objects.
- restartIncrement : --is-rst--:py:class:`int` | :py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
An Int specifying the increment, interval, iteration or cycle where the restart analysis will start. To select the end of the step use the SymbolicConstant STEP_END.
-
restartJob : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the job that generated the restart data.
-
restartStep : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the step where the restart analysis will start.
-
sections : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Section.Section.Section`] =
{}
[源代码]¶ A repository of Section objects.
- setValues(
- description=
''
, - noPartsInputFile=
0
, - absoluteZero=
None
, - stefanBoltzmann=
None
, - waveFormulation=
NOT_SET
, - universalGas=
None
, - restartJob=
''
, - restartStep=
''
, - restartIncrement=
None
, - endRestartStep=
0
, - globalJob=
''
, - shellToSolid=
0
, - copyConstraints=
0
, - copyConnectors=
0
, - copyInteractions=
0
, This method modifies the Model object.
备注
- 参数:¶
- description=
''
¶ A String specifying the purpose and contents of the Model object. The default value is an empty string.
- noPartsInputFile=
0
¶ A Boolean specifying whether an input file should be written without parts and assemblies. The default value is OFF.
- absoluteZero=
None
¶ None or a Float specifying the absolute zero constant. The default value is None.
- stefanBoltzmann=
None
¶ None or a Float specifying the Stefan-Boltzmann constant. The default value is None.
- waveFormulation=
NOT_SET
¶ A SymbolicConstant specifying the type of incident wave formulation to be used in acoustic problems. Possible values are NOT_SET, SCATTERED, and TOTAL. The default value is NOT_SET.
- universalGas=
None
¶ None or a Float specifying the universal gas constant. The default value is None.
- restartJob=
''
¶ A String specifying the name of the job that generated the restart data.
- restartStep=
''
¶ A String specifying the name of the step where the restart analysis will start.
- restartIncrement=
None
¶ An Int specifying the increment, interval, iteration or cycle where the restart analysis will start. To select the end of the step use the SymbolicConstant STEP_END.
- endRestartStep=
0
¶ A Boolean specifying that the step specified by restartStep should be terminated at the increment specified by restartIncrement.
- globalJob=
''
¶ A String specifying the name of the job that generated the results for the global model.
- shellToSolid=
0
¶ A Boolean specifying that a shell global model drives a solid submodel.
- copyConstraints=
0
¶ A Boolean specifying whether to copy the constraints created in the model to the model that instances this model.
- copyConnectors=
0
¶ A Boolean specifying whether to copy the connectors created in the model to the model that instances this model
- copyInteractions=
0
¶ A Boolean specifying whether to copy the interactions created in the model to the model that instances this model.
- description=
-
shellToSolid : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying that a shell global model drives a solid submodel.
-
sketches : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Sketcher.ConstrainedSketch.ConstrainedSketch`] =
{}
[源代码]¶ A repository of ConstrainedSketch objects.
-
stefanBoltzmann : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ None or a Float specifying the Stefan-Boltzmann constant. The default value is None.
-
steps : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Step.Step.Step`] =
{'Initial': <abaqus.Step.InitialStep.InitialStep object>}
[源代码]¶ A repository of Step objects.
-
tableCollections : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.TableCollection.TableCollection.TableCollection`] =
{}
[源代码]¶ A repository of TableCollection objects.
Added in version 2020: The
tableCollections
attribute was added.
-
timePoints : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.StepOutput.TimePoint.TimePoint`] =
{}
[源代码]¶ A repository of TimePoint objects.