Skip to content

Commit

Permalink
Update the adapter for preCICE v3 and add test cases for Elmer-OpenFO…
Browse files Browse the repository at this point in the history
…AM coupling (#4)

* Ported the adapter for elmer from v2 to v3. Added a case to couple Elmer to OpenFoam. A hard-coded naming convection was added to CoupleSolver.F90 for Elmer <-> OF coupling.

* dont add log files

* I do not know what I am doing

* Remove precice-profiling folders

* removed precice-profiling folders

* removed the folders by force

* stripped the tools to what I need.

* Update Flow_Over_Heated_Plate/precice-config.xml

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* Update Flow_Over_Heated_Plate/Coupler_Solver.F90

Co-authored-by: Ishaan Desai <[email protected]>

* updating gitignore to exclude precice-profiling folder

* don't include mesh files.

* applied naming convection change

* changes applied based on recommendations.

* deleted the duplicate README

* Remove Elmer and OpenFOAM participants from the Flow_Over_Heated_Plate tutorial

* Remove tools which was copied over from precice/tutorials

* Remove preCICE run related files from .gitignore

* Move changes to Coupler_Solfer.F90 in Flow_Over_Heated_Plate/ to Adapter/

* Removing Flow_Over_Heated_Plate3D case

* Link to libprecice.so.3 in the adapter build.sh

* Add dummy checkpointing and minor edits in the README

* Polishing the main README

---------

Co-authored-by: Ishaan Desai <[email protected]>
Co-authored-by: Ishaan Desai <[email protected]>
  • Loading branch information
3 people authored Oct 23, 2024
1 parent 76aadb9 commit 3f80721
Show file tree
Hide file tree
Showing 15 changed files with 170 additions and 2,955 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ out/

# ignoring a (potentially added) FEniCS case
Partitioned_Heat_Conduction/fenics

# ignoring precice run directory
*/precice-run
377 changes: 160 additions & 217 deletions Adapter/Coupler_Solver.F90

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Adapter/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
elmerf90 -o Coupler_Solver.so Coupler_Solver.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.2
elmerf90 -o Print_Module.so Print_Module.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.2
elmerf90 -o UDF_Boundary.so UDF_Boundary.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.2
elmerf90 -o Coupler_Solver.so Coupler_Solver.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.3
elmerf90 -o Print_Module.so Print_Module.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.3
elmerf90 -o UDF_Boundary.so UDF_Boundary.F90 /usr/lib/x86_64-linux-gnu/libprecice.so.3
475 changes: 0 additions & 475 deletions Flow_Over_Heated_Plate/Coupler_Solver.F90

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3f80721

Please sign in to comment.