Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to restart a 2d Transient analysis of Fluid in a pipe.

Status
Not open for further replies.

vinny31

Mechanical
Oct 4, 2005
48
0
0
IE
Hi
I am having a small problem restarting a fluidic analysis.
Basically I want to restart a transient fluid analysis. However when I do the restart I was to create a new *.db and continuing the analysis in this new database from the previous time step but write the remaining result to the new corresponding *.rfl file.

For example I have successfully run a Fluid1.db analysis file to 6 us. I now wish to call this file a new name for example Fluid2.db and continue the analysis in this new database from this 6us time step up to 20us. However I wish to write the remaining 14us to the new corresponding Fluid2.rfl file. This is the problem I am having. How do I do this??

Please see the restart file I have below which works fine if I am staying the same Fluid 1 database.

Can anyone suggest how to improve this file.??

******************************
This is the Restart file
******************************
/batch

/CONFIG,NRES,9000

resume,Fluid1,db

/filname,Fluid2

/prep7

dt = 0.05
ftime=20.00

FLDATA4,TIME,STEP,dt,
FLDATA4,TIME,ISTEP,dt, ! sets the first time step
FLDATA4,TIME,NUMB,10000, ! sets the maximum number of steps
FLDATA4,TIME,GLOB,1000, ! sets the maximum number of iterations
! per time step

FLDATA32,REST,TIME,-6.00

nt=ftime/dt
ns=6.00/dt+1

!**************************************************************************
! Put this in to pick up the last displacement value from the disp.inp file

*dim,dnewB,array,1,1,1
*vread,dnewB(1),disp,inp
(f22.16)

disp=dnewB(1,1,1)

uyy=disp
vyy=0.00

allsel,all

!**************************************************************************

fini

*do,i,ns,nt,1

ctime=(i-1)*dt

/prep7

FLDATA4,TIME,TEND,ctime

cmsel,s,paddle,node
d,all,ux,0
d,all,uy,uyy
d,all,vx,0
d,all,vy,vyy
d,all,enke,-1

allsel,all

fini

/SOLU

allsel,all

SOLVE

fini

*enddo

save
 
Status
Not open for further replies.
Back
Top