On Wed, Oct 31, 2018 at 11:37 AM Yuxiang Wang <yw...@virginia.edu> wrote:

> Dear all,
>
> Sorry for the spam.
>
> In system_of_equations_ex6.C, the example recognized which boundary is
> which by knowing the values for MIN_Z is 0, MIN_Y is 1, etc. to apply all
> sorts of boundary conditions. I wonder could anyone share with me a
> reference to find out how would I know which number is which boundary? I
> tried to export the mesh into EXO & UNV format, inspected with ParaView but
> the boundary id does not really get mentioned in those files.
>

In Paraview, you can view the boundary ids by going in the Search box at
the top of the Properties Pane and typing "set". This should bring up a
list of sideset/nodeset ids that you can then turn on/off to view the
different ones which are available.

If you have an Exodus file, you can dump it to ASCII by running the
$LIBMESH_DIR/bin/ncdump utility that gets installed by libMesh. In the
ASCII output, you will see entries like the following:

elem_ss1 = 1, 3 ;
side_ss1 = 3, 3 ;

which tells you that Elems 1 and 3 both have side 3 in sideset 1. This
might also be helpful if you are just trying to figure out which sideset
ids are available.

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to