|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
Importation of fields from fld files. More...
Data Types | |
| interface | import_fields |
Functions/Subroutines | |
| subroutine | import_fields_from_json (fname, global_interp_subdict, mesh_fname, u, v, w, p, t, s_target_list, s_index_list, interpolate) |
| Imports fields from an fld file, potentially with interpolation, with parameters provided in a JSON subdict. | |
| subroutine | import_fields_from_params (fname, mesh_fname, u, v, w, p, t, s_target_list, s_index_list, interpolate, tolerance, padding) |
| Imports fields from an fld file, potentially with interpolation. | |
Import field from fld files. This tool is in a separate file because of multiple import requirements.
|
private |
| fname | The name of the fld file, e.g. "my_field0.f00019". |
| global_interp_subdict | If interpolation is enabled, subdict containing the interpolation parameters to use. |
| mesh_fname | The name of the fld file containing the spatial coordinates, if interpolation is enabled and fname does not already contain them. |
| u | The field on which to import the u component of the fld data. |
| v | The field on which to import the v component of the fld data. |
| w | The field on which to import the w component of the fld data. |
| p | The field on which to import the pressure field of the fld data. |
| t | The field on which to import the temperature field of the fld data. |
| s_target_list | Field list containing the fields on which to import the scalar fields of the fld data. Unless a list of target indices is provided in s_index_list, assigns field at position i in the list to scalar i in the fld file. |
| s_index_list | The list of scalars indices from which to load the fields provided in s_target_list. Must have the same size as s_target_list. For example, s_index_list = (/2,3/) will load scalar #2 in s_target_listitems(1) and scalar #3 in s_target_listitems(2). Index 0 corresponds to temperature by default. Therefore using s_index_list = (/0/) is equivalent to using the argument t=.... |
| interpolate | Whether or not to interpolate the fld data. |
Definition at line 91 of file import_field_utils.f90.
|
private |
| fname | The name of the fld file, e.g. "my_field0.f00019". |
| mesh_fname | The name of the fld file containing the spatial coordinates, if interpolation is enabled and fname does not already contain them. |
| u | The field on which to import the u component of the fld data. |
| v | The field on which to import the v component of the fld data. |
| w | The field on which to import the w component of the fld data. |
| p | The field on which to import the pressure field of the fld data. |
| t | The field on which to import the temperature field of the fld data. |
| s_target_list | Field list containing the fields on which to import the scalar fields of the fld data. Unless a list of target indices is provided in s_index_list, assigns field at position i in the list to scalar i in the fld file. |
| s_index_list | The list of scalars indices from which to load the fields provided in s_target_list. Must have the same size as s_target_list. For example, s_index_list = (/2,3/) will load scalar #2 in s_target_listitems(1) and scalar #3 in s_target_listitems(2). Index 0 corresponds to temperature by default. Therefore using s_index_list = (/0/) is equivalent to using the argument t=.... |
| interpolate | Whether or not to interpolate the fld data. |
| tolerance | If interpolation is enabled, the tolerance to use for the point finding. |
| padding | If interpolation is enabled, the tolerance to use for the point finding. |
Definition at line 147 of file import_field_utils.f90.
