File tree Expand file tree Collapse file tree 4 files changed +17
-13
lines changed
free-flow-over-porous-media
free-flow-dumux/solver-dumux
porous-media-dumux/solver-dumux Expand file tree Collapse file tree 4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22set -e -u
33
4+ (
45cd free-flow-dumux/build-cmake/appl
56make free_flow_dumux
6- cd ../../../porous-media-dumux/build-cmake/appl
7+ )
8+
9+ (
10+ cd porous-media-dumux/build-cmake/appl
711make porous_media_dumux
8- cd ../../../
12+ )
913
1014# Move free-flow-dumux and porous-media-dumux executables to the participant folder level
1115mv free-flow-dumux/build-cmake/appl/free_flow_dumux free-flow-dumux/
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ int main(int argc, char **argv)
353353 std::string preciceConfigFilename = " ../precice-config.xml" ;
354354
355355 auto &couplingParticipant = Dumux::Precice::CouplingAdapter::getInstance ();
356- couplingParticipant.announceSolver (" FreeFlow " , preciceConfigFilename,
356+ couplingParticipant.announceSolver (" Free-Flow " , preciceConfigFilename,
357357 mpiHelper.rank (), mpiHelper.size ());
358358
359359 const std::string meshName (" Free-Flow-Mesh" ); // mesh name
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ int main(int argc, char **argv)
166166 std::string preciceConfigFilename = " ../precice-config.xml" ;
167167
168168 auto &couplingParticipant = Dumux::Precice::CouplingAdapter::getInstance ();
169- couplingParticipant.announceSolver (" Darcy " , preciceConfigFilename,
169+ couplingParticipant.announceSolver (" Porous-Media " , preciceConfigFilename,
170170 mpiHelper.rank (), mpiHelper.size ());
171171
172172 const std::string meshName (" Porous-Media-Mesh" );
Original file line number Diff line number Diff line change 2121 <use-data name =" Pressure" />
2222 </mesh >
2323
24- <participant name =" FreeFlow " >
24+ <participant name =" Free-Flow " >
2525 <provide-mesh name =" Free-Flow-Mesh" />
26- <receive-mesh name =" Porous-Media-Mesh" from =" Darcy " />
26+ <receive-mesh name =" Porous-Media-Mesh" from =" Porous-Media " />
2727 <read-data name =" Velocity" mesh =" Free-Flow-Mesh" />
2828 <write-data name =" Pressure" mesh =" Free-Flow-Mesh" />
2929 <mapping : nearest-neighbor
3838 constraint =" consistent" />
3939 </participant >
4040
41- <participant name =" Darcy " >
41+ <participant name =" Porous-Media " >
4242 <provide-mesh name =" Porous-Media-Mesh" />
4343 <read-data name =" Pressure" mesh =" Porous-Media-Mesh" />
4444 <write-data name =" Velocity" mesh =" Porous-Media-Mesh" />
4545 </participant >
4646
47- <m2n : sockets acceptor =" FreeFlow " connector =" Darcy " exchange-directory =" .." />
47+ <m2n : sockets acceptor =" Free-Flow " connector =" Porous-Media " exchange-directory =" .." />
4848
4949 <coupling-scheme : parallel-implicit >
50- <participants first =" FreeFlow " second =" Darcy " />
50+ <participants first =" Free-Flow " second =" Porous-Media " />
5151 <max-time value =" 1" />
5252 <time-window-size value =" 1" />
5353 <max-iterations value =" 100" />
5454 <exchange
5555 data =" Pressure"
5656 mesh =" Porous-Media-Mesh"
57- from =" FreeFlow "
58- to =" Darcy "
57+ from =" Free-Flow "
58+ to =" Porous-Media "
5959 initialize =" false" />
6060 <exchange
6161 data =" Velocity"
6262 mesh =" Porous-Media-Mesh"
63- from =" Darcy "
64- to =" FreeFlow "
63+ from =" Porous-Media "
64+ to =" Free-Flow "
6565 initialize =" true" />
6666 <relative-convergence-measure limit =" 1e-6" data =" Pressure" mesh =" Porous-Media-Mesh" />
6767 <relative-convergence-measure limit =" 1e-6" data =" Velocity" mesh =" Porous-Media-Mesh" />
You can’t perform that action at this time.
0 commit comments