|November 2, 2011, 13:31||
particle parallel run crashes - values out of range
Join Date: Dec 2009
Posts: 112Rep Power: 9
i experienced strange behavior of my "Pope-particles".
I have massless particles following the flowfield. They carry scalars, which are used to compute stuff...
The solver works fine on one CPU, but switching to parallel it crashes immediately.
Investigating the problem I found that, once running in parallel, I have values totaly out of range!
Example: The constructor assigns for the temperature either 300K or 400k. Applying some mixing I have (at least on one processor) 300<T<400. Once I switch to parallel I have values totally out of range...eg T=1e-40 , or T=0...thus dividing something by T gives the solver a hard time then...
I thought this might be related to not initilized member variables (e.g. T) on particles cloned to occupy ghost cells...but the number of values out of range is not correlated to the number of processor boundaries.
The "clone()" function, explicitly used in the code, works just fine.
So I am kind of lost right now..
Any hints would be appreciated!!
Thanks a lot!
P.S.: I am using OF-1.7.1
P.P.S.: And where are the ghost cells and ghost particles created anyways ? ( is it Pstream or the Decompose or ...?)
|Thread||Thread Starter||Forum||Replies||Last Post|
|Parallel run of OpenFOAM in linux and windows side by side||m2montazari||OpenFOAM Running, Solving & CFD||5||June 24, 2011 03:26|
|Fluent can't run in parallel when hyper threading turning on.||field||FLUENT||0||May 5, 2011 07:41|
|parallel run for fsi simulation???||smn||CFX||2||July 19, 2009 04:04|
|DPM UDF particle position using the macro P_POS(p)[i]||dm2747||FLUENT||0||April 17, 2009 01:29|
|How to run parallel in ICEM_CFD?||Kiddo||Main CFD Forum||2||January 24, 2005 09:53|