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

Inconsistent behaviour for no initial condition #39

Open
Alex-Vasile opened this issue Jun 16, 2023 · 0 comments
Open

Inconsistent behaviour for no initial condition #39

Alex-Vasile opened this issue Jun 16, 2023 · 0 comments

Comments

@Alex-Vasile
Copy link
Collaborator

For vector variables, the way to say no initial conditions is to specify them as None in the ic_config.

If the same thing is done with scalar variables (e.g. with concentration for one of the components for MCINS) the simulation will not work properly and produces incorrect results. It appears like the velocity field does not properly convect the components.

When the GridFunction is initialized it is created with 0s everywhere, so it would be expected that None and 0 would produce the same results. At the very least, it would be expected that using None does not break the coupling between the concentration and the velocity field.

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

1 participant