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

Load previous solution

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2012, 12:39
Default Load previous solution
  #1
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 7
ryancoe is on a distinguished road
Does anyone know of a way to load a previously computed solution onto a mesh?

I'd like to use a macro to run simulations with a range of parameters, but have each simulation initialized by the same steady solution.

Thanks,

Ryan
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   March 20, 2012, 12:52
Default
  #2
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
rwryne is on a distinguished road
Try doing
1) File->Export and exporting your selected values to a CCM file
2) reimport them via File->Import Volume Mesh.

3) set up a data mapper (Tools->Data Mappers) to transfer the data between regions.
4) Set up a field function to set the initial conditions to the mapped values (i.e. set the Initial Temperature to equal Mapped Temperature)
rwryne is offline   Reply With Quote

Old   March 20, 2012, 12:56
Default
  #3
Super Moderator
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 313
Rep Power: 9
rwryne is on a distinguished road
Also, if you have the new version (7.02) you might try looking at Solution Histories. I have not yet had a chance to play with it or read about them, but it might be able to accomodate what you are wanting to do
rwryne is offline   Reply With Quote

Old   September 17, 2012, 21:07
Default
  #4
New Member
 
Join Date: Apr 2012
Location: OR USA
Posts: 12
Rep Power: 5
bryan he is on a distinguished road
Quote:
Originally Posted by rwryne View Post
Try doing
1) File->Export and exporting your selected values to a CCM file
2) reimport them via File->Import Volume Mesh.

3) set up a data mapper (Tools->Data Mappers) to transfer the data between regions.
4) Set up a field function to set the initial conditions to the mapped values (i.e. set the Initial Temperature to equal Mapped Temperature)
Hi Rwryne,
I followed your steps, and it actually worked. But the problem is, it can work only once.
I mean, after I appiled the field function as initial condition and ran the case for some steps, I cleared the solution(due to other problems), and tried to remap again. However, an error "the field function is not built on the region" came out.
Do you know what's wrong?
Thanks!
bryan he is offline   Reply With Quote

Old   September 20, 2012, 17:53
Default
  #5
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 637
Rep Power: 12
abdul099 is on a distinguished road
You can use a table when the mesh size is not too large. It works pretty fine, but can need a large amount of memory when the table is too large.

As far as I know, solution history is not yet able to provide initialization values.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   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
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
interFoam solution tolerances mgdenno OpenFOAM 4 September 13, 2011 12:58
Naca 0012 (compressible and inviscid) flow convergence problem bipulsaha FLUENT 1 July 6, 2011 07:51
Transient, initial variables from a previous solution nakor FloEFD, FloWorks & FloTHERM 0 April 22, 2011 04:34
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


All times are GMT -4. The time now is 06:38.