Questions tagged [verification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
67 views

Setting up consistency tests in FVM

I am in need of some help to valdate a consistency test with a finite volume method solver. The idea is the following: Based on the method of manufactured solutions (MMS) I am supplying the analytical ...
user avatar
1 vote
0 answers
42 views

Manufactured solution for advection diffusion equation

I am using the method of manufactured solutions to verify the implementation of a code. My PDE is: $$ \frac{\partial (T)}{\partial t} + \nabla \cdot ( \vec{v} T) - \frac{1}{\rho C_P} \nabla \cdot (k \...
user avatar
  • 21
1 vote
0 answers
65 views

Confused on how Method of Manufactured solutions works?

I am new to computational science and I am trying to wrap my head around how MMS works. I am solving the time independent Helmholtz equation as a simple test of the technique so my starting equation ...
user avatar
1 vote
1 answer
111 views

Which 2D PDE with an exact solution can I use to test/verify my FEM-PDE code?

I have created a program to solve 2D, time-dependent PDEs with the finite element method and get reasonable looking results for the 2D acoustic wave equation. Now I would like to go further and solve ...
user avatar
  • 127
0 votes
2 answers
77 views

Verifying convergence of a stationary solution to a PDE with the Runge-Kutta method

I am numerically solving a nonlinear wave PDE using the Runge-Kutta method, and I know the solution I am looking for is constant in time, but I do not know the solution. What is a good way of ...
user avatar
7 votes
1 answer
213 views

Are there any drawbacks to using the Method of Manufactured Solutions for convergence testing?

Are there any drawbacks to using the Method of Manufactured Solutions for convergence testing and verification studies? I really can't think of any.
user avatar
  • 321
1 vote
0 answers
141 views

Method of manufactured solutions - choice of type of boundary conditions

I am attempting to use the method of manufactured solutions (MMS) for code verification for linear elasticity. However, this is more of a general question regarding the general use of MMS. In MMS, ...
user avatar
  • 321
1 vote
0 answers
86 views

Computational approaches to analyse numerical solutions

I apologise beforehand if the question isn't well defined or is too broad, I'm just having some difficulty finding the information I need. I also apologise if this should have been asked on stack ...
user avatar
  • 163
2 votes
2 answers
405 views

In practice, what are the most useful ways to visualize 2d fluid flow, to tell what is happening in the simulation? Esp for verification and debugging

My simulation creates a 2d grid of vectors and scalars (EDIT of velocity, depth etc), at 60 frames per second. Is it correct? It looks sort of right... but who knows? How can I tell what's happening - ...
user avatar
0 votes
2 answers
170 views

What would be a simple approach to validate a wave propagation code?

I have a linear elastic wave propagation code and an elastoplastic wave propagation code based on FEniCS. For now, I keep the 2D mesh (100, 100) fineness unit square and give a source wave of $\sin(...
user avatar
  • 347
0 votes
1 answer
112 views

What should I put on the paper to show the correctness and convergence of my solution?

I am using FEM to do an assignment on a heat conduction problem on a complex domain, which needs me to get the variation of the temparature distribution subject to the variation of boundary conditions,...
user avatar
  • 639
13 votes
2 answers
600 views

Verification in Eigenvalue problems

Let us start with a problem of the form $$(\mathcal{L} + k^2) u=0$$ with a set of given boundary conditions (Dirichlet, Neumann, Robin, Periodic, Bloch-Periodic). This corresponds with finding the ...
user avatar
  • 7,902
5 votes
1 answer
243 views

Method of Manufactured Solutions for non-differentiable coefficients

The Method of manufactured is commonly used for verification of computational science codes. I want to use the method for verification of Navier-Cauchy (elasticity) equations with periodic and Bloch-...
user avatar
  • 7,902
6 votes
1 answer
431 views

Guidelines for choosing manufactured solutions for numerical PDE schemes

When testing a numerical method for a PDE, I know that it's often useful to compare it to a known analytical solution. If none is available, one can always 'manufacture' a solution, substitute it ...
user avatar
  • 11.8k
10 votes
3 answers
2k views

manufactured solutions for incompressible Navier-Stokes -- how to find divergence-free velocity fields?

In the method of manufactured solutions (MMS) one postulates an exact solution, substitutes it in the equations and calculates the corresponding source term. The solution is then used for code ...
user avatar
  • 1,055