CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Initial conditions = final conditions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 13, 2005, 12:21
Default Initial conditions = final conditions
  #1
Chucho
Guest
 
Posts: n/a
Does anybody knows how to set the results of a simulation as the initial conditions to a new simulation with CFX 5.7 or CFX 10?
  Reply With Quote

Old   December 13, 2005, 23:30
Default Re: Initial conditions = final conditions
  #2
Rajit
Guest
 
Posts: n/a
It is pretty simple.Use the .res file in the intial values file in the solver defintion form in the solver manager.

the first blank will be your new simulation file and the second blank will be the created res file.

then run this.it will take the intial values from the resolution file.

Thanks Rajit
  Reply With Quote

Old   December 14, 2005, 02:58
Default Re: Initial conditions = final conditions
  #3
TB
Guest
 
Posts: n/a
What I normally do is interpolate the old result file to new definition file. Look carefully on the menu bar in the solver manager. Of course you can use command line to do it. Refer to user manual.
  Reply With Quote

Old   December 15, 2005, 11:00
Default Re: Initial conditions = final conditions
  #4
Jeff
Guest
 
Posts: n/a
If the new run uses exactly the same grid, you can simply use the restart method Rajit gave you. Specify the old .res file as the initial values file. No need to interpolate, and I believe you get more information (i.e. control volume fluxes, etc.) than with interpolation which only interpolate the node values.

If the new run uses a refined mesh, but the same domain structure, you have to use interpolation to interpolate the old solution field onto the new mesh.

If the zonal structure has changed (new domains, or subdomains) then interpolation won't work either. I've been told by CFX that in this situation, you can write out the solution variables over the entire domain, and then do a cloud interpolation onto the new grid, but this requires user Fortran and is fairly complicated. It's never been worth the effort over just re-running the case on the new mesh.

Hope this helps. Jeff
  Reply With Quote

Old   December 15, 2005, 19:15
Default Re: Initial conditions = final conditions
  #5
Chucho
Guest
 
Posts: n/a
Tx for ur replies, but i'm having a problem. when i choose the .res file, the solver loads it but it only iterates for one more step, it doesn't simulates according to the finish time i set up. Also it removes previos steps from the res file when i open it with the post processor. Can u help me? Tx
  Reply With Quote

Old   December 16, 2005, 17:14
Default Re: Initial conditions = final conditions
  #6
Jeff
Guest
 
Posts: n/a
If it's a transient run, the current time will be picked up from the .res file. So if your simulation is set for 1000 seconds, and the .res file ran for 1000s, then only one time step will run as you've reached the time limit. Set the simulation time to 2000s for another 1000s of simulation.

The other possibility is that your residual targets are already reached using the initialization file. Set your residual targets lower.

Jeff
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 13 November 4, 2013 14:13
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
MRFSimpleFoam amp cyclic patches david OpenFOAM Running, Solving & CFD 36 October 21, 2008 21:55


All times are GMT -4. The time now is 11:10.