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

particle parallel run crashes - values out of range

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2011, 13:31
Default particle parallel run crashes - values out of range
  #1
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 16
heavy_user is on a distinguished road
Hey Foamers,

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 ...?)
heavy_user 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
Parallel run of OpenFOAM in linux and windows side by side m2montazari OpenFOAM Running, Solving & CFD 5 June 24, 2011 04:26
Fluent can't run in parallel when hyper threading turning on. field FLUENT 0 May 5, 2011 08:41
parallel run for fsi simulation??? smn CFX 2 July 19, 2009 05:04
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
How to run parallel in ICEM_CFD? Kiddo Main CFD Forum 2 January 24, 2005 09:53


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