fedoo.problem.NonLinearNewmark.add_output

NonLinearNewmark.add_output(filename, assembly, output_list=None, output_type=None, file_format='fdz', compressed=False, position=1, element_set=None, save_mesh=True)

Add output requirement for automatic saving during nlsolve.

optionnaly, the add_output can be used without specifying the assembly with the arguments:

>>> problem.add_output(filename, output_list, **kargs)

In this case, the Assembly defined in problem.assembly will be used.

Parameters:
  • filename (str) – name of the file used to save data to disk.

  • assembly (Assembly, optional) – Assembly object used to extract the results.

  • output_list (list[str]) – list of result labels.

  • output_type ('Node', 'Element' or 'GaussPoint', optional) – Type of results. If None, the type of output is not converted. Scalar results are not concerned by this parameter.

  • file_format ("fdz", "vtk", "msh", "npz", "csv", "xlsx") – file format used to save the results. The default file format and recommanding one is “fdz”.

  • compressed (bool, default = False) – if True, the fdz data are compressed.

  • position (float in [-1, 1], optional) – Normalized position in the section for shell output. For instance, 1 is top face define by the local z direction, -1 is the bottom face and 0 is the midplane

  • element_set (str or list[int], optional) – set of element indices or name of an element set associated to the mesh. If specified, only the results restriced to the set of elements are extracted.

  • save_mesh (bool, default = True) – If True the mesh is saved.