Skip to content

Py3 and PFEM3D Support

Boman Romain requested to merge lacroix into master

Created by: ghost

New Features

  • Python 3 support (from Mariano).

  • PFEM3D wrapper and support, with PFEM3D_Metafor simple test cases.

  • The lib/package/name conflicts between the different solvers have been fixed by preventing the corresponding folders from being present in sys.path at the same time.

  • Similarly to Metafor, CUPyDO now may use .cupydoExtProgs.json in your home (Unix) or User (Win) folder, where the absolute paths to the solvers are stored. Only the solvers used for the current simulation are required. In addition, multiple paths may be associated with a solver if needed (see the example in the exe folder).

  • Metafor wrapper may now use an exporter that is executed in the save() function, see tests/PFEM3D_Metafor and for some example of a Gmsh exporter.

  • A writing frequency for the outputs may be specified in the input file with dtWrite.

Test Battery

  • SU2_SU2 tests have been deactivated due to incompatibility with the current wrapper.
  • Enabled SU2_Modal, SU2_Metafor, SU2_pyBeam tests for Windows.
  • Enabled SU2_pyBeam tests on Linux.
  • Implemented PFEM3D_Metafor tests for both Windows and Linux.
  • Changed Tecio related outputs to csv for Windows support.
  • Changed some SU2 input parameters for 7.1.1 compatibility.
  • AGARD445_Static_BGS_interpRBF_parallel_fsi.py : Drag coefficient 0.00035 -> 0.000054.
  • AGARD445_Static_BGS_interpTPS_parallel_fsi.py : Drag coefficient 0.00035 -> 0.000054.
  • CantileverSquareChannel_BGS_parallel_fsi.py : Drag coefficient 2.64 -> 3.640135.
  • CantileverSquareChannel_IQN_parallel_fsi.py : Drag coefficient 2.64 -> 3.640135.
  • staticAgard_fsi.py : Drag coefficient 0.00035 -> 0.000032.
  • Cantilever_fsi_adj.py : dcd/dE 0.3% -> 5% tolerance.
  • config_cantilever.pyBeam : KIND_LINSOL FullPivLu -> PartialPivLu

Compatibility

  • Metafor [v3492]
  • RBMI [1.1]
  • Modali [v2.0]
  • pyBeam [0.1]
  • PFEM [v1.19]
  • SU2 [7.1.1*]
  • Flow [v2.1.1]
  • VLM [v2.0]
  • PFEM3D [2.0.0]

Merge request reports

Loading