Skip to content

Commit 8109756

Browse files
Update beta from 1.3 to 1.2. (precice#379)
1 parent 0482e5b commit 8109756

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

partitioned-heat-conduction-complex/fenics/heat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def determine_gradient(V_g, u, flux):
7575
# Error is bounded by coupling accuracy. In theory we can obtain the analytical solution.
7676
error_tol = 10 ** -6
7777
alpha = 3 # parameter alpha
78-
beta = 1.3 # parameter beta
78+
beta = 1.2 # parameter beta
7979
gamma = args.gamma # parameter gamma, dependence of heat flux on time
8080

8181
# Create mesh and separate mesh components for grid, boundary and coupling interface

partitioned-heat-conduction-direct/nutils/heat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import precice
88

99

10-
def main(side='Dirichlet', n=10, degree=1, timestep=.1, alpha=3., beta=1.3):
10+
def main(side='Dirichlet', n=10, degree=1, timestep=.1, alpha=3., beta=1.2):
1111

1212
if side == 'Dirichlet':
1313
x_grid = np.linspace(0, 1, n)

partitioned-heat-conduction/nutils/heat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import precice
88

99

10-
def main(side='Dirichlet', n=10, degree=1, timestep=.1, alpha=3., beta=1.3):
10+
def main(side='Dirichlet', n=10, degree=1, timestep=.1, alpha=3., beta=1.2):
1111

1212
if side == 'Dirichlet':
1313
x_grid = np.linspace(0, 1, n)

partitioned-heat-conduction/openfoam-dirichlet/0.orig/T

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ boundaryField
2222
DirichletBoundary
2323
{
2424
type groovyBC;
25-
variables "val=1+pow(pos().x,2)+(3*pow(pos().y,2))+1.3*time();";
25+
variables "val=1+pow(pos().x,2)+(3*pow(pos().y,2))+1.2*time();";
2626
valueExpression "val";
2727
value uniform 0;
2828
evaluateDuringConstruction 1;

partitioned-heat-conduction/openfoam-dirichlet/setInitialField.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -e -u
55
rm -rf ./0
66
cp -r ./0.orig 0
77
# Initialize the new field
8-
funkySetFields -keepPatches -field T -expression '1+pow(pos().x,2)+(3*pow(pos().y,2))+1.3*time()' -time '0'
8+
funkySetFields -keepPatches -field T -expression '1+pow(pos().x,2)+(3*pow(pos().y,2))+1.2*time()' -time '0'

partitioned-heat-conduction/openfoam-neumann/0.orig/T

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ boundaryField
2222
DirichletBoundary
2323
{
2424
type groovyBC;
25-
variables "val=1+pow(pos().x,2)+(3*pow(pos().y,2))+1.3*time();";
25+
variables "val=1+pow(pos().x,2)+(3*pow(pos().y,2))+1.2*time();";
2626
valueExpression "val";
2727
value uniform 0;
2828
evaluateDuringConstruction 1;

partitioned-heat-conduction/openfoam-neumann/setInitialField.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -e -u
55
rm -rf ./0
66
cp -r ./0.orig 0
77
# Initialize the new field
8-
funkySetFields -keepPatches -field T -expression '1+pow(pos().x,2)+(3*pow(pos().y,2))+1.3*time()' -time '0'
8+
funkySetFields -keepPatches -field T -expression '1+pow(pos().x,2)+(3*pow(pos().y,2))+1.2*time()' -time '0'

partitioned-heat-conduction/openfoam-solver/heatTransfer.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
6262
Info<< "\nCalculating temperature distribution\n" << endl;
6363

6464
const double alpha = 3;
65-
const double beta = 1.3;
65+
const double beta = 1.2;
6666
const double rhs = beta - 2 - 2 * alpha;
6767

6868
volScalarField f

0 commit comments

Comments
 (0)