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

LDU addressing in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2021, 14:00
Default LDU addressing in OpenFOAM
  #1
Member
 
Join Date: Feb 2020
Posts: 90
Rep Power: 6
Shibi is on a distinguished road
Hello to all,


I would like to ask for clarification on the LDU addressing in OpenFoam.



I have found online information where it is stated that the lowerAddr() keeps the row number of the lower() elements [blue color in the image bellow] and the column number of the upper() elements [red color in the image bellow], and that upperAddr() keeps the reverse (column of the lower() and row of the upper() ).

So, if I have a matrix like:



Matrix is from a 3x3 mesh generated with blockMesh.




When I print the lowerAddr() and upperAddr() they are:

lowerAddr() -> (0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 6, 7)

upperAddr() -> (1, 3, 2, 4, 5, 4, 6, 5, 7, 8, 7, 8)


From this I would assume that the lowerAddr() is keeping the information from the column in the lower() and the row in the upper().


Is this correct?


Additionally, can anyone explain what ownerStartAddr() is doing?
Shibi 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
Keeping global LDU addressing using decomposePar? klausb OpenFOAM Programming & Development 1 December 30, 2018 16:37
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 05:57
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


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