GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PDNMESH_INPUT(5) PdnMesh Manual PDNMESH_INPUT(5)

pdnmesh input format - used by pdnmesh, a 2D finite element program

None.

pdnmesh is a 2D finite element problem solver. The specification of the problem to be solved should be given to pdnmesh using a text file with a standard format. The input file name should be specified to pdnmesh using the -i option. Lines starting with a "#" or blank lines are ignored. The input file can be divided into the following sections.

Input point set:

The first line should give the number of points defined. The following lines should specify the point number, x coordinate, y coordinate, potential and whether the potential is fixed(1) or variable(0). The numbering of the points should start from 0.

Line set:

After the points, the detail about the lines or edges follow. It starts by giving the number of lines, below which on each line of the file, one edge is described. The format for describing an edge is: line number, first point, second point and whether the line is Neumann(0) or Dirichlet(1). As in points, numbering starts from 0.

Boundaries:

Finally, the boundaries should be specified. Boundaries are required to specify the problem geometry as well as to define material properties. In any problem there is at least one boundary i.e. the outer boundary.

The first line in the boundaries section should give the number of boundaries defined. There should be at least one. Then, the outer boundary detail should be specified and afterwards the remaining boundaries described in any order.

When describing any boundary, the following format should be used. In the first line, five items must be specified. The first one is the number of edges in the boundary. Next, either 1 or 0 should be given to keep or delete the triangles within this boundary.

The third item is the value of mu or permeability of the medium. Next, the fourth item is the permittivity or epsilon of the material. Finally, the charge density or current density should be specified. It should be noted that for most problems, all these values are not required and hence default (free space) values can be substituted. For instance, in an electrostatic problem, the permeability can be given as 1.

For the charge density or current density, an algebraic expression can be given. For instance, rho can be a constant like 1.00 or -2.11 or an expression like x+y*2, where x and y specify the coordinates. The mathematical operators and functions that can be used are:

+
addition 2 + y
-
subtraction 1 - x
*
multiplication y*5.5
^
power x^2
sin()
sine function
cos()
cosine function
log()
natural logarithm
step()
step function
abs()
modulus

It should be noted that some triangles would belong to more than one boundary. If so, the properties of these triangles will be dependent on the last updated boundary. Hence, it is advised to specify the smallest boundaries after specifying larger boundaries in the input file.

It is possible to import CAD Drawing Interchange Format (DXF) files to pdnMesh. Please see the tutorial for more detail.

pdnmesh(1)

Copyright © 2001-2005 Sarod Yatawatta

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both copyright notice and this permission notice appear in supporting documentation.

2005 April Version 0.2.2

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.