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

what is losort addressing in lduAddressing?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Jerryfan
  • 1 Post By Jerryfan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2016, 13:49
Default what is losort addressing in lduAddressing?
  #1
Member
 
Jerry
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 52
Rep Power: 13
Jerryfan is on a distinguished road
Hi foamers,



I have some difficulties in understanding the losort addressing in the lduMatrix. Since we already have the lower, upper and diagonal addresses in the ldu address system, what is the purpose of defining this losort address? Can anyone help explain this? Thanks.
Jerryfan is offline   Reply With Quote

Old   July 17, 2016, 15:55
Default
  #2
Member
 
Jerry
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 52
Rep Power: 13
Jerryfan is on a distinguished road
I got it. It's a list that holds the face index in which the cell appears as the neighbor cell for that face.
serles likes this.

Last edited by Jerryfan; July 17, 2016 at 21:49.
Jerryfan is offline   Reply With Quote

Old   July 17, 2016, 21:50
Default
  #3
Member
 
Jerry
Join Date: Oct 2013
Location: Salt Lake City, UT, USA
Posts: 52
Rep Power: 13
Jerryfan is on a distinguished road
A good example of using this is in the DILU preconditioner.
Quote:
for (register label face=0; face<nFaces; face++)
{
sface = losortPtr[face];
wAPtr[uPtr[sface]] -=
rDPtr[uPtr[sface]]*lowerPtr[sface]*wAPtr[lPtr[sface]];
}
serles likes this.
Jerryfan is offline   Reply With Quote

Reply

Tags
lduaddressing, ldumatrix, losort addressing


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
ldu matrix, ldu addressing maybee OpenFOAM Programming & Development 0 December 7, 2013 13:40
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 19:02.