Skip to content

trsohankumar/MinimalCoupler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinimalCoupler

A minimal coupling library implementation that exposes the same API as preCICE. The following configuration is hard-coded into this library:

  • Two participants named Fluid and Solid with meshes Fluid-mesh and Solid-mesh respectively.
  • Two data vectors for Force and Displacement.
  • Vertex mapping carried out using nearest-neighbor mapping.
  • Uses serial-implicit coupling with Aitken underrelaxation.

Build Instructions

Prerequisites

  • CMake 3.22 or higher
  • C++ compiler with C++20 support

Building the Library

  1. Create a build directory and navigate to it:
mkdir build
cd build
  1. Configure the project with CMake:
cmake ..
  1. Build the library:
make

Build Output

The build process generates:

  • libminimalCoupler.so.3 - The shared library

Usage Instructions

The library is developed to couple the solvers in the perpendicular-flaps tutorials of preCICE. Run the simulations using library preloading:

LD_PRELOAD=/path/to/libminimalCoupler.so.3 ./run.sh

About

A minimal coupling library implementation that implements the preCICE coupling API standard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors