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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2016, 11:47
Default Matrix coefficients of fvm::grad(p) in foam-extend
  #1
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,

Stefano
steCFD is offline   Reply With Quote

Reply

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


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
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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