Input Files
Previous  Next

Concyl reads all of the required model data from a specially formatted input file.  This model input file can include comments to make it easier to read and edit manually, if desired.  Any line beginning with an exclamation point is treated as a comment line, and any text following an exclamation point is treated as comment text.  This input file is used by Concyl for non-GUI runs as well as GUI runs.  The GUI automatically generates a temporary input file and reads it whenever a new solution is computed.  The input file format is described below.
Input File Format
The first line of the input file is the header record which must begin with the text string, "!Concyl". The table below provides the input file format.  Several of the lines have lists of values.  All lists must have the individual values separated by commas.  The radius list (record 5) can be split onto several lines, if desired, to make the file easier to read.  This is done by putting a continuation character (ampersand) at the end of each line that will be continued onto the next line.  The sample input file below shows how the radius list can be split. 
Table 4 below shows the required input file format.  The input file format consists of three sections: (1) the main section with a list of required parameters to define the materials, cylinders, and applied loads, (2) an optional section that specifies the desired solution quantities to be written to the Excel plot file, and (3) an optional section that specifies the input parameters for the built-in optimizer module.  If the plot section is missing, then all possible solution quantities are written to the plot file.  If the optimizer section is missing then a single run is done.  If the optimizer section is present then a series of runs will be done to vary the specified input parameter through a series of values.  Section 3 requires the presence of Section 2.  So the input file can have the following combinations of sections:  1, 12, or 123. 

Table 4.  Input File Format

Record
Parameter
Type
Description
1
header
str
required header string: !Concyl
2
title
str
problem title
3
nc
int
number of cylinders
4
nm
int
number of materials
5
RadList
[real]
list of interface radius values
6
CYL[i]
-
list of cylinder definitions, one definition per record
6+nc
MAT[i]
-
list of material definitions, one definition per record
6+nc+nm
press
[real]
list of applied inner and outer pressures
7+nc+nm
temp
real
applied uniform temperature
8+nc+nm
np
int
number of plot parameters to save (optional)
9+nc+nm
PlotList
str
solution parameters to plot, one per record
valid parameter strings:
EPSR,EPSH,EPSZ,GAMMARZ
SIGR,SIGH,SIGZ,TAURZ
DISPR,ENGDIS,ENGDIL,ENGTOT,ALL
9+nc+nm+np
PlotRes
int
plot resolution
10+nc+nm+np
OptRun
int
optimizer run type: 0=none,1=single, 2=range
11+nc+nm+np
ParamIn
int
input parameter (to vary)
12+nc+nm+np
CylIn
int
input cylinder
13+nc+nm+np
ParamOut
int
output parameter
14+nc+nm+np
CylOut
int
output parameter
15+nc+nm+np
ParamOut
int
output cylinder and interface
16+nc+nm+np
Min,Max
[real]
lower and upper search limits or range limits
17+nc+nm+np
NumVal
int
number of values for range run
17+nc+nm+np
OptVal
real
desired optimum value for single run

Sample Input File
!Concyl Input File
!-----------------------------------------------------------------
Test1: Four Cylinder Sample, Combined Thermal, Pressure, and EPSZ
!-----------------------------------------------------------------
4  ! number of cylinders
4  ! number of materials
!
!---cylinder definitions---
!
1.0, 2.0, 3.0&   ! continuation character is &
4.0, 5.0
1, 145
2, 145
3, 145
4, 145
!
!---material definitions---
!
1, Mat1, 200.,  0.4987, 1.0e-4, 0.055
2, Mat2, 300,   0.4988, 1.1e-4, 0.055
3, Mat3, 400,   0.4999, 1.2e-4, 0.055
4, Mat4, 5.0e6, 0.33,   1.0e-5, 0.101
!
!---load definitions---
!
3000, 0.
-40
0.5
!
!---optional plot definitions---
!
! Available Results For Plotting (14)
!  EPSR,EPSH,EPSZ,GAMMAX,EPSE,
!  SIGR,SIGH,SIGZ,TAUMAX,SIGE,
!  DISPR,ENGDIS,ENGDIL,ENGTOT,ALL
!
3
EPSH
SIGR
DISPR
!
!---optional plot resolution---
!
20
!
!---optimizer definitions---
!
2         ! run type (0=single, 1=optimize, 2=range)
4         ! input parameter (to vary)
1         ! input cylinder
6         ! output parameter (to optimize)
1         ! output cylinder and interface
100,1000  ! input parameter bounds (range)
100       ! number of runs for run type 1 or
          ! desired optimum value for run type 2
!
!
!--------------------------------------------------
! Input Parameter List     Output Parameter List
!
!   1 = Rin                      1 = SIGR
!   2 = Rout                     2 = SIGH
!   3 = E                        3 = SIGZ
!   4 = nu                       4 = TAUMAX
!   5 = alpha                    5 = EPSR
!   6 = To                       6 = EPSH
!   7 = Temp                     7 = EPSZ
!   8 = Pint                     8 = GAMMAX
!   9 = Pext                     9 = DISPR
!  10 = EPSZ
!
!--------------------------------------------------