Salome HOME
Config scripts for CEA and EDF are created.
[tools/siman.git] / Workspace / Siman / conf / cea_som.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project-structure>
4
5
6 <!-- 1. Database physical location
7      -->
8     <database>
9                 <repository disk="/home/siman/Repository" />
10     </database>
11
12
13 <!-- 2. Formats
14      -->
15     <formats>
16
17 <!-- 2.1 Project elements identification scheme
18      Studies, Knowledges and Documents are identified by unique user references. The structure of these references is customizable.
19      You customize references through patterns.
20      A reference's pattern is a character string including format directives. These format directives allow you to insert
21      some information into the reference. The following directives are available:
22      - %yy or %yyyy for inserting the entity creation year on 2 or 4 digits
23      - %0000 for inserting a unique index, the number of digits being defined by the number of 0
24      The above index is unique in the scope of cycle defined by the first format directive (year). In other words, this index
25      restarts every new year. As such, for making references unique on this application server, both format directives (cycle
26      and index) must be present in the pattern.
27      Other characters are simply inserted as is in generated references. They can be used for extending the reference uniqueness
28      beyond application servers, by adding a prefix specific to a given server (for example, a company department name).
29      Given that these references may be used as directory or file names of the repository vault, the pattern must not include
30      illicit characters such as '/', '?', '<' etc.
31      -->
32         <references  study="DER%yy%0000"/>
33
34 <!-- 2.2 Physical files naming scheme
35      The physical data files stored into the repository vault can be named as follows:
36      - By the user-defined title of corresponding documents ("title" name attribute below)
37      - Encoded by a built-in scheme ("encoded" name attribute)
38      - As is, that is, by keeping the name of the imported file ("asis" name attribute - not yet supported)
39      Remarks:
40      - When using the title scheme, as file names may include accent characters, client browsers must be configured for
41        NOT encoding URLs as UTF-8.
42      - Whatever is the naming scheme used, in order to avoid name clashes, file names are anyway suffixed by an index
43        unique in the scope of the owner study.
44      -->
45         <files name="asis"/>
46
47 <!-- 2.3 Document versions format
48      -->
49         <versions pattern="%M.%m[-%s]"/>
50     </formats>
51
52
53 <!-- 3. Document types
54
55      Warning: Articles must be ordered in a way that used document types (uses attribute values) must previously be defined.
56      Example: "requirements" type must be defined before "specification" because "specification" uses "requirements".
57      Remarks:
58      - "knowledge" is a reserved word qualifying Knowledge Elements. So, it must not be used as a document type name.
59      - "default" and "built-in" are also reserved words used for defining validation cycles.
60      - In this version, the "uses" attribute is limited to 1 document type only.
61      -->
62     <documents>
63         <article type="requirements"/>
64         <article type="specification" uses="requirements"/>
65         <article type="design"        uses="specification"/>
66         <article type="geometry"      uses="design"/>
67         <article type="model"         uses="geometry"/>
68         <article type="loads"         uses="model"/>
69         <article type="script"        uses="loads"/>
70         <article type="log"           uses="script"/>
71         <article type="results"       uses="script"/>
72         <article type="report"        uses="results"/>
73         <article type="schema"/>
74         <article type="memorandum"/>
75         <article type="minutes"/>
76         <article type="coparisonResult"/>
77         <article type="visualisation"/>
78     </documents>
79
80
81 <!-- 4. Simulation Context types
82
83      Warning: The Simulation Context type "product" is mandatory as it is used by at least one application.
84      -->
85     <contexts>
86
87     <!-- General information -->
88         <article type="customer"/>
89         <article type="product"/>
90         <article type="phase"/>            <!-- Phase of the product                                 -->
91         <article type="need"/>             <!-- Customer needs                                       -->
92         <article type="purpose"/>          <!-- Objective of the study                               -->
93         <article type="physic"/>           <!-- Structure analysis, Thermal-hydraulics, Neutronic... -->
94
95     <!-- Geometry characteristics               Examples:                 -->
96         <article type="object"/>           <!-- Car, Plane, Equipment...  -->
97         <article type="part"/>             <!-- Crankcase, Outer layer... -->
98         <article type="geometry"/>         <!-- Surface, Volume           -->
99
100     <!-- Model characteristics                  Examples:            -->
101         <article type="model"/>            <!-- CSG, FEM...          -->
102         <article type="element"/>          <!-- Bar, Surface, Volume -->
103         <article type="shape"/>            <!-- (Surface) Triangle, Quadrangle... (Volume) Tetrahedron, Hexahedron... -->
104         <article type="order"/>            <!-- First-order, Second-order... -->
105
106     <!-- Analysis type                          Examples:          -->
107         <article type="analysis"/>         <!-- Static, Dynamic... -->
108
109     <!-- Software tools used -->
110         <article type="platform"/>
111         <article type="module"/>
112         <article type="component"/>
113     </contexts>
114
115
116 <!-- 5. Knowledge Elements types
117
118      Warning: The Knowledge Elements type "usecase" is reserved for internal use.
119      -->
120     <knowledges>
121         <article type="bestpractice"/>
122         <article type="limitation"/>
123         <article type="inconsistency"/>
124         <article type="metrics"/>
125         <article type="improvement"/>
126     </knowledges>
127
128
129 <!-- 6. User activities
130
131      Remarks:
132      - Step names must naturally be unique.
133      - Simulation Contexts must be attached to one classification step only.
134      - Result document types must be results of one step only and be part of contents of the corresponding step.
135      -->
136     <activities>
137         <step name="specification">
138             <classification context="customer,product,phase,need,purpose,physic"/>
139             <flow contents="requirements,specification,minutes" result="specification"/>
140             <storage path="1.Study"/>
141         </step>
142       <scenario>
143         <step name="design">
144             <flow contents="design,memorandum,minutes" result="design"/>
145             <storage path="1.Study"/>
146         </step>
147         <step name="modeling">
148             <classification context="object,part,geometry"/>
149             <flow contents="geometry,memorandum,minutes" result="geometry"/>
150             <storage path="2.Geometry"/>
151             <module name="GEOM"/>
152             </step>
153         <step name="meshing">
154             <classification context="model,element,shape,order"/>
155             <flow contents="model,memorandum,minutes" result="model"/>
156             <storage path="3.Mesh"/>
157             <module name="SMESH"/>
158         </step>
159         <step name="solving">
160             <classification context="loads,script,platform,module,component"/>
161             <flow contents="loads,model,log,results,minutes" result="results"/>
162             <storage path="5.Result"/>
163             <module name="CASTEM"/>
164         </step>
165         <step name="postprocessing">
166             <flow contents="memorandum,minutes,coparisonResult,visualisation" result="coparisonResult"/>
167             <storage path="6.Report"/>
168             <module name="VISU"/>
169         </step>
170         <step name="schema">
171             <flow contents="schema" result="schema"/>
172             <storage path="7.Schema"/>
173             <module name="YACS"/>
174         </step>
175         <step name="capitalization">
176             <flow contents="knowledge"/>
177             <storage path="8.Summary"/>
178         </step>
179       </scenario>
180         <step name="reporting">
181             <flow contents="report,minutes" result="report"/>
182             <storage path="1.Study"/>
183         </step>
184     </activities>
185
186
187 <!-- 6. Document validation cycles
188      Validation cycles define the actors involved in the validation steps of documents. These steps can be
189      "review", "approval" and "acceptance".
190      Remarks:
191      - Each validation cycle is defined by a tag corresponding to the type of an activity result document.
192      - The actors of validation steps can be
193        "manager", referring the responsible of study,
194        "Nx1", referring the manager of the department (see User definition for more information),
195        "Nx2", referring the boss of the department manager,
196        "customer" (most likely involved in the acceptance step).
197      -->
198     <validations>
199         <specification  review="Nx1"  approval="Nx2"/>
200         <report         review="Nx1"  approval="Nx2"/>
201         <default        review="manager"            />
202     </validations>
203
204 <!-- 3. Check-in check-out information
205      Defines the way documents involved in the check-in check-out operations must be processed.
206      Files with import formats are automatically imported into SALOME during check-out if they are uptodate.
207      Other files are downloaded.
208      -->
209     <mappings>
210         <document type="geometry">
211             <import format="brep"/>     <!-- Result Shape                             -->
212         </document>
213         <document type="model">
214             <import format="med"/>      <!-- Result mesh without input parameters     -->
215         </document>
216         <document type="loads">
217             <import format="model"/>    <!-- Input data created interactively         -->
218         </document>
219         <document type="results">
220             <import format="med"/>      <!-- Calculation results source file          -->
221         </document>
222         <document type="schema">
223             <import format="xml"/>      <!-- Calculation results source file          -->
224         </document>
225     </mappings>
226     
227     <default-doctypes>
228         <step number="1">
229             <mapping extension="pdf"    type="requirements"/>
230             <mapping extension="doc"    type="specification"/>     <!-- Microsoft Word 2003 and earlier -->
231             <mapping extension="docx"   type="specification"/>     <!-- Microsoft Word 2007 and later   -->
232             <mapping extension="xml"    type="specification"/>     <!-- Microsoft Word 2007 Open XML    -->
233         </step>
234         <step number="2">
235             <mapping extension="doc"    type="design"/>
236             <mapping extension="docx"   type="design"/>
237             <mapping extension="xml"    type="design"/>
238         </step>
239         <step number="3">
240             <mapping extension="doc"    type="memorandum"/>
241             <mapping extension="docx"   type="memorandum"/>
242             <mapping extension="xml"    type="memorandum"/>
243             <mapping extension="sldprt" type="geometry"/>          <!-- SolidWorks Part                 -->
244             <mapping extension="sldasm" type="geometry"/>          <!-- SolidWorks Assembly             -->
245             <mapping extension="part"   type="geometry"/>          <!-- GEOM Part                       -->
246             <mapping extension="py"     type="geometry"/>          <!-- GEOM Python script              -->
247             <mapping extension="brep"   type="geometry"/>          <!-- GEOM Part                       -->
248         </step>
249         <step number="4">
250             <mapping extension="doc"    type="memorandum"/>
251             <mapping extension="docx"   type="memorandum"/>
252             <mapping extension="xml"    type="memorandum"/>
253             <mapping extension="med"    type="model"/>
254             <mapping extension="py"     type="model"/>             <!-- SMESH Python script             -->
255         </step>
256         <step number="5"> <!-- execute the calculations -->
257                 <mapping extension="med"    type="model"/>
258                 <mapping extension="model"  type="loads"/>
259             <mapping extension="py"     type="loads"/>
260         </step>
261         <step number="6">
262             <mapping extension="srd"    type="coparisonResult"/>
263             <mapping extension="py"     type="visualisation"/>
264         </step>
265         <step number="7">
266             <mapping extension="xml"    type="schema"/>
267         </step>
268     </default-doctypes>
269     
270 </project-structure>