|
[Sponsors] |
January 7, 2010, 03:45 |
Restart 2-way FSI with different timestep?
|
#1 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
Hi,
I've been trying to restart my 2-way FSI simulation with a different timestep without success. There's a section about restarting FSI in the manual, but I can't get the solvers to accept my change in timestep. I've changed the timestep both in the .def file and the .mf file. So, my questions would be: 1) Is it even possible to restart a FSI simulation with a different timestep? 2) Is there any way to run it with adaptive timesteps instead, i.e. specifying a RMS courant number in CFX and let it work out a suitable timestep? /Lance |
|
January 7, 2010, 18:11 |
|
#2 |
Senior Member
Join Date: Apr 2009
Posts: 531
Rep Power: 21 |
If you're only changing the timestep, and nothing else, then the def file is the only place it needs changed. You shouldn't have a .mf file (at least not one that you created manually). So change it in the def file, provide the previous res file for CFX, provide the .inp for ANSYS and check "Process Input File" then provide the previous ANSYS.db file.
|
|
January 8, 2010, 04:35 |
|
#3 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
I did as you said, changed the timestep in def, used previous .res for cfx as initial value, provided the old .inp file, checked proccess ansys input file, and provided the last Ansys.db file.
I changed the timestep from 1e-2 to 5e-3 in .def but still I get the following error: *** ERROR *** CP = 21.560 TIME= 09:18:06 Time increment for solid field analysis, 1.E-02 is greater than time increment, 5.E-03 for multifield analysis. *** ERROR *** CP = 21.560 TIME= 09:18:06 Error during setup - Skipping the remaining MultiField analysis. I also changed the timestep in .inp with the same result. What am I doing wrong? |
|
October 3, 2012, 06:23 |
|
#4 |
Member
Anthony Nitski
Join Date: Aug 2009
Location: Earth
Posts: 35
Rep Power: 17 |
Old subject, but now have same problem with changing of timestamp during FSI restart. I'm using ANSYS V14. Does anybody solved this problem??
|
|
October 5, 2012, 00:52 |
|
#5 |
Member
Anthony Nitski
Join Date: Aug 2009
Location: Earth
Posts: 35
Rep Power: 17 |
Thanks, mali28!
Links helpful, all you need to do is insert the command DELTIM with new timestep in generated mf file. Also correct MFDT command, i guess. And then use it for restart CFX with command line argements "-ansys-restart <previos_run_dir>.ansys/ANSYS.db -ansys-input <corrected mf file>.mf -ansys-input-is-complete". Or via solver GUI... |
|
April 10, 2013, 22:45 |
|
#6 |
New Member
Join Date: Mar 2013
Posts: 9
Rep Power: 13 |
For my calculations (2way FSI), I would like to run a first part with another timestep as for a second part. Till the first break everything works well. Then I change the timestep in the def file, and the mf. (As it was written in the link of mali28)
But I have always following warning message: +--------------------------------------------------------------------+ | ****** Notice ****** | | | | The CFX results that are being used to initialise this | | simulation were generated at a time value that is inconsistent | | with the Coupling Initial Time value set in the CFX Input File. | | Please review results carefully. | | CFX results time : 4.0000E-02 | | Coupling Initial Time : 0.0000E+00 | +--------------------------------------------------------------------+ This is very courious as I tried both, Coupling time : Automatic and Coupling Time: Value ( with the right value). Has anybody a solution for my problem? Have I done a mistake in modifying the -mf data ( Introducing DELTIM,<VAL>,0,0).. |
|
April 11, 2013, 04:48 |
|
#7 |
Member
Anthony Nitski
Join Date: Aug 2009
Location: Earth
Posts: 35
Rep Power: 17 |
Are you use previos CFX res file in -def option of cfx5solve? I used cfx5solve for restart in that way:
cfx5solve -def my.res -ccl my.ccl -ansys-restart ./FSI_006.ansys/ANSYS.db -ansys-input ANSYS.mf -ansys-input-is-complete |
|
April 11, 2013, 10:14 |
|
#8 | |
New Member
Join Date: Mar 2013
Posts: 9
Rep Power: 13 |
For the moment I'm working with GUI interface. But normally this should do the same. Perhaps a more detailed explanation will help.
I created an input.dat file with a force and a first time step [0.001] for the whole simulation [1s]. Then I'm doing the .def file for the same timestep and a duration for 0.04 (This is equivalent to 40 timesteps). I run this simulation. Therefore I got the fluid_001.ansys with the ANSYS.mf file as well as fluid_001.res Now I would like to change the timesteps to 1e-5. Therefore I modify the .def file (Changing Total time to 1s and timesteps for 10e-5). Additional I'm introducing DELTIM,1e-5,0,0 in the .mf file. Then I run the simulation with the def file and in MultFIeld I define Mechanical input the modified .mf file and disable Process ANSYS Input file (This should be the command -ansys-input ANSYS.mf -ansys-input-is-complete ) In the restart I select the .db file (-ansys -restart ./FSI_001.ansys/ANSYS.db ) I think that I'm not really using the .res file as inout as I change the time duration. Is it possible that the change of the total time in the def file creates the problem?I'm doing like 2 calculations in serie. Perhaps therefore the restart doesn't work really. Quote:
Last edited by backside; April 11, 2013 at 10:43. |
||
April 12, 2013, 00:59 |
|
#9 |
Member
Anthony Nitski
Join Date: Aug 2009
Location: Earth
Posts: 35
Rep Power: 17 |
in MFDT i used same timestamp as in DELTIM (deltim,1.e-004,1.e-004,1.e-004 and MFDT,1.e-04,1.e-04,1.e-04,OFF). Also, in ansys mech setup i used fixed timestamp (not automatic).
For restart and continuation, you should use res file from previos CFX/FSI run, in CFX setup coupling initial time = automatic. For second run you can edit time step in res file or provide ccl file with changed time step (-ccl option) |
|
April 12, 2013, 09:50 |
|
#10 |
New Member
Join Date: Mar 2013
Posts: 9
Rep Power: 13 |
You wrote that you fixed timestamp in the ansys mech file. Where exactly can I do that?
How can i change the timestep in the .res file? So after the first simulation I have to change the total time and the timestep in the ANSYS.mf deltim,<TIMESTEP>,<TIMESTEP>,<TIMESTEP> MFTI,<Value of total time>, MFDT,<TIMESTEP>,<TIMESTEP>,<TIMESTEP>,OFF Than just insert -def <File>.res -ansys-restart <File>.ansys/ANSYS.db -ansys-input ANSYS.mf -ansys-input-is-complete |
|
April 17, 2013, 01:37 |
|
#11 | |||
Member
Anthony Nitski
Join Date: Aug 2009
Location: Earth
Posts: 35
Rep Power: 17 |
Quote:
Quote:
Quote:
|
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BCs in an FSI simulation of a flexble pipe | vivekcfd | OpenFOAM | 10 | January 8, 2010 05:14 |
IcoFsiFoam simulation crashes when using a smaller timestep | mathieu | OpenFOAM Running, Solving & CFD | 1 | May 17, 2009 04:54 |
fsi | sun | Siemens | 8 | January 20, 2009 00:17 |
how to extend FSI 2D codes to 3D, need advises | abouziar | Main CFD Forum | 1 | May 30, 2008 05:08 |
Restart of FSI simulation | V. Kumar | CFX | 3 | July 20, 2006 14:23 |