View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004155 | OpenFOAM | Bug | public | 2024-09-22 14:54 | 2024-09-24 16:45 |
Reporter | tangshixin | Assigned To | will | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 12 | ||||
Fixed in Version | 12 | ||||
Summary | 0004155: NCC crashes with motionSolver rigidBodyMotion and sixDoFRigidBodyMotion | ||||
Description | First, thank you very much for developing the NCC. We want to test the compatibility of NCC and motionSolvers for further development. It seems that it is currently incompatible with the motionSolver rigidBodyMotion and sixDoFRigidBodyMotion; | ||||
Steps To Reproduce | The case is first copied from incompressibleVoF/DTCHullMoving. The sliding patch is created in DTCHullMoving/system/snappyHexMeshDict using searchableCylinder. The boundary conditions and the file fvSolution are modified by following the tutorial case incompressibleFluid/propeller. The case is run by typing: > ./Allrun The foamRun is crashed due to the following error: [41] [41] --> FOAM FATAL ERROR: [41] Attempt to cast type extrapolatedCalculated to type conformed [41] [41] From function To& Foam::refCast(From&) [with To = Foam::conformedFvPatchField<Foam::Tensor<double> >; From = Foam::fvPatchField<Foam::Tensor<double> >] [41] in file /home/tangshixin/OpenFOAM/OpenFOAM-12/src/OpenFOAM/lnInclude/typeInfo.H at line 137. [41] FOAM parallel run aborting | ||||
Additional Information | The case with the foamRun log is attached. | ||||
Tags | No tags attached. | ||||
|
|
|
Thanks for the report. Fixed in dev and v12 here: https://github.com/OpenFOAM/OpenFOAM-dev/commit/81692e26fbefb23709839429dca0cdeec5a1b29d https://github.com/OpenFOAM/OpenFOAM-12/commit/855365b951e07e69091a55bf7dd4acf7fbbf4e77 The issue was to do with the caching of grad(U). So if you remove grad(U) from in system/fvSolution/cache then that also fixes the issue. Just FYI in case you are stuck with an old build or pack. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-09-22 14:54 | tangshixin | New Issue | |
2024-09-22 14:54 | tangshixin | File Added: DTCHullMoving.tar.xz | |
2024-09-24 16:45 | will | Assigned To | => will |
2024-09-24 16:45 | will | Status | new => resolved |
2024-09-24 16:45 | will | Resolution | open => fixed |
2024-09-24 16:45 | will | Fixed in Version | => 12 |
2024-09-24 16:45 | will | Note Added: 0013417 |