Pdms To Caesarii Interface Stress-C
Pdms To Caesarii Interface Stress-C
Pdms To Caesarii Interface Stress-C
User Guide
S TRE S S -C
strc241/man1/doc1
PLEASE NOTE:
CADCENTRE has a policy of continuing product development: therefore, the information contained in
this document may be subject to change without notice.
CADCENTRE MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS DOCUMENT,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE.
While every effort has been made to verify the accuracy of this document, CADCENTRE shall not be
liable for errors contained herein or direct, indirect, special, incidental or consequential damages in
connection with the furnishing, performance or use of this material.
This manual provides documentation relating to products which you may not have access to or which
may not be licensed to you. For further information on which products are licensed to you please refer
to your licence conditions.
All rights reserved. No part of this document may be reproduced, stored in a retrieval system or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or
otherwise, without prior written permission of Cadcentre.
The software programs described in this document are confidential information and proprietary
products of Cadcentre Ltd or its licensors.
For details of Cadcentre's worldwide sales and support offices, access our website at
http://www.cadcentre.com/location
Appendix A - Properties.........................................................................23
®
CAESARII is a PC-based program developed and marketed by COADE
Engineering Physics Software, Inc, USA. It is an engineering tool used
in the mechanical design and analysis of piping systems.
The PDMS to CAESARII interface (STRESS-C) extracts data from
PDMS databases and outputs a CAESAR neutral file, which is
suitable for input into CAESARII. Details of CAESARII neutral files are
given in the CAESARII User's Manual.
This release of the PDMS - STRESS-C interface version 2.4.1 is
compatible with CAESARII version 4.20. PDMS STRESS-C is based on
PDMS DARs Mk11.3SP1 and runs under Windows NT Version 4.0
(Service Pack 5).
Please check the letter accompanying the StressC release for any
changes to these versions, as this manual is not always revised for each
new release.
PDMS Pipes and Branches are the only PDMS elements that the
interface can process. If you input a Branch, the interface will process all
Branches belonging to the owner Pipe of the input Branch.
It is possible to extract a piping network. It is, however, the user's
responsibility to make sure that the pipes within a network are
connected correctly. If the program finds that a connection does not
exist, it will prompt you with an indication of where the problem is by
displaying a database reference of the element.
Note the following points about design data input to the interface:
• Branches with bores less than or equal to 2 inches or 50 millimetres
will not be processed, unless the -b option is given on the command
line (see section 7).
• Pipe bores that are not included in a predefined table stored in the
interface will not be processed. Pipes must have actual bores in the
range 0.84 inch to 48 inches for Imperial units and 21.34 millimetres
to 1219.2 millimetres for metric units. See Appendix B for the details
of these tables.
• Piping Components must have ISODRAFT Symbol Keys.
• Connection References of the model must be correct.
• ATTA elements whose ATTY attribute is either unset or set to NUL
are assumed to be supports and will be transferred. Any other ATTA
elements will be ignored.
• The memory allocation for the STRESS-C processing uses the base
memory allocation quantity N1 described in the Generic Neutral
Files section of the Caesar II Technical Reference Manual. The
default value for N1 is 2000, unless the –n option is given on the
command line (see section 7).
The main exclusions of the functionality for this implementation are:
• Restraint data.
• Tees are not recognised.
You will need to obtain licences for the appropriate version of STRESS-
C (currently 2.4.1) from Cadcentre for each machine to be used.
Please now read the FLEXMAN Installation Guide for instructions on
setting up your sitefile.
This section explains how to use the confidence tests supplied with
STRESS-C (the PDMS to CAESARII Interface) program. Please check
the readme.txt file in the installation folder for any updated
instructions.
Note that the test project TVO is an optional component of the
Installation, but is installed by default. The confidence tests require this
project.
The installation folder should contain the following:
tvo000 A PDMS test project for STRESS-C
readme.txt A file containing any updated instructions for
running the confidence tests
RES_CADC Results produced from running STRESS-C at
CADCentre Ltd
RES_YOU Results to be produced from running STRESS-C
by YOU
StressC.exe PDMS to CAESARII Interface
Snapshots Folder which includes screen snapshots of the
three pipes generated by the interface; see below
(eg pipe1)
run_stressc.bat Script to set up the environment for and run the
STRESS-C executable in interactive or batch
mode.
diff_results.bat Script to compare results in RES_YOU against
RES_CADC
testit.bat Script to run the STRESS-C installation test in
batch mode
testit.in File containing the commands for the batch
mode installation test
*********************************************************
* *
* STRESS-C Version 2.4.1 (Jul 24 2001) *
* Cadcentre Ltd. Copyright (c) 1995 through 2001 *
* *
* PDMS to CAESARII Neutral File Output *
*********************************************************
Enter Project Name (<cr> to quit) .....: TVO
Enter Username/Password (<cr> to quit) : SYSTEM/XXXXXX
Enter MDB Name (<cr> to quit) .........: /APPLIC
Current Units are MM Bore MM Dist
Enter Pipe name, or <cr> to process, or <q> to quit: /100-B-1
Enter Pipe name, or <cr> to process, or <q> to quit:
Enter CAESARII output file name...: PIPE1
Process another Pipe? Y/N : Y
Enter Pipe name, or <cr> to process, or <q> to quit: /250-B-5
Enter Pipe name, or <cr> to process, or <q> to quit:
Enter CAESARII output file name...: PIPE2
Process another Pipe? Y/N : Y
Enter Pipe name, or <cr> to process, or <q> to quit:
/100-C-12
Enter Pipe name, or <cr> to process, or <q> to quit:
/100-C-15
Enter Pipe name, or <cr> to process, or <q> to quit:
/100-C-16
Enter Pipe name, or <cr> to process, or <q> to quit:
Enter CAESARII output file name...: PIPE3
Process another Pipe? Y/N : N
Success
If the PATH is incorrectly set up, STRESS-C may be unable to find the
DARs DLL (see section 6.3.3).
If the project variables are not set up STRESS-C may report:
Enter Project Name (<cr> to quit) .....: XXX
Environment variable XXX000 not set for Project XXX
The dynamic link library d3lib.dll could not be found in your path. You
need to add the location of d3lib.dll (perhaps
c:\CADCENTRE\PDMS11.3\dars) to your PATH, or possibly copy
d3lib.dll to the same directory as the .exe.
Alternatively, you can select the following options from the Start menu:
Start > Programs > CADCENTRE > StressC241 > Run StressC241
This will start up the interface without any command line options.
You will be prompted to enter the MDB name. The name must be a
PDMS name preceded by an optional slash. After the MDB name has
been entered, the current project units will be reported. This information
You will be prompted to enter the name of the pipes to be processed. The
names must be valid PDMS names preceded by an optional slash. The
program accepts more than one pipe (i.e. a network of pipes) by entering
the pipe names at the prompt. A carriage return entered here signifies
the end of inputting pipes. Quitting from the program is possible by
entering 'Q'.
You will then be prompted to enter the name of the output file, which
will be input into CAESARII. CAESARII requires that input filenames
for jobs should not be longer than six characters. The name does not
require a preceding slash. It can be a full path name. If the file already
exists, you will be prompted as to whether the file should be overwritten
or not.
Enter Pipe name, or <cr> to process, or <Q> to quit: /3"-B-14
Enter Pipe name, or <cr> to process, or <Q> to quit:
Enter CAESARII output file name. Must be (6) characters or less ..:
PIPE1
C3DAT.cii exists. Overwrite Y/N ? Y
** Creating CAESARII ouput file PIPE1.cii **
** Creating CAESARII ouput file PIPE1.dat **
The interface creates two files based on the output filename, one
filename with an extension .cii and one filename with the extension
.dat (for example: PIPE1.cii and PIPE1.dat).
STRESS-C will generate warning messages during processing to help
you resolve any problems before the information is imported into
CAESARII. Warnings will be generated for material and fluid references
that are not set at the branch being processed, as well as pipe bores that
are not found in the internal bore tables.
For example:
**WARNING** Fluid reference not set. /3"-B-14/1
**WARNING** Fluid reference not set. /3"-B-14/2
**WARNING** No matching pipe bore found.
**WARNING** Branch bore is less than 2.00in.
Branch will not be processed.
**WARNING** Branch bore is less than 2.00in.
Branch will not be processed.
**WARNING** Branch bore is less than 2.00in.
Branch will not be processed.
STRESS-C operates in batch mode when it is run with the command line
–batch option and requires a file containing details of the job.
Form a file containing all of the replies that would be entered just as
when STRESS-C is run interactively, each on a new line. There will be
no prompt about overwriting an existing .cii file, so always omit this
from the file. Remember to include a blank line where the user is
prompted supply a <cr> to quit supplying pipe names.
Here is what the file job1.in would contain for the previous interactive
example:
TVO
USER/PASSWORD
/MASTER
/3”-B-14
PIPE1
N
The batch job would then be run using the run_stressc.bat script with
the command:
run_stressc job1.in
CAESARII can load the files produced by the interface to display and
analyse the pipes (see Appendix C).
As the interface processes the Pipes, it may come across some errors in
the model. The interface will output error messages describing the
nature of the error and then stop. You can then carry on with another
pipe or you can correct the model from within PDMS. Once the model is
corrected, you can re-run the pipe that had errors.
The formats of such errors are:
Element not connected: <element reference number>
Pipe/Branch: <PDMS element name> --> Attribute name
Piping-Component/Propcon Ref: --> Attribute name
Where <PDMS element name> is the name of the element where the
error exists and Attribute name indicates the attribute with the fault.
Attribute name may be one of the following:
HBORE
PHEAD
HREF
HREF (Type)
TBORE
PTAIL
TREF
TREF (Type)
Ppoint (0)
CREF
REF
CRFA
MATR
FLUR
TYPE
"Problems with Attributes"
This Appendix presents the tables of actual bore sizes used in the
interface. The interface allows bore sizes within the ranges included in
the tables below:
Actual bores allowed in Imperial units are:
The units are already included in the .cii file. If you require to change
the units, then bring up the Caesar II Input File Units Conversion form
from the main menu: Tools > Convert Input to New Units.
Select the ._A file created above as the input file; select the new units
and the name of the new ._A file. Press the OK button to perform the
conversion.
From the main menu, open the required ._A file. All the data generated
by the interface should now be visible.
If you want to look at the data graphically, bring up the Piping Input
form from the main menu: Input > Piping.
From the main menu of this form bring up the required graphical view
form: Plot > Standard Graphics or Plot > 2D Modeler.
If you require to view it in spreadsheet format select: Edit > List.
You can input Rigid Weights for all valid elements which can have rigid
weights (for example, Valves, Flanges, Pcoms, etc. Note that Bends do
not have rigid weights).
You should also enter at least one Anchor point; this can be done while
using the Piping Input form from the main menu: Input > Piping.
Decide where the Anchor should be placed and move to its element with
the CaesarII user interface and then add a Restraint of type Anchor. The
piping can be checked by selecting: File > Start Run.
Error checking can be done using the Piping Input form. Display this by
selecting from the main menu: Input > Piping
The piping can be checked from the Piping Input main form by selecting:
File > Start Run.
This will perform a series of checks on the elements if there are no fatal
errors during this stage, you can then activate File > Batch Run from
the "PIPING QUIT MENU" to continue with the static analysis of the
run. An analysis is carried out and you should be able to activate
appropriate options (i.e. Statics option from the main menu) to see the
results. The CAESARII User Manual explains further how to start the
analysis process and how to view the results.