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

Array declaration

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2007, 23:21
Default Hi. I want to set up spmeth
  #1
Member
 
Ken Darcovich
Join Date: Mar 2009
Location: Ottawa, Canada
Posts: 30
Rep Power: 7
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

Thread Tools
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 On
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 14:35
FORTRAN variable declaration sriram Main CFD Forum 3 October 22, 2005 06:08
variable declaration zheh Phoenics 0 September 7, 2001 22:58
Boundary declaration Tadiwos CFX 4 August 22, 2001 09:12


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