(input-other-settings)= # Other input settings There are three groups of these settings. ## Included files This part contains file names for base lines, materials (local) and layups as shown in [](#code-include). The `` sub-element is optional. If this is included, PreVABS will read extra materials from this local file, besides the global material database (`MaterialDB.xml`). If there are materials and laminae with the same names, data in the local material file will overwrite those in the global database. - `path` in the `` element is the relative path to the main input file; - File extensions `.xml` can be omitted. ```{code-block} xml :linenos: :name: code-include :caption: Input syntax for the included files. path/baseline_file_name path/material_file_name path/layup_file_name ``` **Specification** - `` - Name of the included base line file. - `` - Name of the included local material file. - `` - Name of the included layup file. Multiple `` elements can be listed to merge several layup files. --- ## Analysis options The second part contains settings for the analysis in VABS. `` can be 0 for classical beam model, or 1 for refined (Timoshenko) model. ```{code-block} xml :linenos: :name: code-analysis :caption: A template for the analysis options in a main input file. 1 ``` **Specification** - `` - Dimension of the structural model. `1` (default) for beam. - `` - Beam model. Choose one from `0` (classical) and `1` (refined / Timoshenko). - ``, ``, ``, `` - Optional integer flags passed through to the solver. Default `0`. - ``, ``, `` - Optional initial twist / curvature components. Setting any of them to a non-zero value enables the curvature flag. - ``, `` - Optional direction-cosine components enabling the oblique flag when they differ from `(1, 0)`. - `` - Optional physics setting forwarded to the analysis backend. --- ## Global shape and mesh settings The last part contains optional global geometry and meshing settings, which are all stored in a `` sub-element. User can set the global transformations of the cross section. The three transformation operations have been discussed in [](#coordinate-systems). - The order of transformation operation is: translating, scaling, and rotating; - All operations are performed on the cross section, not the frame; - The scaling operation will only scale the shape (base lines), and have no effect on the thicknesses of laminae; - The rotating angle starts from the positive half of the $x_2$ axis, and increases positively counter-clockwise (right-hand rule). There are two basic meshing options, the global mesh size `` and the polynomial order ``. In addition, the mesh element shape can be switched between triangles and quadrilaterals via ``, and a number of optional Gmsh transfinite/recombination controls are available. - If not setting, the global meshing size will be the minimum layer thickness by default; - Two options for the element type are linear and quadratic. - Two options for the element shape are triangle and quadrilateral. ```{code-block} xml :linenos: :name: code_general :caption: A template for the global shape and mesh settings in a main input file. e2 e3 scaling_factor angle a quadratic 3 1e-12 ``` **Specification** - `` - Horizontal and vertical translation of the cross-section. The origin will be moved to (-e2, -e3). - `` - Scaling factor of the cross-section. - `` - Rotation angle of the cross-section. - `` - Global mesh size. - `` - Order of elements. `linear` (or `1`) or `quadratic` (or `2`, default). - `` - Shape of mesh elements. `3`, `tri`, or `triangle` (default) for triangles; `4`, `quad`, or `quadrilateral` for quadrilaterals. - `` - Tolerance used in geometric computation. Optional. Default value is 1e-12. - `` - Optional global scaling factor passed to the solver. Default `1.0`. When `` selects quadrilaterals, the following Gmsh-driven controls become available: - `` - `1`/`true` to enable Gmsh's automatic transfinite meshing of structured regions. - `` - Angle threshold (radians) used by the transfinite-auto algorithm to decide which corners to fix. - `` - `1`/`true` to recombine triangles into quads after transfinite meshing. - `` - `1`/`true` to enable Gmsh's general recombine pass. - `` - Angle threshold (degrees) used by the recombine algorithm. Interface tracking between layers is also configurable here: - `` - Integer flag to write per-interface marker output. - ``, `` - Angle thresholds (degrees) used to decide whether two adjacent layers share an interface for tracking.