Skip to content

Commit dd1b840

Browse files
authored
OpenFOAM: Strictly require the preciceAdapterFunctionObject (#642)
1 parent ea7e520 commit dd1b840

35 files changed

Lines changed: 59 additions & 24 deletions

File tree

breaking-dam-2d/fluid-openfoam/system/controlDict

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ maxCo 2;
4343
maxAlphaCo 1;
4444
maxDeltaT 1;
4545

46+
libs ("libpreciceAdapterFunctionObject.so");
4647
functions
4748
{
4849
preCICE_Adapter
4950
{
5051
type preciceAdapterFunctionObject;
51-
libs ("libpreciceAdapterFunctionObject.so");
52+
errors strict; // Available since OpenFOAM v2012
5253
}
5354
}

changelog-entries/642.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Added the errors strict` option to cases using the OpenFOAM adapter (assumes OpenFOAM v2012 or later) [#642](https://github.com/precice/tutorials/pull/642).

channel-transport/fluid-openfoam/system/controlDict

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ timeFormat general;
3434

3535
timePrecision 6;
3636

37+
libs ("libpreciceAdapterFunctionObject.so");
3738
functions
3839
{
3940
preCICE_Adapter
4041
{
4142
type preciceAdapterFunctionObject;
42-
libs ("libpreciceAdapterFunctionObject.so");
43+
errors strict; // Available since OpenFOAM v2012
4344
}
4445
}

elastic-tube-3d/fluid-openfoam/system/controlDict

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ runTimeModifiable false;
3939

4040
adjustTimeStep no;
4141

42+
libs ("libpreciceAdapterFunctionObject.so");
4243
functions
4344
{
4445
preCICE_Adapter
4546
{
4647
type preciceAdapterFunctionObject;
47-
libs ("libpreciceAdapterFunctionObject.so");
48+
errors strict; // Available since OpenFOAM v2012
4849
}
4950
}

flow-around-controlled-moving-cylinder/fluid-openfoam/system/controlDict

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ adjustTimeStep no;
4141

4242
maxCo 0.75;
4343

44+
libs ("libpreciceAdapterFunctionObject.so");
4445
functions
4546
{
4647
#includeFunc forces
4748
preCICE_Adapter
4849
{
4950
type preciceAdapterFunctionObject;
50-
libs ("libpreciceAdapterFunctionObject.so");
51+
errors strict; // Available since OpenFOAM v2012
5152
}
5253
}

flow-over-heated-plate-nearest-projection/fluid-openfoam/system/controlDict

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ timePrecision 6;
3636

3737
runTimeModifiable false;
3838

39+
libs ("libpreciceAdapterFunctionObject.so");
3940
functions
4041
{
4142
preCICE_Adapter
4243
{
4344
type preciceAdapterFunctionObject;
44-
libs ("libpreciceAdapterFunctionObject.so");
45+
errors strict; // Available since OpenFOAM v2012
4546
}
4647
}

flow-over-heated-plate-nearest-projection/solid-openfoam/system/controlDict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ functions
4444
{
4545
type preciceAdapterFunctionObject;
4646
libs ("libpreciceAdapterFunctionObject.so");
47+
errors strict; // Available since OpenFOAM v2012
4748
}
4849
}
4950

flow-over-heated-plate-partitioned-flow/fluid1-openfoam/system/controlDict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ functions
4343
preCICE_Adapter
4444
{
4545
type preciceAdapterFunctionObject;
46+
errors strict; // Available since OpenFOAM v2012
4647
}
4748
}

flow-over-heated-plate-partitioned-flow/fluid2-openfoam/system/controlDict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ functions
4343
preCICE_Adapter
4444
{
4545
type preciceAdapterFunctionObject;
46+
errors strict; // Available since OpenFOAM v2012
4647
}
4748
}

flow-over-heated-plate-partitioned-flow/solid-openfoam/system/controlDict

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ functions
4444
{
4545
type preciceAdapterFunctionObject;
4646
libs ("libpreciceAdapterFunctionObject.so");
47+
errors strict; // Available since OpenFOAM v2012
4748
}
4849
}

0 commit comments

Comments
 (0)