Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-appl
dumux-preCICE
Commits
4d40babd
Commit
4d40babd
authored
Aug 06, 2021
by
Alexander Jaust
Browse files
Merge branch 'feature/update-to-preCICE-2.0' into 'develop'
Update to preCICE v2 See merge request
!7
parents
52cfd681
fc3e05cd
Pipeline
#9686
failed with stages
in 10 minutes and 55 seconds
Changes
27
Pipelines
70
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4d40babd
#image: dumux-precice:3.3git-iterative-pr-2.2.0
image
:
dumux-precice:3.3git-iterative-pr-
1.6.1
#image: dumux-precice:3.1-1.6.1
image
:
dumux-precice:3.3git-iterative-pr-
2.2.0
stages
:
-
check
...
...
@@ -50,7 +50,7 @@ build-iterative-coupling:3.3git-iterative-pr-1.6.1:
# <<: *build-iterative-coupling
build-iterative-coupling:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*build-iterative-coupling
build-iterative-coupling:master-1.6.1:
...
...
@@ -90,7 +90,7 @@ build-monolithic-coupling:3.3git-iterative-pr-1.6.1:
# <<: *build-monolithic-coupling
build-monolithic-coupling:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*build-monolithic-coupling
build-monolithic-coupling:3.3git-iterative-pr-1.6.1:
...
...
@@ -116,8 +116,8 @@ build-monolithic-coupling:master-1.6.1:
paths
:
-
build-cmake/appl/coupling-ff-pm/fvca-iterative/Testing/Temporary/LastTest.log
-
build-cmake/appl/coupling-ff-pm/fvca-iterative/Testing/Temporary/LastTestsFailed.log
-
"
./
build-cmake/appl/coupling-ff-pm/fvca-iterative/*.log
"
-
"
./
build-cmake/appl/coupling-ff-pm/fvca-iterative/*.txt
"
-
build-cmake/appl/coupling-ff-pm/fvca-iterative/*.log
-
build-cmake/appl/coupling-ff-pm/fvca-iterative/*.txt
# needs:
# - build-iterative-coupling
...
...
@@ -136,7 +136,7 @@ test-iterative-coupling:3.3git-iterative-pr-1.6.1:
# - build-iterative-coupling:3.3-1.6.1
test-iterative-coupling:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*test-iterative-coupling
needs
:
-
build-iterative-coupling:3.3-1.6.1
...
...
@@ -170,7 +170,7 @@ test-monolithic-coupling:3.3git-iterative-pr-1.6.1:
# - build-monolithic-coupling:3.3-1.6.1
test-monolithic-coupling:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*test-monolithic-coupling
needs
:
-
build-monolithic-coupling:3.3-1.6.1
...
...
@@ -206,7 +206,7 @@ build-monolithic-flow-over-step-2d:3.3git-iterative-pr-1.6.1:
# <<: *build-monolithic-flow-over-step-2d
build-monolithic-flow-over-step-2d:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*build-monolithic-flow-over-step-2d
build-monolithic-flow-over-step-2d:master-1.6.1:
...
...
@@ -241,7 +241,7 @@ test-monolithic-flow-over-step-2d:3.3git-iterative-pr-1.6.1:
# - build-monolithic-flow-over-step-2d:3.3-1.6.1
test-monolithic-flow-over-step-2d:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*test-monolithic-flow-over-step-2d
needs
:
-
build-monolithic-flow-over-step-2d:3.3-1.6.1
...
...
@@ -277,7 +277,7 @@ build-monolithic-ff-pm-3d:3.3git-iterative-pr-1.6.1:
# <<: *build-monolithic-ff-pm-3d
build-monolithic-ff-pm-3d:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*build-monolithic-ff-pm-3d
build-monolithic-ff-pm-3d:master-1.6.1:
...
...
@@ -316,7 +316,7 @@ test-monolithic-ff-pm-3d:3.3git-iterative-pr-1.6.1:
# - build-monolithic-ff-pm-3d:3.3-1.6.1
test-monolithic-ff-pm-3d:3.3-1.6.1:
image
:
ub2004-dumux-precice:3.3-
1.6
.1
image
:
ub2004-dumux-precice:3.3-
2.2
.1
<<
:
*test-monolithic-ff-pm-3d
needs
:
-
build-monolithic-ff-pm-3d:3.3-1.6.1
...
...
README.md
View file @
4d40babd
...
...
@@ -5,8 +5,7 @@ This repository provides a DuMuX specific adapter to couple to other codes using
-
DuMuX
**newer**
than 3.2
-
Some of
-
preCICE 1.6.X
-
We are working on supporting newer versions of preCICE at the moment.
-
preCICE >=2.0.0
## Running partitioned coupling
...
...
appl/coupling-ff-pm/fvca-iterative/Allclean.sh
View file @
4d40babd
#! /usr/bin/env bash
rm
-rf
"precice-run/"
rm
-f
"
${
ff_solver
}
.log"
"
${
pm_solver
}
.log"
rm
-f
precice-
*
.log
rm
-f
precice-
*
.json
rm
-f
*
.vtu
*
.pvd
*
.log
\ No newline at end of file
appl/coupling-ff-pm/fvca-iterative/main_fvca-iterative-pm.cc
View file @
4d40babd
...
...
@@ -322,16 +322,16 @@ try {
setInterfaceVelocities
<
FluxVariables
>
(
*
darcyProblem
,
*
darcyGridVariables
,
sol
);
// For testing
{
const
auto
v
=
couplingInterface
.
getQuantityVector
(
velocityId
);
std
::
cout
<<
"velocities to be sent to ff"
<<
std
::
endl
;
for
(
size_t
i
=
0
;
i
<
v
.
size
();
++
i
)
{
for
(
size_t
d
=
0
;
d
<
dim
;
++
d
)
{
std
::
cout
<<
coords
[
i
*
dim
+
d
]
<<
" "
;
}
std
::
cout
<<
"| v["
<<
i
<<
"]="
<<
v
[
i
]
<<
std
::
endl
;
}
}
//
{
//
const auto v = couplingInterface.getQuantityVector(velocityId);
//
std::cout << "velocities to be sent to ff" << std::endl;
//
for (size_t i = 0; i < v.size(); ++i) {
//
for (size_t d = 0; d < dim; ++d) {
//
std::cout << coords[i * dim + d] << " ";
//
}
//
std::cout << "| v[" << i << "]=" << v[i] << std::endl;
//
}
//
}
couplingInterface
.
writeScalarQuantityToOtherSolver
(
velocityId
);
couplingInterface
.
announceInitialDataWritten
();
}
...
...
appl/coupling-ff-pm/fvca-iterative/pmproblem-reversed.hh
View file @
4d40babd
...
...
@@ -195,9 +195,11 @@ class DarcySubProblem : public PorousMediumFlowProblem<TypeTag>
values
=
initial
(
element
);
const
auto
faceId
=
scvf
.
index
();
if
(
couplingInterface_
.
isCoupledEntity
(
faceId
))
if
(
couplingInterface_
.
isCoupledEntity
(
faceId
))
{
values
=
couplingInterface_
.
getScalarQuantityOnFace
(
pressureId_
,
faceId
);
//std::cout << "Pressure on face " << faceId << " is " << couplingInterface_.getScalarQuantityOnFace(pressureId_, faceId) << std::endl;
}
return
values
;
}
...
...
appl/coupling-ff-pm/fvca-iterative/precice-config-parallel-implicit.xml
View file @
4d40babd
...
...
@@ -2,9 +2,9 @@
<precice-configuration>
<log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<solver-interface
dimensions=
"2"
>
...
...
@@ -28,52 +28,51 @@
<read-data
name=
"Velocity"
mesh=
"FreeFlowMesh"
/>
<write-data
name=
"Pressure"
mesh=
"FreeFlowMesh"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
</participant>
<participant
name=
"Darcy"
>
<use-mesh
name=
"DarcyMesh"
provide=
"yes"
/>
<read-data
name=
"Pressure"
mesh=
"DarcyMesh"
/>
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:parallel-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
<participants
first=
"FreeFlow"
second=
"Darcy"
/>
<exchange
data=
"Pressure"
mesh=
"DarcyMesh"
from=
"FreeFlow"
to=
"Darcy"
initialize=
"false"
/>
<exchange
data=
"Velocity"
mesh=
"DarcyMesh"
from=
"Darcy"
to=
"FreeFlow"
initialize=
"true"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Pressure"
mesh=
"DarcyMesh"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Velocity"
mesh=
"DarcyMesh"
/>
<!--
<relative-convergence-measure limit="1.0e-2" data="Velocity" mesh="FreeFlowMesh"/>
-->
<relative-convergence-measure
limit=
"1e-6"
data=
"Pressure"
mesh=
"DarcyMesh"
/>
<relative-convergence-measure
limit=
"1e-6"
data=
"Velocity"
mesh=
"DarcyMesh"
/>
<!--
<absolute-convergence-measure limit="1e-13" data="Pressure" mesh="DarcyMesh"/>
<absolute-convergence-measure limit="1e-13" data="Velocity" mesh="DarcyMesh"/>
-->
<extrapolation-order
value=
"0"
/>
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Pressure"
/>
<data
mesh=
"DarcyMesh"
name=
"Velocity"
/>
<preconditioner
type=
"residual-sum"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"
1
0"
/>
<time
-window
s-reused
value=
"0"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</post-processing:IQN-ILS>
</acceleration:IQN-ILS>
</coupling-scheme:parallel-implicit>
</solver-interface>
</precice-configuration>
...
...
appl/coupling-ff-pm/fvca-iterative/precice-config-serial-implicit-darcy-first.xml
View file @
4d40babd
...
...
@@ -2,9 +2,9 @@
<precice-configuration>
<log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<solver-interface
dimensions=
"2"
>
...
...
@@ -28,51 +28,51 @@
<read-data
name=
"Velocity"
mesh=
"FreeFlowMesh"
/>
<write-data
name=
"Pressure"
mesh=
"FreeFlowMesh"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
</participant>
<participant
name=
"Darcy"
>
<use-mesh
name=
"DarcyMesh"
provide=
"yes"
/>
<read-data
name=
"Pressure"
mesh=
"DarcyMesh"
/>
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:serial-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
<participants
first=
"Darcy"
second=
"FreeFlow"
/>
<exchange
data=
"Pressure"
mesh=
"DarcyMesh"
from=
"FreeFlow"
to=
"Darcy"
initialize=
"true"
/>
<exchange
data=
"Velocity"
mesh=
"DarcyMesh"
from=
"Darcy"
to=
"FreeFlow"
initialize=
"false"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Pressure"
mesh=
"DarcyMesh"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Velocity"
mesh=
"DarcyMesh"
/>
<!--
<relative-convergence-measure limit="1.0e-2" data="Velocity" mesh="FreeFlowMesh"/>
-->
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Pressure"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"10"
/>
<time
-window
s-reused
value=
"10"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</post-processing:IQN-ILS>
</acceleration:IQN-ILS>
</coupling-scheme:serial-implicit>
</solver-interface>
</precice-configuration>
...
...
appl/coupling-ff-pm/fvca-iterative/precice-config-serial-implicit-stokes-first.xml
View file @
4d40babd
...
...
@@ -2,9 +2,9 @@
<precice-configuration>
<log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<sink
type=
"stream"
output=
"stdout"
filter=
"(%Severity% > debug) or (%Severity% >= trace and %Module% contains SolverInterfaceImpl)"
enabled=
"false"
/>
<sink
type=
"stream"
output=
"stdout"
enabled=
"false"
/>
</log>
<solver-interface
dimensions=
"2"
>
...
...
@@ -28,51 +28,51 @@
<read-data
name=
"Velocity"
mesh=
"FreeFlowMesh"
/>
<write-data
name=
"Pressure"
mesh=
"FreeFlowMesh"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"write"
from=
"FreeFlowMesh"
to=
"DarcyMesh"
constraint=
"consistent"
/>
<mapping:nearest-neighbor
direction=
"read"
from=
"DarcyMesh"
to=
"FreeFlowMesh"
constraint=
"consistent"
/>
</participant>
<participant
name=
"Darcy"
>
<use-mesh
name=
"DarcyMesh"
provide=
"yes"
/>
<read-data
name=
"Pressure"
mesh=
"DarcyMesh"
/>
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:serial-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
<participants
first=
"FreeFlow"
second=
"Darcy"
/>
<exchange
data=
"Pressure"
mesh=
"DarcyMesh"
from=
"FreeFlow"
to=
"Darcy"
initialize=
"false"
/>
<exchange
data=
"Velocity"
mesh=
"DarcyMesh"
from=
"Darcy"
to=
"FreeFlow"
initialize=
"true"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Pressure"
mesh=
"DarcyMesh"
/>
<relative-convergence-measure
limit=
"1e-8"
data=
"Velocity"
mesh=
"DarcyMesh"
/>
<!--
<relative-convergence-measure limit="1.0e-2" data="Velocity" mesh="FreeFlowMesh"/>
-->
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Velocity"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"10"
/>
<time
-window
s-reused
value=
"10"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</post-processing:IQN-ILS>
</acceleration:IQN-ILS>
</coupling-scheme:serial-implicit>
</solver-interface>
</precice-configuration>
...
...
appl/precice-adapter/src/preciceadapter.cc
View file @
4d40babd
...
...
@@ -32,9 +32,9 @@ void PreciceAdapter::announceSolver(const std::string &name,
const
int
size
)
{
assert
(
precice_
==
nullptr
);
precice_
=
std
::
make_unique
<
precice
::
SolverInterface
>
(
name
,
rank
,
size
);
precice_
=
std
::
make_unique
<
precice
::
SolverInterface
>
(
name
,
configurationFileName
,
rank
,
size
);
wasCreated_
=
true
;
precice_
->
configure
(
configurationFileName
);
}
size_t
PreciceAdapter
::
announceQuantity
(
const
std
::
string
&
name
)
...
...
@@ -272,7 +272,7 @@ bool PreciceAdapter::checkIfActionIsRequired(const std::string &condition)
void
PreciceAdapter
::
actionIsFulfilled
(
const
std
::
string
&
condition
)
{
assert
(
wasCreated_
);
precice_
->
f
ulfilled
Action
(
condition
);
precice_
->
markActionF
ulfilled
(
condition
);
}
void
PreciceAdapter
::
readBlockScalarDataFromPrecice
(
const
int
dataID
,
...
...
@@ -303,7 +303,7 @@ bool PreciceAdapter::hasToWriteInitialData()
void
PreciceAdapter
::
announceInitialDataWritten
()
{
assert
(
wasCreated_
);
precice_
->
f
ulfilled
Action
(
precice
::
constants
::
actionWriteInitialData
());
precice_
->
markActionF
ulfilled
(
precice
::
constants
::
actionWriteInitialData
());
}
bool
PreciceAdapter
::
hasToReadIterationCheckpoint
()
...
...
test/partitioned/flow-over-square-2d/precice-config-pi.xml
View file @
4d40babd
...
...
@@ -40,12 +40,12 @@
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:parallel-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
...
...
@@ -67,15 +67,15 @@
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Pressure"
/>
<data
mesh=
"DarcyMesh"
name=
"Velocity"
/>
<preconditioner
type=
"residual-sum"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"10"
/>
<time
-window
s-reused
value=
"10"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</
post-processing
:IQN-ILS>
</
acceleration
:IQN-ILS>
</coupling-scheme:parallel-implicit>
...
...
test/partitioned/flow-over-square-2d/precice-config-si-free-flow-first.xml
View file @
4d40babd
...
...
@@ -40,12 +40,12 @@
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:serial-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
...
...
@@ -67,14 +67,14 @@
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Velocity"
/>
<preconditioner
type=
"residual-sum"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"10"
/>
<time
-window
s-reused
value=
"10"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</
post-processing
:IQN-ILS>
</
acceleration
:IQN-ILS>
</coupling-scheme:serial-implicit>
...
...
test/partitioned/flow-over-square-2d/precice-config-si-free-flow-second.xml
View file @
4d40babd
...
...
@@ -40,12 +40,12 @@
<write-data
name=
"Velocity"
mesh=
"DarcyMesh"
/>
</participant>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
distribution-type=
"gather-scatter"
network=
"lo"
/>
<m2n:sockets
from=
"FreeFlow"
to=
"Darcy"
network=
"lo"
/>
<coupling-scheme:serial-implicit>
<max-time
value=
"1"
/>
<time
step-length
value=
"1"
/>
<time
-window-size
value=
"1"
/>
<max-iterations
value=
"100"
/>
...
...
@@ -67,14 +67,14 @@
<extrapolation-order
value=
"0"
/>
<
post-processing
:IQN-ILS>
<
acceleration
:IQN-ILS>
<data
mesh=
"DarcyMesh"
name=
"Pressure"
/>
<preconditioner
type=
"residual-sum"
/>
<initial-relaxation
value=
"0.1"
/>
<max-used-iterations
value=
"40"
/>
<time
step
s-reused
value=
"10"
/>
<time
-window
s-reused
value=
"10"
/>
<filter
type=
"QR2"
limit=
"1e-3"
/>
</
post-processing
:IQN-ILS>
</
acceleration
:IQN-ILS>
</coupling-scheme:serial-implicit>
...
...
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_first_si_coupliter_darcy.log
View file @
4d40babd
Timesteps Total_Iterations Iterations Convergence avgConvRate(0) avgConvRate(1) avgConvRate(2) avgConvRate(3) deleted_Columns
1 5 5 1 0.0364956513966455 0.0530132049208886 0.0365565658952239 0.0530009039678227 0
\ No newline at end of file
TimeWindow TotalIterations Iterations Convergence QNColumns DeletedQNColumns DroppedQNColumns
1 5 5 1 4 0 0
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_first_si_coupliter_navierstokes.log
View file @
4d40babd
Time
steps
Total
_
Iterations Iterations Convergence
Time
Window
TotalIterations Iterations Convergence
1 5 5 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_first_si_coupliter_stokes.log
deleted
100644 → 0
View file @
52cfd681
Timesteps Total_Iterations Iterations Convergence
1 5 5 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_pi_coupliter_darcy.log
View file @
4d40babd
Timesteps Total_Iterations Iterations Convergence avgConvRate(0) avgConvRate(1) avgConvRate(2) avgConvRate(3) deleted_Columns
1 10 10 1 0.1841789403799067 0.0000000000000000 0.1843325818410788 inf 1
\ No newline at end of file
TimeWindow TotalIterations Iterations Convergence avgConvRate(0) avgConvRate(1) avgConvRate(2) avgConvRate(3) deleted_Columns
1 10 10 1 0.1841789403799067 0.0000000000000000 0.1843325818410788 inf 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_pi_coupliter_navierstokes.log
View file @
4d40babd
Time
steps
Total
_
Iterations Iterations Convergence
Time
Window
TotalIterations Iterations Convergence
1 10 10 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_pi_coupliter_stokes.log
deleted
100644 → 0
View file @
52cfd681
Timesteps Total_Iterations Iterations Convergence
1 10 10 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_second_si_coupliter_darcy.log
View file @
4d40babd
Time
steps
Total
_
Iterations Iterations Convergence
Time
Window
TotalIterations Iterations Convergence
1 6 6 1
\ No newline at end of file
test/reference-solutions/partitioned/flow-over-square-2d/test_navierstokes_second_si_coupliter_navierstokes.log
View file @
4d40babd
Timesteps Total_Iterations Iterations Convergence avgConvRate(0) avgConvRate(1) avgConvRate(2) avgConvRate(3) deleted_Columns
1 6 6 1 0.0381780618831926 0.0000000000000000 0.0382311566559945 inf 0
\ No newline at end of file
TimeWindow TotalIterations Iterations Convergence QNColumns DeletedQNColumns DroppedQNColumns
1 6 6 1 5 0 0
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment