Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the adapter config file to one file per participant #3

Open
MakisH opened this issue Feb 9, 2018 · 1 comment
Open

Split the adapter config file to one file per participant #3

MakisH opened this issue Feb 9, 2018 · 1 comment

Comments

@MakisH
Copy link
Member

MakisH commented Feb 9, 2018

For the OpenFOAM adapter we decided to have one adapter configuration file per participant, as shown here. This was done so that we don't need to modify the solver to accept an extra command-line argument (we want to keep the solvers intact).

If there is no problem with the current setup, I propose that we also change the CalculiX adapter to look for one YAML file per participant, instead of accessing a common file for all the participants. We already discussed this with @uekerman.

(as the links may break in the future, they refer to the precice-adapter-config.yml and config.yml of the heat exchanger tutorial for OpenFOAM and CalculiX)

@MakisH MakisH changed the title Spil the adapter config file to one file per participant Split the adapter config file to one file per participant Feb 9, 2018
@uekerman
Copy link
Member

uekerman commented Jul 29, 2022

So sth like this

participant-name: Solid
interfaces:
- nodes-mesh: Solid-Mesh
  patch: surface
  read-data: [Force]
  write-data: [Displacement]

precice-config-file: ../precice-config.xml

Let's do this when releasing preCICE v3 as it breaks the tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants