Fkyaml::v0_4_2::type_error while running ccx_preCICE

Hello preCICE team,

I am Tejas, an undergraduate student working on coupling SU2 with CalculiX using preCICE coupler for aeroelastic simulations. I am trying to run this tutorial from the preCICE website. I have copied the fluid-su2 folder for SU2 from this tutorial into my directory. I’m able to successfully run SU2 adapter. But I’m facing issues in running CalculiX adapter. I’m getting the following error

Starting CHT analysis via preCICE...
Setting up preCICE participant Solid, using config file: config.yml
terminate called after throwing an instance of 'fkyaml::v0_4_2::type_error'
  what():  type_error: The target node is not of a container type. type=NULL_OBJECT
Aborted (core dumped)

I have tried to rename the patches according to the names given to the nodes and surfaces as per the mesh file, i.e yend as Nyend and flux_surface as Sflux_surface. I don’t see where I am going wrong. I have attached my mesh file (all.msh), config,yml file and precice-config.xml file below. Please let me know if you could find the source of the error!

Thank you.

Best regards,

Tejas Raysad

precice-config.xml (2.2 KB)

solid.inp (3.2 KB)

config.yml (292 Bytes)

all.msh (2.8 MB)

@tejasraysad are you using the latest develop branch of the CalculiX adapter?

See also

Hello Makis, Thank you for replying.

I have built the CalculiX adapter from source like this. Is this the latest develop branch of CalculiX adpater?

No, this is still an earlier version. You need to build from source for now. But we need to make a new release of the adapter soon anyway.

  1. Remove the package you already installed: sudo apt remove calculix-precice3.

  2. The dependencies should have already been installed by the package you now removed. Otherwise, see Get CalculiX | preCICE - The Coupling Library

  3. Get the code and build from source: Just replace master with develop in the instructions to build the adapted CalculIX: Get the CalculiX adapter | preCICE - The Coupling Library

If you can wait a couple of weeks, we could use the pressure to make a new release of the adapter (ideally in the second/third week of April, after the upcoming preCICE v3.4.0 release).