Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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  ig-
       nored. 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,  po-
       tential	and whether the	potential is fixed(1) or variable(0). The num-
       bering 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. Fi-
       nally, the charge density or current density should  be	specified.  It
       should  be  noted  that for most	problems, all these values are not re-
       quired 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 (C)  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)

NAME | SYNOPSIS | DESCRIPTION | SECTIONS | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pdnmesh_input&sektion=5&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help