In Abaqus.rpy file, the commands performed in the CAE are recorded. But sometimes the transcription is not easily understandable, like:
faces1 = f1.getSequenceFromMask(mask=('[#50 ]', ), )
which could be expressed as well by:
faces1 = f1.findAt(((0.0, 3.0, 1.0), ), ((0.0, 3.0, 3.0), ))
To force the transcription in the 2nd format, one should execute the command:
session.journalOptions.setValues(replayGeometry=COORDINATE,recoverGeometry=COORDINATE)
Maxwell Betti's Homepage
Saturday, November 2, 2013
Saturday, October 26, 2013
[Unix] Copying a file to a distant server
using scp :
scp myFile myLogin@serverIpAddress:/path
scp myFile myLogin@serverIpAddress:/path
Tuesday, March 19, 2013
[Abaqus] job options
A list of possible options and their values may be found in the .com file:
options = {
'ams':OFF,
'analysisType':STANDARD,
'applicationName':'analysis',
'aqua':OFF,
'ask_delete':OFF,
'background':None,
'beamSectGen':OFF,
'biorid':OFF,
'complexFrequency':OFF,
'contact':OFF,
'cosimulation':OFF,
'coupledProcedure':OFF,
'cpus':6,
'cse':OFF,
'cyclicSymmetryModel':OFF,
'directCyclic':OFF,
'direct_port':'XXX',
'direct_solver':DMP,
'domains':'6',
'dsa':OFF,
'dynamic':OFF,
'filPrt':[],
'fils':[],
'finitesliding':OFF,
'foundation':ON,
'geostatic':OFF,
'heatTransfer':OFF,
'importer':OFF,
'importerParts':OFF,
'includes':[],
'initialConditionsFile':OFF,
'input':'D:\\TEMP\\Abaqus\\XXX',
'job':'XXX',
'lanczos':OFF,
'libs':[],
'listener_name':'XXX',
'listener_resource':'XXX',
'massDiffusion':OFF,
'memory':'13GB',
'message':None,
'messaging_mechanism':'DIRECT',
'moldflowFiles':[],
'moldflowMaterial':OFF,
'mp_file_system':(DETECT, DETECT),
'mp_head_node':('XXX',),
'mp_host_list':(('XXX', 6),),
'mp_mode':MPI,
'mp_mode_requested':MPI,
'mp_mpi_validate':OFF,
'mp_mpirun_path':'C:\\Program Files\\Microsoft HPC Pack 2008\\Bin\\mpiexec.EXE',
'mp_rsh_command':'dummy %H -l user1 -n %C',
'multiphysics':OFF,
'noDmpDirect':[],
'noMultiHost':[],
'no_domain_check':ON,
'outputKeywords':ON,
'parameterized':OFF,
'partsAndAssemblies':ON,
'parval':OFF,
'postOutput':OFF,
'publicSim':OFF,
'restart':OFF,
'restartEndStep':OFF,
'restartIncrement':0,
'restartStep':0,
'restartWrite':OFF,
'rezone':OFF,
'runCalculator':OFF,
'soils':OFF,
'soliter':OFF,
'solverTypes':['DIRECT'],
'standard_parallel':ALL,
'staticNonlinear':OFF,
'steadyStateTransport':OFF,
'step':ON,
'subGen':OFF,
'subGenLibs':[],
'subGenTypes':[],
'submodel':OFF,
'substrLibDefs':OFF,
'substructure':OFF,
'symmetricModelGeneration':OFF,
'tmpdir':'C:\\Users\\user1\\AppData\\Local\\Temp',
'tracer':OFF,
'visco':OFF,
}
options = {
'ams':OFF,
'analysisType':STANDARD,
'applicationName':'analysis',
'aqua':OFF,
'ask_delete':OFF,
'background':None,
'beamSectGen':OFF,
'biorid':OFF,
'complexFrequency':OFF,
'contact':OFF,
'cosimulation':OFF,
'coupledProcedure':OFF,
'cpus':6,
'cse':OFF,
'cyclicSymmetryModel':OFF,
'directCyclic':OFF,
'direct_port':'XXX',
'direct_solver':DMP,
'domains':'6',
'dsa':OFF,
'dynamic':OFF,
'filPrt':[],
'fils':[],
'finitesliding':OFF,
'foundation':ON,
'geostatic':OFF,
'heatTransfer':OFF,
'importer':OFF,
'importerParts':OFF,
'includes':[],
'initialConditionsFile':OFF,
'input':'D:\\TEMP\\Abaqus\\XXX',
'job':'XXX',
'lanczos':OFF,
'libs':[],
'listener_name':'XXX',
'listener_resource':'XXX',
'massDiffusion':OFF,
'memory':'13GB',
'message':None,
'messaging_mechanism':'DIRECT',
'moldflowFiles':[],
'moldflowMaterial':OFF,
'mp_file_system':(DETECT, DETECT),
'mp_head_node':('XXX',),
'mp_host_list':(('XXX', 6),),
'mp_mode':MPI,
'mp_mode_requested':MPI,
'mp_mpi_validate':OFF,
'mp_mpirun_path':'C:\\Program Files\\Microsoft HPC Pack 2008\\Bin\\mpiexec.EXE',
'mp_rsh_command':'dummy %H -l user1 -n %C',
'multiphysics':OFF,
'noDmpDirect':[],
'noMultiHost':[],
'no_domain_check':ON,
'outputKeywords':ON,
'parameterized':OFF,
'partsAndAssemblies':ON,
'parval':OFF,
'postOutput':OFF,
'publicSim':OFF,
'restart':OFF,
'restartEndStep':OFF,
'restartIncrement':0,
'restartStep':0,
'restartWrite':OFF,
'rezone':OFF,
'runCalculator':OFF,
'soils':OFF,
'soliter':OFF,
'solverTypes':['DIRECT'],
'standard_parallel':ALL,
'staticNonlinear':OFF,
'steadyStateTransport':OFF,
'step':ON,
'subGen':OFF,
'subGenLibs':[],
'subGenTypes':[],
'submodel':OFF,
'substrLibDefs':OFF,
'substructure':OFF,
'symmetricModelGeneration':OFF,
'tmpdir':'C:\\Users\\user1\\AppData\\Local\\Temp',
'tracer':OFF,
'visco':OFF,
}
Monday, March 18, 2013
[abaqus] automatically overwrite existing files
When a job is launched, Abaqus checks if there are pre-existing files with the same names as those it wants to write. If it's the case, the user is asked whether he wants to overwrite them or not. To overwrite without questions, just have to add "ask_delete=OFF" in the command line.
For instance:
abq6101 job=myJob cpus=8 memory=14GB interactive ask_delete=OFF
For instance:
abq6101 job=myJob cpus=8 memory=14GB interactive ask_delete=OFF
Tuesday, February 26, 2013
[windows] Retrieving the IP address of a web server with windows
just have to launch the command window:
cmd /k
and then ping the server:
ping the_server_name.net
cmd /k
and then ping the server:
ping the_server_name.net
Wednesday, January 23, 2013
[Matlab] Dealing with apostrophe ' in strings
Defining a figure title as E' (E prime), the apostrophe ' has to be enterred twice :
title('E''');
title('E''');
Monday, November 19, 2012
[.eps] bitmap -> .eps for several files at once
The automatic conversion of several bitmap files (.png for instance) to their .eps counterparts may be performed very efficiently using a linux OS. Just have to type in a terminal the command "mogrify -format eps *.png" !
Subscribe to:
Posts (Atom)