user_manual:sesamx:input_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
user_manual:sesamx:input_file [2022/07/04 08:27]
Ali Baba [References]
user_manual:sesamx:input_file [2023/01/28 13:44]
Ali Baba [Input file characters restrictions]
Line 31: Line 31:
  
   * **A function must always be positioned at the 0-indentation level**.   * **A function must always be positioned at the 0-indentation level**.
-  * **The lines nested inside a function (or branch) must be indented compared to this function (resp. branch)**. Otherwise, the function (resp. branch) will be considered as empty and may result in an error. For instance (''FORCE'', ''MOMENT'' and ''ON-NODES-FROM'' will not be understood as being part of the ''CONCENTRATED'' branch):+  * **The lines nested inside a function (or branch) must be indented compared to this function (resp. branch)**. Otherwise, the function (resp. branch) will be considered as empty and may result in an error. For instance, in the following example, ''FORCE'', ''MOMENT'' and ''ON-NODES-FROM'' will not be understood as being part of the ''CONCENTRATED'' branch:
  
 <code php> <code php>
Line 64: Line 64:
 <well>**Remark**: a common pitfall is to use tab-indent instead of space-indent. You should always use space-indent.</well> <well>**Remark**: a common pitfall is to use tab-indent instead of space-indent. You should always use space-indent.</well>
  
-So far we have exposed function, branch and keyword formatting. The last element to mention is **the keywords list**. Some functions or branches may authorized a list of repeated keywords. For instance the ''CREATE-SUBMESH'' function:+So far we have exposed function, branch and keyword formatting. The last element to mention is **the keywords list**. Some functions or branches may authorized a list of repeated keywords. For instance the ''ADD-MESH'' function:
  
 <code php> <code php>
-CREATE-SUBMESH +ADD-MESH 
   MODEL: MY_MODEL   MODEL: MY_MODEL
   NODES   NODES
Line 75: Line 75:
 </code> </code>
  
-When defining nodes on a submesh we can provide a list of ''ID'' and ''POINT'' keywords, each one defines a new point. A new **list element must start with an hyphen '-'** and must be indented compare to the parent branch or function, as shown in the previous example.+When defining nodes on a mesh we can provide a list of ''ID'' and ''POINT'' keywords, each one defines a new point. A new **list element must start with an hyphen '-'** and must be indented compared to the parent branch or function, as shown in the previous example.
  
 ===== Input file characters restrictions ===== ===== Input file characters restrictions =====
Line 81: Line 81:
 SesamX lets you choose your own names for defining the various objects of the model (loading cases, solutions, ...). However, **there are restrictions about the characters that you can use**: SesamX lets you choose your own names for defining the various objects of the model (loading cases, solutions, ...). However, **there are restrictions about the characters that you can use**:
  
-  * **object names should contain only ASCII characters** (you can find the table of supported characters [[https://www.w3schools.com/charsets/ref_html_ascii.asp|here]]),+  * **object names should contain only [[https://www.w3schools.com/charsets/ref_html_ascii.asp|ASCII characters]]**,
   * **object names must not start with and underscore ''_''**.   * **object names must not start with and underscore ''_''**.
   * **object names must be shorter that 40 characters**.   * **object names must be shorter that 40 characters**.
  • user_manual/sesamx/input_file.txt
  • Last modified: 2023/01/28 13:44
  • by Ali Baba