pdnmesh_input man page on DragonFly
[printable version]
PDNMESH_INPUT(5) PdnMesh Manual PDNMESH_INPUT(5)
NAME
pdnmesh input format - used by pdnmesh, a 2D finite element program
SYNOPSIS
None.
DESCRIPTION
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.
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 num‐
ber, 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 bound‐
aries 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 num‐
ber 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.
SEE ALSO
pdnmesh(1)
COPYRIGHT
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, pro‐
vided that the above copyright notice appear in all copies and that
both copyright notice and this permission notice appear in supporting
documentation.
Version 0.2.2 2005 April PDNMESH_INPUT(5)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|