Is it possible to simulate a ductile fracture initiated a crack using a XFEM crack and a traction separation law for the material damage initiation criteria ?
How to write in a text file the following data:
Increment 0: Step Time = 4.2613E-06
…
Increment 100: Step Time = 4.2613E-04
I used the code:
file.write('%s %d %s %s %6.4f \n '(frame.description[0],
frame.description[1],frame.description[2],frame.description[3],
frame.description[4]))
I...
How to write the frame description, Step Time and Time increment in a text file ?
I tried the following code but it does not work.
file = open("/directory/newfile.txt","w")
for frame in odb.steps['Step-1'].frames:
displacement = frame.fieldOutputs['PHILSM']
for y in displacement.values...
In the last line of the program below, what is the keywords to put instead of frame.description[1] and y.frame.description in order to display the name and value of Step Time in order to have on each line:
the TimeStep, Node and Philsm values
for frame in odb.steps['Step-1'].frames...
I tried the code written below but it does not work. I want to extract the PHILSM for each frame
for stepName in odb.steps.keys():
print stepName
step1 = odb.steps.values()[0]
print step1.name
#These two lines below work ok and display each frame with their values
for frame in...
I wrote the code below in order to display the frame names, but get the error message 'expected an indented block'. What would be the appropriate code to display each frame ?
allFrames = odb.steps['Step-1'].frames.keys()
for j in range(len(allFrames)):
frame=odb.steps['Step-1'].frames[j]
print...
I have written below a code in python to extract data (PHILSM values) from the output file (.odb) at Time increment=10.
How to write a recursive loop in the code in order to extract data (PHILSM values) from the odb.file for Time increment 0, 1,2,3,..., 100 ? Thank you.
from odbAccess import *...
I want to extract the position and the time at which a XFEM dynamic crack occupies a certain location. Is step-1:0 to 10 gives an indication about the time ? How is represented (coded) the time in the odb. file ?
What is the difference between 1) the static/general procedure for step-1 and 2) the dynamic/implicit procedure
in the case or a XFEM crack ? Is the time taken into account in the results generated from the first procedure ?
To test the dload subroutine, I modelled the pressure by two ways
1) Using the input file with the loads written as:
** LOADS
**
** Name: Load-1 Type: Pressure
*Dsload
Surf-1, P, 7000.
**
2) Using the input file with loads written as below and also using a dload subroutine:
** LOADS
**
**...
I want to define a transient internal pressure in a pipeline using an input file and the subroutine DLOAD
1) I use as a starting point the input file at constant pressure:
I use the file.inp as an input file. The loads are defined as:
** LOADS
**
** Name: Load-1 Type: Pressure
*Dsload...
I would like to study a ductile fracture.
In this purpose, I have defined the geometry of the model plus a XFEM crack.
I have defined the three following features in the "Material module":
1-Elastic: (Young’s modulus and Poisson’s ratio)
2-Plastic: (Yield stress and Plastic Strain: 8 lines)...
I am studying the propagation of a XFEM crack using "Predefined fields> Temperature".(Predefined Fields can be found just after 'BCs')
I would like to know if the temperature has an impact on the crack behaviour in this case ? Is it a good way to do the coupling crack/temperature ?
When we study the propagation of a XFEM crack (with the procedure 'static/general' or 'dynamic implicit') using a predefined field>temperature, will the temperature have an impact on the crack behaviour (i.e. is there a coupling crack/temperature) ?