CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Continuous vs interrupted simulation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2008, 07:46
Default Hello World. I made a stran
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello World.

I made a strange experience some days ago.
I started a two-phase-flow simulation not knowing how long it will take so reach its final equilibrium state.

My first, second and third guesses of the simulation time were too short.
In all cases I restarted the calculation by putting the latest time into the startTime entry.

Due to insufficient disc space I had to recalculate the simulation on another system.
As a matter of fact I knew the correct simulation time and simulated straight from 0 to the final timestep.

I compared a characteristic value of the two simulations (magU in this case) and found that they differ over time!

Interrupted simulation:



Continuous simulation:



Strange to me are the tree peaks at the interrupted simulation plot.
They are not exactly at but following a short time after the three interruption-times.

What went wrong? Did I made something wrong?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   November 3, 2008, 09:18
Default did you write your data as asc
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
did you write your data as ascii or binary?
niklas is offline   Reply With Quote

Old   November 3, 2008, 11:49
Default Ascii in both cases.
  #3
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Ascii in both cases.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   November 3, 2008, 13:27
Default Use binary, and run in double
  #4
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Use binary, and run in double precision.
Your restart will behave much better!
I guess this is what Niklas was thinking of...

Francesco
fra76 is offline   Reply With Quote

Old   November 3, 2008, 14:29
Default It is http://www.cfd-online.co
  #5
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
It is

restarting in ascii files is nasty business.
You lose alot of the accuracy, which you just have witnessed I guess.

I still remember the trouble I faced when I was implementing the spray and saved the data in ascii...

If a drop is close to a face it might actually end up in another cell when you do a restart, because of the round-off errors.

would be nice to see what you got when you use binary.
niklas is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous casting modules in CFX Nan Jia CFX 2 February 25, 2014 17:23
cfx5remote was interrupted by the user waynezw0618 CFX 3 December 14, 2011 08:15
DPM limitation for continuous suspensions Matthew Brannock FLUENT 3 August 18, 2010 02:38
Interrupted pstt file furkan Siemens 0 January 19, 2006 08:04
calculation self interrupted Andrea Siemens 3 March 1, 2002 08:30


All times are GMT -4. The time now is 12:43.