Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wall shear stress for two phase flows #9

Closed
sasankheirandish opened this issue Mar 3, 2019 · 5 comments
Closed

wall shear stress for two phase flows #9

sasankheirandish opened this issue Mar 3, 2019 · 5 comments

Comments

@sasankheirandish
Copy link

Dear Francisco Pimenta
I monitored wall shear stress for two phase flows. but I got zero values for WSS. I added the calcWSS.c function to fvsolution. For one -phase flow the results were correct. however, this was not true for two phase flows which are should be run by rheointerFoam solver.
How can i solve my problem?
Best regards

@fppimenta
Copy link
Owner

Are you using rheoTool for of60?

@sasankheirandish
Copy link
Author

yeah. openFoam 6

@fppimenta
Copy link
Owner

So the problem is in a bug for this version, in rheoInterFoam.C. This has already been corrected in the new version of rheoTool (v4), which will be released soon. You have 2 options: use the version for of40 (free of this bug) or correct the bug in of60, which is quite simple. The bug is this one: in file rheoInterFoam.C, add this line

  postProc.update();

above the line

  runTime.write();

Then recompile and it should be fine. Do not forget to set isTwoPhaseFlow as true in fvSolution.

@sasankheirandish
Copy link
Author

thank you very much

@pratyush507
Copy link

@sasankheirandish can you please share the code or steps how to calculate the wall shear stress as i want to get the walls shear stress distribution and i am using rheoFoam solver. Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants