Dear Forum,
I don't know how to set the path for the commons.cmn file that is referenced within the .for file.
Here's a code snippet inside the .for file that is referencing the commons.cmn file.
include 'COMMONS.CMN'
character*255 herr
c
ierr=0
herr=' '
I put these common .cmn files in the include folder of visual studio. Is that the correct place to put the common file. Also, is the extension suppose to be .cmn or .for??
Here's a snippet of code for the first few lines of the commons.cmn files.
c begin file commons.for
implicit double precision (a-h,o-z)
implicit integer (i-k,m,n)
implicit logical (l)
parameter (ncmax=20) !max number of components in mixture
parameter (nrefmx=10) !max number of fluids for transport ECS
parameter (n0=-ncmax-nrefmx)
parameter (mxtrm=56) !max number of Helmholtz terms
parameter (mxcrt=20) !max number of critical terms in FEQ
c..Use for fitting pure fluids:
c parameter (ncmax=1)
c parameter (n0=1)
c parameter (mxtrm=40)
c parameter (mxcrt=25)
c parameter (mxtrm=30)
c parameter (mxcrt=15)
c..Use for fitting binary mixtures:
c parameter (ncmax=2)
c parameter (n0=1)
[img][/img]