View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004078 | OpenFOAM | Contribution | public | 2024-05-15 08:32 | 2024-05-22 16:14 |
Reporter | cgoessni | Assigned To | henry | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004078: mergeMeshes is missing "timeSelector::addOptions()" | ||||
Description | mergeMeshes seems to be able to select a time (https://github.com/OpenFOAM/OpenFOAM-dev/blob/d21e75ac740b0d242e85141d7a531e71073b3fc5/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C#L132), but it is missing a "timeSelector::addOptions()" call to make this feature fully functional. Without this call, $ mergeMeshes -time 5 ... would yield an error since -time is not a recognised command line option. The attached diff would resolve that, and works for our applications. | ||||
Tags | No tags attached. | ||||
|
mergeMeshes_diff.txt (571 bytes)
diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C b/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C index b39d9a1..f562a5c 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C +++ b/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C @@ -71,6 +71,8 @@ int main(int argc, char *argv[]) argList::addNote("Merge meshes without stitching"); argList::noParallel(); + timeSelector::addOptions(); + #include "addOverwriteOption.H" #include "addRegionOption.H" |
|
Resolved by commit f9d03d6ad9d359e027e1a581100274a9191b04a6 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-05-15 08:32 | cgoessni | New Issue | |
2024-05-15 08:32 | cgoessni | File Added: mergeMeshes_diff.txt | |
2024-05-22 16:14 | henry | Assigned To | => henry |
2024-05-22 16:14 | henry | Status | new => resolved |
2024-05-22 16:14 | henry | Resolution | open => fixed |
2024-05-22 16:14 | henry | Fixed in Version | => dev |
2024-05-22 16:14 | henry | Note Added: 0013249 |