I'm having an issue with a simple 1D Advection-Reaction Equation using discontinuous Galerkin. I have one variable that I call density, and when I try to set an initial condition it looks like half the domain does not get values. When I look at the solution for the nodaly interpolated "density" this is what I see:
Code: Select all
#time 1 1 1.00000000E-002
-3.88888889E+000
6.88888889E-001
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
1.00000000E+000
2.01250000E+000
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
1.66500123E-321
If anyone has any ideas it would be greatly appreciated.
Attached are my geometry and input files.
Thanks,
Wes
UPDATE:
I suspect this issue is in the mesh creation. I am using the command:
Code: Select all
ElmerGrid 1 2 line.grd -halo