sprayFoam hangs during parcel injection
1 Attachment(s)
Hi all,
I've been running some cases in sprayFoam to simulate the breakup and dispersion of water droplets in different air flows. My first case was a liquid jet injected into a transverse crossflow that worked quite nicely, however, my second case is a nozzle spray into a vertical plume of air and is currently experiencing issues during parcel injection. All of my cases are 2D. I have attached a zipped case file below. Ordinarily I would inject the parcels once the gaseous phase has been allowed to develop, however, due to the constraints of file-size for uploading the case, I've just got the injection starting from time 0. Once injection begins, the solver runs for a few iterations and then stops and hangs on the lines: Code:
Solving 2-D cloud sprayCloud I've gone back to run my jet in crossflow solver, and it is still working. I have also copied the ./constant/sprayCloudProperties from the crossflow solver into the plume case and the issue comes up, so I believe this error could be arising due to my boundary conditions in ./0? I've printed my sprayCloudProperties below. If anyone could take some time to look at the case it would be greatly appreciated. Apologies if I've missed anything with regards to forum rules/post content - this is my first post ever! Please let me know if I can provide any information that might help someone give me a hand. Cheers, Sam Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Further to the above, I found this thread outlining a very similar problem, which was solved by ensuring the parcels weren't becoming 'stuck' at the boundary of the domain. I don't believe mine is caused by the same issue but would be grateful if someone could confirm.
https://bugs.openfoam.org/view.php?id=1132#bugnotes Cheers, Sam |
Possible fix
2 Attachment(s)
Hi all,
Not sure how many people will ever come across a similar problem but I believe I've solved it so hopefully this helps someone, somewhere, someday. After changing virtually every part of my code one by one, it appeared that my blockMesh was the culprit in this case. I fully rebuilt my blockMeshDict from the ground up (not that it was very complex in the first place, but since I'm new it took some time!) and I've attached my OLD and NEW blockMeshDict as .txt files to this post. It appears that the particle injection is now happening without hanging, fingers crossed that it stays that way! Cheers, Sam |
Hi, I am facing the same issue. could you just explain, what changes have you made in your blockMesh..?
|
Hi senthilathiban,
I believe the only major changes between my old and new blockMeshDict files are the way I have defined the vertices and the blocks. I am not an expert and have no idea why this decided to work, but as you can see below in the OLD file I define them as: Code:
vertices Code:
vertices https://www.openfoam.com/documentati.../blockMesh.php Good luck! |
Hi Sammy,
When you did your blockMesh modification, did you change also the coordinate of the coneNozzleInjector or you just kept the initial one Cheers |
Hello Foamers,
I am developing a coupled solver of interFoam and SprayFoam, i.e. particles are injected from the VOF fluid. I am getting this similar issue as mentioned in the topic for my parallel run. I guess I need some modification in my code for the parallel run. But I have no idea where and which way to do the modification. How such kind of modifications are done!! Anyone can help me with any reference material. I deeply appreciate. Krishna Kant |
All times are GMT -4. The time now is 16:22. |