View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001838 | OpenFOAM | Bug | public | 2015-08-25 21:48 | 2015-08-25 22:29 |
Reporter | Assigned To | henry | |||
Priority | high | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0001838: foamToVTK fatal error | ||||
Description | I am currently simulating a single spherical particle in laminar liquid flow in a channel using DPMFoam. After the simulation stopped I used the command foamToVTK and I got the following error: --> FOAM FATAL IO ERROR: size 500 is not equal to the given value of 5000 file: /home/hp/OpenFoam/Foam_run/parallelplates/0.001/U from line 18 to line 544. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/Field.C at line 292. FOAM exiting On opening the U and U.air files and I found that U.air is populated with 5000 entries and U has been populated with 500 entries (both of vector lists). What must be the reason for this? Please help. | ||||
Tags | Fatal Error, foamToVTK | ||||
2015-08-25 22:14
|
|
|
It is not clear why you have a field file U in your time directories, maybe you generated them using some other application; DPMFoam does not read or write U. If you delete these erroneous files foamToVTK should run without problem. |
|
Hi Henry, Thanks for your reply. I am currently deleting the time files and running the solver again. Could you please also have a look at the attachments, especially for the boundary conditions? I have deviated there from the tutorial file "Goldschmidt". In that I have not mentioned $internalField boundary condition anywhere. Can it cause some problem? |
|
When you run the Goldschmidt tutorial do you get spurious/erroneous U files? |
|
No. I donot get those files in the Goldschmidt case as you said. And now I am running the solver for my case and it seems that the error is solved I am not getting those spurious files anymore. Thank you very much. Just one thing, please let me know about the boundary conditions also. Thanks a lot again! |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-08-25 21:48 |
|
New Issue | |
2015-08-25 21:55 |
|
Tag Attached: Fatal Error | |
2015-08-25 21:55 |
|
Tag Attached: foamToVTK | |
2015-08-25 22:14 |
|
File Added: attachments.zip | |
2015-08-25 22:14 | henry | Note Added: 0005296 | |
2015-08-25 22:23 |
|
Note Added: 0005297 | |
2015-08-25 22:25 | henry | Note Added: 0005298 | |
2015-08-25 22:28 |
|
Note Added: 0005299 | |
2015-08-25 22:29 | henry | Status | new => closed |
2015-08-25 22:29 | henry | Assigned To | => henry |
2015-08-25 22:29 | henry | Resolution | open => no change required |