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

How to create a matrix of primitive variables or conservative variables

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2016, 08:20
Default How to create a matrix of primitive variables or conservative variables
  #1
Member
 
pan
Join Date: May 2015
Posts: 30
Rep Power: 9
Thomas pan is on a distinguished road
Dear Foamers,

I need to create a matrix of (rho rhoU rhoE) and the flux of them, which is the 5*3 matrix. How to create them use of code? I know the blockMatrix in extend, but I don't know how to implement.

After this, I also need to discrete them into the fvMatrix, can someone help me?
Thomas pan is offline   Reply With Quote

Old   December 5, 2016, 04:58
Default
  #2
New Member
 
WangYi
Join Date: Dec 2015
Location: Xi'an China
Posts: 7
Rep Power: 8
youmengtear is on a distinguished road
5*3 matrix? I think it is just a vector which has 5 elements. You can have a look at densitybasedturbo package. In my viewpoint, the implicit temporal discretization is the reason why using fvblockmatrix. Otherwise, when using explicit temporal schemes such as Multistage Runge-Kutta may don't need blockmatrix.
youmengtear is offline   Reply With Quote

Reply

Tags
matrix, rho, variables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Meshing a Sphere Ajay FLUENT 10 September 3, 2016 14:18
[blockMesh] Include list of points Hikachu OpenFOAM Meshing & Mesh Conversion 0 June 20, 2011 09:03
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 01:07
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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