CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Access mesh data/fluid properties in parallel computing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2020, 21:01
Default Access mesh data/fluid properties in parallel computing
  #1
New Member
 
chen yu Huang
Join Date: Nov 2019
Posts: 18
Rep Power: 6
chenu is on a distinguished road
Hello,
I try run my case by parallel computing in OpenFOAM. Velocity of some cells will be specified in my case. For example:
I have 10 mesh cells, 0 1 2 3 4 5 6 7 8 9 and I divide it into 2 region
region 1 contains 0 1 2 3 4 and 5 6 7 8 9 belong to region 2
In each time step I have to read velocity of cell 1 and cell 7 and specify a new value for them.
My question is, does "scatter/gather" achieve my purpose?
And my second question is: Is mesh data also decomposed? Could I access mesh data like serial computing?

Thank you and I will appreciate if you could provide me some useful information or literature.
chenu is offline   Reply With Quote

Old   November 13, 2020, 09:43
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
The mesh is decomposed. So each processor has local cell numbers starting at zero.
I think you will need more help than you can reasonably expect on via the forum, since there are many details.
olesen is offline   Reply With Quote

Old   November 24, 2020, 21:04
Default
  #3
New Member
 
chen yu Huang
Join Date: Nov 2019
Posts: 18
Rep Power: 6
chenu is on a distinguished road
Hello,
Thank you for your reply. I have found some interesting example and I will try to figure out.
chenu is offline   Reply With Quote

Reply

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
Getting access to mesh (fvMesh) via object registry Chris Lucas OpenFOAM Programming & Development 18 January 15, 2024 03:57
Reconstruction of the parallel case with dynamic mesh makaveli_lcf OpenFOAM Post-Processing 7 October 18, 2023 12:28
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Individually access of a dictonary for any decomposed processor - Parallel computing Peter_600 OpenFOAM 2 October 2, 2012 11:40
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 21:13.