|
[Sponsors] |
August 26, 2011, 09:17 |
Serial vs Parallel
|
#1 |
New Member
Edward
Join Date: Jul 2011
Location: The Netherlands
Posts: 4
Rep Power: 14 |
Hi,
I am totally a newbie, just like to start CFD for hobby about a month from now. I have a question about serial runs and parallel runs. Which kind of simulation require serial runs and which for parallel runs? |
|
August 26, 2011, 09:29 |
|
#2 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Well, as soon as a single core machine can't handle the simulation your are trying to run, go parallel, if you have the hardware. Three things can go wrong:
a) your memory is too small (RAM) to hold the computation b) your CPU is too slow (takes a week, a year, 100 years...) c) you run out of disk space (ok, this is the least likely) Cheers! |
|
August 26, 2011, 10:25 |
|
#3 | |
New Member
Join Date: Aug 2011
Posts: 16
Rep Power: 14 |
Quote:
For 2D steady problems I think a simple serial solver will do. Rana |
||
August 26, 2011, 14:20 |
|
#4 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
You can do a simple calculation in terms of memory:
Find out how many bytes your solution needs for (e.g.) 5 state variables. then find out how many cells/integration points you have, that should give you the minimum memory requirement. In terms of CPU time, do some benchmarking, e.g. find out how long your code needs per timestep or such... Once you have these rough numbers in your head, you'll be able to figure out easily if a problem is doable in the time given and on the hardware you have! |
|
August 29, 2011, 08:54 |
|
#5 |
New Member
Edward
Join Date: Jul 2011
Location: The Netherlands
Posts: 4
Rep Power: 14 |
Thank you for your reply,
I have already found some issues about the hardware limitations. But my real question is, which kind of simulations are run in parallel or serial? From RanaP, 3D turbulence are done in parallel runs and 2D in serial runs. So, I like to know which other simulations are done in parallel and/or serial? Thanks in advance. |
|
September 4, 2011, 08:16 |
|
#6 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
That totally depends on the number of degrees of freedom your want to solve for....it's like asking which goods will fit in my car.... of course, a pound of sugar will easily fit in your car, but 100 tons won't.... it all depends on your problem.
In general, 1d and 2d test runs for code development are run in serial, probably sth like Euler 2D gasdynamics....couette flow....academic problems..... but beyond that? parallel! |
|
September 6, 2011, 15:23 |
|
#7 | |
New Member
irfan khan
Join Date: Aug 2011
Posts: 11
Rep Power: 14 |
Quote:
|
||
September 6, 2011, 16:03 |
|
#8 | |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
Quote:
I'm sorry, I don't understand your comment/question... I just did a computation on 125000 processors with about 10 ^9 DOF.........so trust me, it works pretty well Cheers! |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different results between serial solver and parallel solver | wlt_1985 | FLUENT | 11 | October 12, 2018 09:23 |
FLUENT in Windows Serial and Linux Parallel | sham83 | FLUENT | 0 | June 1, 2011 00:38 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
Help: Serial code to parallel but even slower | Zonexo | Main CFD Forum | 4 | May 14, 2008 11:26 |
Parallel convergence worse than serial! | Michael B | FLUENT | 3 | December 9, 2006 22:46 |