|
[Sponsors] |
|
April 16, 2019, 23:01 |
Access and modify zero matrix coefficient
|
#1 |
New Member
Thang
Join Date: Apr 2019
Posts: 5
Rep Power: 7 |
Hi foamers .
I need to access and modify some zero matrix coefficients in order to implement cyclic boundary condition since my matrix is a block matrix and cyclic bc isn't implemented for block matrix in foam-extend 4-0, which is the version of OP that i use. But I dont know how to deal with it. From the best of my knowledge, the matrix coefficient is stored in lduMatrix with 3 arrays : diag(),upper(),lower() and its still right for blockLduMatrix but it only stores for non-zero coefficient. I'm searching in the source code to find out a way to access the zero-coefficient before modify it. Unfortunately , until now , I still haven't find anything . Do you guys have any idea about this problem ? Even, a few information might help a lot . Thanks. Have a nice day ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modify Particle Velocity in Lagrangian Solver | AustinG | OpenFOAM | 0 | August 23, 2018 17:38 |
Access faces in multiregion case | sailor79 | OpenFOAM Programming & Development | 2 | March 23, 2017 11:48 |
How to access p and U within rotatingMotion.C/H | waku2005 | OpenFOAM Programming & Development | 5 | January 26, 2017 12:03 |
Access mesh cell refinement levels from solver. | OlegSutyrin | OpenFOAM Programming & Development | 2 | January 2, 2017 07:17 |
Fluent rp var to modify rotation speed of a boundary | QBeast | FLUENT | 2 | August 12, 2015 15:58 |