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

Adapter precice 3.1 with 3D support and "point load" #26

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
dbe3513
first commit
efirvida Jul 16, 2024
d91859b
First Release
efirvida Jul 26, 2024
f2fed88
Add turek-hron calculix
efirvida Jul 28, 2024
21e9034
refactor Tutorials
efirvida Jul 29, 2024
da285ff
add breaking-dam-2d tutorial
efirvida Jul 30, 2024
11a3e7b
rename perpendicular-flap tutorial folder
efirvida Jul 30, 2024
e91af7c
add elastic-tube-3d tutorial
efirvida Jul 30, 2024
58a0db9
remove old test
efirvida Jul 30, 2024
80380a5
Refactor Adapter solvers
efirvida Jul 31, 2024
452f027
Fix fluid domain tower stl mesh
efirvida Jul 31, 2024
844c9b4
Add flow-over-heated-plate tutorial first commit
efirvida Jul 31, 2024
fa29673
cht
efirvida Aug 1, 2024
5695abf
Store states as dynamic list of states
efirvida Aug 5, 2024
9a15064
Refactor adapter to use legacy class architecture
efirvida Aug 5, 2024
cbbc826
Add perpendicular flap tutorial
efirvida Aug 9, 2024
fc02757
Revert trivial changes.
BenjaminRodenberg Nov 26, 2024
8da8e15
Revert some more trivial changes.
BenjaminRodenberg Nov 26, 2024
45affcc
Revert changes related to versioneer.
BenjaminRodenberg Nov 26, 2024
d90736d
Revert some more changes and reduce diff.
BenjaminRodenberg Nov 26, 2024
55b5496
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Nov 26, 2024
867917a
Add and apply autopep8.
BenjaminRodenberg Nov 26, 2024
e94d5b7
Add linters again.
BenjaminRodenberg Nov 26, 2024
4aebb55
Add dockerfile again (removing it was unrelated to PR).
BenjaminRodenberg Nov 26, 2024
de46fbf
Add tests and CI again.
BenjaminRodenberg Nov 26, 2024
74eedce
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Nov 26, 2024
ac4a620
Move case.
BenjaminRodenberg Nov 26, 2024
8242c91
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Nov 26, 2024
6d1c52f
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Nov 26, 2024
3be54df
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Nov 26, 2024
456156c
Add changelog entried.
BenjaminRodenberg Feb 17, 2025
6a01b46
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Feb 17, 2025
9ce3086
Fix order.
BenjaminRodenberg Feb 17, 2025
f0a9628
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Feb 17, 2025
1a2755c
Fix bare URLs.
BenjaminRodenberg Feb 17, 2025
3f7301e
Merge branch 'develop' into efirvida_develop
BenjaminRodenberg Feb 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

## current development

* Contributed FEniCSx version of solid participant in `tutorials/perpendicular-flap/solid-fenicsx`. [#26](https://github.com/precice/fenicsx-adapter/pull/26)
* Added support for point loads. [#26](https://github.com/precice/fenicsx-adapter/pull/26)
* Developed initial working version with example case `tutorials/partitioned-heat-conduction`. [#15](https://github.com/precice/fenicsx-adapter/pull/15)
* Forked initial version of this adapter from [`precice/fenics-adapter@v1.2.0`](https://github.com/precice/fenics-adapter/releases/tag/v1.2.0).
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

* This adapter is a fork from the original [FEniCS-preCICE adapter](https://github.com/precice/fenics-adapter). Based on [v1.2.0](https://github.com/precice/fenics-adapter/releases/tag/v1.2.0).
* This adapter is currently under development and experimental.
* Target version: dolfinx v0.5.2. Other version that have been tested and might also work: v0.4.1
* Target version: dolfinx v0.8.0.
* Target version: preCICE v3.

## Installing the package

Expand All @@ -44,8 +45,8 @@
* python3 (this adapter **only supports python3**)
* [the python language bindings for preCICE](https://github.com/precice/python-bindings)
* :construction: [FEniCSx](https://fenicsproject.org/) (with python interface, installed by default) (under construction refer to notes on FEniCSx below) :construction:
* and scipy (`pip3 install scipy`)

Comment on lines -47 to +48
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer need scipy?


Check failure on line 49 in README.md

View workflow job for this annotation

GitHub Actions / check_md

Multiple consecutive blank lines [Expected: 1; Actual: 2]
#### Build and install the adapter

After cloning this repository and switching to the root directory (`fenicsx-adapter`), run ``pip3 install --user .`` from your shell.
Expand Down Expand Up @@ -90,4 +91,6 @@

2021: For development of FEniCSx support, `precice/fenics-adapter@v1.2.0` was forked as `precice/fenicsx-adapter`. The required modifications were carried out by [Benjamin Rodenberg](https://www.cs.cit.tum.de/sccs/personen/benjamin-rodenberg/) and [Ishaan Desai](https://www.ipvs.uni-stuttgart.de/institute/team/Desai/).

2023: [Philip Hildebrand](https://github.com/PhilipHildebrand) updated the adapter to a [first minimal working version](https://github.com/precice/fenicsx-adapter/pull/15) and contributed a [first tutorial](https://github.com/precice/tutorials/pull/317) in the scope of his Bachelor's thesis ["Extending the FEniCSx Adapter for the Coupling Library preCICE"](https://mediatum.ub.tum.de/node?id=1706280) under supervision of [Benjamin Rodenberg](https://www.cs.cit.tum.de/sccs/personen/benjamin-rodenberg/) and [Ishaan Desai](https://www.ipvs.uni-stuttgart.de/institute/team/Desai/).
2023: [Philip Hildebrand](https://github.com/PhilipHildebrand) updated the adapter to a first minimal working version (https://github.com/precice/fenicsx-adapter/pull/15) and contributed a first tutorial (https://github.com/precice/tutorials/pull/317) in the scope of his Bachelor's thesis ["Extending the FEniCSx Adapter for the Coupling Library preCICE"](https://mediatum.ub.tum.de/node?id=1706280) under supervision of [Benjamin Rodenberg](https://www.cs.cit.tum.de/sccs/personen/benjamin-rodenberg/) and [Ishaan Desai](https://www.ipvs.uni-stuttgart.de/institute/team/Desai/).

Check failure on line 94 in README.md

View workflow job for this annotation

GitHub Actions / check_md

Bare URL used [Context: "https://github.com/precice/fen..."]

Check failure on line 94 in README.md

View workflow job for this annotation

GitHub Actions / check_md

Bare URL used [Context: "https://github.com/precice/tut..."]

2024: [Eduardo Firvida](https://github.com/efirvida) updated the adapter to a minimal working version (https://github.com/precice/fenicsx-adapter/pull/26) with FSI and 3D support for preCICEv3. In the scope of his PhD Thesis.

Check failure on line 96 in README.md

View workflow job for this annotation

GitHub Actions / check_md

Bare URL used [Context: "https://github.com/precice/fen..."]
180 changes: 0 additions & 180 deletions fenicsxprecice/adapter_core.py

This file was deleted.

2 changes: 1 addition & 1 deletion fenicsxprecice/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def read_json(self, adapter_config_filename):
"""
folder = os.path.dirname(os.path.join(os.getcwd(), os.path.dirname(sys.argv[0]), adapter_config_filename))
path = os.path.join(folder, os.path.basename(adapter_config_filename))
read_file = open(path, "r")
read_file = open(path)
data = json.load(read_file)
self._config_file_name = os.path.join(folder, data["config_file_name"])
self._participant_name = data["participant_name"]
Expand Down
147 changes: 0 additions & 147 deletions fenicsxprecice/expression_core.py

This file was deleted.

Loading
Loading