Interface derivatives test

Interface derivative coefficients

Test InterfaceDerivCoeffs with

  • Hermite boundary conditions and additional interpolation points as closure condition.
  • Uniform and non-uniform meshes.
  • Different patch connections as follows:

Illustration test 1

Illustration test 2

Illustration test 3

Illustration test 4

Illustration test 5

with \(\theta\) and \(\xi\) periodic.

Interface derivative matrix with approximation formula

Test InterfacesDerivativeCalculator with the following test cases

  • In interfaces_derivative_matrix_Greville_periodic_test: we test with additional interpolation points as closure condition for the \(y\)-axis(ddc::SplineBuilderClosure::GREVILLE) at the North and the South of the global domain, and periodic boundary conditions for the \(x\)-axis (ddc::SplineBuilderClosure::PERIODIC) at the West and the East of the global domain. All the patches follow the same orientation as the global domain.

Illustration test Greville and periodic boundary conditions

  • In interfaces_derivative_matrix_Hermite_test: we test with Hermite boundary conditions for the following layouts to test the signs of the derivatives.

  • In Fig. 7, we test that the correct values and signs are selected, especially for the left boundary.

  • In Fig. 8, we test that the correct values and signs are selected, especially after several inversions.
  • In Fig. 9, we test that the correct values and signs are selected, especially for the right boundary.
  • In Fig. 10, we test with an agreement of the direction of the derivatives along \(x_1\) but not on \(y_1\) for the left boundary.
  • In Fig. 11, we test with an agreement of the direction of the derivatives along \(y_3\) but not on \(x_3\) for the right boundary.

Illustration test with reversed Patch1

Illustration test with reversed Patch2

Illustration test with reversed Patch3

Illustration test with changed bound Patch1

Illustration test with changed bound Patch3