Link to the source code for this example:

Open transient_ex2 in new tab.


The console output of the program:

  CXX      example_dbg-transient_ex2.o
  CXXLD    example-dbg
***************************************************************
* Running Example transient_ex2:
*   example-opt pipe-mesh.unv 
***************************************************************
 
Running /Users/petejw/projects/libmesh_git/build/examples/transient/transient_ex2/.libs/example-opt pipe-mesh.unv

Mesh file is: pipe-mesh.unv
*** Warning, This code is deprecated, and likely to be removed in future library versions! ../src/mesh/unstructured_mesh.C, line 595, compiled Apr 12 2016 at 11:08:32 ***
 Mesh Information:
  elem_dimensions()={3}
  spatial_dimension()=3
  n_nodes()=3977
    n_local_nodes()=3977
  n_elem()=3520
    n_local_elem()=3520
    n_active_elem()=3520
  n_subdomains()=1
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0

 EquationSystems
  n_systems()=1
   System #0, "Wave"
    Type "Newmark"
    Variables="p" 
    Finite Element Types="LAGRANGE", "JACOBI_20_00" 
    Infinite Element Mapping="CARTESIAN" 
    Approximation Orders="FIRST", "THIRD" 
    n_dofs()=3977
    n_local_dofs()=3977
    n_constrained_dofs()=0
    n_local_constrained_dofs()=0
    n_vectors()=9
    n_matrices()=4
    DofMap Sparsity
      Average  On-Processor Bandwidth <= 23.3968
      Average Off-Processor Bandwidth <= 0
      Maximum  On-Processor Bandwidth <= 27
      Maximum Off-Processor Bandwidth <= 0
    DofMap Constraints
      Number of DoF Constraints = 0


 -------------------------------------------------------------------------------------------------------------------
| Time:           Wed Apr 13 10:17:21 2016                                                                          |
| OS:             Darwin                                                                                            |
| HostName:       peterson-laptop.local                                                                             |
| OS Release:     15.0.0                                                                                            |
| OS Version:     Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64  |
| Machine:        x86_64                                                                                            |
| Username:       petejw                                                                                            |
| Configuration:  ../configure  'INSTALL=/usr/bin/install -C'                                                       |
|  '--with-methods=opt dbg'                                                                                         |
|  '--prefix=/Users/petejw/projects/libmesh_git/installed'                                                          |
|  '--enable-perflog'                                                                                               |
|  '--enable-tracefiles'                                                                                            |
|  '--disable-blocked-storage'                                                                                      |
|  '--enable-default-comm-world'                                                                                    |
|  '--enable-tecio'                                                                                                 |
|  '--enable-unique-ptr'                                                                                            |
|  '--enable-ifem'                                                                                                  |
|  'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu'                                                 |
|  'SLEPC_DIR=/opt/petejw/slepc/3.6.1'                                                                              |
|  'CPPFLAGS= '                                                                                                     |
|  'LIBS= '                                                                                                         |
|  'CPPFLAGS=  '                                                                                                    |
|  'LIBS=  '                                                                                                        |
|  '--disable-netcdf-4'                                                                                             |
|  '--disable-testsets'                                                                                             |
|  'CXX=mpicxx'                                                                                                     |
|  'CC=mpicc'                                                                                                       |
|  'F77=mpif77'                                                                                                     |
|  'FC=mpif90'                                                                                                      |
|  'CPPFLAGS=   '                                                                                                   |
|  'LIBS=   '                                                                                                       |
 -------------------------------------------------------------------------------------------------------------------
 -----------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=1.06004, Active time=1.01847                                                    |
 -----------------------------------------------------------------------------------------------------------------
| Event                              nCalls     Total Time  Avg Time    Total Time  Avg Time    % of Active Time  |
|                                               w/o Sub     w/o Sub     With Sub    With Sub    w/o S    With S   |
|-----------------------------------------------------------------------------------------------------------------|
|                                                                                                                 |
|                                                                                                                 |
| DofMap                                                                                                          |
|   add_neighbors_to_send_list()     1          0.0008      0.000794    0.0008      0.000794    0.08     0.08     |
|   build_sparsity()                 1          0.0065      0.006523    0.0076      0.007563    0.64     0.74     |
|   create_dof_constraints()         1          0.0002      0.000205    0.0002      0.000205    0.02     0.02     |
|   distribute_dofs()                1          0.0006      0.000575    0.0034      0.003363    0.06     0.33     |
|   dof_indices()                    21120      0.0051      0.000000    0.0051      0.000000    0.50     0.50     |
|   prepare_send_list()              2          0.0000      0.000000    0.0000      0.000000    0.00     0.00     |
|   reinit()                         1          0.0028      0.002787    0.0028      0.002787    0.27     0.27     |
|                                                                                                                 |
| EquationSystems                                                                                                 |
|   build_solution_vector()          4          0.0088      0.002204    0.0129      0.003217    0.87     1.26     |
|                                                                                                                 |
| FE                                                                                                              |
|   compute_shape_functions()        3520       0.0070      0.000002    0.0070      0.000002    0.69     0.69     |
|   init_shape_functions()           8          0.0001      0.000007    0.0001      0.000007    0.01     0.01     |
|                                                                                                                 |
| FEMap                                                                                                           |
|   compute_affine_map()             2880       0.0025      0.000001    0.0025      0.000001    0.25     0.25     |
|   compute_map()                    640        0.0016      0.000002    0.0016      0.000002    0.15     0.15     |
|   init_reference_to_physical_map() 8          0.0001      0.000012    0.0001      0.000012    0.01     0.01     |
|                                                                                                                 |
| GMVIO                                                                                                           |
|   write_nodal_data()               4          0.0660      0.016503    0.0660      0.016503    6.48     6.48     |
|                                                                                                                 |
| Mesh                                                                                                            |
|   find_neighbors()                 1          0.0088      0.008794    0.0088      0.008794    0.86     0.86     |
|   renumber_nodes_and_elem()        2          0.0002      0.000083    0.0002      0.000083    0.02     0.02     |
|                                                                                                                 |
| MeshOutput                                                                                                      |
|   write_equation_systems()         4          0.0001      0.000015    0.0789      0.019734    0.01     7.75     |
|                                                                                                                 |
| NewmarkSystem                                                                                                   |
|   initial_conditions ()            1          0.0000      0.000018    0.0000      0.000018    0.00     0.00     |
|   update_rhs ()                    300        0.0904      0.000301    0.0904      0.000301    8.88     8.88     |
|   update_u_v_a ()                  300        0.0083      0.000028    0.0083      0.000028    0.81     0.81     |
|                                                                                                                 |
| Parallel                                                                                                        |
|   allgather()                      1          0.0000      0.000001    0.0000      0.000001    0.00     0.00     |
|                                                                                                                 |
| Partitioner                                                                                                     |
|   single_partition()               1          0.0001      0.000105    0.0001      0.000105    0.01     0.01     |
|                                                                                                                 |
| PetscLinearSolver                                                                                               |
|   solve()                          300        0.7569      0.002523    0.7569      0.002523    74.31    74.31    |
|                                                                                                                 |
| System                                                                                                          |
|   assemble()                       1          0.0230      0.023044    0.0367      0.036675    2.26     3.60     |
|                                                                                                                 |
| UNVIO                                                                                                           |
|   elements_in()                    1          0.0125      0.012457    0.0125      0.012457    1.22     1.22     |
|   nodes_in()                       1          0.0162      0.016172    0.0162      0.016172    1.59     1.59     |
 -----------------------------------------------------------------------------------------------------------------
| Totals:                            29104      1.0185                                          100.00            |
 -----------------------------------------------------------------------------------------------------------------

 
***************************************************************
* Done Running Example transient_ex2:
*   example-opt pipe-mesh.unv 
***************************************************************