View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002323 | OpenFOAM | [All Projects] Bug | public | 2016-11-08 15:00 | 2018-07-10 11:22 |
Reporter | nima.samkhaniani | Assigned To | henry | ||
Priority | normal | Severity | crash | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 12.04 |
Product Version | |||||
Fixed in Version | dev | ||||
Summary | 0002323: thermalBaffel1D | ||||
Description | I run a dynamicMesh problem similar movingCone using compressibelInterDyMFoam. I noticed that it failed after several iterations when i uses thermalBaffel1D, I dont know why but the size of scalarField kappas and baffleThickness() in thermalBaffel1D becomes unequal and it is the source of error. i solved this problem via replacing The following code in thermalBaffle1DFvPatchScalarField.C KDeltaSolid = kappas/baffleThickness(); with this scalarField KDeltaSolid(patch().size(), 0.0); scalarField alpha(patch().size(), 0.0); scalarField baffleThickness1=baffleThickness(); forAll(kappas, i) { kappas[i] = solid().kappa(0.0, (Tp[i] + nbrTp[i])/2.0); KDeltaSolid[i] = kappas[i]/baffleThickness1[i]; //add } | ||||
Tags | No tags attached. | ||||
|
1) Can you attach a testcase? 2) Have you run your case through valgrind? |
|
1)The file is attached. It crashes before time 0.038 2)nope movingPistonBaffel-compressibleInterDyMFoam.zip (103,149 bytes) |
|
The problem is the underlying 'mapped' geometric matching which does not support topology changes out of the box so the mapping would still try to get data for 20 faces even though the patch was now 19 faces. Attached fix for (dev) src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/thermalBaffle1D/thermalBaffle1DFvPatchScalarField.C will get around this. We will have to think about where to fix this properly. thermalBaffle1DFvPatchScalarField.C (12,230 bytes) |
|
Resolved in OpenFOAM-dev by commit 4a45e4f519feef615630ca50dc13f8f0517c17f9 |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-08 15:00 | nima.samkhaniani | New Issue | |
2016-11-08 15:00 | nima.samkhaniani | Tag Attached: thermal baffel + dynamicMesh | |
2016-11-11 15:23 | MattijsJ | Note Added: 0007151 | |
2016-11-21 18:22 | nima.samkhaniani | File Added: movingPistonBaffel-compressibleInterDyMFoam.zip | |
2016-11-21 18:22 | nima.samkhaniani | Note Added: 0007270 | |
2016-11-22 15:02 | MattijsJ | File Added: thermalBaffle1DFvPatchScalarField.C | |
2016-11-22 15:02 | MattijsJ | Note Added: 0007275 | |
2016-12-05 08:49 | henry | Assigned To | => henry |
2016-12-05 08:49 | henry | Status | new => resolved |
2016-12-05 08:49 | henry | Resolution | open => fixed |
2016-12-05 08:49 | henry | Fixed in Version | => dev |
2016-12-05 08:49 | henry | Note Added: 0007404 | |
2018-07-10 11:22 | administrator | Tag Detached: thermal baffel + dynamicMesh |