*RESTART, READING error

Good afternoon everyone. I am having some issues using the *RESTART keyword. I followed the procedure explained here ( *RESTART ) but I got this error message:

At line 78 of file restartshort.f (unit = 15, file = ‘My_job_name.rin’)
Fortran runtime error: End of file

I obtained the .rin file by copying and renaming the .rout I got from a precedent job. Thank you in advance for any help!

Hard to say without seeing your files but are you sure the names are correct ?

For a subsequent restart job with name jobname_new.inp'' the jobname.rout’’ file must be renamed into ``jobname_new.rin’'.

Be careful with jobname and jobname_new.

Also, make sure that *RESTART keyword are properly defined. Especially *RESTART, READ in the second file. It should be the first keyword after *HEADING and only followed by a step definition.

Compare your setup with the examples from the documentation (beamread, beamwrite).

1 Like

I want to know how to implement the following operations in keywords.There are three restart steps in my model. After the first step is completed, the post-processing SDV6 value needs to be read. Then, after the second step is calculated, the new SDV6 value needs to be read again. The same applies to the third step.

A few remarks about this model:

  1. Is it supposed to be axisymmetric or plane stress ? Because the model space is axisymmetric but the element type is plane stress (CPS4) which is normally done when having both axisymmetric and plane stress parts in the same model.
  2. You have a triangular amplitude with 1 at 0.5 s. You already set the incrementation properly (although it might be safer to use a lower min increment size) but make sure that you have some nonlinearity so that it’s not solved in one increment (I had to change your user material to linear elastic and that happened).
  3. I guess you adopted that restart definition from How to use *restart? - #3 by fgr - CalculiX (official versions are on www.calculix.de, the official GitHub repository is at https://github.com/Dhondtguido/CalculiX). but I’m not sure about it (even if CalculiX doesn’t complain). It shouldn’t be used without the READ/WRITE parameter and it’s normally done in such a way that you write the restart data in one input file, create a new input file with *RESTART, READ and rename the old .rout file. Also, *RESTART, WRITE should be used within a step while *RESTART, READ is typicall the first keyword in the input file (after optional *HEADING).

This is a plane stress, you reminded me to pay attention to the nonlinearity of the material.
“write the restart data in one input file, create a new input file with and rename the old .rout file. Also, should be used within a step while is typicall the first keyword in the input file (after optional ).*RESTART, READ *RESTART, WRITE *RESTART, READ *HEADING
I will encounter an error after this.