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

Turek & Hron FSI3 solid-calculix #300

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions turek-hron-fsi3/solid-calculix/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
set -e -u

. ../../tools/cleaning-tools.sh

clean_calculix .
rm log-solid
Copy link
Member

Choose a reason for hiding this comment

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

Where does the log-solid come from? I don't see this in the run.sh.

In any case, when calling rm, it is a good idea to call it as rm -f, so that it does not complain when the file is not there.

Copy link
Author

Choose a reason for hiding this comment

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

My bad! The log-solid came from the batch script of the cluster. I will update the run.sh file.

10 changes: 10 additions & 0 deletions turek-hron-fsi3/solid-calculix/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
participants:

Solid:
interfaces:
- nodes-mesh: Solid-Mesh
patch: surface
read-data: [Force]
Copy link
Member

Choose a reason for hiding this comment

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

Running this case, I get:

ERROR:  Data with name "Force" is not defined on mesh "Solid-Mesh". Please add <use-data name="Force"/> under <mesh name="Solid-Mesh"/>.

Note that this case now uses stress instead of force. This will probably need a bit of work to convert, but it should be doable.

Copy link
Author

Choose a reason for hiding this comment

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

That is right, I have to dig a bit deeper for this. But first I would like to get the case running.

Copy link
Member

Choose a reason for hiding this comment

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

Don't hesitate to ask for help, this is almost there and we could merge it soon! 😄

write-data: [Displacement]

precice-config-file: ../precice-config.xml
16 changes: 16 additions & 0 deletions turek-hron-fsi3/solid-calculix/fix.nam
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
** Names based on fix
*NSET,NSET=Nfix
1,
3,
5,
7,
9,
10,
11,
246,
248,
249,
250,
331,
524,

Loading