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

Solid phase is overwritten - geometrical limitations of inlet? #40

Closed
to3sk opened this issue Aug 18, 2021 · 2 comments
Closed

Solid phase is overwritten - geometrical limitations of inlet? #40

to3sk opened this issue Aug 18, 2021 · 2 comments

Comments

@to3sk
Copy link

to3sk commented Aug 18, 2021

Hi,

I am trying to simulate the two phase flow in a simple channel with a dead end. When I run the LBPM my solid phase is overwritten by a fluid near inlet. Attached you can find an example.

Inlet

Are there any geometrical limitations on the shape of the inlet? Do I need to create a dummy cell that is filled with the fluid phase?

I would also be thankful if you could refer me to the source where I can find all keywords for BC.

Thank you

@JamesEMcClure
Copy link
Collaborator

JamesEMcClure commented Sep 1, 2021

LBPM always assigns the inlet / outlet in the z-direction if you are using an external boundary condition. These
are usually BC=3 or BC=4 for lbpm_color_simulator. This is done so that each region is a contiguous memory region. If you drive the flow in the z direction, then you should be able to run this geometry without overwriting the solid layer.

You could also drive the flow with an external body force by setting BC=0 in which case you can drive the fluids in either the x, y or z directions.

See this link for BC keywords for the color simulator

https://github.com/OPM/LBPM/blob/master/docs/source/userGuide/models/color/index.rst

@to3sk
Copy link
Author

to3sk commented Sep 2, 2021

My flow was in the z direction.
Thank you for the answer.

@to3sk to3sk closed this as completed Sep 2, 2021
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