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

Boundary Conditions with calculated mole fractions gives FPEs #13

Open
Previouslysane opened this issue Jul 13, 2022 · 1 comment
Open

Comments

@Previouslysane
Copy link

Hi MicroNanoFlows group,

This is regarding the pressure BCs with calculated molar masses. When initializing a simulation with no inlets and just 1 outlet, any BC with a calculated molar mass doesn't seem to work.

However, switching to a BC with calculated molar mass after starting the run with a specified molar mass condition for the first 10 steps seems to work. I am guessing this might have to do with 0 inserted particles in the first few steps, but didn't have time to investigate the code further.

Any help on the topic is greatly appreciated!

@craigwhite87
Copy link
Contributor

I have just tested this on the microScaleTestCase tutorial ( https://github.com/MicroNanoFlows/OpenFOAM-2.4.0-MNF/tree/devel-craig/tutorials/discreteMethods/dsmcFoamPlus/microScaleTestCase ) by turning the inlet patch into a diffuse wall and the changing the outlet to use dsmcLiouFangPressureOutletCalculatedMolarFraction and it works ok. Do you have a test case to try this on?

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