Skip to content

Use a configuration file to configure the adapter #25

@BenjaminRodenberg

Description

@BenjaminRodenberg

The adapter requires some names in the precice-config.xml to agree with hard-coded names in this adapter. The user may customize these names, but this requires recompiling the adapter, so this is not user-friendly.

A common solution for other preCICE adapter is to provide a configuration file to the adapter at runtime. From the preCICE perspective we decided at some point in time to try to stick to what is a common file format in the "world" of the adapter solver to make this easy to configure for users. This usually also avoids additional dependencies for building the adapter. (compare OpenFOAM adapter using an OpenFOAM dictionary, FEniCS adapter using a json)

So the main question here is which kind of formats would feel natural for a Fluent user?

Some options that we (@mtree22, @IshaanDesai, @MakisH, @fsimonis) already discussed:

  • scheme files
  • xml
  • yaml
  • more suggestions are welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions