PanNDE is an attempt at building a modular, developable infrastructure for doing field simulations (initially elastodynamic) for Non-Destructive Evaluation applications. Performance as well as low-level access is a key concern to enable rapid, adaptive modelling for model inversion or for MAPOD like applications. As with all research, work begets work, and development will hopefully continue. For now, if you find use for this, great, and if not, hopefully future development will bring features that are useful, or that the code base provides a jumping-off point for other development by other researchers. For now, good luck, and have fun! Science is a grand adventure!
Copyright 2021 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S. Code. All Other Rights Reserved.
Googletest is a product of Google Inc. and is subject to the following:
Copyright 2008, Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT "AS IS."
Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY LAW. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT.
PanNDE/root/directory
cmake -B build -S .
make -C build
./bin/HostDataTests > HostDataTestResults.log
mpirun -n 4 -outfile-pattern=NetMPITestResult_r.log ./bin/NetMPITests
mpirun -n 4 -outfile-pattern=VTKIOTestResult_r.log ./bin/VTKIOTests
mpirun -n 4 -outfile-pattern=HostSolverTestResult_r.log ./bin/HostSolverTests
./bin/DemoCaseBuilder
./data/demo_case_0.vtu
./bin/PlateCaseBuilder -o $JOB_FILENAME_NO_EXTENSION
./bin/PlateCaseBuilder -p $PARAMETER_FILE_YAML
demo_quasi_iso_cfrp.yaml
. The case can be changed to suit user's use cases, however stability criteria are the user's responsibility*.vtu
file that provides all required input datampirun -n $NPROCS ./bin/DemoModelNxd -i $JOB_FILE -o $RESULT_FILE_NAME_ROOT
*.pvtu
/*.vtu
set with appropriate file numbering schema for reconstruction in scientific visualization softwareC11 C12 C13 C14 C15 C16 C22 C23 C24 C25 C26 C33 C34 C35 C36 C44 C45 C46 C55 C56 C66
density
dt
write_times
NTransducers
XD<transducer index>/XCenter
XD<transducer index>/YCenter
XD<transducer index>/ZCenter
XD<transducer index>/Frequency
XD<transducer index>/NCycle
XD<transducer index>/Phase
XD<transducer index>/Radius
If you are running on nesbdome1:
user@nesbdome1/$PROJECT_DIR/: ./build_on_dome1.sh
If you are running elsewhere, make sure you have added MPI, VTK >= 9, Metis, and gcc >= 7.3 to your system path. then:
user@local/$PROJECT_DIR/: cmake -B build -S . && make -C build -j
Binaries live in ./bin/*
There is a demonstration model configured by the provided concept_setup_config.yaml
file. Execution instructions as follows:
user@machine/$PROJECT_DIR/: ./bin/ParameterizedDemoPlateCase -p concept_setup_config.yaml
user@machine/$PROJECT_DIR/: mpirun -n $nprocs ./bin/DemoModel2xd -f data/job.vtu -o $output_name_base
wavenumber_analysis.py
to match your selected configuration, and run user@machine/$PROJECT_DIR/: python3 wavenumber_analysis.py
to generate the wavenumber plots and produce a *.npz
for further analysis.remove:
build_on_dome1.sh
dome1_env/
resources/
Cleanup applications:
applications/source/DemoModel.cpp
applications/source/DemoModel2xd.cpp
applications/source/DemoSingleProcessModel.cpp
applications/CMakeLists.txt
applications/source/DemoModel.cpp
applications/source/DemoModel2xd.cpp
applications/source/DemoSingleProcessModel.cpp