View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003054 | OpenFOAM | Feature | public | 2018-08-25 09:46 | 2018-08-27 20:51 |
Reporter | DanielJ | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0003054: Density not saved by reactingFoam | ||||
Description | Solvers from the reactingFoam family do not output the density field. | ||||
Tags | No tags attached. | ||||
|
Any specific reason why it should be written to disk? I ask this because 'rho' isn't a field necessary for resuming a simulation with those solvers, therefore it's not strictly necessary to write it to disk. However, you can still write any on-memory fields to disk with the function object writeObjects: https://cpp.openfoam.org/v6/classFoam_1_1functionObjects_1_1writeObjects.html#details |
|
Saving density would make it consistent with lagrangian solvers like reactingParcelFoam. Also it would make possible calculating integral values like total mass of a specie. |
|
@Henry: 'rho' is not read, it's only written in 'reactingParcelFoam'. Therefore it does make sense to either make 'reactingParcelFoam' not write the 'rho' field by default or to make all other 'reacting*Foam' solvers to write the 'rho' field? |
|
There is no need for the reactingFoam solvers to write the density field as it is not needed for restart. Users who would like to have this or other fields written can use the writeObjects functionObject. Resolved by commit 98ec0df86656bda74f3a3d6a714ed13882a5ae3c |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-08-25 09:46 | DanielJ | New Issue | |
2018-08-25 17:55 | wyldckat | Note Added: 0009996 | |
2018-08-27 10:02 | DanielJ | Note Added: 0009997 | |
2018-08-27 17:53 | wyldckat | Assigned To | => henry |
2018-08-27 17:53 | wyldckat | Status | new => assigned |
2018-08-27 17:55 | wyldckat | Note Added: 0009999 | |
2018-08-27 20:51 | henry | Status | assigned => resolved |
2018-08-27 20:51 | henry | Resolution | open => fixed |
2018-08-27 20:51 | henry | Fixed in Version | => dev |
2018-08-27 20:51 | henry | Note Added: 0010000 |