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

How to parallize the UDF code of dynamic contact angle #1

Open
brucelqs opened this issue Oct 28, 2021 · 3 comments
Open

How to parallize the UDF code of dynamic contact angle #1

brucelqs opened this issue Oct 28, 2021 · 3 comments

Comments

@brucelqs
Copy link

brucelqs commented Oct 28, 2021

@siramirsaman
Dear Sir, I am a beginner, I am very grateful to you for providing the code for the dynamic contact angle. I have encountered some problems when parallelizing the code. I would like to ask you to answer. I am confused about some of your comments in the "UDF_CA_parallel.c" file. Why are the calculation of the 'capillary velocity' and the update of the 'contact_velocity' and 'dynamic_contact_angle' separate? When I compiled this code, FLUENT prompted some errors, such as: "DESIRED_INTERVALS_BETWEEN_TWO_MEASUREMENTS" is not defined. What is the reason for adding those variables? For which variables should this operation be performed? If you can reply to me, it will be my honor, thank you very much!

@Boris3305
Copy link

@brucelqs
hi,
Have you finish the parallelizing? I am now working on it. For the DESIRED_INTERVALS_BETWEEN_TWO_MEASUREMENTS, I think you should define the time step by yourself.
And can I watch your code, please? I am not sure how to parralleliz this
thanks!

@brucelqs
Copy link
Author

brucelqs commented May 15, 2022 via email

@Boris3305
Copy link

ah! Thanks for your code!

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

2 participants