1
include "spud_base.rnc"
5
element visualise_elements {
6
## Model output files are named according to the project
7
## name, e.g. [simulation_name]_0.vtu. Non-standard
8
## characters in the project name should be avoided.
12
## Options dealing with the specification of geometry
14
## Dimension of the problem.
15
## <b>This can only be set once</b>
17
attribute replaces {"NDIM"},
18
element integer_value {
23
## The shape of elements to visualise
24
element element_vertices {
27
## The degree of elements to visualise
28
element element_degree {
31
element element_family {
32
element string_value {
33
# Lines is a hint to the gui about the size of the text box.
34
# It is not an enforced limit on string length.
35
attribute lines { "1" },
44
## note: this specifies the degree of quadrature not
45
## the number of gauss points
47
attribute replaces {"NGI"},
51
## The degree of elements to visualise
52
element visualisation_degree {
56
attribute name { xsd:string },
58
element exclude_from_mesh_adaptivity{empty}?
61
element material_phase {
62
attribute name { xsd:string },
71
## Read mesh from file.
74
## Triangle mesh format.
76
## Enter the base name without the .edge .ele, .face or
77
## .node extensions, and without process numbers.
79
attribute name { "triangle" },
80
# string_value elements are used only for backwards compatibility - any new format choices should NOT have these
81
element string_value {
86
## Read the mesh from a vtu. Note that the mesh will have no surface
89
attribute name { "vtu" },
92
## CGNS mesh format (not yet implemented)
94
attribute name { "cgns" },
95
# string_value elements are used only for backwards compatibility - any new format choices should NOT have these
96
element string_value {
102
attribute file_name { xsd:string },
103
from_file_mesh_stat_options,
106
## Make mesh from existing mesh. The existing mesh cannot itself
107
## be made from an existing mesh (i.e. it must be read from a
112
element polynomial_degree {
116
element mesh_continuity {
117
element string_value{
118
"continuous" | "discontinuous"
121
## Make mesh periodic
122
element periodic_boundary_conditions {
123
attribute name { xsd:string },
124
## List of boundary ids that are aliased to
125
element physical_boundary_ids {
128
## List of boundary ids that are aliased
129
element aliased_boundary_ids {
132
## Python code which takes coordinate of an aliased
133
## boundary node and returns the coordinate of a physical
135
element coordinate_map {
139
## Extrude a horizontal (1D or 2D) mesh in the vertical
141
## Depth over which to extrude
142
## top will be at z=0
143
## bottom will be at z=-bottom_depth
144
element bottom_depth {
147
## Constant or function (of z!) to specify the depth of the
149
element sizing_function {
152
## surface_id to assign to the top of the extruded mesh
153
element top_surface_id {
156
## surface_id to assign to the bottom of the extruded mesh
157
element bottom_surface_id {
161
derived_mesh_stat_options,
166
# Most common mesh choices
170
attribute name { xsd:string }
173
attribute name { "CoordinateMesh" }
176
attribute name { "VelocityMesh" }
179
attribute name { "PressureMesh" }
183
from_file_mesh_stat_options =
185
## Specify what is added to .stat files
187
mesh_stat_options_enabled_default
190
derived_mesh_stat_options =
192
## Specify what is added to .stat files
194
mesh_stat_options_disabled_default
198
# Choice of input method, e.g. for boundary conditions
201
input_choice_real_contents
204
input_choice_real_contents =
209
## Python function prescribing real input. Functions should be of the form:
213
## return # Return value
215
## where X is a tuple of length geometry dimension.
221
# This is the choice of additional scalar field to be solved for
222
scalar_field_choice =
224
# The first is a generic field, used for any user-defined field that
225
# FLUIDITY knows nothing about. Therefore, this field cannot be diagnostic.
226
element scalar_field {
227
attribute rank { "0" },
228
attribute name { xsd:string },
232
velocity_mesh_choice,
233
prescribed_values_scalar_field
243
vector_field_choice =
245
# The first is a generic field, used for any user-defined field that
246
# FLUIDITY knows nothing about. Therefore, this field cannot be diagnostic.
247
# Prognostic vector fields are not possible (other than velocity and those known fields below).
248
## Generic field variable (vector)
249
element vector_field {
250
attribute rank { "1" },
251
attribute name { xsd:string },
256
prescribed_values_vector_field
265
prescribed_values_vector_field =
268
## Value for WholeMesh
270
## Only specify one value if not using mesh regions.
271
## Otherwise select other value option, specify region_ids
272
## and distinct names. Then add extra values for other regions.
274
attribute name { "WholeMesh" },
275
input_choice_real_dim_vector
277
## Multiple values are now allowed if using different value assignments
278
## in different regions of the mesh (specified by region_ids).
279
## In this case each value requires a distinct name for the options dictionary.
281
attribute name { string },
283
input_choice_real_dim_vector
289
velocity_mesh_choice =
293
attribute name { "VelocityMesh" }
296
attribute name { "PressureMesh" }
299
attribute name { "CoordinateMesh" }
302
attribute name { string }
308
prescribed_values_scalar_field =
311
## Value for WholeMesh
312
## Only specify one value if not using mesh regions.
313
## Otherwise select other value option, specify region_ids
314
## and distinct names. Then add extra values for other regions.
316
attribute name { "WholeMesh" },
319
## Multiple values are now allowed if using different value assignments
320
## in different regions of the mesh (specified by region_ids).
321
## In this case each value requires a distinct name for the options dictionary.
323
attribute name { string },
330
# Choice of input method, e.g. for boundary conditions
331
input_choice_real_dim_vector =
333
input_choice_real_dim_vector_contents
336
input_choice_real_dim_vector_contents =
341
## Python function prescribing dimensional vector input. Functions should be of the form:
345
## return # Return value
347
## where X and the return value are tuples of length geometry dimension.
b'\\ No newline at end of file'