Fatigue User’s Guide > Crack Growth > Batch Operations
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Batch Operations
PKSOL and PCRACK can be executed in batch mode similar to other MSC Fatigue modules, although it is not recommended and certainly not easier or more intuitive than interactive mode. However, it may be useful in some cases to set up a batch job execution if the run time may be very long and it is not desirable to resetup the job through the MSC Fatigue menus within MSC Fatigue Pre & Post or MSC Patran.
Most of the batch keywords are presented here. However, not all of them are described. To find the appropriate batch keyword for the operation(s) that is necessary, enter PKSOL or PCRACK and use the Help on Question from the Help pull-down menu with the area or field of interest active. At the end of each help page (that is displayed), is the keyword for that option. In the graphics mode of PKSOL, the keywords for each of the geometry dimensions can be determined also by using the Help on Window option from the Help pull-down menu when entering dimensions.
PKSOL Batch Operation
Related keywords for PKSOL are:
 
/UNIts=
This is the Units option (1,2,3, or 4 for millimeters, meters, inches, or milli‑inches, respectively). (/UNI=1)
/CALulation=
This is the calculation option as in Figure 7‑4. (/CAL=4)
/OUTput=
This is the output file name. (/OUT=keyhole)
/GEOmetric def=
This is the main geometric definition as in Figure 7‑5. (/GEO=1)
/SELection=
This is the sub-geometric definition of the crack geometry as specified in0 Figure 7‑6 through Figure 7‑12. (/SEL=8)
/OPTion=
The option can be Define, Calculate, or Exit (/OPT=df, /OPT=cl, /OPT=ex)
/B=
This is an example dimension for one of the geometries. (/B=1)
/W=
This is another dimension from one of the geometries (width). (/W=3)
/A=
This is the crack size, or sizes. (/A=1)
/K=
This is the stress intensity, or intensities. (/K=50)
/STR=
This is the stress, or stresses. (/STR=50)
/C1= - /C5=
These are the constants to equation 5-2. (/C1=1.0)
/T=
This is the thickness of the specimen for use with equation 5-2. (T=1)
/OV=
Overwrite flag if you wish to overwrite a file name. (/OV=Y)
Example:
pksol	/uni=1/cal=4/out=keyhole/opt=df/geo=1/sel=8/b=1/w=3
/opt=cl/opt=ex/ov=y
This example will run PKSOL in batch and will create a compact tension specimen with dimensions B=1mm and W=3 mm. The resulting file will be called keyhole.ksn and if one already exists by that name, it will be overwritten. If there are problems running PKSOL in batch, check the batlog.lst file for clues as to why it may not be working.
PCRACK Batch Operation
Related keywords for PCRACK are:
 
/MSCOPTion=
The PCRACK main menu option (P, A).
/ANALysis=
Do a full analysis after preprocessing (Y, N).
/FACTor=
Time History Scale Factor of loading.
/TIME=
Time history
/OFFset=
Time history offset. Not to be confused with the other /OFF below.
/LOAD=
Load magnitude
/LCASE=
Load case number
/EDILOD=
Edit load case information (Y, N). (/EDILOD=N)
/INPut=
This is the name of the jobname.tcy file. (/INP=myjob)
/SCAling=
This is the scale factor. (/SCA=1)
/OFFset=
This is the stress offset in MPa. (/OFF=100)
/PLAne=
This is the plane stress correction flag (Y/N). (/PLA=N)
/HIStory=
This is the model history effects flag. (/HIS=Y)
/OUTput=
This is the output file name. (/OUT=myjob)
/OV=
Overwrite flag if you wish to overwrite a file name. (/OV=Y)
/INCrement=
This is the increment of cycles at which you wish to output parameters to the output file jobname.crg. (/INC=10)
/UPDate=
This determines how often the graphics screen is updated. This is important if you wish to look at the final situation plots graphically. (/UPD=10)
/MAXimum=
This is the target life in user units. (/MAX=50)
/KSOlution=
This is the name of the K solution file. (/KSO=keyhole)
/DEPth of notch=
This is the Notch Depth in the appropriate units as defined by the K solution. (/DEP=2.3)
/RADius of notch=
This is the Notch Root Radius in the same units. (RAD=1)
/SHArp radius=
This is the Sharp Crack Root Radius in the same units. (/SHA=1E‑4)
/AF=
This is the Final Crack Size in the same units. (/AF=2)
/AI=
This is the Initial Crack Size in the same units. (/AI=0)
/MATerial=
This is the material to be used. (/MAT=MANTEN)
/ENVironment=
This is the environment to be used. (/ENV=AIR)
/YIEld=
This is the Yield Strength in MPa. (/YIE=324)
/UTS=
This is the Ultimate Strength in MPa. (/UTS=552)
/E=
This is the Young’s Modulus in MPa. (/E=2.034E5)
/KCR=
This is the Fracture Toughness in MPa m1/2. (/KCR=121)
/FL=
This is the Unnotched Fatigue Limit in MPa. (/FL=226)
/C=
This is the Paris Law Coefficient in m/cycle. (/C=3E-12)
/M=
This is the Paris Law Exponent. (/M=3.43)
/DKR0=
This is the Delta K threshold at R=0 in MPa m1/2. (/DKR0=8)
/DKR1=
This is the Delta K threshold at RŠ0 in MPa m1/2. (/DKR1=2)
/RCR=
This is the Stress ratio at threshold knee. (/RCR=0.75)
Example:
pcrack
/inp=keycg/out=keycg/ov=y/ksol=keyhole/mat=manten/env=air
This example will run PCRACK in batch and will use the file keycg.tcy as the input file and create a file called keycg.crg with overwrite on. The material used is MANTEN and the environment is AIR. The K solution file name is keyhole.ksn. All other parameters are takes as default from the initial job setup. If there are problems running PCRACK in batch, check the batlog.lst file for clues as to why it may not be working.