|
[Sponsors] |
How to store a p matrix in Matrix Market (.mtx) format? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 19, 2020, 11:17 |
How to store a p matrix in Matrix Market (.mtx) format?
|
#1 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
I need a pressure "p" matrix of an external flow case with 1-2 million cells in Matrix Market (.mtx) format for solver development. Is there a tool that allows to store a pressure matrix of a particular timestep in the Matrix Market (.mtx) format? Klaus |
|
November 19, 2020, 16:53 |
|
#2 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
no idea what matrix market is, but you can convert the csr matrix produced by fvMatrix<> to the simpleMatrix<> class. That class follows the classical indicial i,j form
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
save to variable filename inside loop | FrankR | Fluent UDF and Scheme Programming | 5 | January 30, 2019 12:16 |
[Discretizer] Installing Discretizer | umassche | OpenFOAM Community Contributions | 26 | January 25, 2017 06:33 |
[General] Paraview data format conversion from vtk to parallel prog data format. | odho | ParaView | 0 | September 20, 2016 08:01 |
extracting velocity field from 0/U file into matrix format | eaglemckenna | OpenFOAM Post-Processing | 3 | November 5, 2014 12:29 |
Parallel algorithm to convert dense to sparse (CRS) matrix format | Italo | Main CFD Forum | 0 | December 19, 2011 04:01 |