ProductsAbaqus/StandardAbaqus/Explicit Command summaryabaqus
sim_version{convertold-sim-file-namequerysim-file-namecurrent}
outnew-sim-file-name
levelrelease-level
help
Command line options
ExamplesUse the following command to query a SIM database file for the release level number: abaqus sim_version query=sim-file-name
Use the following command to determine the SIM level corresponding to the current Abaqus release: abaqus sim_version current Downgrading SIM database filesUse the following command to downgrade SIM database files for use with the 3DEXPERIENCE R2014x high-performance postprocessing Physics Results Explorer app: abaqus sim_version convert=sim-file-name out=downgraded-sim-file-name level=V6R2014x The following example includes the onJobCompletion function in the Abaqus environment file to automatically downgrade a SIM database file after the Abaqus job completes. For more information, see Job customization parameters. The following onJobCompletion definition downgrades files to the release level required for use with the 3DEXPERIENCE R2014x Physics Results Explorer app: def onJobCompletion(): import os, osutils, subprocess print "Executing onJobCompletion" abaqusCmd = "abaqus" # set this to the command used at your site simRoot = os.path.join(savedir,id) simName = simRoot + ".sim" if os.path.exists(simName): print "Found SIMDoc %s; running downgrade" % simName downgradedSimName = simRoot + "_R2014x" + ".sim" cmd = abaqusCmd + " sim_version convert=" + simName \ + " level=V6R2014x out=" + downgradedSimName subprocess.call(cmd) if not os.path.exists(downgradedSimName): print "SIM Downgrade failed" print "End of onJobCompletion" |