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

How to define the two-dimensional array in OpenFOAM use List

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2016, 05:10
Default How to define the two-dimensional array in OpenFOAM use List
  #1
New Member
 
Join Date: Jan 2016
Posts: 15
Rep Power: 10
SH_Zhong is on a distinguished road
Hello everyone,
OpenFOAM uses the List to define the array, but I can only find the one-dimensional array. And I do not know how to define the two-dimensional array. If anyone konw how to do, please help me! Many thanks in advance!
SH_Zhong is offline   Reply With Quote

Old   December 24, 2016, 17:16
Default
  #2
Senior Member
 
Zeppo's Avatar
 
Sergei
Join Date: Dec 2009
Posts: 261
Rep Power: 22
Zeppo will become famous soon enough
http://cpp.openfoam.org/v4/a02156.html:
RectangularMatrix< Type >
Zeppo is offline   Reply With Quote

Old   December 29, 2016, 01:20
Default
  #3
Member
 
Peter
Join Date: Feb 2015
Location: New York
Posts: 73
Rep Power: 11
opedrofunk is on a distinguished road
I think you might be looking for:

Code:
labelList
and
Code:
labelListList
Kind regards,
Peter
opedrofunk 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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 16:54
Read inside a class tonyuprm OpenFOAM 12 July 14, 2010 03:35
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 11:19


All times are GMT -4. The time now is 17:21.