precice-forschungsprojekt / controller

WIP: A configuration generator for preCICE
GNU General Public License v3.0
2 stars 0 forks source link

Fix tests failing and output files missing #controller #4

Closed VanLaareN closed 6 days ago

VanLaareN commented 6 days ago

On my wsl machine the tests would only execute if i added output files. Currently the given topology fails all tests

Error is that the sizes of the files dont match up

For example 1 the differences are:

  1. XML Declaration:

    • File 1: ?xml version="1.0" encoding='UTF-8'?
    • File 2: ?xml version="1.0" ?
  2. Element Names and Attributes:

    • File 1 uses names like Forces0 and DisplacementDeltas0.
    • File 2 uses names like Calculix-SU2_CFD-Mesh-Displacement and SU2_CFD-Calculix-Mesh-Force.
  3. Mesh Names:

    • File 1: SU2_Mesh0 and Calculix_Mesh.
    • File 2: SU2_CFD-Calculix-Mesh and Calculix-SU2_CFD-Mesh.
  4. Attributes in Elements:

    • File 1 does not have the mesh_name attribute in read-data and write-data elements.
    • File 2 has attributes like mesh_name in these elements.
  5. Namespace Prefixes:

    • File 1 uses use-data.
    • File 2 uses user-data.
  6. Coupling Scheme:

    • File 1: timestep-length value="1e-3".
    • File 2: timestep-length value="1e-3" valid-digits="8".
  7. Post-Processing:

    • File 1: timesteps-reused value="10".
    • File 2: timesteps-reused value="8".