How to use an output temperature in next job
How to use an output temperature in next job
(OP)
Hi,
I need to know how to say to Abaqus to save the values of a temperature of the last instant from last job. This way, in the next job I'll be able to use that output data as initial boundary condition. Also, in between jobs I have to eliminate that last part, but I've already done this in the script.
I'm attaching a picture where I hope it is more understandable:
http://subefotos.com/ver/?a2e80f78c2740d4d03dc8959...
I need to know how to say to Abaqus to save the values of a temperature of the last instant from last job. This way, in the next job I'll be able to use that output data as initial boundary condition. Also, in between jobs I have to eliminate that last part, but I've already done this in the script.
I'm attaching a picture where I hope it is more understandable:
http://subefotos.com/ver/?a2e80f78c2740d4d03dc8959...





RE: How to use an output temperature in next job
Just open the previous odb file object extract the values you are interested in,
and use this info for your current cae model.
Short example accessing the result database file (odb) using pyhton scripting.
CODE --> python
db = session.openOdb(name='{0}.odb'.format(job.name)) step = db.steps[db.steps.keys()[-1]] history = step.historyRegions[step.historyRegions.keys()[-1]] reaction_force_data = history.historyOutputs['RF1'].data displacement_data = history.historyOutputs['U1'].dataRE: How to use an output temperature in next job
RE: How to use an output temperature in next job
I don't have too much Python knowledge so what I do is to work from the GUI, and then take the script from the .jnl that Abaqus automatically do when you save.
I'm doing these steps:
1. Go to the Load module and choose "Predefined Field --> Create".
2. In the "Create Predefined Field" dialog box, choose the "Initial" step, and the radio button for the "Other" category. In the list to the right, choose "Temperature."
3. You will be propted to select the regions of the model. You should choose the geometry shared between the two analysis where you have temperature data you want to import.
4. In the "Edit Predefined Field" dialog box, in the "Distribution" drop down list, choose "From results or output database file." The dialog box will then change giving you a place to select the odb file from the first analysis. You'll then be able to select any saved step or increment from the first thermal analysis to import, as well as define mesh interpolation properties in case the meshes in the the two anaysis are different.
I've tried it but I must be doing something wrong because the final temperature is lower than the one in the first job. The line that I get from the .jnl doesn't specify the regions that I chose, and I think that is the problem. The line from the .jnl is this one:
mdb.models['Model-1'].Temperature(absoluteExteriorTolerance=0.0, beginIncrement=50, beginStep=2, createStepName='Initial', distributionType= FROM_FILE, endIncrement=None, endStep=None, exteriorTolerance=0.05, fileName='C:/SIMULIA/Temp/Job-1.odb', interpolate=OFF, name= 'Predefined Field-7')
Regards.
RE: How to use an output temperature in next job
Thanks in advice,
Regards.
RE: How to use an output temperature in next job
mdb.models['Model-1'].Temperature(absoluteExteriorTolerance=0.0, beginIncrement=50, beginStep=2, createStepName='Initial', distributionType= FROM_FILE, endIncrement=None, endStep=None, exteriorTolerance=0.05, fileName='C:/SIMULIA/Temp/Job-1.odb', interpolate=OFF, name= 'Predefined Field-7')
I need to know how to parametrize the value of 'beginIncrement', or if there are any command such as 'last_step' or something similar, so that automatically gives you the last increment.
Thanks in advice,
Regards.
RE: How to use an output temperature in next job
I think I am doing something wrong when selecting the step or the increment.
Any help?
Thanks in advice,
Regards.