CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A Parallelization Issue

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2009, 11:19
Default A Parallelization Issue
Senior Member
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 209
Rep Power: 16
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Foamers,
I wrote a synthetic turbulence model that is based on a filter equation, so:

u(x,y,z) = Int over Vol (A(x',y',z')*K(x',y',z')*u'(x',y',z') dV)

Int is integral, and Vol is a portion of the volume around the cell (x,y,z).
The code is ok for scalar computation, now I would like to parallelize it.
The problem is that, as you can see, the filter equation require informations from several neighbouring cells. I thought that one possible approach is to save the needed cells that are across a processor boundary at the beginning, and then pass with Pstream them on run time. Could it be a sufficient solution? And, can I access, for each single processor, a "global" mesh index?
ivan_cozza is offline   Reply With Quote


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
Simple Frustrating Meshing Issue in Gambit (w/pics) Dylan ANSYS Meshing & Geometry 6 March 23, 2009 17:14
Memory issue - Suse 10 - Opterons Andy R FLUENT 1 June 23, 2008 15:44
STAR-CD Dynamics issue 16 CD adapco Group Marketing Siemens 0 November 30, 2001 11:25
Issue 4 of adapco-online Sreenadh Jonnavithula Main CFD Forum 8 January 5, 2001 14:40
Issue 4 of adapco-online Sreenadh Jonnavithula Siemens 0 December 21, 2000 14:41

All times are GMT -4. The time now is 09:44.