View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004205 | OpenFOAM | Bug | public | 2025-01-23 12:06 | 2025-01-23 17:31 |
Reporter | elaurila | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004205: Inconsistent path with mergeMeshes when addRegions flag is used | ||||
Description | When addRegions flag is used with mergeMeshes, it seems that the utility tries to find regions' polyMesh from an incorrect location. The utility tries to read the mesh from constant/meshes/regionName/polyMesh, whereas one would expect it to read constant/regionName/polyMesh, where the mesh is stored when multiple mesh instances are not used. The behaviour is different when mergeMeshes is run with addCaseRegions flag and the case directory is the current case. Everything works and the utility reads the mesh from constant/regionName/polyMesh as expected. | ||||
Steps To Reproduce | To reproduce the error with addRegions flag: 1. Copy multiRegion/CHT/coolingCylinder2d tutorial 2. Comment out run command from Allrun (runApplication $(getApplication)) 3. Execute Allrun to create region meshes 4. Execute: mergeMeshes -region fluid -addRegions '(solid)' -overwrite AddCaseRegions flag seems to work with the same folder structure: 1. Do steps 1-3 from above 2. Execute: mergeMeshes -region fluid -addCaseRegions '(("./" solid))' -overwrite | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-23 12:06 | elaurila | New Issue | |
2025-01-23 12:06 | elaurila | File Added: image.png | |
2025-01-23 12:06 | elaurila | File Added: image-2.png | |
2025-01-23 12:06 | elaurila | File Added: image-3.png | |
2025-01-23 17:31 | henry | Assigned To | => henry |
2025-01-23 17:31 | henry | Status | new => resolved |
2025-01-23 17:31 | henry | Resolution | open => fixed |
2025-01-23 17:31 | henry | Fixed in Version | => dev |
2025-01-23 17:31 | henry | Note Added: 0013511 |