next up previous contents
Next: GEO file Up: Interface to the inbuilt Previous: Interface to the inbuilt   Contents

PRM file

The PRM file contains the description of the boundaries of the domain. An example of the PRM data file for an unit square mesh is given in Algorithm [*].
\begin{algorithm}
% latex2html id marker 981
\begin{lstlisting}
NBCT
1
IBCT
...
...000
\end{lstlisting}
\caption{UnitSquare.PRM file in ParMooN.}
\end{algorithm}

The parameters in the PRM data file are

NBCT : Number of Boundary Components. Its value is 1 when the entire domain only one part)
Then for each part of the domain describe the types of boundaries:
-
IBCT : Index of the part of the domain
-
NCOMP : Number of boundaries in current part of the domain
-
ITYP : Boundary type (line, curved, spline, etc, see Table [*])
-
NSPLINES : Number of Splines in the boundary
-
NPAR : Number of parameters used to describe the boundary
PARAMETERS : Parameter values
N_HOLES : Number of holes in the domain.
-
Points in each holes : coordinates of the hole

Table: Values for variable in PRM data file.
Geometry ITYP 2D$ /$ 3D NPAR Explanations
Line 1 2D,3D 2 starting coordinates, displacement
Circle 2 2D,3D 3 center coordinates, Radius_a & Radius_b, start angle & end angle
Spline 3 2D,3D    
Polynomial 4 2D,3D    
Non Uniform Spline 5 2D,3D    
Plane 10 3D 3 Coordinates of one point in plane, Orthogonal vectors in the plane, Outer normal vectors
Sphere 11 3D 3  


Note that a negative ITYP values is used to denote that the boundary part is curved so that it will be taken cake while refining the mesh and isoparametric transformation will be used during finite element mapping, e.g., -2 for Circle.


next up previous contents
Next: GEO file Up: Interface to the inbuilt Previous: Interface to the inbuilt   Contents
Sashi 2016-11-26