CalculiX coupling Restart mode

Yang Luo y.luo at strath.ac.uk
Mon Aug 27 18:54:14 CEST 2018


Hi Kyle and Benjamin,
I have installed ccx 2.10 and its corresponding adapter. After I added the restart like normal ccx settings, it worked and there is rout file generated. Many thanks!
Best regards,
Yang

From: precice-bounces at mailman.informatik.uni-stuttgart.de <precice-bounces at mailman.informatik.uni-stuttgart.de> On Behalf Of Kyle Davis
Sent: 27 August 2018 11:56
To: precice at mailman.informatik.uni-stuttgart.de
Subject: Re: CalculiX coupling Restart mode

Hi Yang

There are a few things in order to do a restart. The most important is timestep and total simulation time. There is a problem in CalculiX that if the simulation crashes before ending, it doesn't write an output file ( the output file will be the name of your .inp file followed by .rout instead). To fix that for now, if you already know where the simulation needs to be restarted from, you can set it to end there and write an output file. As an example:

If my time step is 1 second, and I want to restart from 10 seconds into the simulation, my .inp file will have:
*DYNAMIC,DIRECT
1,10
*BOUNDARY......

Therefore my simulation will run with a timestep of 1 second until 10 seconds. After this you will also need to change your preCICE configuration file. In this example, there are 10 time steps in total, therefore the <max-timesteps value="10" /> in the coupling scheme in the configuration file needs to be set. What this setup does is run the simulation for 10 timesteps, ends and writes an output file. Copy the output file and save it as a .rin file (literally just change .rout to .rin) I suggest doing this in a new folder so you don't overwrite any data.

Now, for the restart, your .inp file must read:
*RESTART,READ
*STEP,NLGEOM.......

You can ignore the *INCLUDE,*MATERIAL and those parameters as it is saved in the .rin file. Once again, if another restart is required after this, the same procedure above is needed. I know its a hassle for a work around, I just haven't been able to fix it yet.

I have also had some internal problems with CalculiX v2.13 not writing the .rout file, so I have been using 2.10. If this problem still persists, you can always send your .inp file and config file that I can look at. Otherwise I have the adapter in v2.10.

Regards
Kyle

On Mon, Aug 27, 2018 at 12:00 PM <precice-request at mailman.informatik.uni-stuttgart.de<mailto:precice-request at mailman.informatik.uni-stuttgart.de>> wrote:
Send preCICE mailing list submissions to
        precice at mailman.informatik.uni-stuttgart.de<mailto:precice at mailman.informatik.uni-stuttgart.de>

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.informatik.uni-stuttgart.de/mailman/listinfo/precice
or, via email, send a message with subject or body 'help' to
        precice-request at mailman.informatik.uni-stuttgart.de<mailto:precice-request at mailman.informatik.uni-stuttgart.de>

You can reach the person managing the list at
        precice-owner at mailman.informatik.uni-stuttgart.de<mailto:precice-owner at mailman.informatik.uni-stuttgart.de>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of preCICE digest..."


Today's Topics:

   1. CalculiX coupling Restart mode (Yang Luo)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Aug 2018 09:31:54 +0000
From: Yang Luo <y.luo at strath.ac.uk<mailto:y.luo at strath.ac.uk>>
To: "precice at mailman.informatik.uni-stuttgart.de<mailto:precice at mailman.informatik.uni-stuttgart.de>"
        <precice at mailman.informatik.uni-stuttgart.de<mailto:precice at mailman.informatik.uni-stuttgart.de>>
Subject: CalculiX coupling Restart mode
Message-ID:
        <38716907B2DF414A9E94623B729836376D937B at EX2010-MBX3.ds.strath.ac.uk<mailto:38716907B2DF414A9E94623B729836376D937B at EX2010-MBX3.ds.strath.ac.uk>>
Content-Type: text/plain; charset="us-ascii"

Dear all,
I am recently doing FSI simulations using DYNAMIC keyword in CalculiX CCX 2.13 Version. I would like to use the restart mode with command *RESTART,WRITE,FREQUENCY within *STEP keyword. But there is no any file named  "jobname.rout" produced. Do you have similar experience, if any please give me some hints. Or is there any other method for restart? Many thanks!
Kind regards,
Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.informatik.uni-stuttgart.de/mailman/private/precice/attachments/20180827/509d68b9/attachment-0001.html>

------------------------------

_______________________________________________
preCICE mailing list
preCICE at mailman.informatik.uni-stuttgart.de<mailto:preCICE at mailman.informatik.uni-stuttgart.de>
https://mailman.informatik.uni-stuttgart.de/mailman/listinfo/precice


End of preCICE Digest, Vol 32, Issue 2
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.informatik.uni-stuttgart.de/mailman/private/precice/attachments/20180827/2971a118/attachment.html>


More information about the preCICE mailing list