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

Regarding modeling issues #25

Open
Moxing529 opened this issue Dec 18, 2024 · 4 comments
Open

Regarding modeling issues #25

Moxing529 opened this issue Dec 18, 2024 · 4 comments

Comments

@Moxing529
Copy link

Moxing529 commented Dec 18, 2024

Hello, Dr. Karnakov!
the current modeling method seems to only allow for the assembly of regular shapes. Could you suggest any methods for more complex modeling?
6180d2880ecdf7c3ece7be0375a5261
ba0341cdc6ee353452d240209f2b317

@Moxing529
Copy link
Author

Moxing529 commented Dec 18, 2024

Does the sphere primitive or other similar operations in modeling have the capability to create a semicircle? Also, in 205/crystal, does vfoam refer to the average flow velocity of bubbles after entering the main channel? If I use a pressure inlet, how will adjusting the vfoam parameter affect the flow velocity, bubble size, and other factors?Thank you!

@pkarnakov
Copy link
Collaborator

Here's an example for using polygons (not sure if it's still working)
https://github.com/cselab/aphros/blob/master/examples/200_primlist/case/polygon

Also examples here (in particular "Tesla valve" and "Pipe")
https://github.com/cselab/aphros/wiki/Aphros-Explorer

Does the sphere primitive or other similar operations in modeling have the capability to create a semicircle?

so to make a semicircle I'd create a circle ("sphere" with a large radius in the z direction) and then subtract a box.

Also, in 205/crystal, does vfoam refer to the average flow velocity of bubbles after entering the main channel?

From inletvel = num.vfoam * num.width / inletwidth, I guess it is the average flow velocity, but it is only used for a velocity inlet. If inletpressure_add or inletpressure is specified (as done in all examples), that parameter is not used and will not affect anything.

@Moxing529
Copy link
Author

But when I use a pressure inlet, changing vfoam still affects the size of the generated bubbles. Also, in ( n.Ca = p.mu_liquid \times p.vfoam / p.sigma ), does vfoam also have some influence?

@pkarnakov
Copy link
Collaborator

Right, vfoam is used for computing Ca in Numbers(). Eventually the five numbers there should define the problem. So if Ca or sidevel_ratio changes, the size of bubbles may also change. I'm not sure I recall all the details now, but I'd base all calculations on the dimensionless parameters instead of physical units.

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