CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Matrix coefficients of fvm::grad(p) in foam-extend

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

LinkBack Thread Tools Display Modes
Old   October 26, 2016, 11:47
Default Matrix coefficients of fvm::grad(p) in foam-extend
New Member
Join Date: Oct 2016
Posts: 1
Rep Power: 0
steCFD is on a distinguished road
Hi All,
I am new to the forum and with foam-extend as well.
I am trying export the matrix M of the discretized gradient of the pressure created by foam-extend so that I can calculate the gradient of the pressure as M*P.

Starting from
blockVectorMatrix pInU(fvm::grad(p));

I export pInU.diag(), pInU.upper(), pInU.lower(), pInU.lduAddr().upperAddr() and pInU.lduAddr().lowerAddr().

Is anyone aware if I can reconstruct the matrix with the standard lduAddressing in OpenFoam and if that are the only quantities I need to export?

Many thanks,

steCFD is offline   Reply With Quote


fvm::grad(p), gradient, implicit, ldumatrix

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19

All times are GMT -4. The time now is 16:35.