All Frameworks  Object Hierarchy  This Framework  Indexes   

ABQJob (Object)

Represents an Abaqus job (ABQJob) object.
Role: Access an Abaqus job object or determine its properties.

Property Index

ComputationDir
Sets or returns the computation directory.
ContactPrint
Returns or sets whether contact constraint data are printed.
Description
Returns or sets the job description.
EchoPrint
Sets or returns whether an echo of the input data is printed.
HistoryPrint
Sets or returns whether history data are printed.
InputFileFormat
Sets or returns the format of the input file generated by the job.
MaxMemory
Sets or returns the amount of memory (in percent or MB) available to the solver
MemoryUnit
Sets or returns the units to be used for specifying the maximum memory to be used by the solver.
ModelConsistencyCheck
Sets or returns whether a model consistency check should be performed.
ModelPrint
Sets or returns or sets whether model definition data is printed.
NumCpus
Sets or returns the number of CPUs to use for this analysis.
ParallelizationMethodStandard
Sets or returns the parallelization method for the Abaqus/Standard direct solver.
RestartReadInterval
Sets or returns the interval of restart read requests.
RestartReadJob
Sets or returns or the path to the original job (*.
RestartReadOption
Sets or returns the restart read option.
RestartReadStepNumber
Sets or returns the step number of restart read requests.
RestartReadStepSelectionOption
Sets or returns the step selection option for restart read.
RestartReadStep
Sets or returns the Step.
RestartRequestFrequencyValue
Sets or returns the frequencey value of restart requests.
RestartRequestFrequency
DEPRECATED - please use RestartRequestOption instead.
RestartRequestIntervalValue
Sets or returns the interval of restart requests.
RestartRequestOption
Sets or returns the restart request option.
RestartRequestOverlay
Sets or returns the overlay option for the restart request.
RestartRequestTimeMarks
Sets or returns the time marks flag for restart requests.
Scratch
Sets or returns or the path to the scratch directory.
Source
Sets or returns the source for analysis.
Type
Returns or sets the job type.
UserSubroutine
Sets or returns the user subroutine file path.

Method Index

SubmitJob
Submits the job.
WriteInputFile
Writes the input file for the job.

Properties


o Property ComputationDir() As
Sets or returns the computation directory.
Returns:
The computation directory.
Example:
This example sets the computation directory for the myJob job to "D:\CompDir".
 myJob.ComputationDir = "D:\CompDir"
 
o Property ContactPrint() As
Returns or sets whether contact constraint data are printed.
Returns:
A boolean specifying whether contact constraint data will be printed.
Example:
This example sets the printing of contact constraint data for the myJob job to False.
 myJob.ContactPrint = False
 
o Property Description() As
Returns or sets the job description.
Example:
This example sets the job description for the myJob job to "AutomatedJob".
 myJob.Description = "AutomatedJob"
 
o Property EchoPrint() As
Sets or returns whether an echo of the input data is printed.
Returns:
A boolen specifying whether the input data will be printed.
Example:
This example sets the printing of echo of the input data for the myJob job to True.
 myJob.EchoPrint = True
 
o Property HistoryPrint() As
Sets or returns whether history data are printed.
Returns:
A boolean specifying whether the the history data will be printed.
Example:
This example sets the printing of history data for the myJob job to True.
 myJob.HistoryPrint = True
 
o Property InputFileFormat() As
Sets or returns the format of the input file generated by the job.
Returns:
The input file format.
  
Legal values: False (an assembly of separate parts) True (a single part)
Example:
This example sets the input file format for the myJob job to a single part.
 myJob.InputFileFormat = True
 
o Property MaxMemory() As
Sets or returns the amount of memory (in percent or MB) available to the solver
Returns:
The amount of memory.
Example:
This example sets the amount of memory available to the solver for myJob job to 60.
 myJob.MaxMemory = 60
 
o Property MemoryUnit() As
Sets or returns the units to be used for specifying the maximum memory to be used by the solver.
Returns:
The unit.
  
Legal values: PERCENT MEGABYTES
Example:
This example sets the unit for the myJob job to PERCENT.
 myJob.MemoryUnit = PERCENT
 
o Property ModelConsistencyCheck() As
Sets or returns whether a model consistency check should be performed.
Returns:
A boolean specifying whether a consistency check will be performed.
Example:
This example sets the Model consistency check for the myJob job to False.
 myJob.ModelConsistencyCheck = False
 
o Property ModelPrint() As
Sets or returns or sets whether model definition data is printed.
Returns:
A boolean specifying whether the model definition data will be printed.
Example:
This example sets the printing of model definition data for the myJob job to False.
 myJob.ModelPrint = False
 
o Property NumCpus() As
Sets or returns the number of CPUs to use for this analysis.
Returns:
The number of CPUs.
Example:
This example sets the number of CPUs to use myJob job to 3.
 myJob.NumCpus = 3
 
o Property ParallelizationMethodStandard() As
Sets or returns the parallelization method for the Abaqus/Standard direct solver.
Returns:
The parallelization method.
  
Legal values: TREE SUPERNODE
Example:
This example sets the parallelization method for the myJob job to TREE.
 myJob.ParallelizationMethodStandard = TREE
 
o Property RestartReadInterval() As
Sets or returns the interval of restart read requests. This is only valid if RestartReadOption is RESTART_INTERVAL The value must be greater than 0.
Returns:
The interval of restart read requests.
Example:
This example sets the restart read request interval for myJob job to 10.
 myJob.RestartReadInterval = 10
 
o Property RestartReadJob() As
Sets or returns or the path to the original job (*.odb) file.
Returns:
The path to the original job (*.odb) file.
Example:
This example sets the original job for the myJob job to "D:\myoriginaljob.odb".
 myJob.RestartReadJob = "D:\myoriginaljob.odb"
 
o Property RestartReadOption() As
Sets or returns the restart read option. This is only valid if RestartReadOption is ABQ_STEP_OBJECT
Returns:
The option of restart read requests.
  
Legal values: ABQ_RESTART_END_OF_STEP - The current step is terminated from which restart is being made and restarts from end of that step. ABQ_RESTART_INTERVAL - Analysis will restart from the specified interval number within the specified step.
Example:
This example sets the restart read option for myJob job to end of step.
 myJob.RestartReadOption = ABQ_RESTART_END_OF_STEP
 
o Property RestartReadStepNumber() As
Sets or returns the step number of restart read requests. This is only valid if RestartReadOption is ABQ_STEP_NUMBER The value must be greater than or equal to 1 and less than total number of steps.
Returns:
The step number of restart read requests.
Example:
This example sets the step number for myJob job to 2.
 myJob.RestartReadStepNumber = 2
 
o Property RestartReadStepSelectionOption() As
Sets or returns the step selection option for restart read.
Returns:
The step selection option of restart read requests.
  
Legal values: ABQ_STEP_OBJECT - Selects step object ABQ_STEP_NUMBER - Selects step by step number
Example:
This example sets the step selection option for myJob job to end of step.
 myJob.RestartReadStepSelectionOption = ABQ_STEP_OBJECT
 
o Property RestartReadStep() As
Sets or returns the Step.
Returns:
The Step of restart read requests.
Example:
This example sets the step for myJob job to 2.
 myJob.RestartReadStep = 2
 
o Property RestartRequestFrequencyValue() As
Sets or returns the frequencey value of restart requests. This is only valid if RestartRequestOption is ABQ_RESTART_SPECINT. The value must be greater than 0.
Returns:
The frequency value of restart requests.
Example:
This example sets the restart request frequency value for myJob job to 10.
 myJob.RestartRequestFrequencyValue = 10
 
o Property RestartRequestFrequency() As
DEPRECATED - please use RestartRequestOption instead. Sets or returns the frequency of restart requests.
Returns:
The frequency of restart requests.
  
Legal values: 0 (None) 1 (After each increment) 999 (After the last increment in each step and after the last increment of the analysis)
Example:
This example sets the restart request frequency for myJob job to 999.
 myJob.RestartRequestFrequency = 999
 
o Property RestartRequestIntervalValue() As
Sets or returns the interval of restart requests. This is only valid if RestartRequestOption is ABQ_RESTART_NUMINT The value must be greater than 0.
Returns:
The interval of restart requests.
Example:
This example sets the restart request interval for myJob job to 10.
 myJob.RestartRequestIntervalValue = 10
 
o Property RestartRequestOption() As
Sets or returns the restart request option.
Returns:
The option of restart requests.
  
Legal values: ABQ_RESTART_NONE - No restart data. ABQ_RESTART_EVERYINC - Collect on every increment. ABQ_RESTART_SPECINC - Used to define the frequency to collect the data. Used in conjunction with RestartRequestFrequencyValue. ABQ_RESTART_NUMINT - Used to define the interval to collect the data. Used in conjunction with RestartRequestIntervalValue. ABQ_RESTART_LASTINC - Collect after the last increment in each step and after the last increment of the analysis.
Example:
This example sets the restart option for myJob job to every increment.
 myJob.RestartRequestOption = RESTART_EVERYINC
 
o Property RestartRequestOverlay() As
Sets or returns the overlay option for the restart request.
Returns:
A boolean specifying whether the to use the overlay option.
Example:
This example sets the overlay option for the restart request for myJob job to True.
 myJob.RestartRequestOverlay = True
 
o Property RestartRequestTimeMarks() As
Sets or returns the time marks flag for restart requests. This is only valid if the RestartRequestOption is ABQ_RESTART_NUMINT.
Returns:
The time marks flag for restart requests.
Example:
This example sets the time marks flag for myJob job to 10.
 myJob.RestartRequestTimeMarks = True
 
o Property Scratch() As
Sets or returns or the path to the scratch directory.
Returns:
The path to the scratch directory.
Example:
This example sets the scratch directory for the myJob job to "D:\Scratch".
 myJob.Scratch = "D:\Scratch"
 
o Property Source() As
Sets or returns the source for analysis.
Returns:
The source (model or input file).
Example:
This example sets the time marks flag for myJob job to From Model.
 myJob.Source = True
 
o Property Type() As
Returns or sets the job type.
Returns:
The job type.
  
Legal values: ANALYSIS DATACHECK CONTINUE SYNTAXCHECK RESTART
Example:
This example sets the job type for the myJob job to ANALYSIS.
 myJob.Type = ANALYSIS
 
o Property UserSubroutine() As
Sets or returns the user subroutine file path.
Returns:
The user subroutine file path.
Example:
This example sets the user subroutine path for the myJob job to "D:\UserSub".
 myJob.UserSubroutine = "D:\UserSub"
 

Methods


o Sub SubmitJob()
Submits the job.
o Sub WriteInputFile()
Writes the input file for the job.

Copyright © 2003, Dassault Systèmes. All rights reserved.