Unable to get accurate solution of Laplace Equation in the presence of curved Dirichlet boundary. #3053
Replies: 2 comments 9 replies
-
If I understand correctly, your quantities of interest are gradients of the solution at fixed points, i.e.
which I would expect to converge at first-order "O(h)" if you are using linear Lagrange elements (and assuming the true solution is not linear, in which case you should likely recover the true solution using this FEM discretization). However, you only mention a single value, 5.158, which does not match the value of 5 that you expect. So my questions are:
|
Beta Was this translation helpful? Give feedback.
-
OK, so if I understand your table correctly, for the value of ~5.16 at Point 2, we have good agreement between libmesh and comsol, but at Point 1, which is close to the apex, we don't get good agreement. In addition, the value at Point 1 seems to vary quite a bit with the mesh in the libmesh case, but in the Comsol case the value seems almost independent of the mesh (~28). The Comsol behavior suggests the solution is already "converged" since the quantity of interest doesn't change much under the different mesh discretizations. Is Point 1 actually a vertex of the mesh in each case? One issue I see is that, because the gradient is actually discontinuous at the mesh vertices, the MeshFunction-based approach to evaluating it can pick any element which touches that vertex to evaluate the gradient in, and you would then get different values depending on which element is picked. Comsol may have a smarter approach for recovering the gradient at vertices, which is why the value doesn't seem to depend on the mesh density. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to calculate electric field enhancement factor at the apex of a hemi-ellipsoidal protrusion on a cathode plate in a parallel-plate diode where two conducting plate are kept at a distance 'd'. Cathode is assumed to be at zero potential and anode is at some fixed potential 'V'. Side walls are homogeneous 'Neumann' boundary.
For this purpose I am using libmesh-1.6.1 (compiled with petsc-3.15.1). Geometry and Mesh of the diode was created using Salome Platform and mesh file was exported in unv format . I adapted introduction_ex4.C file given example/introduction
Program file: introduction_ex4 -C.txt
Mesh file for just two plates:
cube-unv.txt
Mesh file for diode with hemi ellipsoid: At present I am unable to upload the file, may be due to large size of the file. Later I will post a link to the file in the thread.
In case of simple diode with two plates; cathode at zero and anode at 1000 volt, d=200 mm ( two Dirichlet boundaries and four homogeneous Neumann boundaries (side walls of the diode)), I get desired result, electric field is 5 V/mm.
When I solve the problem with hemi-ellipsoidal protrusion of height 40 mm on the cathode plate, it is expected that electric field at a point situated far-away from the protrusion should be same as that in the absence of protrusion. However I get 5.158 V/mm instead of 5.0 V/mm. I compared the field enhancement factor at the apex of the protrusion calculated using libMesh and AC/DC module of Comsol Multiphysics software as well. libMesh example program underpredicts the enhancement factor.
I shall highly appreciate any suggestion to improve the simulation result. (output log file and slice of solution of protrusion problem with mesh are attached below)
simulation-hemi-ellipsoid
log.txt
Thanks.
Raghwendra Kumar
Beta Was this translation helpful? Give feedback.
All reactions