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

Array declaration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2007, 00:21
Default Hi. I want to set up spmeth
  #1
Member
 
Ken Darcovich
Join Date: Mar 2009
Location: Ottawa, Canada
Posts: 34
Rep Power: 17
kdarc is on a distinguished road
Hi.

I want to set up spmething akin to a volScalarField ARRAY.

That is, something that would appear, say in fortran as
var(cell_i,element_j). That is a scalar that has n components (element_j ranges from 1 to n), for each cell in the mesh. I could imagine it looking something like var[cellI][j] in openfoam.

could someone point me to an example where such a variable is declared, initialized, used?

thanks.
kdarc 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
Inconsistent declaration of hConstThermo vs janafThermo dominik_christ OpenFOAM Bugs 6 October 31, 2008 05:15
NuSGsWallFunction declaration type anne OpenFOAM Running, Solving & CFD 5 April 14, 2008 15:35
FORTRAN variable declaration sriram Main CFD Forum 3 October 22, 2005 07:08
variable declaration zheh Phoenics 0 September 7, 2001 23:58
Boundary declaration Tadiwos CFX 4 August 22, 2001 10:12


All times are GMT -4. The time now is 01:00.