Questions from github issue: https://github.com/devsim/devsim/issues/17#issuecomment-171147548
Sorry to bother you, but except transient, I have several questions about mesh I'd like to ask you.
On figure 3.1 in DevSim manual, I added n, p, Ψ and E, are they correct?
In your cap2d example, there are x-only and y-only mesh definitions independently each other.
create_2d_mesh(mesh=device)
add_2d_mesh_line(mesh=device, dir="y", pos=ymin, ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y1 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y2 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y3 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y4 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=ymax, ps=5.0)device=device
region="air"add_2d_mesh_line(mesh=device, dir="x", pos=xmin, ps=5)
add_2d_mesh_line(mesh=device, dir="x", pos=x1 , ps=2)
add_2d_mesh_line(mesh=device, dir="x", pos=x2 , ps=0.05)
add_2d_mesh_line(mesh=device, dir="x", pos=x3 , ps=0.05)
add_2d_mesh_line(mesh=device, dir="x", pos=x4 , ps=2)
add_2d_mesh_line(mesh=device, dir="x", pos=xmax, ps=5)
Does DevSim generates rectangular or triangle mesh? The plot by Paraview seems to show it is triangles.
Then, how can DevSim generate these triangles ?
And if triangles, what does node volume look like?
In your gmsh_diode3d example, I can see complicated triangle mesh not from rectangular mesh.
What is the policy of generating this mesh? And how? This may be impossible with DevSim functions.
Questions from github issue: https://github.com/devsim/devsim/issues/17#issuecomment-171147548
Sorry to bother you, but except transient, I have several questions about mesh I'd like to ask you.
On figure 3.1 in DevSim manual, I added n, p, Ψ and E, are they correct?
In your cap2d example, there are x-only and y-only mesh definitions independently each other.
create_2d_mesh(mesh=device)
add_2d_mesh_line(mesh=device, dir="y", pos=ymin, ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y1 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y2 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y3 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=y4 , ps=0.1)
add_2d_mesh_line(mesh=device, dir="y", pos=ymax, ps=5.0)device=device
region="air"add_2d_mesh_line(mesh=device, dir="x", pos=xmin, ps=5)
add_2d_mesh_line(mesh=device, dir="x", pos=x1 , ps=2)
add_2d_mesh_line(mesh=device, dir="x", pos=x2 , ps=0.05)
add_2d_mesh_line(mesh=device, dir="x", pos=x3 , ps=0.05)
add_2d_mesh_line(mesh=device, dir="x", pos=x4 , ps=2)
add_2d_mesh_line(mesh=device, dir="x", pos=xmax, ps=5)Does DevSim generates rectangular or triangle mesh? The plot by Paraview seems to show it is triangles.
Then, how can DevSim generate these triangles ?
And if triangles, what does node volume look like?
In your gmsh_diode3d example, I can see complicated triangle mesh not from rectangular mesh.
What is the policy of generating this mesh? And how? This may be impossible with DevSim functions.
./examples/bioapp1/disk_2d.geo
./examples/bioapp1/disk_3d.geo
./examples/mobility/gmsh_mos2d.geo
./examples/vectorpotential/twowire.geo
./testing/gmsh_mos2d.geo
./testing/gmsh_mos3d.geo
I may have a .geo file somewhere, which can recreate the diode structure.
This figure is also incorrect. It should actually look like this:
The NodeVolume is contained in the red box. The flux is integrated through the perpendicular bisector of each edge. For this special case, the length of the EdgeCouple for the diagonal lines is zero.