Role: Access an Abaqus job object or determine its properties.
Properties
- 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"
- 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
- 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"
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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"
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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"
- 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
- 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
- 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
- Sub SubmitJob()
- Submits the job.
- Sub WriteInputFile()
- Writes the input file for the job.