Recent Releases of PetIBM
PetIBM - v0.5.4
- transitioned to CMake system
- made the API examples more independent of PetIBM
- enabled symbolic expression for initial conditions
- fixed iteration number of AmgX wrapper
- updated documentation correspondingly
Scientific Software - Peer-reviewed
- C++
Published by piyueh almost 4 years ago
PetIBM - v0.5.1
0.5.1
Added
Changed
Fixed
ProbeVolume: write a PETSc Index Set to the output file (HDF5 or ASCII) for the volume probe. The index set contains the natural index of the points located inside the volume being monitored. During post-processing stage, the index set can be used to re-arrange field values of the sub-volume and visualize the solution. Without this index set, the PETSc vector for the sub-volume (obtained with the PETSc routineVecGetSubVector) did not output the values in the natural ordering of the vector.VecGetSubVectorsimply concatenates the values in the parallel ordering of the vector. This problem only affected simulations running with multiple MPI processes where the window being monitored span over multiple process domains. (See PR #147.)
Removed
Scientific Software - Peer-reviewed
- C++
Published by mesnardo over 6 years ago
PetIBM - v0.5
Added
- Allow to configure PetIBM against PETSc 3.12.x.
Changed
- Default directory to output files generated by PetIBM is now the
outputfolder in the current working directory. (User has the possibility to change the path of the output directory with the command-line option-output <path of the folder>.) - Use PETSc-3.12.2 to test PetIBM with Travis CI.
- Copy
examplesfolder into installation directory uponmake install.
Fixed
- Fix name of the file used to output the body coordinates; bug only affected simulations dealing with multiple immersed bodies with prescribed kinematics.
Removed
- Dockerfile files and Singularity recipes. These files are now version-controlled in a separate GitHub repository:
petibm-recipes.
Scientific Software - Peer-reviewed
- C++
Published by mesnardo over 6 years ago
PetIBM - v0.4.2
Added
- Add possibility to choose the order of the truncated Taylor series expansion for the inverse of the implicit operator. The order can be set in the YAML configuration file using the key
BNunder the YAML nodeparameters. (The default value isBN: 1.)
Changed
- Use
-pc_factor_mat_solver_typeinstead of-pc_factor_mat_solver_packagein the configuration files for the forces solver. (This removes the deprecation warning when using PETSc-3.9+.)
Fixed
- Probes: fix index for pressure field when using a volume probe (see PR #145).
Removed
Scientific Software - Peer-reviewed
- C++
Published by mesnardo almost 7 years ago
PetIBM - v0.4
Added
- Add possibility to use configuration arguments
--with-<package>-include=<path>and--with-<package>-lib=<path>(instead of--with-<package>-dir=<path>) for yaml-cpp, gtest, AmgX, and AmgXWrapper. (--with-<package>-dir=<path>is still supported for those packages.) - Add classes to monitor the solution in sub-regions or at specific points (using linear interpolation). YAML configuration should be provided in the node "probes". (See Markdown documentation
doc/markdowns/inputs.mdfor details on how to use.) - Install application header files upon make install call. The header files are installed in the include folder of the install directory. A user can now create new classes that inherits from an application class.
- Add a simple class
RigidKinematicsSolverin the applications folder to handle cases with moving rigid bodies (with prescribed kinematics). The user should create a class that inherits fromRigidKinematcsSolverand that implements the methods to update the coordinates and velocity of the Lagrangian points,setCoordinatesBodiesandsetVelocityBodies.) For example, if you want to compute the flow around a flapping wing, you just have to create a class (outside the PetIBM source directory) that inherits from the application classRigidKinematicsSolverand implement the case-specific methods to update the location and velocity of the wing. - Add possibility to implement different kernels for the regularized delta function. (The 3-point delta function from Roma et al. (1999) and the 4-point delta function from Peskin (2002) are currently available in PetIBM.)
Changed
- Upgrade to yaml-cpp-0.6.2 when downloading building yaml-cpp at PetIBM configuration time (configuration flag
--enable-yamlcpp). - Re-format code with clang-format. The clang-format style file is added to the repository.
- Re-write I/O functions to provide file paths that include the extension.
- Re-write application codes to simplify main functions (move PetIBM object instantiations into the init method of the application class).
- Change the scheme for the prediction of the forces at the beginning of a time step. Now using the forces from the previous time steps as prediction. (This is named "scheme 2" in Li et al., 2016.) Using this scheme avoids having to reset the vector of the Lagrangian momentum forcing every time step. (According to the authors there is little difference in the results between the different forcing schemes.)
- For each example, move the configuration files for the solvers into the sub-folder
configof the simulation directory. - Update the example for the 2D in-line oscillating cylinder to use the newly implemented application class
RigidKinematicsSolver.
Fixed
Removed
- Remove Boost dependency; configuration does not check for Boost anymore.
Scientific Software - Peer-reviewed
- C++
Published by mesnardo over 7 years ago
PetIBM - v0.3.1
0.3.1
JOSS revision.
Added
- Add section in README and documentation on how to use the API.
- Add simple Navier-Stokes solver using the PetIBM API in the folder
examples/api_examples.
Changed
- Rename application code
tairacoloniusintoibpm(Immersed Boundary Projection Method); binary program now namedpetibm-ibpm. - Make YAML converters and operator< private.
- Move example of oscillating cylinder to folder
examples/api_examples. - Update optional dependency
AmgXWrapperwith latest version (1.4).
Fixed
- Remove MPI barrier in routine that creates a directory.
- Fixed memory leaks in solver programs and utility programs.
Removed
Scientific Software - Peer-reviewed
- C++
Published by mesnardo about 8 years ago
PetIBM - v0.2.1
Added
Changed
- Update version of AmgXWrapper (from
1.0-beta2to1.4). - Update calls to AmgXWrapper routines (due to changes in API).
- AmgXWrapper-1.4 requires to use PETSc-3.8+. Therefore, when configuring with AmgX, use PETSc-3.8+.
Fixed
- When checking for AmgX, find and keep only the first occurrence of
libamgxsh.so.
Removed
- When configuring with AmgX, do not check the version of OpenMPI anymore.
- Do not check for Doxygen.
Scientific Software - Peer-reviewed
- C++
Published by mesnardo about 8 years ago
PetIBM - v0.3
WARNING: this is a major re-factorization of the code that is not backward compatible.
Added
- PetIBM is now a library.
- Add
includefolder with all header files. - Add
applicationsfolder with code applications that use the PetIBM library. - Add some unit-tests.
- Add instructions on how to contribute (
CONTRIBUTING.md). - Add multi-body example (2 vertically aligned cylinders at Re=100).
- Add moving-body example (oscillating cylinder at Re=100).
- Require PETSc-3.8.
Changed
- Code is now under the BSD 3-clause license.
- Move from a single PetIBM executable to a PetIBM library with a set of application codes (Navier-Stokes solver, immersed-boundary method solvers, and post-processing utilities to compute the vorticity field and generate XMDF files).
- Update user's documentation and API documentation. (Markdown files for user's documentation are now in
doc/markdowns; API documentation is generated with Doxygen intodoc/hmtl.) - External dependencies such as yaml-cpp, Boost, Gtest, and AmgXWrapper are now optional; they can be installed separately or when configuring PetIBM.
- Application codes solve the systems for the velocity components, not anymore for the velocity fluxes.
- Update previous examples with new configuration file.
- Update Travis CI build to cache PETSc-3.8.2.
Fixed
Removed
- Remove all Python scripts from the
scriptsfolder. (It contained old Python scripts that were not used anymore.) - Cannot output the fields into PETSc binary format; only HDF5 is supported.
- Remove Wiki pages. (User's documentation and API documentation now available here.)
Scientific Software - Peer-reviewed
- C++
Published by mesnardo over 8 years ago
PetIBM - v0.2
Added
- Compatibility with PETSc-3.7 (last tested 3.7.4; cannot use 3.5 and 3.6 anymore).
- A change log.
- Possibility to output the numerical solution in HDF5 format.
- Possibility to output the flux and/or velocity variables.
- Python script
createXMFFile.pythat generates a.xmffile to let VisIt know how to read the HDF5 files. - AmgXWrapper as an optional external package (version v1.0-beta).
- Examples to solve the 2D flow around a circular cylinder using AmgX.
- Possibility to have multiple immersed boundaries.
- Decoupled IBPM solver (as published in Li et al., 2016)
Changed
- Comply Python pre- and post-processing scripts to PEP8.
- Move
validation_datafiles toscripts/python/verification/dataandscripts/python/validation/data. - GAMG parameters for the 2D lid-driven cavity flow to make it run.
- Update external package AmgXWrapper to version 1.0-beta2.
Fixed
- Update boundary ghost points only once per time step, at the beginning of the time step.
- Bug-fix in the methods
generateBNQ()of the classTairaColoniusSolverandgenerateETof the classLiEtAlSolver: calculate the correct widths of the computational domain (fixed index).
Removed
- Python script
restartFromSolution.py(not finished and not necessary). - Non-zero initial guess as default for KSPs; the user should add
-ksp_initial_guess_nonzero trueto the command-line (or configuration file) to switch on a nonzero initial for a specific KSP.
Scientific Software - Peer-reviewed
- C++
Published by mesnardo about 9 years ago