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

how to share a scalar between processors in parallel Run

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By kmooney
  • 4 Post By l_r_mcglashan

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 19, 2013, 05:27
Default how to share a scalar between processors in parallel Run
  #1
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 14
mechy is on a distinguished road
Hi all
I want to solve the single DOF forced and damped vibration equation for displacement of tip point of a plate(m*d2x/dt2+c*dx/dt+k*x=F)

and displacement of other points of plate are explicitly obtained from the first mode of the plate


the code in serial run give correct results

when I run this code in parallel for calculating displacement of other points of plate only the first processor is used correct x and others processors is used zero instead of x

how can I share the x value between all processors ?

mechy is offline   Reply With Quote

 


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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 23, 2014 23:48
Parallel run - number of processors danvica OpenFOAM Running, Solving & CFD 4 April 5, 2012 11:57
Can't run in parallel JulytoNovember OpenFOAM Running, Solving & CFD 2 March 31, 2012 09:28
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 12:48


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