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

HOW to get the global coordinates of boundaryCoeffs in parallel in OpenFOAM?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2019, 06:46
Question HOW to get the global coordinates of boundaryCoeffs in parallel in OpenFOAM?
  #1
New Member
 
PanXiaogang
Join Date: Aug 2019
Posts: 1
Rep Power: 0
panxiaogang is on a distinguished road
First, I print the matrix of the case cavity, mesh(4, 2, 1)

-0.000197 0.000079 0 0 0.000019 0 0 0
0.000079 -0.000182 0.000082 0 0 0.00002 0 0
0 0.000082 -0.000182 0.000079 0 0 0.00002 0
0 0 0.000079 -0.000099 0 0 0 0.000019
0.000019 0 0 0 -0.000099 0.000079 0 0
0 0.00002 0 0 0.000079 -0.000182 0.000082 0
0 0 0.00002 0 0 0.000082 -0.000182 0.000079
0 0 0 0.000019 0 0 0.000079 -0.000099

I use decoomposePar in case cavity to split mesh to processor0, processor1.
each proc store the 4*4 Ldu, the internelCoeffs and boundaryCoeffs.
In proc0, boundaryCoeffs is(of course store in vector),
0.000019 0 0 0
0 0.00002 0 0
0 0 0.00002 0
0 0 0 0.000019
In OF, it will add to source, but now I won't do this and I WANT get the original Matrix in each proc. For example, in proc0, I want get
-0.000197 0.000079 0 0 0.000019 0 0 0
0.000079 -0.000182 0.000082 0 0 0.00002 0 0
0 0.000082 -0.000182 0.000079 0 0 0.00002 0
0 0 0.000079 -0.000099 0 0 0 0.000019

But I cannot get the col of the elements in boundaryCoeffs.
HOW can I get the original coordinates of boundaryCoeffs in parallel?
panxiaogang is offline   Reply With Quote

Reply

Tags
boundarycoeffs, openfoam 1612, parallel computing


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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 17:38
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 08:09
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


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