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

How to insert a column into a matrix?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2014, 08:36
Default How to insert a column into a matrix?
  #1
Member
 
hua1015's Avatar
 
Hua
Join Date: May 2012
Posts: 31
Rep Power: 13
hua1015 is on a distinguished road
Hi,foamers,
I want to do some like this:
first,create a RectangularMatrix <scalar> A(n,m);
second, I calculate something and get a column B(n,1);
third,I want to insert the column B into the matrix A;
forth, loop the above 1-3 for several steps.
How can I do this?
Thanks for any ideas!
hua1015 is offline   Reply With Quote

Reply


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
Bubble Column Modelling dlaw FLUENT 24 October 31, 2017 06:01
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
bubble column ken FLUENT 1 June 30, 2013 01:18
3D Insert modelling in Mold Flow Dan Rößler Main CFD Forum 0 December 20, 2005 06:37
INLET BOUNDARY FOR BUBBLE COLUMN Swarnendu CFX 1 July 5, 2004 02:16


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