Skip to content

Commit 2d343d8

Browse files
Update beta from 1.3 to 1.2. (precice#379)
1 parent fddebee commit 2d343d8

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

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

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

7878
# 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/fenicsx/heat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def determine_gradient(V_g, u):
6868
error_tol = args.error_tol
6969

7070
alpha = 3 # parameter alpha
71-
beta = 1.3 # parameter beta
71+
beta = 1.2 # parameter beta
7272

7373
if args.dirichlet and not args.neumann:
7474
problem = ProblemType.DIRICHLET

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)