![]() |
|||||||||||||||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||
Home | Site Map | About | News | Purchase | Products | Download | Support | Search | |||||||||||||||
|
|||||||||||||||||||||||
Export Data to Any Model
Define Your Own Format
Export templates give you full control over your export file format. This enables you to directly export the information you've created in Argus ONE to any numerical model you use in the exact file format the model requires.
In an export template you can specify into which files you want to redirect the output, which parameters you need to export, set the delimiters, set the format of a parameter, loop over nodes, elements and blocks, calculate new expressions during export, set the number of characters in a line, etc.
Define Export Templates for Many Models
You can name each export template you create, save it to disk, and load it when needed. This enables you to maintain as many export templates as you need for the various models or versions of a model you use.
The export template is created using the Construct Export Template dialog. The template is written in a script like language. You can either use the dialog buttons to construct an export script, or write an export script in you favorite text editor and load it later into Argus ONE.
Export Templates are Dynamic
You can create dynamic templates like those used by Argus ONE. Dynamically defined templates are constructed of script commands and script commands arguments that are resolved during the export process. Script commands can invoke Argus ONE expressions thus allowing you full access to the parameters you created while creating your conceptual model and dynamic links. For instance, if you use the command "Loop over Parameters" (Parameters, is the loop iterator) in a script, Argus ONE will loop over the number of parameters (information fields) liked to nodes or elements in your mesh layer while exporting it and export all of them.
Triangular Mesh Export Template - Example
The following template is Argus ONE's default Triangular Mesh Template. Underlined words are Argus ONE functions invoked from within the template.
Redirect output to: $BaseName$
Start a new line
Export expression: NumElements(); [I8]
Export expression: NumNodes(); [I8]
Export expression: NumElemParameters(); [I8]
Export expression: NumNodeParameters() [I8]
End line
Loop for: Nodes
Start a new line
Export expression: "N";
Export expression: NodeNumber(); [I8]
Export expression: PositionX(); [F8.2]
Export expression: PositionY() [F8.2]
Loop for: Parameters
Export expression: ;$Parameter$ [F8.2]
End loop
End line
End loop
Loop for: Elements
Start a new line
Export expression: "E";
Export expression: ElementNumber(); [I8]
Export expression: NthNodeNum(1); [I8]
Export expression: NthNodeNum(2); [I8]
Export expression: NthNodeNum(3) [I8]
Loop for: Parameters
Export expression: ;$Parameter$ [F8.2]
End loop
End line
End loop
End file
Quadrilateral Mesh Export Template - Example
The following template is Argus ONE's default Quadrilateral Mesh Template. Underlined words are Argus ONE functions invoked from within the template. Note that only one line is different from the Triangular default template accounting for the additional node needs to be exported.
Redirect output to: $BaseName$
Start a new line
Export expression: NumElements(); [I8]
Export expression: NumNodes(); [I8]
Export expression: NumElemParameters(); [I8]
Export expression: NumNodeParameters() [I8]
End line
Loop for: Nodes
Start a new line
Export expression: "N";
Export expression: NodeNumber(); [I8]
Export expression: PositionX(); [F8.2]
Export expression: PositionY() [F8.2]
Loop for: Parameters
Export expression: ;$Parameter$ [F8.2]
End loop
End line
End loop
Loop for: Elements
Start a new line
Export expression: "E";
Export expression: ElementNumber(); [I8]
Export expression: NthNodeNum(1); [I8]
Export expression: NthNodeNum(2); [I8]
Export expression: NthNodeNum(3); [I8]
Export expression: NthNodeNum(4) [I8]
Loop for: Parameters
Export expression: ;$Parameter$ [F8.2]
End loop
End line
End loop
End file
Finite Difference Grid Export Template - Example
The following template is Argus ONE's default Grid Template. Underlined words are Argus ONE functions invoked from within the template.
Redirect output to: $BaseName$
Start a new line
Export expression: NumRows(); [I8]
Export expression: NumColumns(); [I8]
Export expression: NumBlockParameters()+1 [I8]
End line
Loop for: Rows
Start a new line
Export expression: NthRowPos($Row$) [F8.2]
End line
End loop
Loop for: Columns
Start a new line
Export expression: NthColumnPos($Column$) [F8.2]
End line
End loop
Export matrix: BlockIsActive() [I1]
Loop for: Parameters
Start a new line
End line
Start a new line
Export expression: "$Parameter$"
End line
Export matrix: $Parameter$ [F8.2]
End loop
End file
Where to Find Additional Templates
You can download free export templates from our ftp site. To find about available templates click here.
To find out more about Argus and its products email marketing@argusone.com or call:
+972-9-957-5752
Tech. support: support@argusone.com
snail mail: Argus Holdings, POB 6254, Herzelia, 46160, Israel
Copyright © Argus Holdings, Ltd. 1992-2015