CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   error while running sprayFoam (https://www.cfd-online.com/Forums/openfoam/230487-error-while-running-sprayfoam.html)

Rid@foam September 25, 2020 04:37

error while running sprayFoam
 
Dear friends,
I am running a lagrangian simulation using sprayFoam solver and whenever I am trying to run it, I get an error as attached below.
Can someone please tell me how to solve this error?

lucie.recurt September 25, 2020 06:03

Hello,



Maybe you sould share your kinematicProperties file

Rid@foam September 25, 2020 07:07

attachment of sprayCloudProperties file
 
Thank you very much Lucie for your reply.
here below, I am attaching the google drive link of my whole sprayCloudProperties file


https://drive.google.com/file/d/1Otl...ew?usp=sharing


I have also attached a pic of the submodels part of my sprayCloudProperties file in case you face any problem with the link

lucie.recurt September 25, 2020 09:00

I don't see the problem... Did you compare your fvSchemes and fvSolution with the only s sprayFoam tutorial?

Rid@foam September 25, 2020 09:14

Yes. I copied the fvSchemes and fvSolutions files of this simulation from the tutorial case.

snak September 27, 2020 05:25

Hi,


log of a standard tutorial (aachenBomb) is something like this;
Code:

No finite volume options present
Courant Number mean: 0 max: 0

Starting time loop

Your case stopped at just before Courant number.

compressibleCourantNo.H file calculate Courant number and involve the division (/) by rho.

If rho is zero at anywhere, it will give you the error message you got.

rho will be obtained by thermophysical properties model you used. Incorrect p and T may cause unrealistic rho.

My recommendation is to check thermophysical model and settings, boundary conditions, and initial conditions.

Rid@foam October 29, 2020 02:19

Thank you very much Shinji for your reply.
I have another question. If I want to give an atmospheric boundary condition at the outlet of my domain, what value should I give in my p file?
Should I give a value of 0 Pa(i.e. the gauge pressure) or should I give 1e5 Pa(i.e. the absolute value)?


All times are GMT -4. The time now is 01:53.