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

Change exchanged data DisplacementDelta to Displacement in elastic-tube-3d #255

Closed
wants to merge 4 commits into from
Closed
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
2 changes: 1 addition & 1 deletion elastic-tube-3d/fluid-openfoam/system/preciceDict
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interfaces

readData
(
DisplacementDelta
Displacement
);

writeData
Expand Down
16 changes: 8 additions & 8 deletions elastic-tube-3d/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@

<solver-interface dimensions="3">
<data:vector name="Force" />
<data:vector name="DisplacementDelta" />
<data:vector name="Displacement" />

<mesh name="Fluid-Mesh-Nodes">
<use-data name="DisplacementDelta" />
<use-data name="Displacement" />
</mesh>

<mesh name="Fluid-Mesh-Faces">
<use-data name="Force" />
</mesh>

<mesh name="Solid-Mesh">
<use-data name="DisplacementDelta" />
<use-data name="Displacement" />
<use-data name="Force" />
</mesh>

Expand All @@ -29,7 +29,7 @@
<use-mesh name="Fluid-Mesh-Nodes" provide="yes" />
<use-mesh name="Fluid-Mesh-Faces" provide="yes" />
<write-data name="Force" mesh="Fluid-Mesh-Faces" />
<read-data name="DisplacementDelta" mesh="Fluid-Mesh-Nodes" />
<read-data name="Displacement" mesh="Fluid-Mesh-Nodes" />
<mapping:nearest-projection
direction="write"
from="Fluid-Mesh-Faces"
Expand All @@ -47,7 +47,7 @@
<participant name="Solid">
<use-mesh name="Solid-Mesh" provide="yes" />
<use-mesh name="Fluid-Mesh-Faces" from="Fluid" />
<write-data name="DisplacementDelta" mesh="Solid-Mesh" />
<write-data name="Displacement" mesh="Solid-Mesh" />
<read-data name="Force" mesh="Solid-Mesh" />
</participant>

Expand All @@ -58,12 +58,12 @@
<max-time-windows value="100" />
<time-window-size value="1e-4" />
<exchange data="Force" mesh="Solid-Mesh" from="Fluid" to="Solid" />
<exchange data="DisplacementDelta" mesh="Solid-Mesh" from="Solid" to="Fluid" />
<exchange data="Displacement" mesh="Solid-Mesh" from="Solid" to="Fluid" />
<max-iterations value="30" />
<relative-convergence-measure limit="1e-3" data="DisplacementDelta" mesh="Solid-Mesh" />
<relative-convergence-measure limit="1e-3" data="Displacement" mesh="Solid-Mesh" />
<relative-convergence-measure limit="1e-3" data="Force" mesh="Solid-Mesh" />
<acceleration:IQN-IMVJ>
<data name="DisplacementDelta" mesh="Solid-Mesh" />
<data name="Displacement" mesh="Solid-Mesh" />
<preconditioner type="residual-sum" />
<initial-relaxation value="0.1" />
<max-used-iterations value="10" />
Expand Down
2 changes: 1 addition & 1 deletion elastic-tube-3d/solid-calculix/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ participants:
- nodes-mesh-with-connectivity: Solid-Mesh
patch: interface
read-data: [Force]
write-data: [DisplacementDelta]
write-data: [Displacement]

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