View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000394 | OpenFOAM | Bug | public | 2012-01-20 18:20 | 2012-01-24 10:43 |
Reporter | Assigned To | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i686 | OS | OpenSuse | OS Version | 11.4 |
Summary | 0000394: Displacement of species incorrect | ||||
Description | The tutorial for sprayFoam based on the aachenBomb case for dieselFoam has a spray of C7H16 into a vessel with standard air. As the spray evolves, only N2 appears to be affected by the increase of C7H16. The mass fraction of O2 remains at a constant value of 0.234 throughout the domain. | ||||
Steps To Reproduce | 1. Go to the aachemBomb tutorial at: $FOAM_TUTORIALS/lagrangian/sprayFoam/aachenBomb 2. Run blockMesh 3. Turn off chemistry in constant/chemistryProperties 4. Run sprayFoam 5. View the resulting fields for O2 | ||||
Additional Information | The sum of the mass fractions (C7H16+N2+O2) is 1, so there isn't a mass conservation issue. O2 simply isn't affected by the injection. The correct behaviour was observed in OF2.0.x, and there doesn't appear to be much change in the solver, so the issue may be with the lagrangian libraries. | ||||
Tags | No tags attached. | ||||
|
This occurs when using both liquidEvaporation and liquidEvaporationBoil phase change models, whereas in 2.0.x only liquidEvaporation was used and worked properly. It also appears that only N2 (the inert species) is affected; I added another species to the initial mixture (N2=0.766,O2=CO2=0.117) and again, only N2 was displaced as the C7H16 was injected and evaporated. |
|
I just found out that this bug seems to exist in the tutorial (and likely the libraries/solver) for 2.0.x. I was comparing the results of the old dieselSpray lagrangian libraries and dieselFoam solver which handles the species correctly. It is likely that since dieselFoam hadn't been removed in 2.0.x no one bothered to try sprayFoam and the bug was never discovered. This is pretty major and should be looked at soon. |
|
Thanks for the report - we'll look into it |
|
Thanks for the report - bug fixed by commit e9fa4ee |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-20 18:20 |
|
New Issue | |
2012-01-20 20:38 |
|
Note Added: 0000947 | |
2012-01-21 00:17 |
|
Note Edited: 0000947 | |
2012-01-24 00:58 |
|
Note Added: 0000951 | |
2012-01-24 09:25 |
|
Note Added: 0000953 | |
2012-01-24 10:43 |
|
Note Added: 0000954 | |
2012-01-24 10:43 |
|
Status | new => resolved |
2012-01-24 10:43 |
|
Fixed in Version | => 2.1.x |
2012-01-24 10:43 |
|
Resolution | open => fixed |
2012-01-24 10:43 |
|
Assigned To | => user2 |