Skip to content

General improvements and fixes following the switch to .yaml based input #356

Open
@davidrudlstorfer

Description

@davidrudlstorfer

From #354 and #135 (and other issues) some open ToDo's emerged which are summarized in the following:

High Priority

Testing infrastructure

  • improve testing infrastructure (test abaqus input files also with compare_nested_list_or_dicts, remove entire string comparison from our side, also open a diff in VSCode for the yaml files)

  • Check & increase minimum testing coverage Increase minimum coverage #362

Code quality

  • Replace self.element_description with self.data. Cleanup NURBS patch #372

  • Pass the connectivity array of elements into the input file and hand over the conversion for a MeshPy Node to the FourCIPP converter Add more converters to input files #370

  • move all dump_to_list logic to the input file (similar to boundary_condition, function, etc…)

  • move element_type_to_four_c_string to a more central place, i.e., out of core. This should be easily possible once the dump_to_list functions are in the input file (currently a circular import restricts me from moving this)

  • then we can also fix the current hackery in the solidrigidsphere for free (here also a circular import hinders me from working further on this)

  • Finally we can improve and simplify (by a lot) the model importer

  • And finally, finally we can improve and simplify the mesh to dict conversion (by a lot)

Miscellaneous

Reference files

  • Convert remaining input files to full precision (from Store reference files in full double precision #309)

    List of files
    • 4C_input_solid_cuboid.4C.yaml
    • test_create_cubit_input_block.4C.yaml
    • test_create_cubit_input_solid_shell_blocks.4C.yaml
    • test_create_cubit_input_solid_shell_dome.4C.yaml
    • test_create_cubit_input_tube.4C.yaml
    • test_four_c_beam_to_solid.4C.yaml
    • test_four_c_import_non_consecutive_geometry_sets_input.4C.yaml
    • test_four_c_simulation_dbc_monitor_to_input_restart.4C.yaml
    • test_four_c_simulation_dirichlet_boundary_to_neumann_boundary_with_all_values_neumann.4C.yaml
    • test_four_c_simulation_honeycomb_sphere_import.4C.yaml
    • test_meshpy_comments_in_solid_initial.4C.yaml
    • test_meshpy_fluid_element_section_import.4C.yaml
    • test_meshpy_nurbs_import_solid_mesh.4C.yaml
    • test_meshpy_surface_to_surface_contact_import_solid_mesh.4C.yaml
    • test_meshpy_vtk_writer_solid_elements_import.4C.yaml
    • test_tutorial.4C.yaml
  • Store reference files in ordered fashion (from Store yaml reference files in ordered fashion #308)
    Export the .4C.yaml files in ordered fashion to be able to easier compare them. Think about adding an option to FourCIPP to allow one to specify the order in which to dump everything, i.e., title at first, elements/nodes at the end, the rest in alphabetical fashion

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions