CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

An unknown array definition in fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2011, 05:32
Default An unknown array definition in fortran
  #1
Senior Member
 
morteza08's Avatar
 
Morteza
Join Date: May 2010
Location: Iran,Islamic Republic of
Posts: 161
Rep Power: 16
morteza08 is on a distinguished road
Hi all
I have encountered a problem in a cfd code(GENMIX by Splading).
In this code, the computational domain is 20*92
----------------------------------------------
An array is defined in the code as below:
F(20,9) ,,,real type
It is declared inside code that:
F(20,a1)=temperature
F(20,a2)=enthalpy
.
.
.
F(20,a9)=pressure
---------------
It means the second dimension of the array is related to a specific property.
but the problem is here:
each one of a1,a2,...,a9 parameters refers to a seies of data for 92 point.

for example :
write(*,*) F(4,a2)
prints 92 real numbers for the 4th row of the domain.
==========
generally, ai (i=1 to 9) is not a number. it is a 92 numbers.
----
i have learnt , in a two dimensional array, each element refers to a number not to a series of numbers.

==================
by the way, if anybody has a tutorial for the GENMIX code please send me if possible or send me a link to download.
morteza08 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
[Commercial meshers] fluent3DMeshToFoam bego OpenFOAM Meshing & Mesh Conversion 31 August 16, 2023 10:04
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 17:14
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 09:04.