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

Is my simulation time normal?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By flotus1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2015, 08:39
Default Is my simulation time normal?
  #1
New Member
 
Join Date: Aug 2015
Posts: 5
Rep Power: 10
olli191 is on a distinguished road
Hello CFD Community,

due to the fact that i am very new to CFD i have some questions concerning the calculation time.

Currently i am testing OpenFOAM on a Laptop with 8GB Ram and an Intel i5-5300 CPU at 2.3 GHz. Right now a Simulation with 1.3 Million Cells is running and will run for the next 7 days. The Simulation is transient RANS Flow of incompressible Air in a 2x7m room with an important feature of 1cm x 180cm (air inlet) and the solver is pimple. My System is Ubuntu 14.04 running with 4 Threads (2 Processors and 2 Hyperthreads).

Is the calculation time realistic or did i something really stupid? I know that the Hyperthreads are not helping but do they hinder a faster calculation?

Thanks for your help in advance
olli191 is offline   Reply With Quote

Old   August 25, 2015, 15:50
Default
  #2
New Member
 
Join Date: Aug 2015
Posts: 3
Rep Power: 10
blspjnl is on a distinguished road
Depends on loads of factors of course, but I'd expect 1 day rather than 1 week. (assuming 5000 iterations/day). Try a better initial guess next time to speed up convergence.
blspjnl is offline   Reply With Quote

Old   September 8, 2015, 07:43
Default
  #3
New Member
 
Join Date: Aug 2015
Posts: 5
Rep Power: 10
olli191 is on a distinguished road
thanks for the reply

after some time i figured out, that the calculation time is like this due to the temporal resolution. After this idea i switched to a steady state simulation. As you see i did something stupid regarding my simulation problem.

Now to my next question:

How useful is a SSD for a CFD Simulation? Let me explain my question before you start rolling your eyes.

Does it make sense to have a big swap partition on a real system or is the computer system inappropriate for the simulation as soon as it uses the swap partition?
olli191 is offline   Reply With Quote

Old   September 8, 2015, 09:59
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,400
Rep Power: 47
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
A fast SSD can be useful if you write lots of data to disk during the simulation. For example transient result files.
But since even the fastest SSDs are orders of magnitude slower than RAM especially in terms of latency, using a SSD as swap space if you are running out of memory wont help. There is no substitute for enough RAM.
Latency Numbers Every Programmer Should Know
olli191 likes this.
flotus1 is offline   Reply With Quote

Old   September 8, 2015, 15:44
Default
  #5
New Member
 
Join Date: Aug 2015
Posts: 3
Rep Power: 10
blspjnl is on a distinguished road
Check the Task manager/Resource Monitor and see if your PC does not use its pagefile on the SSD/HDD, while running the simulation. (To ensure you have enough RAM.)

The time required to write a 'results.dat' file is usually significant less than the simulation time, SSD/HDD won't matter that much. Expect 10s-1min for a 500MB file. Don't write/store too many results of course, you'll find a practical optimum. (Like once every 2 hours with 3 saves?)
blspjnl is offline   Reply With Quote

Old   September 9, 2015, 09:01
Default
  #6
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
I'm using Ansys CFX and my support guy said that I should deactivate Hyper-Threading (in BIOS). Since the cores work at 100%, there's 'no room' for virtual cores. So the simulation won't be faster.
In my case, I also only need 8 HPC licenses instead of 16 - but you don't have that problem with OpenFOAM
There's also more overhead when you split the job in more mini-jobs. The splitting up and putting the parts together takes time as well...
-Maxim- is offline   Reply With Quote

Reply


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
time step directories naming issue Andrea_85 OpenFOAM 3 April 3, 2014 08:38
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Time step in transient simulation shib FLUENT 0 June 17, 2010 13:07


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